electronstudio / raylib-python-cffi

Python CFFI bindings for Raylib
http://electronstudio.github.io/raylib-python-cffi
Eclipse Public License 2.0
142 stars 29 forks source link

automatic conversion of c arrays of strings #68

Closed electronstudio closed 3 months ago

electronstudio commented 2 years ago

make this example nicer: https://github.com/electronstudio/raylib-python-cffi/blob/master/examples/core/core_drop_files.py

electronstudio commented 2 years ago

I've put everything into a single function: https://github.com/electronstudio/raylib-python-cffi/blob/master/examples/core/core_drop_files2.py

Currently I can't think of how to automate this beyond writing a function like that manually, which I don't really want to do.

electronstudio commented 2 years ago

this relates to https://github.com/electronstudio/raylib-python-cffi/issues/60

electronstudio commented 3 months ago

Raylib changed so this function returns a struct rather than array of strings. Assuming it doesn't do it anywhere else, closing this.