Skip to content

Struct-by-value - #4

Draft
fosskers wants to merge 18 commits into
masterfrom
colin/sbcl-struct-by-value
Draft

Struct-by-value#4
fosskers wants to merge 18 commits into
masterfrom
colin/sbcl-struct-by-value

Conversation

@fosskers

Copy link
Copy Markdown
Owner

This PR alters the library to support SBCL's new struct-by-value passing. In doing so, we drop support for ECL.

@fosskers fosskers linked an issue Apr 26, 2026 that may be closed by this pull request
This was also a convenience function of mine.
By this point I've proven that Aero Fighter still works with this.
@fosskers

Copy link
Copy Markdown
Owner Author

Halting this for now, as it loses ECL and Windows support.

@fosskers
fosskers marked this pull request as draft May 13, 2026 13:05
@VisenDev

Copy link
Copy Markdown

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?

@fosskers

fosskers commented Jun 26, 2026

Copy link
Copy Markdown
Owner Author

That increases the maintenance burden for me. We will see. Losing Windows support is also probably a hard blocker at the moment.

@VisenDev

VisenDev commented Jun 28, 2026

Copy link
Copy Markdown

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

@VisenDev

VisenDev commented Jul 1, 2026

Copy link
Copy Markdown

S-Expression raylib api reference now available! https://github.com/raysan5/raylib/blob/master/tools/rlparser/output/raylib_api.sexpr

@fosskers

fosskers commented Jul 3, 2026

Copy link
Copy Markdown
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sb-alien struct-by-value

2 participants