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

Use strings instead of binary strings #14

Closed Shadowblitz16 closed 3 years ago

Shadowblitz16 commented 3 years ago

can we have support for functions accepting strings like so.. "abcd1234" instead of just b"abcd1234"

electronstudio commented 3 years ago

Sure, the versions in raylib.pyray do automatic conversion of strings. See https://github.com/electronstudio/raylib-python-cffi/blob/master/test_pyray.py