All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual

NextPrevTopContents

Index

A

aggregate types 12 , 14 - 16

align-of function 59

alloca function 60

allocate-dynamic-foreign-object function 60

allocate-foreign-block function 62

allocate-foreign-object function 63

allocating memory dynamically 7 , 64

B

Block object 54

:boolean type 179

:byte type 180

C

C 54

calling from Lisp 2 , 55 , 94

calling from Lisp with a block 55

calling into Lisp 48 , 84

C code

declarations 215

C++

calling from Lisp 2 , 55 , 94

calling from Lisp with a block 55

calling into Lisp 48 , 84

:c-array type 180

cast-integer function 65

:char type 182

CLANG 54

conditions

foreign-type-error 128

connected-module-pathname function 66

:const type 183

convert-from-foreign-string function 67

convert-integer-to-dynamic-foreign-object function 68

convert-to-dynamic-foreign-string function 71

convert-to-foreign-string function 69

copy-pointer function 72

D

decf-pointer function 73

define-c-enum macro 75

define-c-struct macro 76

define-c-typedef macro 79

define-c-union macro 80

define-foreign-block-callable-type macro 82

define-foreign-block-invoker macro 83

define-foreign-callable macro 47 , 51 , 84

define-foreign-converter macro 89

define-foreign-forward-reference-type macro 92

define-foreign-funcallable macro 93

define-foreign-function macro 47 , 94

define-foreign-pointer macro 22 , 100

define-foreign-type macro 11 , 101

define-foreign-variable macro 102

define-opaque-pointer macro 106

defining FLI functions 6

defining FLI types 4

defining forms

ambiguity 223

automated generation 215

dereference function 107

disconnect-module function 110

DLLs

exporting functions from 51 - 53

documentation strings 12

:double type 183

dynamic memory allocation 7

E

:ef-mb-string type 184

:ef-wc-string type 185

Embedded dynamic modules 53

:enum type 186

:enumeration type 187

enum-symbols function 111

enum-symbol-value function 111

enum-symbol-value-pairs function 111

enum-values function 111

enum-value-symbol function 111

F

fill-foreign-object function 113

:fixnum type 187

FLI functions

defining 6

FLI templates 149 , 164

FLI types

defining 4

:float type 187

Foreign blocks 54

foreign callable

defining 47

passing and returning strings 50

Foreign Parser 215

foreign-aref function 113

:foreign-array type 188

foreign-array-dimensions function 115

foreign-array-element-type function 116

foreign-array-pointer function 117

foreign-block-copy function 118

foreign-block-pointer type 54 , 189

foreign-block-release function 119

foreign-parser package symbols

process-foreign-file 220

foreign-slot-names function 120

foreign-slot-offset function 121

foreign-slot-pointer function 122

foreign-slot-type function 123

foreign-slot-value function 125

foreign-typed-aref function 129

foreign-type-equal-p function 127

foreign-type-error condition 128

free function 130

free-foreign-block function 130

free-foreign-object function 131

:function type 190

functions

align-of 59

alloca 60

allocate-dynamic-foreign-object 60

allocate-foreign-block 62

allocate-foreign-object 63

cast-integer 65

connected-module-pathname 66

convert-from-foreign-string 67

convert-integer-to-dynamic-foreign-object 68

convert-to-dynamic-foreign-string 71

convert-to-foreign-string 69

copy-pointer 72

decf-pointer 73

dereference 107

disconnect-module 110

enum-symbols 111

enum-symbol-value 111

enum-symbol-value-pairs 111

enum-values 111

enum-value-symbol 111

fill-foreign-object 113

foreign-aref 113

foreign-array-dimensions 115

foreign-array-element-type 116

foreign-array-pointer 117

foreign-block-copy 118

foreign-block-release 119

foreign-slot-names 120

foreign-slot-offset 121

foreign-slot-pointer 122

foreign-slot-type 123

foreign-slot-value 125

foreign-typed-aref 129

foreign-type-equal-p 127

free 130

free-foreign-block 130

free-foreign-object 131

get-embedded-module 132

get-embedded-module-data 133

incf-pointer 135

install-embedded-module 136

make-integer-from-bytes 138

make-pointer 139

malloc 140

module-unresolved-symbols 141

null-pointer-p 142

pointer-address 143

pointer-element-size 143

pointer-element-type 144

pointer-element-type-p 145

pointer-eq 146

pointerp 148

pointer-pointer-type 147

print-collected-template-info 149

print-foreign-modules 149

process-foreign-file 220

register-module 150

replace-foreign-array 156

replace-foreign-object 159

set-locale 160

set-locale-encodings 161

setup-embedded-module 162

size-of 163

start-collecting-template-info 164

G

GCD 55

gdi+ 57

gdiplus 57

get-embedded-module function 132

get-embedded-module-data function 133

Grand Central Dispatch 55

graphics functions 57

I

immediate types 12 - 13

incf-pointer function 135

install-embedded-module function 136

:int type 191

:int16 type 191

:int32 type 191

:int64 type 191

:int8 type 191

:intmax type 191

:intptr type 191

L

languages supported 1

Lisp

