I am writing raylib bindings for pocketpy via python and I am using raylib_api.json to automatically generate bindings.
However, when parsing a function parameter of T *, there is no information about whether it is an array or a simple reference.
For example, if a T * is an array pointer, I will convert it into list[T]. Otherwise, I convert it into a reference of T.
Environment
The latest version.
Code Example
This is an array pointer, with manual confirmation.
Please, before submitting a new issue verify and check:
Issue description
I am writing raylib bindings for pocketpy via python and I am using
raylib_api.json
to automatically generate bindings.However, when parsing a function parameter of
T *
, there is no information about whether it is an array or a simple reference. For example, if aT *
is an array pointer, I will convert it intolist[T]
. Otherwise, I convert it into a reference ofT
.Environment
The latest version.
Code Example
This is an array pointer, with manual confirmation.
This is not.
I suggest using
T *
for reference pointer andT[]
for array pointer.