One or more filenames.
function takes a file or files of foreign declarations -- usually header files -- and parses them, producing `dff' files of Lisp calls to define-foreign-function, define-foreign-variable, define-foreign-type, and so on, providing a Lisp interface to the foreign code.
preprocessor-format-string should be a format string which is used to make a preprocessor command line. The format arguments are a pathname or string giving the preprocessor executable, a list of strings giving the preprocessor options, a list of strings giving macro names to define, a list of pathnames or strings contain the include path, and a source pathname. On Windows, the default contains options needed for VC++. The default is the value of *preprocessor-format-string*.
preprocessor is a string containing the pathname of the preprocessor program. By default this is the value of *preprocessor*.
preprocessor-options is a string containing command line options to be passed to the preprocessor if it is called. By default this is the value of *preprocessor-options*.
should be a list of pathnames or strings that will be added as the include path for the preprocessor. The default is the value of
t-- the names of all Lisp functions and classes created are of the form |name|. This is the default value.
nil-- all foreign names are converted to uppercase and an error is signalled if any name clashes occur as a result of this conversion. For example,
:split-name-- attempts to split the name up into something sensible. For example,
:prefix-- changes lowercase to uppercase and concatenates the string with the string held in
sys:*prefix-name-string*. For example,
)-- enables you to pass your own function for name formatting. Your function must take a string argument and return a string result. It is not advised to use destructive functions (e.g.
nreverse) as this may cause unusual side effects.
Note that in some cases the derived Lisp FLI definitions will not be quite correct, due to an ambiguity in C.
can mean a pointer to a character, or a string, and in many cases you will want to pass a string. Therefore,
is useful for generating prototype FLI definitions, especially when there are many, but you do need to check the results when