Diff for games/_shared/stshared.c between version 1.3 and 1.4
| version 1.3, 2003/08/03 21:34:18 |
version 1.4, 2003/10/21 10:23:43 |
|
|
| * All rights reserved. |
* All rights reserved. |
| */ |
*/ |
| |
|
| /* $Platon: games/_shared/standart.c,v 1.2 2003/06/27 21:58:29 nepto Exp $ */ |
/* $Platon: games/_shared/stshared.c,v 1.3 2003/08/03 21:34:18 nepto Exp $ */ |
| |
|
| static void wait_clocks(clock_t clocks, void (*user_fnc)()) |
|
| { |
|
| clock_t clck = clock(); |
|
| while (clock() - clck < clocks) |
|
| user_fnc(); |
|
| } |
|
| |
|
| static void wait_clocks_dummy_func(void) |
|
| { |
|
| return; |
|
| } |
|
| |
|
| void endstring(const char *s) |
void endstring(const char *s) |
| { |
{ |
Platon Group <platon@platon.org> http://platon.org/
|
|