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

Function print_row_separator

modules/dasSQLITE/sqlite/shell.c:17408–17424  ·  view source on GitHub ↗

** Print a markdown or table-style row separator using ascii-art */

Source from the content-addressed store, hash-verified

17406** Print a markdown or table-style row separator using ascii-art
17407*/
17408static void print_row_separator(
17409 ShellState *p,
17410 int nArg,
17411 const char *zSep
17412){
17413 int i;
17414 if( nArg>0 ){
17415 fputs(zSep, p->out);
17416 print_dashes(p->out, p->actualWidth[0]+2);
17417 for(i=1; i<nArg; i++){
17418 fputs(zSep, p->out);
17419 print_dashes(p->out, p->actualWidth[i]+2);
17420 }
17421 fputs(zSep, p->out);
17422 }
17423 fputs("\n", p->out);
17424}
17425
17426/*
17427** This is the callback routine that the shell

Callers 1

Calls 1

print_dashesFunction · 0.85

Tested by

no test coverage detected