>>108352319
Added this to the macro for converting to c-pointers.
[define ,to-ptr
[foreign-lambda* c-pointer ([,struct-sym ptr]) "C_return((void *)ptr);"]]
Here is a complete ECS example. ECS is written in C. The idea is to pass things from scheme into the ECS. The result prints
-11
4
[include "util.scm"]
[import [chicken blob]
[chicken memory]]
#>
Comment too long. Click here to view the full text.