[cffi-devel] Naming different things with the same symbol

Kalyanov Dmitry kalyanov.dmitry at gmail.com
Mon Mar 30 13:19:06 UTC 2009


What will happen when the same symbol is used for different things: function 
name, foreign function name, callback name, cffi type name, lisp class name? 
Does CFFI guarantee that such uses of name will not bother to each other?

In particular, I have a class (defined with defclass) and cstruct and I want 
to reuse the same symbol to name them. And I have a callback and generic 
function that I would like to have the same name. Won't this cause problems 
with some definition overriding the other?

My use case is that I am generating wrappers and I would like not to introduce 
redundant symbols.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20090330/d5d9bdf4/attachment.sig>


More information about the cffi-devel mailing list