Struct-by-value - #4
Conversation
We don't use pointers anymore and the shim file has been greatly reduced, so we no longer need this Lisp dependency.
This was also a convenience function of mine.
By this point I've proven that Aero Fighter still works with this.
|
Halting this for now, as it loses ECL and Windows support. |
|
I'm not understanding the reasoning as to why ecl support needs to be removed to add support for pass by value. Can you not just use your shim bindings for ecl and not use them for sbcl? |
|
That increases the maintenance burden for me. We will see. Losing Windows support is also probably a hard blocker at the moment. |
Well on the maintenance burden point, are you aware that raylib can produce a full reference of its api in json format?. It might be less work to just generate bindings automatically from the json than writing them manually EDIT: link to the json api reference https://github.com/raysan5/raylib/blob/master/tools/rlparser/output/raylib_api.json EDIT: I just opened a PR to add S-Expressions as an output type, if that gets merged, it will be even easier to automatically generate bindings raysan5/raylib#5943 |
|
S-Expression raylib api reference now available! https://github.com/raysan5/raylib/blob/master/tools/rlparser/output/raylib_api.sexpr |
|
There are some bindings which need to be massaged specifically, and so 100% automation is probably not possible. For instance the ones involving text. I'll see if I can adopt what you've added. |
This PR alters the library to support SBCL's new struct-by-value passing. In doing so, we drop support for ECL.