-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhi.c.h
More file actions
43 lines (33 loc) Β· 1.13 KB
/
hi.c.h
File metadata and controls
43 lines (33 loc) Β· 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Generated by cobc 3.1.2.0 */
/* Generated from hi.cbl */
/* Generated at Mar 26 2023 04:22:35 */
/* GnuCOBOL build date Sep 14 2021 19:23:38 */
/* GnuCOBOL package date Dec 23 2020 12:04:58 UTC */
/* Compile command cobc -x -Wall -C hi.cbl help.c */
/* Module path */
static const char *cob_module_path = NULL;
/* Number of call parameters */
static int cob_call_params = 0;
/* Attributes */
static const cob_field_attr a_1 = {0x21, 0, 0, 0x1000, NULL};
static const cob_field_attr a_2 = {0x10, 3, 0, 0x0000, NULL};
static const cob_field_attr a_3 = {0x40, 0, 0, 0x0000, NULL};
/* Constants */
static const cob_field c_1 = {12, (cob_u8_ptr)"Hello World!", &a_1};
static const cob_field c_2 = {4, (cob_u8_ptr)"... ", &a_1};
static const cob_field c_3 = {4, (cob_u8_ptr)" ...", &a_1};
static int COB_NOINLINE
cob_get_numdisp (const void *data, const int size)
{
const unsigned char *p;
int n;
int retval;
p = (const unsigned char *)data;
retval = 0;
for (n = 0; n < size; ++n, ++p) {
retval *= 10;
if (*p > '0' && *p <= '9')
retval += (*p - '0');
}
return retval;
}