From c8b15f64a000c09d6ab68802d55d8eec1705e5ff Mon Sep 17 00:00:00 2001
From: David Xu
The export feature allows us to export the symbols. The inline - feature declaims the declared function as inline. The rename - directive allows us to change the name(it is useful when - generating C wrapper code for handling overloaded - functions). The ignore directive ignores a certain - declaration. +
The export feature allows us to export the symbols. If + the package argument is given, then the symbol will be exported to + the specified Lisp package. The inline feature declaims the + declared function as inline. The rename directive allows us to + change the name(it is useful when generating C wrapper code for handling + overloaded functions). The ignore directive ignores a certain + declaration.
There are several other things which are possible, to see some example of usage of SWIG look at the Lispbuilder and wxCL @@ -381,7 +384,7 @@ The feature intern_function ensures that all C names are (n :int) (array :pointer)) -(cl:export '#.(my-lispify "lispsort_double" 'function)) +(cl:export '#.(my-lispify "lispsort_double" 'function) 'some-other-package) (cffi:defcenum #.(swig-lispify "color" 'enumname) #.(swig-lispify "RED" 'enumvalue :keyword) -- cgit v1.2.1