bah, still not used to qc needing @extern on functions :P

This commit is contained in:
Bill Currie 2003-04-07 21:15:45 +00:00
parent 72036d76b0
commit 84ee27f824
2 changed files with 27 additions and 27 deletions

View file

@ -4,22 +4,22 @@
struct _hashtab_t = {}; struct _hashtab_t = {};
typedef _hashtab_t [] hashtab_t; typedef _hashtab_t [] hashtab_t;
hashtab_t () Hash_NewTable; @extern hashtab_t () Hash_NewTable;
void () Hash_SetHashCompare; @extern void () Hash_SetHashCompare;
void () Hash_DelTable; @extern void () Hash_DelTable;
void () Hash_FlushTable; @extern void () Hash_FlushTable;
integer () Hash_Add; @extern integer () Hash_Add;
integer () Hash_AddElement; @extern integer () Hash_AddElement;
(void []) () Hash_Find; @extern (void []) () Hash_Find;
(void []) () Hash_FindElement; @extern (void []) () Hash_FindElement;
(void [][]) () Hash_FindList; @extern (void [][]) () Hash_FindList;
(void [][]) () Hash_FindElementList; @extern (void [][]) () Hash_FindElementList;
(void []) () Hash_Del; @extern (void []) () Hash_Del;
(void []) () Hash_DelElement; @extern (void []) () Hash_DelElement;
void () Hash_Free; @extern void () Hash_Free;
integer () Hash_String; @extern integer () Hash_String;
integer () Hash_Buffer; @extern integer () Hash_Buffer;
(void [][]) () Hash_GetList; @extern (void [][]) () Hash_GetList;
void () Hash_Stats; @extern void () Hash_Stats;
#endif __ruamoko_hash_h #endif __ruamoko_hash_h

View file

@ -3,17 +3,17 @@
struct plitem_t = {integer [2] dummy;}; struct plitem_t = {integer [2] dummy;};
plitem_t (string str) PL_GetPropertyList; @extern plitem_t (string str) PL_GetPropertyList;
plitem_t (plitem_t item, string key) PL_ObjectForKey; @extern plitem_t (plitem_t item, string key) PL_ObjectForKey;
plitem_t (plitem_t item, integer index) PL_ObjectAtIndex; @extern plitem_t (plitem_t item, integer index) PL_ObjectAtIndex;
plitem_t (plitem_t dict, plitem_t key, plitem_t value) PL_D_AddObject; @extern plitem_t (plitem_t dict, plitem_t key, plitem_t value) PL_D_AddObject;
plitem_t (plitem_t array_item, plitem_t item) PL_A_AddObject; @extern plitem_t (plitem_t array_item, plitem_t item) PL_A_AddObject;
plitem_t (plitem_t array_item, plitem_t item, integer index) PL_A_InsertObjectAtIndex; @extern plitem_t (plitem_t array_item, plitem_t item, integer index) PL_A_InsertObjectAtIndex;
plitem_t () PL_NewDictionary; @extern plitem_t () PL_NewDictionary;
plitem_t () PL_NewArray; @extern plitem_t () PL_NewArray;
//plitem_t () PL_NewData; //@extern plitem_t () PL_NewData;
plitem_t (string str) PL_NewString; @extern plitem_t (string str) PL_NewString;
#endif//__ruamoko_plist_h #endif//__ruamoko_plist_h