MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / ctxErrorMsg

Function ctxErrorMsg

modules/dasSQLITE/sqlite/shell.c:5658–5666  ·  view source on GitHub ↗

** Set the error message contained in context ctx to the results of ** vprintf(zFmt, ...). */

Source from the content-addressed store, hash-verified

5656** vprintf(zFmt, ...).
5657*/
5658static void ctxErrorMsg(sqlite3_context *ctx, const char *zFmt, ...){
5659 char *zMsg = 0;
5660 va_list ap;
5661 va_start(ap, zFmt);
5662 zMsg = sqlite3_vmprintf(zFmt, ap);
5663 sqlite3_result_error(ctx, zMsg, -1);
5664 sqlite3_free(zMsg);
5665 va_end(ap);
5666}
5667
5668#if defined(_WIN32)
5669/*

Callers 1

writefileFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected