Diff for libco/test/mod.c between version 1.3 and 1.4
| version 1.3, 2003/02/21 09:00:37 |
version 1.4, 2003/02/23 17:39:24 |
|
|
| co mod; |
co mod; |
| int check; |
int check; |
| co_super sup = co_super_new (); |
co_super sup = co_super_new (); |
| __co_mod_init_mod_c (sup); |
__co_file_init_mod_c (sup); |
| mod = M (sup, module_load, "libco_module_testing") . _co; |
mod = M (sup, module_load, "libco_module_testing") . _co; |
| check = M (mod, getid) . _int; |
check = M (mod, getid) . _int; |
| CO_DEBUG (1, "%x", check); |
CO_DEBUG (1, "%x", check); |
| if (check != 0xF0A42) |
if (check != 0xF0A42) |
| error (1, "unexpected value returned"); |
error (1, "unexpected value returned\n"); |
| //co_module_load ("libco_module_testing"); |
//co_module_load ("libco_module_testing"); |
| return 0; |
return 0; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|