Conversation
|
@marekmaskarinec I'm unsure of this approach. Since we're exporting the raylib functions as the same name, we end up with conflicts on the exported names. Hopefully having the export name changed with a pragma call fixes this. I tried testing, and am getting.... So there's definitely something wrong with it. |
|
From experience, I advice against using raw bindings to functions without umka wrappers. It can save you lot of work and make the API easier to use. You can look at tophat as an example (although src/bindings.c is currently bit of a mess). |
|
Thanks! I have the Umka wrapper functions in there. import "raylib.um"
fn main() {
raylib.InitWindow(640, 480, "Hello")
raylib.CloseWindow()
}Umka will call As a side-note, I really like what you did with Tophat! Definitely going a really neat direction with it 👍 |
Fixes #11