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

Function setOrClearFlag

modules/dasSQLITE/sqlite/shell.c:20739–20745  ·  view source on GitHub ↗

** Set or clear a shell flag according to a boolean value. */

Source from the content-addressed store, hash-verified

20737** Set or clear a shell flag according to a boolean value.
20738*/
20739static void setOrClearFlag(ShellState *p, unsigned mFlag, const char *zArg){
20740 if( booleanValue(zArg) ){
20741 ShellSetFlag(p, mFlag);
20742 }else{
20743 ShellClearFlag(p, mFlag);
20744 }
20745}
20746
20747/*
20748** Close an output file, assuming it is not stderr or stdout

Callers 1

do_meta_commandFunction · 0.85

Calls 1

booleanValueFunction · 0.85

Tested by

no test coverage detected