mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-14 10:27:22 +01:00
33 lines
712 B
Cython
33 lines
712 B
Cython
|
# /!\ Autogenerated code, modifications will be lost /!\
|
||
|
# see `generation/generate_pool_arrays.py`
|
||
|
|
||
|
cimport cython
|
||
|
|
||
|
from godot._hazmat.gdapi cimport (
|
||
|
pythonscript_gdapi10 as gdapi10,
|
||
|
pythonscript_gdapi11 as gdapi11,
|
||
|
pythonscript_gdapi12 as gdapi12,
|
||
|
)
|
||
|
from godot._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 %}
|
||
|
)
|
||
|
from godot.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 %}
|