How to define the interface to "const char *"
Mirko Vukovic
mirko.vukovic at gmail.com
Thu Apr 7 17:10:52 UTC 2016
This is on Windows 7, CCL, latest CFFI pull.
I am writing an interface to a function that has a const char * as in input:
int DDC_GetFileStringPropertyLength (DDCFileHandle file, *const char
*property*, unsigned int *length);
In my defcfun, can I use *:string*, or do I need to do something special?
The reason I ask is that calls to this function cause a memory exception on
one of my computers, while it works fine on the second computer.
Thanks,
Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20160407/1a33c7dc/attachment.html>
More information about the cffi-devel
mailing list