Next Previous Top Index

LispWorks Foreign Language Interface


Copyright and Trademarks
Preface
1 - Introduction to the FLI
1.1 - A simple example of how to interface a foreign function
1.1.1 - Defining the FLI function
1.1.2 - Loading foreign code
1.1.3 - Calling foreign code
1.2 - Using the FLI to get the cursor position
1.2.1 - Defining FLI types
1.2.2 - Defining an FLI function
1.2.3 - Accessing the results
1.3 - Using the FLI to set the cursor position
1.4 - An example of dynamic memory allocation
1.5 - Summary
2 - FLI Types
2.1 - Immediate types
2.1.1 - Integral types
2.1.2 - Floating point types
2.1.3 - Character types
2.1.4 - Boolean types
2.1.5 - Pointer types
2.2 - Aggregate types
2.2.1 - Arrays
2.2.2 - Strings
2.2.3 - Structures and unions
2.3 - Parameterized types
2.4 - Encapsulated types
2.4.1 - Passing Lisp objects to C
2.4.2 - An example
2.5 - The void type
2.6 - Summary
3 - FLI Pointers
3.1 - Creating and copying pointers
3.2 - Pointer testing functions
3.3 - Pointer dereferencing and coercing
3.4 - An example of dynamic pointer allocation
3.5 - Further examples of allocation and pointer allocation
3.6 - Summary
4 - Advanced Uses of the FLI
4.1 - Passing a string to a Windows function
4.2 - Defining new types
4.3 - Foreign callables and foreign functions
4.4 - Using DLLs within the LispWorks FLI
4.5 - Summary
5 - Function and Macro Reference
alloca
allocate-dynamic-foreign-object
allocate-foreign-object
convert-from-foreign-string
convert-to-dynamic-foreign-string
copy-pointer
decf-pointer
define-c-enum
define-c-struct
define-c-typedef
define-c-union
define-foreign-callable
define-foreign-function
define-foreign-type
define-foreign-variable
dereference
foreign-aref
foreign-array-dimensions
foreign-array-element-type
foreign-array-pointer
foreign-slot-names
foreign-slot-offset
foreign-slot-pointer
foreign-slot-type
foreign-slot-value
free
free-foreign-object
incf-pointer
make-pointer
malloc
null-pointer-p
pointer-address
pointer-element-size
pointer-element-type
pointer-eq
pointerp
replace-foreign-object
set-locale
size-of
with-coerced-pointer
with-dynamic-foreign-objects
with-foreign-string
6 - Type Reference
:boolean
:byte
:c-array
:char
:const
:double
:ef-mb-string
:ef-wc-string
:enum
:enumeration
:float
:foreign-array
:function
:int
:lisp-double-float
:lisp-float
:lisp-single-float
:long
:one-of
:pointer
:ptr
:reference
:reference-pass
:reference-return
:short
:signed
:struct
:union
:unsigned
:void
:volatile
:wrapper
Glossary
aggregate type
callable function
coerced pointer
FLI
FLI code
FLI function
FLI type
foreign callable function
foreign function
foreign language
immediate type
pointer
wrapper
Index

LispWorks Foreign Language Interface - 12 Oct 1998

Next Previous Top Index

Generated with Harlequin WebMaker