MCPcopy Create free account
hub / github.com/apache/thrift / pdebug

Function pdebug

compiler/cpp/src/thrift/main.cc:254–264  ·  view source on GitHub ↗

* Prints a debug message from the parser. * * @param fmt C format string followed by additional arguments */

Source from the content-addressed store, hash-verified

252 * @param fmt C format string followed by additional arguments
253 */
254void pdebug(const char* fmt, ...) {
255 if (g_debug == 0) {
256 return;
257 }
258 va_list args;
259 printf("[PARSE:%d] ", yylineno);
260 va_start(args, fmt);
261 vprintf(fmt, args);
262 va_end(args);
263 printf("\n");
264}
265
266/**
267 * Prints a verbose output mode message

Callers 6

set_docMethod · 0.50
detect_input_encodingMethod · 0.50
detect_input_encodingMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected