Let's get this finished
Sven.Panne at informatik.uni-muenchen.de
Sat Jan 6 08:50:20 EST 2001
Marcin 'Qrczak' Kowalczyk wrote:
> [...] I think the conversion story should proceed thus:
> - For now the implementation will not do any conversion.
... and simply throws away the upper half / fills it with zero.
> [...] We can't have separate mallocCString and pokeCString after
> the conversion switch, because the size depends on the contents,
> because a conversion can change the length. So we should not
> provide them now either.
I don't get your point here completely, but I believe Mr. CharConv
> [...] Let me repeat a proposal of two functions for MarshalUtils
> (better names are welcome): [...]
I have something similar in HOpenGL for argc/argv handling, so this
is probably a good idea (modulo some renaming?).
More information about the FFI