Open electronstudio opened 2 years ago
We now throw helpful exceptions if the arguments supplied aren't pointers, except in the case of strings, because we can't determine const strings at runtime. We would have to do code generation at compile time (which may also give some speed benefits.)
Not sure if Raylib uses any of these, but RayGUI certainly does. Currently to use with pyray code looks like this:
I guess the cleanest solution might be to remove those parameters entirely and replace them with tuple return values, but not sure if that can be done in automated way and I hate to special-case anything.