[cffi-devel] Lisp-name conversion

James Bielman jamesjb at jamesjb.com
Mon Jan 9 03:21:53 UTC 2006


Surendra Singhi <efuzzyone at 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



More information about the cffi-devel mailing list