A pathname designator giving the name of an IDL file.
The package in which definitions are created. Defaults to the current package.
How many levels of IDL
statement to convert to Lisp. This defaults to 0, which means only convert definitions for the IDL file itself. Imported files should be converted and loaded before the importing file. Some of the standard files are preloaded, so should not be loaded again (see Standard IDL files).
Allows options to be passed controlling the conversion of individual definitions.
If this is
(the default), the IDL file is compiled in-memory. Otherwise a Lisp fasl is produced so the definitions can be reloaded without requiring recompilation. If
then the fasl is named after the IDL file, otherwise
is used as a pathname designator to specify the name of the fasl file.
If this is true (the default) then any fasl produced is loaded after being compiled. Otherwise, the fasl must be loaded explicitly with
. This argument has no effect if
Specifies where to look for files referenced by
statements in the IDL. The default value, which is
, causes a search in the same directory as
. Otherwise the value should be a list of pathname designators specifying directories to search. After searching using the value of
looks in any directory in the
This function is used to convert an IDL file into Lisp FLI definitions, which is necessary before the types in the file can be used from the Lisp COM API. See The mapping from COM names to Lisp symbols for the details on how these FLI definitions are named.
(midl "myfile.idl" :output-file t :load nil)
(midl "myfile.idl" :output-file t)