Next Prev Top Contents

Index

A

align-of function 45

alloca function 46

allocate-dynamic-foreign-object function 46

allocate-foreign-object function 48

allocating memory dynamically 7

B

:boolean type 127

:byte type 128

C

C code

declarations 157

:c-array type 128

:char type 129

conditions

foreign-type-error 94

:const type 130

convert-from-foreign-string function 50

convert-to-dynamic-foreign-string function 53

convert-to-foreign-string function 51

copy-pointer function 54

D

decf-pointer function 55

define-c-enum macro 57

define-c-struct macro 58

define-c-typedef macro 59

define-c-union macro 60

define-foreign-callable macro 62

define-foreign-forward-reference-type macro 64

define-foreign-funcallable macro 65

define-foreign-function macro 66

define-foreign-pointer macro 71

define-foreign-type macro 72

define-foreign-variable macro 73

defining FLI functions 5

defining FLI types 4

defining forms

ambiguity 163

automated generation 157

dereference function 77

disconnect-module function 79

DLLs

exporting functions from 42 - 43

documentation strings 10

:double type 130

dynamic memory allocation 7

E

:ef-mb-string type 131

:ef-wc-string type 132

:enum type 133

:enumeration type 134

enum-symbol-value function 79

enum-value-symbol function 80

F

fill-foreign-object function 81

:fixnum type 134

FLI functions

defining 5

FLI templates 107 , 118

FLI types

defining 4

:float type 135

Foreign Parser 157

foreign-aref function 82

:foreign-array type 135

foreign-array-dimensions function 84

foreign-array-element-type function 85

foreign-array-pointer function 86

foreign-parser package symbols

process-foreign-file 161

foreign-slot-names function 87

foreign-slot-offset function 87

foreign-slot-pointer function 88

foreign-slot-type function 90

foreign-slot-value function 91

foreign-type-equal-p function 93

foreign-type-error condition 94

free function 94

free-foreign-object function 95

:function type 136

functions

align-of 45

alloca 46

allocate-dynamic-foreign-object 46

allocate-foreign-object 48

convert-from-foreign-string 50

convert-to-dynamic-foreign-string 53

convert-to-foreign-string 51

copy-pointer 54

decf-pointer 55

dereference 77

disconnect-module 79

enum-symbol-value 79

enum-value-symbol 80

fill-foreign-object 81

foreign-aref 82

foreign-array-dimensions 84

foreign-array-element-type 85

foreign-array-pointer 86

foreign-slot-names 87

foreign-slot-offset 87

foreign-slot-pointer 88

foreign-slot-type 90

foreign-slot-value 91

foreign-type-equal-p 93

free 94

free-foreign-object 95

incf-pointer 95

make-pointer 97

malloc 99

module-unresolved-symbols 99

null-pointer-p 100

pointer-address 101

pointer-element-size 102

pointer-element-type 102

pointer-element-type-p 103

pointer-eq 104

pointerp 106

pointer-pointer-type 105

print-collected-template-info 107

process-foreign-file 161

register-module 107

replace-foreign-array 110

replace-foreign-object 113

set-locale 114

set-locale-encodings 116

size-of 116

start-collecting-template-info 117

I

incf-pointer function 95

:int type 137

L

languages supported 1

:lisp-array type 137

:lisp-double-float type 139

:lisp-float type 140

:lisp-simple-1d-array type 141

:lisp-single-float type 141

*locale-external-formats* variable 97

:long type 142

:long-long type 143

M

macros

define-c-enum 57

define-c-struct 58

define-c-typedef 59

define-c-union 60

define-foreign-callable 62

define-foreign-forward-reference-type 64

define-foreign-funcallable 65

define-foreign-function 66

define-foreign-pointer 71

define-foreign-type 72

define-foreign-variable 73

with-coerced-pointer 118

with-dynamic-foreign-objects 119

with-dynamic-lisp-array-pointer 121

with-foreign-slots 122

with-foreign-string 123

make-pointer function 97

malloc function 99

memory allocation 7

module-unresolved-symbols function 99

N

null pointers 21

null-pointer-p function 100

O

:one-of type 143

P

:pointer type 144

pointer-address function 101

pointer-element-size function 102

pointer-element-type function 102

pointer-element-type-p function 103

pointer-eq function 104

pointerp function 106

pointer-pointer-type function 105

pointers 19 - 25

coercing 22

copying 20

creating 19

dereferencing 21 - 24

dynamically allocating 24

null pointers 21

test functions for 20 - 21

*preprocessor* variable 160

*preprocessor-options* variable 161

print-collected-template-info function 107

process-foreign-file function 161

:ptr type 145

R

:reference type 145

:reference-pass type 147

:reference-return type 147

register-module function 107

replace-foreign-array function 110

replace-foreign-object function 113

S

set-locale function 114

set-locale-encodings function 116

:short type 148

:signed type 148

size-of function 116

start-collecting-template-info function 117

strings

modifying in C 29

passing to C 27 , 31

returning from C 33

:struct type 149

T

templates, FLI 107 , 118

type constructors 10

types

:boolean 127

:byte 128

:c-array 128

:char 129

:const 130

:double 130

:ef-mb-string 131

:ef-wc-string 132

:enum 133

:enumeration 134

:fixnum 134

:float 135

:foreign-array 135

:function 136

:int 137

:lisp-array 137

:lisp-double-float 139

:lisp-float 140

:lisp-simple-1d-array 141

:lisp-single-float 141

:long 142

:long-long 143

:one-of 143

:pointer 144

:ptr 145

:reference 145

:reference-pass 147

:reference-return 147

:short 148

:signed 148

:struct 149

:union 151

:unsigned 152

:void 153

:volatile 154

:wchar-t 154

:wrapper 155

aggregate 10 , 12 - 14

defining new types 39 - 40

immediate 10 - 12

U

:union type 151

:unsigned type 152

V

variables

*locale-external-formats* 97

*preprocessor* 160

*preprocessor-options* 161

:void type 153

:volatile type 154

W

:wchar-t type 154

with-coerced-pointer macro 118

with-dynamic-foreign-objects macro 119

with-dynamic-lisp-array-pointer macro 121

with-foreign-slots macro 122

with-foreign-string macro 123

:wrapper type 155


LispWorks Foreign Language Interface User Guide and Reference Manual - 4 Jul 2002

Next Prev Top Contents