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.
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 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*.
-- 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.
) 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