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

Function IntToCobol

src/gpre/languages/fbrmclib.cpp:461–465  ·  view source on GitHub ↗

Store a C integer into a Cobol BINARY(n) (big-endian) field

Source from the content-addressed store, hash-verified

459
460// Store a C integer into a Cobol BINARY(n) (big-endian) field
461static void IntToCobol(argument_entry *arg, const ISC_UINT64 i)
462{
463 if (arg->a_address)
464 CvtIntToCobol(arg->a_address, i, (ISC_USHORT)arg->a_length);
465}
466
467// Store a C short integer into a Cobol BINARY(n) (big-endian) field
468static void ShortToCobol(argument_entry *arg, const ISC_USHORT *i)

Callers 1

RM_ENTRYFunction · 0.85

Calls 1

CvtIntToCobolFunction · 0.85

Tested by

no test coverage detected