NextPrevTopContents

Index

A

align-of function 49

alloca function 50

allocate-dynamic-foreign-object function 50

allocate-foreign-object function 52

allocating memory dynamically 7

B

:boolean type 137

:byte type 138

C

C code

declarations 167

:c-array type 138

:char type 139

conditions

foreign-type-error 100

:const type 140

convert-from-foreign-string function 54

convert-to-dynamic-foreign-string function 57

convert-to-foreign-string function 55

copy-pointer function 58

D

decf-pointer function 59

define-c-enum macro 60

define-c-struct macro 62

define-c-typedef macro 63

define-c-union macro 64

define-foreign-callable macro 43 , 65

define-foreign-forward-reference-type macro 69

define-foreign-funcallable macro 70

define-foreign-function macro 43 , 71

define-foreign-pointer macro 20 , 77

define-foreign-type macro 9 , 77

define-foreign-variable macro 79

defining FLI functions 5

defining FLI types 4

defining forms

ambiguity 175

automated generation 167

dereference function 82

disconnect-module function 84

DLLs

exporting functions from 45 - 46

documentation strings 10

:double type 140

dynamic memory allocation 7

E

:ef-mb-string type 141

:ef-wc-string type 142

:enum type 143

:enumeration type 144

enum-symbol-value function 85

enum-value-symbol function 86

F

fill-foreign-object function 87

:fixnum type 144

FLI functions

defining 5

FLI templates 115 , 126

FLI types

defining 4

:float type 145

Foreign Parser 167

foreign-aref function 88

:foreign-array type 145

foreign-array-dimensions function 89

foreign-array-element-type function 90

foreign-array-pointer function 91

foreign-parser package symbols

process-foreign-file 172

foreign-slot-names function 92

foreign-slot-offset function 93

foreign-slot-pointer function 94

foreign-slot-type function 96

foreign-slot-value function 97

foreign-typed-aref function 100

foreign-type-equal-p function 99

foreign-type-error condition 100

free function 102

free-foreign-object function 102

:function type 146

functions

align-of 49

alloca 50

allocate-dynamic-foreign-object 50

allocate-foreign-object 52

convert-from-foreign-string 54

convert-to-dynamic-foreign-string 57

convert-to-foreign-string 55

copy-pointer 58

decf-pointer 59

dereference 82

disconnect-module 84

enum-symbol-value 85

enum-value-symbol 86

fill-foreign-object 87

foreign-aref 88

foreign-array-dimensions 89

foreign-array-element-type 90

foreign-array-pointer 91

foreign-slot-names 92

foreign-slot-offset 93

foreign-slot-pointer 94

foreign-slot-type 96

foreign-slot-value 97

foreign-typed-aref 100

foreign-type-equal-p 99

free 102

free-foreign-object 102

incf-pointer 103

make-pointer 105

malloc 106

module-unresolved-symbols 106

null-pointer-p 108

pointer-address 109

pointer-element-size 109

pointer-element-type 110

pointer-element-type-p 111

pointer-eq 112

pointerp 114

pointer-pointer-type 113

print-collected-template-info 114

print-foreign-modules 115

process-foreign-file 172

register-module 116

replace-foreign-array 119

replace-foreign-object 122

set-locale 123

set-locale-encodings 124

size-of 125

start-collecting-template-info 126

G

gdi+ 47

gdiplus 47

graphics functions 47

I

incf-pointer function 103

:int type 147

L

languages supported 1

:lisp-array type 147

:lisp-double-float type 149

:lisp-float type 150

:lisp-simple-1d-array type 150

:lisp-single-float type 151

*locale-external-formats* variable 104

:long type 152

:long-long type 152

M

macros

define-c-enum 60

define-c-struct 62

define-c-typedef 63

define-c-union 64

define-foreign-callable 43 , 65

define-foreign-forward-reference-type 69

define-foreign-funcallable 70

define-foreign-function 43 , 71

define-foreign-pointer 20 , 77

define-foreign-type 9 , 77

define-foreign-variable 79

with-coerced-pointer 127

with-dynamic-foreign-objects 128

with-dynamic-lisp-array-pointer 132

with-foreign-slots 133

with-foreign-string 134

make-pointer function 105

malloc 21

malloc function 106

memory allocation 7 , 21

module-unresolved-symbols function 106

N

null pointers 21

*null-pointer* variable 107

null-pointer-p function 108

O

:one-of type 153

P

:pointer type 154

pointer-address function 109

pointer-element-size function 109

pointer-element-type function 110

pointer-element-type-p function 111

pointer-eq function 112

pointerp function 114

pointer-pointer-type function 113

pointers 19 - 26

coercing 23

copying 21

creating 19

dereferencing 22 - 24

dynamically allocating 25

null pointers 21

test functions for 21 - 22

*preprocessor* variable 168 , 171

*preprocessor-format-string* variable 171

*preprocessor-include-path* variable 171 , 172

*preprocessor-options* variable 172

print-collected-template-info function 114

print-foreign-modules function 115

process-foreign-file function 172

:ptr type 155

R

:reference type 155

:reference-pass type 156

:reference-return type 157

register-module function 116

replace-foreign-array function 119

replace-foreign-object function 122

S

set-locale function 123

set-locale-encodings function 124

:short type 158

:signed type 158

size-of function 125

start-collecting-template-info function 126

strings

modifying in C 29

passing to C 27 , 31

returning from C 33

:struct type 159

T

templates, FLI 115 , 126

type constructors 10

types

:boolean 137

:byte 138

:c-array 138

:char 139

:const 140

:double 140

:ef-mb-string 141

:ef-wc-string 142

:enum 143

:enumeration 144

:fixnum 144

:float 145

:foreign-array 145

:function 146

:int 147

:lisp-array 147

:lisp-double-float 149

:lisp-float 150

:lisp-simple-1d-array 150

:lisp-single-float 151

:long 152

:long-long 152

:one-of 153

:pointer 154

:ptr 155

:reference 155

:reference-pass 156

:reference-return 157

:short 158

:signed 158

:struct 159

:union 161

:unsigned 162

:void 163

:volatile 163

:wchar-t 164

:wrapper 164

aggregate 10 , 12 - 14

defining new types 42 - 43

immediate 10 - 11

U

:union type 161

:unsigned type 162

V

variables

*locale-external-formats* 104

*null-pointer* 107

*preprocessor* 168 , 171

*preprocessor-format-string* 171

*preprocessor-include-path* 171 , 172

*preprocessor-options* 172

:void type 163

:volatile type 163

W

:wchar-t type 164

with-coerced-pointer macro 127

with-dynamic-foreign-objects macro 128

with-dynamic-lisp-array-pointer macro 132

with-foreign-slots macro 133

with-foreign-string macro 134

:wrapper type 164


LispWorks Foreign Language Interface User Guide and Reference Manual - 13 Sep 2005

NextPrevTopContents