{% from 'method.tmpl.pyx' import get_method_bind_register_name, render_method_signature %}

{% macro render_class_pxd(cls) %}

cdef class {{ cls.name }}({{ cls.base_class }}):
{% if not cls.base_class %}
    cdef pandemonium_object *_gd_ptr

    @staticmethod
    cdef inline Object cast_from_variant(const pandemonium_variant *p_gdvar)

    @staticmethod
    cdef inline Object cast_from_ptr(pandemonium_object *ptr)

{% endif %}
    @staticmethod
    cdef {{ cls.name }} from_ptr(pandemonium_object *_ptr)

{% endmacro %}
