2003-04-07 20:02:06 +00:00
|
|
|
#ifndef __ruamoko_plist_h
|
|
|
|
#define __ruamoko_plist_h
|
|
|
|
|
2003-07-30 04:11:45 +00:00
|
|
|
struct plitem_s = {integer [2] dummy;};
|
|
|
|
typedef struct plitem_s plitem_t;
|
2003-04-07 20:02:06 +00:00
|
|
|
|
2003-04-07 21:15:45 +00:00
|
|
|
@extern plitem_t (string str) PL_GetPropertyList;
|
|
|
|
@extern plitem_t (plitem_t item, string key) PL_ObjectForKey;
|
|
|
|
@extern plitem_t (plitem_t item, integer index) PL_ObjectAtIndex;
|
2003-04-07 20:02:06 +00:00
|
|
|
|
2004-01-07 06:19:11 +00:00
|
|
|
@extern integer (plitem_t dict, plitem_t key, plitem_t value) PL_D_AddObject;
|
|
|
|
@extern integer (plitem_t array_item, plitem_t item) PL_A_AddObject;
|
|
|
|
@extern integer (plitem_t array_item, plitem_t item, integer index) PL_A_InsertObjectAtIndex;
|
2003-04-07 20:02:06 +00:00
|
|
|
|
2003-04-07 21:15:45 +00:00
|
|
|
@extern plitem_t () PL_NewDictionary;
|
|
|
|
@extern plitem_t () PL_NewArray;
|
|
|
|
//@extern plitem_t () PL_NewData;
|
|
|
|
@extern plitem_t (string str) PL_NewString;
|
2003-04-07 20:02:06 +00:00
|
|
|
|
|
|
|
#endif//__ruamoko_plist_h
|