Return a Cobol BINARY(n) (big-endian) argument as a C integer
| 387 | |
| 388 | // Return a Cobol BINARY(n) (big-endian) argument as a C integer |
| 389 | static ISC_ULONG* CobolToInt(const argument_entry *arg) |
| 390 | { |
| 391 | ISC_ULONG *i = NULL; |
| 392 | if (arg->a_address) |
| 393 | { |
| 394 | ISC_ULONG temp = CvtArgToInt(arg); |
| 395 | i = AllocIntPool(); |
| 396 | if (i) |
| 397 | *i = temp; |
| 398 | } |
| 399 | return (i); |
| 400 | } |
| 401 | |
| 402 | // Return a Cobol BINARY(n) (big-endian) argument as a C short integer |
| 403 | static ISC_USHORT* CobolToShort(const argument_entry *arg) |
no test coverage detected