| 192 | static int print_reg(FILE *out, int col, int arg, int mode, int immshift, const VMScriptFunction *func); |
| 193 | |
| 194 | static int printf_wrapper(FILE *f, const char *fmt, ...) |
| 195 | { |
| 196 | va_list argptr; |
| 197 | int count; |
| 198 | |
| 199 | va_start(argptr, fmt); |
| 200 | if (f == NULL) |
| 201 | { |
| 202 | count = VPrintf(PRINT_HIGH, fmt, argptr); |
| 203 | } |
| 204 | else |
| 205 | { |
| 206 | count = vfprintf(f, fmt, argptr); |
| 207 | } |
| 208 | va_end(argptr); |
| 209 | return count; |
| 210 | } |
| 211 | |
| 212 | void VMDumpConstants(FILE *out, const VMScriptFunction *func) |
| 213 | { |
no test coverage detected