Updating built in Io code to use += instead of x = x + y
[io/quag.git] / addons / CFFI / source / IoCFFILibrary.h
blob900a8934897e7a924ef0518a06aec7fd3d038b95
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 IoCFFILibrary_DEFINED
7 #define IoCFFILibrary_DEFINED 1
9 #include "DynLib.h"
10 #include "IoObject.h"
12 #define ISCFFILibrary(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoCFFILibrary_rawClone)
14 typedef IoObject IoCFFILibrary;
16 typedef struct IoCFFILibrary
18 DynLib *library;
19 } IoCFFILibraryData;
21 IoTag *IoCFFILibrary_newTag(void *state);
22 IoCFFILibrary *IoCFFILibrary_proto(void *state);
23 IoCFFILibrary *IoCFFILibrary_rawClone(IoCFFILibrary *self);
24 void IoCFFILibrary_free(IoCFFILibrary *self);
26 void *IoCFFILibrary_rawGetFuctionPointer_(IoCFFILibrary *self, const char *name);
28 #endif