2026-09-25 09:46 UTC
@coolbean@brain.worm.pink @fiore@brain.worm.pink well size of argc is int, size of int depends on the system abi
the problem here is getting the size of int from not-a-c-compiler tbh
though, how does your interop works, is it calling forth from c, or calling c from forth, or smth else?
Replies (1)
-
@coolbean@brain.worm.pink 2026-09-25 09:51
@navi@social.vlhl.dev @fiore@brain.worm.pink calling c from forth and also compiling callbacks back in c. in this specific case im running a c function that takes argc and argv pointers that i have to pass along from forth. i can in fact add my own function that just gives me sizeof(int) and i suspect ill leave it at that until someone comes up with a better solution