[cffi-devel] Lisp-name conversion
Hi, Is there any way which allows one to control the way cffi does the conversion from c-names to lispy names? Is it possible to disable this feature or customize it? Thanks. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | By all means marry; if you get a good wife, you'll be happy. If you | get a bad one, you'll become a philosopher. | -- Socrates `----
Surendra Singhi <efuzzyone@netscape.net> writes:
Is there any way which allows one to control the way cffi does the conversion from c-names to lispy names? Is it possible to disable this feature or customize it?
Yes---in every operator that does such a conversion when its argument is a string, you can give a 2-element list containing the C name and the Lisp name, eg: (defcfun ("gethostname" c-gethostname) ...) James
participants (2)
-
James Bielman
-
Surendra Singhi