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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
|
/* file generated by oo2c -- do not edit */
#include "BinaryRider.h"
#include "Strings.h"
/* local definitions */
static signed char BinaryRider__systemByteOrder;
typedef struct BinaryRider__ErrorContextDesc* BinaryRider__ErrorContext;
static BinaryRider__ErrorContext BinaryRider__errorContext;
/* function prototypes */
Msg__Msg BinaryRider__GetError(int code);
void BinaryRider__SetDefaultByteOrder(unsigned char* x, int x_0d);
/* module and type descriptors */
static const struct {
int length;
void* pad;
const char name[12];
} _n0 = {12, NULL, {"BinaryRider"}};
static struct _MD BinaryRider_md = {
NULL,
&Kernel__ModuleDesc_td.td,
{
NULL,
(const unsigned char*)_n0.name,
-1,
NULL
}
};
static const struct {
int length;
void* pad;
const char name[11];
} _n1 = {11, NULL, {"ReaderDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[1];
} BinaryRider__ReaderDesc_tdb = {
1,
NULL,
{
&BinaryRider__ReaderDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[19];
} _tb0 = {19, NULL, {
(void*)BinaryRider__ReaderDesc_Pos,
(void*)BinaryRider__ReaderDesc_SetPos,
(void*)BinaryRider__ReaderDesc_ClearError,
(void*)BinaryRider__ReaderDesc_Available,
(void*)BinaryRider__ReaderDesc_ReadBytes,
(void*)BinaryRider__ReaderDesc_ReadBytesOrdered,
(void*)BinaryRider__ReaderDesc_ReadBool,
(void*)BinaryRider__ReaderDesc_ReadChar,
(void*)BinaryRider__ReaderDesc_ReadLChar,
(void*)BinaryRider__ReaderDesc_ReadString,
(void*)BinaryRider__ReaderDesc_ReadLString,
(void*)BinaryRider__ReaderDesc_ReadSInt,
(void*)BinaryRider__ReaderDesc_ReadInt,
(void*)BinaryRider__ReaderDesc_ReadLInt,
(void*)BinaryRider__ReaderDesc_ReadNum,
(void*)BinaryRider__ReaderDesc_ReadReal,
(void*)BinaryRider__ReaderDesc_ReadLReal,
(void*)BinaryRider__ReaderDesc_ReadSet,
(void*)BinaryRider__ReaderDesc_SetByteOrder
}};
struct _TD BinaryRider__ReaderDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
BinaryRider__ReaderDesc_tdb.btypes,
_tb0.tbprocs,
(const unsigned char*)_n1.name,
&BinaryRider_md.md,
0,
'0', '1',
sizeof(BinaryRider__ReaderDesc),
NULL
}
};
static const struct {
int length;
void* pad;
const char name[11];
} _n2 = {11, NULL, {"WriterDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[1];
} BinaryRider__WriterDesc_tdb = {
1,
NULL,
{
&BinaryRider__WriterDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[18];
} _tb1 = {18, NULL, {
(void*)BinaryRider__WriterDesc_Pos,
(void*)BinaryRider__WriterDesc_SetPos,
(void*)BinaryRider__WriterDesc_ClearError,
(void*)BinaryRider__WriterDesc_WriteBytes,
(void*)BinaryRider__WriterDesc_WriteBytesOrdered,
(void*)BinaryRider__WriterDesc_WriteBool,
(void*)BinaryRider__WriterDesc_WriteChar,
(void*)BinaryRider__WriterDesc_WriteLChar,
(void*)BinaryRider__WriterDesc_WriteString,
(void*)BinaryRider__WriterDesc_WriteLString,
(void*)BinaryRider__WriterDesc_WriteSInt,
(void*)BinaryRider__WriterDesc_WriteInt,
(void*)BinaryRider__WriterDesc_WriteLInt,
(void*)BinaryRider__WriterDesc_WriteNum,
(void*)BinaryRider__WriterDesc_WriteReal,
(void*)BinaryRider__WriterDesc_WriteLReal,
(void*)BinaryRider__WriterDesc_WriteSet,
(void*)BinaryRider__WriterDesc_SetByteOrder
}};
struct _TD BinaryRider__WriterDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
BinaryRider__WriterDesc_tdb.btypes,
_tb1.tbprocs,
(const unsigned char*)_n2.name,
&BinaryRider_md.md,
0,
'0', '1',
sizeof(BinaryRider__WriterDesc),
&BinaryRider__ReaderDesc_td.td
}
};
static const struct {
int length;
void* pad;
const char name[17];
} _n3 = {17, NULL, {"ErrorContextDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[3];
} BinaryRider__ErrorContextDesc_tdb = {
3,
NULL,
{
&Msg__ContextDesc_td.td,
&Channel__ErrorContextDesc_td.td,
&BinaryRider__ErrorContextDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[1];
} _tb2 = {1, NULL, {
(void*)Channel__ErrorContextDesc_GetTemplate
}};
struct _TD BinaryRider__ErrorContextDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
BinaryRider__ErrorContextDesc_tdb.btypes,
_tb2.tbprocs,
(const unsigned char*)_n3.name,
&BinaryRider_md.md,
2,
'0', '1',
sizeof(BinaryRider__ErrorContextDesc),
&BinaryRider__WriterDesc_td.td
}
};
/* local strings */
static const unsigned char _c0[] = "OOC:Core:BinaryRider";
|