Next Previous Up Top Contents Index

2.4 Encapsulated types

2.4.1 Passing Lisp objects to C

There are occasions when it is necessary to pass Lisp object references through to C and then back into Lisp again. An example of this is the need to specify Lisp arguments for a GUI action callback.

Using either the foreign type:wrapper or the macrofli:define-foreign-converter a new foreign type can be created that wraps an extra level of conversion around the Lisp to C or C to Lisp process.


LispWorks Foreign Language Interface - 12 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker