> bit one Q/ in FFI API manual we have info: "
> C_c_string <https://wiki.call-cc.org/man/6/C%20interface#c_c_string>
>
> [C function] char* C_c_string (C_word string)
>
>
> These macros and functions can be used to convert Scheme data objects back
> to C data. Note that C_c_string() returns a pointer to the character buffer
> of the actual Scheme object and is not zero-terminated."
>
> but in runtime.c:11973+ we have
> [...]
> like  C_c_string returns zero terminated strings we pass strat to C_dlopen,
> C_dlsym...

You are right in remarking this, the documentation is wrong, C_c_string
takes a bytevector now and for bytevectors that hold the characters
of a string, this is zero-terminated. I will update the documentation,
thanks for pointing this out.

> And CSI is not loading shared .so on msys2. questionable?

I'm not sure this is related. What errors do you get? Is it possible to
investigate, perhaps what error code the OS returns when trying
to load?

cheers,
felix


Reply via email to