forked from KolibriOS/kolibrios
befac9b242
git-svn-id: svn://kolibrios.org@5936 a494cfbc-eb01-0410-851d-a64ba20cac60
24 lines
465 B
C
24 lines
465 B
C
typedef struct
|
|
{
|
|
dword key;
|
|
dword value;
|
|
} array_data;
|
|
|
|
typedef struct
|
|
{
|
|
array_data *(* key_string_set)(char *);
|
|
void *(* key_string_get)(char *,array_data *);
|
|
} ARRAY;
|
|
|
|
|
|
ARRAY array;
|
|
|
|
char _init_array_ = 0;
|
|
void init_array(void)
|
|
{
|
|
if(_init_array_) return;
|
|
library.load("/sys/lib/array.obj");
|
|
array.key_string_set = library.get("array.key_string_set");
|
|
array.key_string_get = library.get("array.key_string_get");
|
|
_init_array_ = 1;
|
|
} |