2023-05-23 19:06:25 +02:00
|
|
|
# /!\ 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 (
|
2023-05-23 19:06:25 +02:00
|
|
|
pythonscript_gdapi10 as gdapi10,
|
|
|
|
)
|
2023-06-02 11:13:10 +02:00
|
|
|
from pandemonium._hazmat.gdnative_api_struct cimport (
|
2023-05-23 19:06:25 +02:00
|
|
|
{% 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 (
|
2023-05-23 19:06:25 +02:00
|
|
|
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 %}
|