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

Function ShortToCobol

src/gpre/languages/fbrmclib.cpp:468–472  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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)
469{
470 if (arg->a_address)
471 CvtIntToCobol(arg->a_address, (ISC_ULONG)*i, (ISC_USHORT)arg->a_length);
472}
473
474// Store a C string into a COBOL PIC X field
475static void StringToCobol(argument_entry *arg, const ISC_UCHAR *s)

Callers 1

RM_ENTRYFunction · 0.85

Calls 1

CvtIntToCobolFunction · 0.85

Tested by

no test coverage detected