raylib-python-cffi icon indicating copy to clipboard operation
raylib-python-cffi copied to clipboard

automatic conversion of c arrays of strings

Open electronstudio opened this issue 2 years ago • 2 comments

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

electronstudio avatar Jun 02 '22 14:06 electronstudio

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 avatar Jun 02 '22 19:06 electronstudio

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

electronstudio avatar Jun 02 '22 19:06 electronstudio

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

electronstudio avatar Mar 02 '24 14:03 electronstudio