32 |
/* ALL THESE FUNCTIONS MUST BE CALLED ONCE AT A TIME */ |
/* ALL THESE FUNCTIONS MUST BE CALLED ONCE AT A TIME */ |
33 |
|
|
34 |
/* initialize libspopc, mainly for thread safety */ |
/* initialize libspopc, mainly for thread safety */ |
35 |
int libspopc_init(void) |
DLLIMPORT int libspopc_init(void) |
36 |
{ |
{ |
37 |
if (!LIBSPOPC_UP) |
if (!LIBSPOPC_UP) |
38 |
{ |
{ |
44 |
} |
} |
45 |
|
|
46 |
/* clean libspopc, thus re-initable by libspopc_init() */ |
/* clean libspopc, thus re-initable by libspopc_init() */ |
47 |
int libspopc_clean(void) |
DLLIMPORT int libspopc_clean(void) |
48 |
{ |
{ |
49 |
if(LIBSPOPC_UP) |
if(LIBSPOPC_UP) |
50 |
{ |
{ |