| 95 | |
| 96 | |
| 97 | extern "C" void dDebug (int num, const char *msg, ...) |
| 98 | { |
| 99 | va_list ap; |
| 100 | va_start (ap,msg); |
| 101 | if (debug_function) debug_function (num,msg,ap); |
| 102 | else printMessage (num,"ODE INTERNAL ERROR",msg,ap); |
| 103 | // *((char *)0) = 0; ... commit SEGVicide |
| 104 | abort(); |
| 105 | } |
| 106 | |
| 107 | |
| 108 | extern "C" void dMessage (int num, const char *msg, ...) |