| 2895 | } |
| 2896 | |
| 2897 | void fxReportWarning(txMachine* the, txString thePath, txInteger theLine, txString theFormat, ...) |
| 2898 | { |
| 2899 | c_va_list arguments; |
| 2900 | |
| 2901 | c_va_start(arguments, theFormat); |
| 2902 | fxVReportWarning(the, thePath, theLine, theFormat, arguments); |
| 2903 | c_va_end(arguments); |
| 2904 | #ifndef mxNoConsole |
| 2905 | if (thePath && theLine) |
| 2906 | #if mxWindows |
| 2907 | printf("%s(%d): warning: ", thePath, (int)theLine); |
| 2908 | #else |
| 2909 | c_printf("%s:%d: warning: ", thePath, (int)theLine); |
| 2910 | #endif |
| 2911 | else |
| 2912 | c_printf("# warning: "); |
| 2913 | c_va_start(arguments, theFormat); |
| 2914 | c_vprintf(theFormat, arguments); |
| 2915 | c_va_end(arguments); |
| 2916 | c_printf("!\n"); |
| 2917 | #endif |
| 2918 | } |
| 2919 | |
| 2920 | txID fxGenerateProfileID(void* console) |
| 2921 | { |
nothing calls this directly
no test coverage detected