| 80 | } |
| 81 | |
| 82 | void mapscript_report_php_error(int error_type, char *format TSRMLS_DC, ...) |
| 83 | { |
| 84 | va_list args; |
| 85 | char message[MAX_EXCEPTION_MSG]; |
| 86 | #ifdef ZTS |
| 87 | va_start(args, TSRMLS_C); |
| 88 | #else |
| 89 | va_start(args, format); |
| 90 | #endif |
| 91 | vsprintf(message, format, args); |
| 92 | va_end(args); |
| 93 | php_error_docref(NULL TSRMLS_CC, error_type, "%s,", message); |
| 94 | } |
| 95 | |
| 96 | void mapscript_report_mapserver_error(int error_type TSRMLS_DC) |
| 97 | { |
no outgoing calls
no test coverage detected