Removed all code that uses OpenGL from Image.
[io/quag.git] / addons / CFFI / source / IoCFFIFunction.h
blobc160c7ead978e789f02742f58c1b7da628368fa6
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.
4 */
6 #ifndef IoCFFIFunction_DEFINED
7 #define IoCFFIFunction_DEFINED 1
9 #include "IoObject.h"
10 #include <ffi.h>
12 #define ISCFFIFunction(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoCFFIFunction_rawClone)
14 typedef IoObject IoCFFIFunction;
16 typedef struct IoCFFIFunction
18 ffi_cif interface;
19 } IoCFFIFunctionData;
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);
28 #endif