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

Function MSC_symbol

src/gpre/msc.cpp:460–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458//
459
460gpre_sym* MSC_symbol(sym_t type, const TEXT* string, USHORT length, gpre_ctx* object)
461{
462 gpre_sym* symbol = (gpre_sym*) MSC_alloc(SYM_LEN + length);
463 symbol->sym_type = type;
464 symbol->sym_object = object;
465 TEXT* p = symbol->sym_name;
466 symbol->sym_string = p;
467
468 if (length)
469 memcpy(p, string, length);
470
471 return symbol;
472}
473
474
475//____________________________________________________________

Callers 9

SQL_par_field_dtypeFunction · 0.85
act_updateFunction · 0.85
act_upsertFunction · 0.85
PAR_symbolFunction · 0.85
par_forFunction · 0.85
SQE_contextFunction · 0.85
MET_make_fieldFunction · 0.85
MET_make_indexFunction · 0.85
MET_make_relationFunction · 0.85

Calls 1

MSC_allocFunction · 0.85

Tested by

no test coverage detected