ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
spec_utils.h
Go to the documentation of this file.
1 
7 #ifndef _CEPTR_TEST_UTILS_H
8 #define _CEPTR_TEST_UTILS_H
9 
10 #include "../src/ceptr.h"
11 
12 void wjson(SemTable *sem,T *t,char *n,int i);
13 void dump2json(SemTable *sem,T *t,char *n);
14 T *makeDelta(Symbol sym,int *path,T *t,int count);
15 void _visdump(SemTable *sem,T *x,int *path);
16 void visdump(SemTable *sem,T *x);
17 void _test_reduce_signals(Receptor *r);
18 char *doSys(char *cmd);
19 
20 #define startVisdump(n) G_visdump_fn = n;G_visdump_count = 1;
21 #define endVisdump() G_visdump_count = 0;
22 
23 char *G_visdump_fn;
24 int G_visdump_count;
25 bool G_done;
26 
27 #define sYt(name,str) name = _d_define_symbol(G_sem,str,"" #name "",TEST_CONTEXT)
28 #define sX(name,str) Symbol name = _d_define_symbol(G_sem,str,"" #name "",TEST_CONTEXT)
29 
30 Symbol A,B,C,D,E,F,Root;
31 
32 #endif
Definition: ceptr_types.h:114