Hi List !
I'm new to try mixing OCaml and C.
Please how to read/write a C global variable from OCaml ?
The normal external interfacing way we can use to call C functions doesn't work
- getting the error :
"External identifiers must be functions".
The way to bypass this could it be to declare two functions :
- one to read from the C variable and
- the other to write into it ?
But maybe is it far more simple or, the opposite way, does this raises some
problem with the GC ?
Thanks for your help,
Fabrice