1 /* CFFI - An Io interface to C
2 Copyright (c) 2006 Trevor Fancher. All rights reserved.
3 All code licensed under the New BSD license.
6 #ifndef IoCFFIFunction_DEFINED
7 #define IoCFFIFunction_DEFINED 1
12 #define ISCFFIFunction(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoCFFIFunction_rawClone)
14 typedef IoObject IoCFFIFunction
;
16 typedef struct IoCFFIFunction
21 IoTag
*IoCFFIFunction_newTag(void *state
);
22 IoCFFIFunction
*IoCFFIFunction_proto(void *state
);
23 IoCFFIFunction
*IoCFFIFunction_rawClone(IoCFFIFunction
*self
);
24 void IoCFFIFunction_free(IoCFFIFunction
*self
);
26 IoObject
*IoCFFIFunction_call(IoCFFIFunction
*self
, IoObject
*locals
, IoMessage
*m
);