Re: CHICKEN 6 and win32 support

felix via Chicken-hackers <[email protected]>
Newsgroups gmane.lisp.scheme.chicken.devel,gmane.lisp.scheme.chicken
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.