MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / gen_event_block

Function gen_event_block

src/gpre/obj_cxx.cpp:2049–2063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2047//
2048
2049static SSHORT gen_event_block(act* action)
2050{
2051 ObjectNotImplemented();
2052 gpre_nod* init = (gpre_nod*) action->act_object;
2053 //gpre_sym* event_name = (gpre_sym*) init->nod_arg[0];
2054
2055 int ident = CMP_next_ident();
2056 init->nod_arg[2] = (gpre_nod*)(IPTR)ident;
2057
2058 printa(0, "static %sunsigned char\n *fb_%da, *fb_%db;", CONST_STR, ident, ident);
2059 printa(0, "static unsigned\n fb_%dl;", ident);
2060
2061 const gpre_nod* list = init->nod_arg[1];
2062 return list->nod_count;
2063}
2064
2065
2066//____________________________________________________________

Callers 1

gen_databaseFunction · 0.70

Calls 3

ObjectNotImplementedFunction · 0.85
CMP_next_identFunction · 0.85
printaFunction · 0.70

Tested by

no test coverage detected