My Project
Loading...
Searching...
No Matches
p_Procs_Static.cc File Reference

Go to the source code of this file.

Macros

#define LINKAGE
 
#define p_Procs_Static
 
#define SetStaticProcFromArray(what, type, field, length, ord)
 
#define SetStaticProcFromFuncsArray(what, field, length, ord)
 
#define DoSetProc(what, field, length, ord)
 

Variables

const BOOLEAN p_procs_dynamic = FALSE
 

Macro Definition Documentation

◆ DoSetProc

#define DoSetProc ( what,
field,
length,
ord )
Value:
do \
{ \
if (set_names) \
SetStaticProcFromArray(what, names, field, length, ord); \
else \
SetStaticProcFromFuncsArray(what, field, length, ord); \
} \
while(0)
static BOOLEAN length(leftv result, leftv arg)
Definition interval.cc:257
STATIC_VAR int set_names

Definition at line 48 of file p_Procs_Static.cc.

48#define DoSetProc(what, field, length, ord) \
49do \
50{ \
51 if (set_names) \
52 SetStaticProcFromArray(what, names, field, length, ord); \
53 else \
54 SetStaticProcFromFuncsArray(what, field, length, ord); \
55} \
56while(0)

◆ LINKAGE

#define LINKAGE

Definition at line 27 of file p_Procs_Static.cc.

◆ p_Procs_Static

#define p_Procs_Static

Definition at line 29 of file p_Procs_Static.cc.

◆ SetStaticProcFromArray

#define SetStaticProcFromArray ( what,
type,
field,
length,
ord )
Value:
_p_procs->what = (what##_Proc_Ptr)( \
what##_Proc_##type [index(what##_Proc, field, length, ord)])
static int index(p_Length length, p_Ord ord)
STATIC_VAR p_Procs_s * _p_procs

Definition at line 40 of file p_Procs_Static.cc.

40#define SetStaticProcFromArray(what, type, field, length, ord) \
41 _p_procs->what = (what##_Proc_Ptr)( \
42 what##_Proc_##type [index(what##_Proc, field, length, ord)])

◆ SetStaticProcFromFuncsArray

#define SetStaticProcFromFuncsArray ( what,
field,
length,
ord )
Value:
SetStaticProcFromArray(what, funcs, field, length, ord)
#define SetStaticProcFromArray(what, type, field, length, ord)

Definition at line 44 of file p_Procs_Static.cc.

44#define SetStaticProcFromFuncsArray(what, field, length, ord) \
45 SetStaticProcFromArray(what, funcs, field, length, ord)

Variable Documentation

◆ p_procs_dynamic

const BOOLEAN p_procs_dynamic = FALSE

Definition at line 25 of file p_Procs_Static.cc.