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

Function sqlite3_base85_init

modules/dasSQLITE/sqlite/shell.c:3719–3737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3717int sqlite3_base_init
3718#else
3719static int sqlite3_base85_init
3720#endif
3721(sqlite3 *db, char **pzErr, const sqlite3_api_routines *pApi){
3722 SQLITE_EXTENSION_INIT2(pApi);
3723 (void)pzErr;
3724# ifndef OMIT_BASE85_CHECKER
3725 {
3726 int rc = sqlite3_create_function
3727 (db, "is_base85", 1,
3728 SQLITE_DETERMINISTIC|SQLITE_INNOCUOUS|SQLITE_UTF8,
3729 0, is_base85, 0, 0);
3730 if( rc!=SQLITE_OK ) return rc;
3731 }
3732# endif
3733 return sqlite3_create_function
3734 (db, "base85", 1,
3735 SQLITE_DETERMINISTIC|SQLITE_INNOCUOUS|SQLITE_DIRECTONLY|SQLITE_UTF8,
3736 0, base85, 0, 0);
3737}
3738
3739/*
3740** Define some macros to allow this extension to be built into the shell

Callers 1

open_dbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected