-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odin Bindings - First Pass #5
Conversation
Hey, I know this is a draft but I was looking through it and noticed you forgot to add EDIT: I am technically wrong, |
Hey, I looked it over and here are some notes, mostly on Odin things:
@(link_prefix="Clay_")
foreign Clay {
MinMemorySize :: proc() -> c.uint32_t ---
} This will link to
Thanks for doing this BTW! I am excited to use this. Also, getting this working with Odin's WASM story should be pretty do-able since you don't use the stdlib / emscripten. |
@laytan Thanks so much for taking a look! I really appreciate it. Some great TIL's in there, I'll get them in ASAP. |
Bindings are working and I've tested it out with a raylib example and it works great! |
These are in a decently working state, I've replicated the clay website using Odin + Raylib: Screen.Recording.2024-08-30.at.1.40.53.PM.movGoing to merge them now and work a bit more on the docs / finessing later. |
This looks great, awesome work! On both the bindings, and the library itself! |
8438738
to
3b2ca70
Compare
This is a draft in-progress PR containing clay bindings for Odin, will tidy up and write docs once it's in a complete state.