| 4075 | |
| 4076 | |
| 4077 | void API_ROUTINE_VARARG gds__trace_printer(void* /*arg*/, SSHORT offset, const TEXT* line) |
| 4078 | { |
| 4079 | // Assume that line is not too long |
| 4080 | char buffer[PRETTY_BUFFER_SIZE + 10]; |
| 4081 | char* p = buffer; |
| 4082 | gds__ulstr(p, offset, 4, ' '); |
| 4083 | p += strlen(p); |
| 4084 | *p++ = ' '; |
| 4085 | fb_utils::copy_terminate(p, line, PRETTY_BUFFER_SIZE + 1); |
| 4086 | p += strlen(p); |
| 4087 | *p++ = '\n'; |
| 4088 | *p = 0; |
| 4089 | gds__trace_raw(buffer); |
| 4090 | } |
| 4091 | |
| 4092 | #undef gds__alloc |
| 4093 |
nothing calls this directly
no test coverage detected