Rozdiely pre libco/test/mod.c medzi verziami 1.3 a 1.4
| verzia 1.3, 2003/02/21 09:00:37 |
verzia 1.4, 2003/02/23 17:39:24 |
| Riadok 11 int main (void) |
|
| Riadok 11 int main (void) |
|
| 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.sk> http://platon.sk/
|
|