From 9c0078c6b9c1309b48f9ece8b5cad1b9be9a75c5 Mon Sep 17 00:00:00 2001 From: Wiimm Date: Mon, 30 Nov 2020 16:16:56 +0100 Subject: SZS v2.21a --- project/src/lib-std.h | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) (limited to 'project/src/lib-std.h') diff --git a/project/src/lib-std.h b/project/src/lib-std.h index e049a64..2230199 100644 --- a/project/src/lib-std.h +++ b/project/src/lib-std.h @@ -56,7 +56,7 @@ #include #endif -#include "system.h" +#include "dclib-system.h" #include "dclib-basics.h" #include "dclib-file.h" #include "dclib-debug.h" @@ -1937,49 +1937,6 @@ valid_t IsValidCTCODE ccp fname // not NULL: print warnings with file ref ); -// -/////////////////////////////////////////////////////////////////////////////// -/////////////// PrintScript /////////////// -/////////////////////////////////////////////////////////////////////////////// -// [[PrintScript_t]] - -typedef struct PrintScript_t -{ - File_t *fo; // pointer output file - bool add_index; // true: add index to varname - uint index; // index for array operations - char sep[2]; // separator for JSON - char prefix[100]; // varname prefix -} -PrintScript_t; - -static inline void InitializePrintScript ( PrintScript_t *ps ) - { DASSERT(ps); memset(ps,0,sizeof(*ps)); } - -static inline void ResetPrintScript ( PrintScript_t *ps ) - { DASSERT(ps); memset(ps,0,sizeof(*ps)); } - -/////////////////////////////////////////////////////////////////////////////// - -void PrintScriptHeader ( PrintScript_t *ps ); -void PrintScriptFooter ( PrintScript_t *ps ); - -int PutScriptVars -( - PrintScript_t *ps, // valid control struct - uint mode, // bit field: 1=open var, 2:close var - ccp text // text with line of format NAME=VALUE -); - -int PrintScriptVars -( - PrintScript_t *ps, // valid control struct - uint mode, // bit field: 1=open var, 2:close var - ccp format, // format of message - ... // arguments -) -__attribute__ ((__format__(__printf__,3,4))); - // /////////////////////////////////////////////////////////////////////////////// /////////////// misc /////////////// -- cgit v1.3.1