calling from C 48 , 84

calling from C++ 48 , 84

calling into C 2 , 55 , 94

calling into C with a block 55

calling into C++ 2 , 55 , 94

calling into C++ with a block 55

:lisp-array type 192

:lisp-double-float type 194

:lisp-float type 195

:lisp-simple-1d-array type 195

:lisp-single-float type 196

*locale-external-formats* variable 137

:long type 196

:long-long type 197

lpctstr type 43

lptstr type 43

M

macros

define-c-enum 75

define-c-struct 76

define-c-typedef 79

define-c-union 80

define-foreign-block-callable-type 82

define-foreign-block-invoker 83

define-foreign-callable 47 , 51 , 84

define-foreign-converter 89

define-foreign-forward-reference-type 92

define-foreign-funcallable 93

define-foreign-function 47 , 94

define-foreign-pointer 22 , 100

define-foreign-type 11 , 101

define-foreign-variable 102

define-opaque-pointer 106

with-coerced-pointer 164

with-dynamic-foreign-objects 166

with-dynamic-lisp-array-pointer 169

with-foreign-block 171

with-foreign-slots 172

with-foreign-string 174

with-integer-bytes 176

with-local-foreign-block 177

make-integer-from-bytes function 138

make-pointer function 139

malloc 23

malloc function 140

memory allocation 7 , 23

module-unresolved-symbols function 141

N

New in LispWorks 6.1

allocate-foreign-block 62

allocation argument 64

Block objects in C 54

define-foreign-block-callable-type 82

define-foreign-block-invoker 83

Foreign blocks 54

foreign-block-copy 118

foreign-block-release 119

free-foreign-block 130

get-embedded-module 132

get-embedded-module-data 133

install-embedded-module 136

setup-embedded-module 162

with-foreign-block 171

with-local-foreign-block 177

null pointers 23

*null-pointer* variable 141

null-pointer-p function 142

O

:one-of type 198

P

:pointer type 199

pointer-address function 143

pointer-element-size function 143

pointer-element-type function 144

pointer-element-type-p function 145

pointer-eq function 146

pointerp function 148

pointer-pointer-type function 147

pointers 21 - 28

coercing 25

copying 23

creating 21

dereferencing 24 - 26

dynamically allocating 27

null pointers 23

test functions for 23 - 24

*preprocessor* variable 216 , 219

*preprocessor-format-string* variable 219

*preprocessor-include-path* variable 219 , 220

*preprocessor-options* variable 220

print-collected-template-info function 149

print-foreign-modules function 149

process-foreign-file function 220

:ptr type 199

:ptrdiff-t type 200

R

:reference type 200

:reference-pass type 202

:reference-return type 202

register-module function 150

replace-foreign-array function 156

replace-foreign-object function 159

S

set-locale function 160

set-locale-encodings function 161

setup-embedded-module function 162

:short type 203

:signed type 203

size-of function 163

:size-t type 204

:ssize-t type 205

start-collecting-template-info function 164

strings

modifying in C 31

passing to C 29 , 33

returning from C 35

:struct type 205

T

templates, FLI 149 , 164

:time-t type 207

tstr type 43

type constructors 12

types

:boolean 179

:byte 180

:c-array 180

:char 182

:const 183

:double 183

:ef-mb-string 184

:ef-wc-string 185

:enum 186

:enumeration 187

:fixnum 187

:float 187

:foreign-array 188

:function 190

:int 191

:int16 191

:int32 191

:int64 191

:int8 191

:intmax 191

:intptr 191

:lisp-array 192

:lisp-double-float 194

:lisp-float 195

:lisp-simple-1d-array 195

:lisp-single-float 196

:long 196

:long-long 197

:one-of 198

:pointer 199

:ptr 199

:ptrdiff-t 200

:reference 200

:reference-pass 202

:reference-return 202

:short 203

:signed 203

:size-t 204

:ssize-t 205

:struct 205

:time-t 207

:uint16 207

:uint32 207

:uint64 207

:uint8 207

:uintmax 207

:uintptr 207

:union 208

:unsigned 209

:void 210

:volatile 211

:wchar-t 211

:wrapper 212

aggregate 12 , 14 - 16

defining new types 47

foreign-block-pointer 54 , 189

immediate 12 - 13

lpctstr 43

lptstr 43

tstr 43

U

:uint16 type 207

:uint32 type 207

:uint64 type 207

:uint8 type 207

:uintmax type 207

:uintptr type 207

:union type 208

:unsigned type 209

V

variables

*locale-external-formats* 137

*null-pointer* 141

*preprocessor* 216 , 219

*preprocessor-format-string* 219

*preprocessor-include-path* 219 , 220

*preprocessor-options* 220

:void type 210

:volatile type 211

W

:wchar-t type 211

with-coerced-pointer macro 164

with-dynamic-foreign-objects macro 166

with-dynamic-lisp-array-pointer macro 169

with-foreign-block macro 171

with-foreign-slots macro 172

with-foreign-string macro 174

with-integer-bytes macro 176

with-local-foreign-block macro 177

:wrapper type 212


LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011

NextPrevTopContents