gdnative_python/generation/pool_arrays_templates/pool_arrays.tmpl.pxd

31 lines
656 B
Cython
Raw Normal View History

# /!\ Autogenerated code, modifications will be lost /!\
# see `generation/generate_pool_arrays.py`
cimport cython
2023-06-02 11:13:10 +02:00
from pandemonium._hazmat.gdapi cimport (
pythonscript_gdapi10 as gdapi10,
)
2023-06-02 11:13:10 +02:00
from pandemonium._hazmat.gdnative_api_struct cimport (
{% for t in types %}
{{ t.gd_value }},
{{ t.gd_pool }},
{{ t.gd_pool }}_write_access,
{{ t.gd_pool }}_read_access,
{% endfor %}
)
2023-06-02 11:13:10 +02:00
from pandemonium.builtins cimport (
Array,
{% for t in types %}
{% if not t.is_base_type %}
{{ t.py_value }},
{% endif %}
{% endfor %}
)
{% from 'pool_x_array.tmpl.pxd' import render_pool_array_pxd %}
{% for t in types %}
{{ render_pool_array_pxd(t) }}
{% endfor %}