NextPrevTopContents

Index

A

align-of function 47

alloca function 48

allocate-dynamic-foreign-object function 48

allocate-foreign-object function 50

allocating memory dynamically 7

B

:boolean type 133

:byte type 134

C

C code

declarations 163

:c-array type 134

:char type 135

conditions

foreign-type-error 97

:const type 136

convert-from-foreign-string function 52

convert-to-dynamic-foreign-string function 55

convert-to-foreign-string function 53

copy-pointer function 56

D

decf-pointer function 57

define-c-enum macro 58

define-c-struct macro 60

define-c-typedef macro 61

define-c-union macro 62

define-foreign-callable macro 63

define-foreign-forward-reference-type macro 67

define-foreign-funcallable macro 68

define-foreign-function macro 69

define-foreign-pointer macro 74

define-foreign-type macro 75

define-foreign-variable macro 76

defining FLI functions 5

defining FLI types 4

defining forms

ambiguity 170

automated generation 163

dereference function 80

disconnect-module function 82

DLLs

exporting functions from 45 - 46

documentation strings 10

:double type 136

dynamic memory allocation 7

E

:ef-mb-string type 137

:ef-wc-string type 138

:enum type 139

:enumeration type 140

enum-symbol-value function 83

enum-value-symbol function 84

F

fill-foreign-object function 85

:fixnum type 140

FLI functions

defining 5

FLI templates 112 , 122

FLI types

defining 4

:float type 141

Foreign Parser 163

foreign-aref function 85

:foreign-array type 141

foreign-array-dimensions function 87

foreign-array-element-type function 88

foreign-array-pointer function 89

foreign-parser package symbols

process-foreign-file 168

foreign-slot-names function 90

foreign-slot-offset function 90

foreign-slot-pointer function 91

foreign-slot-type function 93

foreign-slot-value function 94

foreign-typed-aref function 97

foreign-type-equal-p function 96

foreign-type-error condition 97

free function 99

free-foreign-object function 99

:function type 142

functions

align-of 47

alloca 48

allocate-dynamic-foreign-object 48

allocate-foreign-object 50

convert-from-foreign-string 52

convert-to-dynamic-foreign-string 55

convert-to-foreign-string 53

copy-pointer 56

decf-pointer 57

dereference 80

disconnect-module 82

enum-symbol-value 83

enum-value-symbol 84

fill-foreign-object 85

foreign-aref 85

foreign-array-dimensions 87

foreign-array-element-type 88

foreign-array-pointer 89

foreign-slot-names 90

foreign-slot-offset 90

foreign-slot-pointer 91

foreign-slot-type 93

foreign-slot-value 94

foreign-typed-aref 97

foreign-type-equal-p 96

free 99

free-foreign-object 99

incf-pointer 100

make-pointer 102

malloc 103

module-unresolved-symbols 104

null-pointer-p 105

pointer-address 106

pointer-element-size 106

pointer-element-type 107

pointer-element-type-p 108

pointer-eq 109

pointerp 111

pointer-pointer-type 110

print-collected-template-info 111

process-foreign-file 168

register-module 112

replace-foreign-array 115

replace-foreign-object 118

set-locale 119

set-locale-encodings 120

size-of 121

start-collecting-template-info 122

I

incf-pointer function 100

:int type 143

L

languages supported 1

:lisp-array type 143

:lisp-double-float type 145

:lisp-float type 146

:lisp-simple-1d-array type 146

:lisp-single-float type 147

*locale-external-formats* variable 101

:long type 148

M

macros

define-c-enum 58

define-c-struct 60

define-c-typedef 61

define-c-union 62

define-foreign-callable 63

define-foreign-forward-reference-type 67

define-foreign-funcallable 68

define-foreign-function 69

define-foreign-pointer 74

define-foreign-type 75

define-foreign-variable 76

with-coerced-pointer 123

with-dynamic-foreign-objects 124

with-dynamic-lisp-array-pointer 128

with-foreign-slots 129

with-foreign-string 130

make-pointer function 102

malloc function 103

memory allocation 7

module-unresolved-symbols function 104

N

null pointers 21

*null-pointer* variable 104

null-pointer-p function 105

O

:one-of type 148

P

:pointer type 149

pointer-address function 106

pointer-element-size function 106

pointer-element-type function 107

pointer-element-type-p function 108

pointer-eq function 109

pointerp function 111

pointer-pointer-type function 110

pointers 19 - 26

coercing 22

copying 20

creating 19

dereferencing 22 - 24

dynamically allocating 24

null pointers 21

test functions for 21

*preprocessor* variable 166

*preprocessor-format-string* variable 167

*preprocessor-include-path* variable 167

*preprocessor-options* variable 168

print-collected-template-info function 111

process-foreign-file function 168

:ptr type 150

R

:reference type 150

:reference-pass type 152

:reference-return type 153

register-module function 112

replace-foreign-array function 115

replace-foreign-object function 118

S

set-locale function 119

set-locale-encodings function 120

:short type 153

:signed type 154

size-of function 121

start-collecting-template-info function 122

strings

modifying in C 29

passing to C 27 , 31

returning from C 33

:struct type 155

T

templates, FLI 112 , 122

type constructors 10

types

:boolean 133

:byte 134

:c-array 134

:char 135

:const 136

:double 136

:ef-mb-string 137

:ef-wc-string 138

:enum 139

:enumeration 140

:fixnum 140

:float 141

:foreign-array 141

:function 142

:int 143

:lisp-array 143

:lisp-double-float 145

:lisp-float 146

:lisp-simple-1d-array 146

:lisp-single-float 147

:long 148

:one-of 148

:pointer 149

:ptr 150

:reference 150

:reference-pass 152

:reference-return 153

:short 153

:signed 154

:struct 155

:union 156

:unsigned 157

:void 158

:volatile 159

:wchar-t 159

:wrapper 160

aggregate 10 , 12 - 14

defining new types 42 - 43

immediate 10 - 11

U

:union type 156

:unsigned type 157

V

variables

*locale-external-formats* 101

*null-pointer* 104

*preprocessor* 166

*preprocessor-format-string* 167

*preprocessor-include-path* 167

*preprocessor-options* 168

:void type 158

:volatile type 159

W

:wchar-t type 159

with-coerced-pointer macro 123

with-dynamic-foreign-objects macro 124

with-dynamic-lisp-array-pointer macro 128

with-foreign-slots macro 129

with-foreign-string macro 130

:wrapper type 160


LispWorks Foreign Language Interface User Guide and Reference Manual - 22 Mar 2004

NextPrevTopContents