File: GenConst.d

package info (click to toggle)
oo2c32 1.5.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 8,748 kB
  • ctags: 5,415
  • sloc: ansic: 95,007; sh: 473; makefile: 344; perl: 57; lisp: 21
file content (93 lines) | stat: -rw-r--r-- 2,465 bytes parent folder | download | duplicates (3)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/* file generated by oo2c -- do not edit */
#include "GenConst.h"
#include "AlgebraicTransformation.h"
#include "IntStr.h"
#include "LRealStr.h"
#include "StdTypes.h"
#include "Strings.h"
#include "SystemFlags.h"

/* local definitions */
GenConst__StringList GenConst__stringList;

/* function prototypes */
void GenConst__Char(TextRider__Writer w, int val, unsigned char charRep);
void GenConst__String8(TextRider__Writer w, unsigned char* str, int str_0d, int len);
void GenConst__String16(TextRider__Writer w, unsigned char* str, int str_0d, int len);
void GenConst__Boolean(TextRider__Writer w, unsigned char val);
void GenConst__Real(TextRider__Writer w, double val, unsigned char long_);
void GenConst__Set(TextRider__Writer w, unsigned int set, signed char form);
void GenConst__EmitInitialization_NewLine(TextRider__Writer *GenConst__EmitInitialization_w);

/* module and type descriptors */
static const struct {
  int length;
  void* pad;
  const char name[9];
} _n0 = {9, NULL, {"GenConst"}};
static struct _MD GenConst_md = {
  NULL, 
  &Kernel__ModuleDesc_td.td, 
  {
    NULL, 
    (const unsigned char*)_n0.name, 
    -1, 
    NULL
  }
};

static const struct {
  int length;
  void* pad;
  const char name[15];
} _n1 = {15, NULL, {"StringListDesc"}};
static const struct {
  int length;
  void* pad;
  _Type btypes[1];
} GenConst__StringListDesc_tdb = {
  1, 
  NULL, 
  {
    &GenConst__StringListDesc_td.td
  }
};
static const struct {
  int length;
  void* pad;
  const void* tbprocs[1];
} _tb0 = {0, NULL, {
  NULL
}};
struct _TD GenConst__StringListDesc_td = {
  NULL,
  &Types__TypeDesc_td.td,
  {
    GenConst__StringListDesc_tdb.btypes,
    _tb0.tbprocs,
    (const unsigned char*)_n1.name,
    &GenConst_md.md,
    0, 
    '0', '1',
    sizeof(GenConst__StringListDesc),
    NULL
  }
};

/* local strings */
static const unsigned char _c14[] = "};";
static const unsigned char _c13[] = ", ";
static const unsigned char _c12[] = " = {";
static const unsigned char _c11[] = "  ";
static const unsigned char _c10[] = "NULL";
static const unsigned char _c9[] = "ULL";
static const unsigned char _c8[] = ")\047\134x";
static const unsigned char _c7[] = "0x";
static const unsigned char _c6[] = ".0";
static const unsigned char _c5[] = "-1)";
static const unsigned char _c4[] = "(-";
static const unsigned char _c3[] = "1";
static const unsigned char _c2[] = "0";
static const unsigned char _c1[] = ",";
static const unsigned char _c0[] = "_c";