compiler/bootstrap: Fully automated (make updatebootstrap)
[sdk] / compiler / bootstrap / ecs / bootstrap / ecs.main.c
1 /* Code generated from eC source file: ecs.main.ec */
2 #if defined(_WIN32)
3 #define __runtimePlatform 1
4 #elif defined(__APPLE__)
5 #define __runtimePlatform 3
6 #else
7 #define __runtimePlatform 2
8 #endif
9 #if defined(__GNUC__)
10 typedef long long int64;
11 typedef unsigned long long uint64;
12 #ifndef _WIN32
13 #define __declspec(x)
14 #endif
15 #elif defined(__TINYC__)
16 #include <stdarg.h>
17 #define __builtin_va_list va_list
18 #define __builtin_va_start va_start
19 #define __builtin_va_end va_end
20 #ifdef _WIN32
21 #define strcasecmp stricmp
22 #define strncasecmp strnicmp
23 #define __declspec(x) __attribute__((x))
24 #else
25 #define __declspec(x)
26 #endif
27 typedef long long int64;
28 typedef unsigned long long uint64;
29 #else
30 typedef __int64 int64;
31 typedef unsigned __int64 uint64;
32 #endif
33 #ifdef __BIG_ENDIAN__
34 #define __ENDIAN_PAD(x) (8 - (x))
35 #else
36 #define __ENDIAN_PAD(x) 0
37 #endif
38 #if defined(_WIN32)
39 #   if defined(__GNUC__) || defined(__TINYC__)
40 #      define stdcall __attribute__((__stdcall__))
41 #   else
42 #      define stdcall __stdcall
43 #   endif
44 #else
45 #   define stdcall
46 #endif
47 #include <stdint.h>
48 #include <sys/types.h>
49 int __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add;
50
51 int __ecereVMethodID___ecereNameSpace__ecere__com__Container_Free;
52
53 int __ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll;
54
55 int __ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof;
56
57 int __ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts;
58
59 int __ecereVMethodID___ecereNameSpace__ecere__sys__File_Read;
60
61 int __ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek;
62
63 int __ecereVMethodID___ecereNameSpace__ecere__sys__File_Write;
64
65 void __ecereCreateModuleInstances_ecs();
66
67 void __ecereDestroyModuleInstances_ecs();
68
69 struct __ecereNameSpace__ecere__sys__OldList
70 {
71 void *  first;
72 void *  last;
73 int count;
74 unsigned int offset;
75 unsigned int circ;
76 } __attribute__ ((gcc_struct));
77
78 struct __ecereNameSpace__ecere__sys__BTNode;
79
80 struct Type;
81
82 struct __ecereNameSpace__ecere__com__DataValue
83 {
84 union
85 {
86 char c;
87 unsigned char uc;
88 short s;
89 unsigned short us;
90 int i;
91 unsigned int ui;
92 void *  p;
93 float f;
94 double d;
95 long long i64;
96 uint64 ui64;
97 } __attribute__ ((gcc_struct)) __anon1;
98 } __attribute__ ((gcc_struct));
99
100 struct __ecereNameSpace__ecere__com__SerialBuffer
101 {
102 unsigned char *  _buffer;
103 unsigned int count;
104 unsigned int _size;
105 unsigned int pos;
106 } __attribute__ ((gcc_struct));
107
108 extern void *  __ecereNameSpace__ecere__com__eSystem_New(unsigned int size);
109
110 extern void *  __ecereNameSpace__ecere__com__eSystem_New0(unsigned int size);
111
112 extern void *  __ecereNameSpace__ecere__com__eSystem_Renew(void *  memory, unsigned int size);
113
114 extern void *  __ecereNameSpace__ecere__com__eSystem_Renew0(void *  memory, unsigned int size);
115
116 extern void __ecereNameSpace__ecere__com__eSystem_Delete(void *  memory);
117
118 extern void __ecereNameSpace__ecere__LoadTranslatedStrings(const char * moduleName, const char *  name);
119
120 extern void __ecereNameSpace__ecere__UnloadTranslatedStrings(const char * name);
121
122 struct __ecereNameSpace__ecere__com__Class;
123
124 struct __ecereNameSpace__ecere__com__Instance
125 {
126 void * *  _vTbl;
127 struct __ecereNameSpace__ecere__com__Class * _class;
128 int _refCount;
129 } __attribute__ ((gcc_struct));
130
131 extern long long __ecereNameSpace__ecere__com__eClass_GetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char *  name);
132
133 extern void __ecereNameSpace__ecere__com__eClass_SetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char *  name, long long value);
134
135 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Application;
136
137 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Module;
138
139 struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassImport;
140
141 struct __ecereNameSpace__ecere__com__Class * __ecereClass_Context;
142
143 struct __ecereNameSpace__ecere__com__Class * __ecereClass_FunctionImport;
144
145 struct __ecereNameSpace__ecere__com__Class * __ecereClass_ImportedModule;
146
147 struct __ecereNameSpace__ecere__com__Class * __ecereClass_MethodImport;
148
149 struct __ecereNameSpace__ecere__com__Class * __ecereClass_ModuleImport;
150
151 struct __ecereNameSpace__ecere__com__Class * __ecereClass_PropertyImport;
152
153 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__CustomAVLTree;
154
155 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__List;
156
157 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__List_TPL_String_;
158
159 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Map;
160
161 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___;
162
163 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__File;
164
165 struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__TempFile;
166
167 extern void __ecereNameSpace__ecere__com__eInstance_SetMethod(struct __ecereNameSpace__ecere__com__Instance * instance, const char *  name, void *  function);
168
169 extern void __ecereNameSpace__ecere__com__eInstance_IncRef(struct __ecereNameSpace__ecere__com__Instance * instance);
170
171 extern void __ecereNameSpace__ecere__com__eInstance_Evolve(struct __ecereNameSpace__ecere__com__Instance **  instancePtr, struct __ecereNameSpace__ecere__com__Class * _class);
172
173 extern void __ecereNameSpace__ecere__com__eInstance_DecRef(struct __ecereNameSpace__ecere__com__Instance * instance);
174
175 struct __ecereNameSpace__ecere__com__Property;
176
177 struct __ecereNameSpace__ecere__com__Property
178 {
179 struct __ecereNameSpace__ecere__com__Property * prev;
180 struct __ecereNameSpace__ecere__com__Property * next;
181 const char *  name;
182 unsigned int isProperty;
183 int memberAccess;
184 int id;
185 struct __ecereNameSpace__ecere__com__Class * _class;
186 const char *  dataTypeString;
187 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
188 struct Type * dataType;
189 void (*  Set)(void * , int);
190 int (*  Get)(void * );
191 unsigned int (*  IsSet)(void * );
192 void *  data;
193 void *  symbol;
194 int vid;
195 unsigned int conversion;
196 unsigned int watcherOffset;
197 const char *  category;
198 unsigned int compiled;
199 unsigned int selfWatchable;
200 unsigned int isWatchable;
201 } __attribute__ ((gcc_struct));
202
203 extern void __ecereNameSpace__ecere__com__eInstance_FireSelfWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
204
205 extern void __ecereNameSpace__ecere__com__eInstance_StopWatching(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property, struct __ecereNameSpace__ecere__com__Instance * object);
206
207 extern void __ecereNameSpace__ecere__com__eInstance_Watch(void *  instance, struct __ecereNameSpace__ecere__com__Property * _property, void *  object, void (*  callback)(void * , void * ));
208
209 extern void __ecereNameSpace__ecere__com__eInstance_FireWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
210
211 struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__com__Iterator_data;
212
213 struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__com__MapIterator_key;
214
215 struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__com__MapIterator_map;
216
217 struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_;
218
219 struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__sys__BTNode_next;
220
221 struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first;
222
223 struct __ecereNameSpace__ecere__sys__BinaryTree;
224
225 struct __ecereNameSpace__ecere__sys__BinaryTree
226 {
227 struct __ecereNameSpace__ecere__sys__BTNode * root;
228 int count;
229 int (*  CompareKey)(struct __ecereNameSpace__ecere__sys__BinaryTree * tree, uintptr_t a, uintptr_t b);
230 void (*  FreeKey)(void *  key);
231 } __attribute__ ((gcc_struct));
232
233 struct __ecereNameSpace__ecere__com__Method;
234
235 struct __ecereNameSpace__ecere__com__Method
236 {
237 const char *  name;
238 struct __ecereNameSpace__ecere__com__Method * parent;
239 struct __ecereNameSpace__ecere__com__Method * left;
240 struct __ecereNameSpace__ecere__com__Method * right;
241 int depth;
242 int (*  function)();
243 int vid;
244 int type;
245 struct __ecereNameSpace__ecere__com__Class * _class;
246 void *  symbol;
247 const char *  dataTypeString;
248 struct Type * dataType;
249 int memberAccess;
250 } __attribute__ ((gcc_struct));
251
252 struct __ecereNameSpace__ecere__com__Module;
253
254 static struct __ecereNameSpace__ecere__com__Instance * __currentModule;
255
256 struct __ecereNameSpace__ecere__com__Instance * __thisModule;
257
258 unsigned int __ecereDll_Load_ec(struct __ecereNameSpace__ecere__com__Instance * module);
259
260 unsigned int __ecereDll_Unload_ec(struct __ecereNameSpace__ecere__com__Instance * module);
261
262 unsigned int __ecereDll_Load_ecere(struct __ecereNameSpace__ecere__com__Instance * module);
263
264 unsigned int __ecereDll_Unload_ecere(struct __ecereNameSpace__ecere__com__Instance * module);
265
266 void __ecereRegisterModule_ecs(struct __ecereNameSpace__ecere__com__Instance * module);
267
268 void __ecereUnregisterModule_ecs(struct __ecereNameSpace__ecere__com__Instance * module);
269
270 extern struct __ecereNameSpace__ecere__com__Instance * __ecereNameSpace__ecere__com__eModule_LoadStatic(struct __ecereNameSpace__ecere__com__Instance * fromModule, const char *  name, int importAccess, unsigned int (*  Load)(struct __ecereNameSpace__ecere__com__Instance * module), unsigned int (*  Unload)(struct __ecereNameSpace__ecere__com__Instance * module));
271
272 extern struct __ecereNameSpace__ecere__com__Class * __ecereNameSpace__ecere__com__eSystem_FindClass(struct __ecereNameSpace__ecere__com__Instance * module, const char *  name);
273
274 extern struct __ecereNameSpace__ecere__com__Method * __ecereNameSpace__ecere__com__eClass_FindMethod(struct __ecereNameSpace__ecere__com__Class * _class, const char *  name, struct __ecereNameSpace__ecere__com__Instance * module);
275
276 extern struct __ecereNameSpace__ecere__com__Property * __ecereNameSpace__ecere__com__eClass_FindProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char *  name, struct __ecereNameSpace__ecere__com__Instance * module);
277
278 struct __ecereNameSpace__ecere__com__Application;
279
280 extern struct __ecereNameSpace__ecere__com__Instance * __ecereNameSpace__ecere__com____ecere_COM_Initialize(unsigned int guiApp, int argc, char *  argv[]);
281
282 struct __ecereNameSpace__ecere__com__NameSpace;
283
284 struct __ecereNameSpace__ecere__com__NameSpace
285 {
286 const char *  name;
287 struct __ecereNameSpace__ecere__com__NameSpace *  btParent;
288 struct __ecereNameSpace__ecere__com__NameSpace *  left;
289 struct __ecereNameSpace__ecere__com__NameSpace *  right;
290 int depth;
291 struct __ecereNameSpace__ecere__com__NameSpace *  parent;
292 struct __ecereNameSpace__ecere__sys__BinaryTree nameSpaces;
293 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
294 struct __ecereNameSpace__ecere__sys__BinaryTree defines;
295 struct __ecereNameSpace__ecere__sys__BinaryTree functions;
296 } __attribute__ ((gcc_struct));
297
298 struct __ecereNameSpace__ecere__com__Application
299 {
300 int argc;
301 const char * *  argv;
302 int exitCode;
303 unsigned int isGUIApp;
304 struct __ecereNameSpace__ecere__sys__OldList allModules;
305 char *  parsedCommand;
306 struct __ecereNameSpace__ecere__com__NameSpace systemNameSpace;
307 } __attribute__ ((gcc_struct));
308
309 struct __ecereNameSpace__ecere__com__Module
310 {
311 struct __ecereNameSpace__ecere__com__Instance * application;
312 struct __ecereNameSpace__ecere__sys__OldList classes;
313 struct __ecereNameSpace__ecere__sys__OldList defines;
314 struct __ecereNameSpace__ecere__sys__OldList functions;
315 struct __ecereNameSpace__ecere__sys__OldList modules;
316 struct __ecereNameSpace__ecere__com__Instance * prev;
317 struct __ecereNameSpace__ecere__com__Instance * next;
318 const char *  name;
319 void *  library;
320 void *  Unload;
321 int importType;
322 int origImportType;
323 struct __ecereNameSpace__ecere__com__NameSpace privateNameSpace;
324 struct __ecereNameSpace__ecere__com__NameSpace publicNameSpace;
325 } __attribute__ ((gcc_struct));
326
327 void __ecereRegisterModule_ecs_main(struct __ecereNameSpace__ecere__com__Instance * module)
328 {
329 struct __ecereNameSpace__ecere__com__Class __attribute__((unused)) * class;
330
331 }
332
333 void __ecereUnregisterModule_ecs_main(struct __ecereNameSpace__ecere__com__Instance * module)
334 {
335
336 }
337
338 struct __ecereNameSpace__ecere__com__DataMember;
339
340 struct __ecereNameSpace__ecere__com__ClassTemplateArgument
341 {
342 union
343 {
344 struct
345 {
346 const char *  dataTypeString;
347 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
348 } __attribute__ ((gcc_struct)) __anon1;
349 struct __ecereNameSpace__ecere__com__DataValue expression;
350 struct
351 {
352 const char *  memberString;
353 union
354 {
355 struct __ecereNameSpace__ecere__com__DataMember * member;
356 struct __ecereNameSpace__ecere__com__Property * prop;
357 struct __ecereNameSpace__ecere__com__Method * method;
358 } __attribute__ ((gcc_struct)) __anon1;
359 } __attribute__ ((gcc_struct)) __anon2;
360 } __attribute__ ((gcc_struct)) __anon1;
361 } __attribute__ ((gcc_struct));
362
363 struct __ecereNameSpace__ecere__com__DataMember
364 {
365 struct __ecereNameSpace__ecere__com__DataMember * prev;
366 struct __ecereNameSpace__ecere__com__DataMember * next;
367 const char *  name;
368 unsigned int isProperty;
369 int memberAccess;
370 int id;
371 struct __ecereNameSpace__ecere__com__Class * _class;
372 const char *  dataTypeString;
373 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
374 struct Type * dataType;
375 int type;
376 int offset;
377 int memberID;
378 struct __ecereNameSpace__ecere__sys__OldList members;
379 struct __ecereNameSpace__ecere__sys__BinaryTree membersAlpha;
380 int memberOffset;
381 short structAlignment;
382 short pointerAlignment;
383 } __attribute__ ((gcc_struct));
384
385 struct __ecereNameSpace__ecere__com__Class
386 {
387 struct __ecereNameSpace__ecere__com__Class * prev;
388 struct __ecereNameSpace__ecere__com__Class * next;
389 const char *  name;
390 int offset;
391 int structSize;
392 void * *  _vTbl;
393 int vTblSize;
394 unsigned int (*  Constructor)(void * );
395 void (*  Destructor)(void * );
396 int offsetClass;
397 int sizeClass;
398 struct __ecereNameSpace__ecere__com__Class * base;
399 struct __ecereNameSpace__ecere__sys__BinaryTree methods;
400 struct __ecereNameSpace__ecere__sys__BinaryTree members;
401 struct __ecereNameSpace__ecere__sys__BinaryTree prop;
402 struct __ecereNameSpace__ecere__sys__OldList membersAndProperties;
403 struct __ecereNameSpace__ecere__sys__BinaryTree classProperties;
404 struct __ecereNameSpace__ecere__sys__OldList derivatives;
405 int memberID;
406 int startMemberID;
407 int type;
408 struct __ecereNameSpace__ecere__com__Instance * module;
409 struct __ecereNameSpace__ecere__com__NameSpace *  nameSpace;
410 const char *  dataTypeString;
411 struct Type * dataType;
412 int typeSize;
413 int defaultAlignment;
414 void (*  Initialize)();
415 int memberOffset;
416 struct __ecereNameSpace__ecere__sys__OldList selfWatchers;
417 const char *  designerClass;
418 unsigned int noExpansion;
419 const char *  defaultProperty;
420 unsigned int comRedefinition;
421 int count;
422 int isRemote;
423 unsigned int internalDecl;
424 void *  data;
425 unsigned int computeSize;
426 short structAlignment;
427 short pointerAlignment;
428 int destructionWatchOffset;
429 unsigned int fixed;
430 struct __ecereNameSpace__ecere__sys__OldList delayedCPValues;
431 int inheritanceAccess;
432 const char *  fullName;
433 void *  symbol;
434 struct __ecereNameSpace__ecere__sys__OldList conversions;
435 struct __ecereNameSpace__ecere__sys__OldList templateParams;
436 struct __ecereNameSpace__ecere__com__ClassTemplateArgument *  templateArgs;
437 struct __ecereNameSpace__ecere__com__Class * templateClass;
438 struct __ecereNameSpace__ecere__sys__OldList templatized;
439 int numParams;
440 unsigned int isInstanceClass;
441 unsigned int byValueSystemClass;
442 } __attribute__ ((gcc_struct));
443
444 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Instance;
445
446 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Application;
447
448 int main(int _argc, char * _argv[])
449 {
450 int exitCode;
451 struct __ecereNameSpace__ecere__com__Instance * module;
452 __attribute__((unused)) struct __ecereNameSpace__ecere__com__Class * _class;
453 __attribute__((unused)) struct __ecereNameSpace__ecere__com__Method * method;
454 __attribute__((unused)) struct __ecereNameSpace__ecere__com__Property * _property;
455
456 __thisModule = __currentModule = module = __ecereNameSpace__ecere__com____ecere_COM_Initialize((unsigned int)1, _argc, (void *)_argv);
457 __ecereNameSpace__ecere__com__eModule_LoadStatic(module, "ec", 2, (void *)(__ecereDll_Load_ec), (void *)(__ecereDll_Unload_ec));
458 __ecereNameSpace__ecere__com__eModule_LoadStatic(module, "ecere", 2, (void *)(__ecereDll_Load_ecere), (void *)(__ecereDll_Unload_ecere));
459 __ecereRegisterModule_ecs(module);
460 __ecereClass___ecereNameSpace__ecere__com__Application = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Application");
461 __ecereClass___ecereNameSpace__ecere__com__Module = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Module");
462 __ecereClass_ClassImport = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ClassImport");
463 __ecereClass_Context = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "Context");
464 __ecereClass_FunctionImport = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "FunctionImport");
465 __ecereClass_ImportedModule = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ImportedModule");
466 __ecereClass_MethodImport = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "MethodImport");
467 __ecereClass_ModuleImport = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ModuleImport");
468 __ecereClass_PropertyImport = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "PropertyImport");
469 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Container");
470 method = __ecereNameSpace__ecere__com__eClass_FindMethod(_class, "Add", module);
471 if(method)
472 __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add = method->vid;
473 method = __ecereNameSpace__ecere__com__eClass_FindMethod(_class, "Free", module);
474 if(method)
475 __ecereVMethodID___ecereNameSpace__ecere__com__Container_Free = method->vid;
476 method = __ecereNameSpace__ecere__com__eClass_FindMethod(_class, "RemoveAll", module);
477 if(method)
478 __ecereVMethodID___ecereNameSpace__ecere__com__Container_RemoveAll = method->vid;
479 __ecereClass___ecereNameSpace__ecere__com__CustomAVLTree = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::CustomAVLTree");
480 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Iterator");
481 __ecereProp___ecereNameSpace__ecere__com__Iterator_data = _property = __ecereNameSpace__ecere__com__eClass_FindProperty(_class, "data", module);
482 __ecereClass___ecereNameSpace__ecere__com__List = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::List");
483 __ecereClass___ecereNameSpace__ecere__com__List_TPL_String_ = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::List<String>");
484 __ecereClass___ecereNameSpace__ecere__com__Map = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Map");
485 __ecereClass___ecereNameSpace__ecere__com__Map_TPL_ContextStringPair__ecere__com__List_TPL_String___ = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Map<ContextStringPair, ecere::com::List<String> >");
486 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::MapIterator");
487 __ecereProp___ecereNameSpace__ecere__com__MapIterator_key = _property = __ecereNameSpace__ecere__com__eClass_FindProperty(_class, "key", module);
488 __ecereProp___ecereNameSpace__ecere__com__MapIterator_map = _property = __ecereNameSpace__ecere__com__eClass_FindProperty(_class, "map", module);
489 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::com::Platform");
490 __ecereProp___ecereNameSpace__ecere__com__Platform_char__PTR_ = _property = __ecereNameSpace__ecere__com__eClass_FindProperty(_class, "char *", module);
491 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::sys::BTNode");
492 __ecereProp___ecereNameSpace__ecere__sys__BTNode_next = _property = __ecereNameSpace__ecere__com__eClass_FindProperty(_class, "next", module);
493 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::sys::BinaryTree");
494 __ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first = _property = __ecereNameSpace__ecere__com__eClass_FindProperty(_class, "first", module);
495 __ecereClass___ecereNameSpace__ecere__sys__File = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::sys::File");
496 method = __ecereNameSpace__ecere__com__eClass_FindMethod(__ecereClass___ecereNameSpace__ecere__sys__File, "Eof", module);
497 if(method)
498 __ecereVMethodID___ecereNameSpace__ecere__sys__File_Eof = method->vid;
499 method = __ecereNameSpace__ecere__com__eClass_FindMethod(__ecereClass___ecereNameSpace__ecere__sys__File, "Puts", module);
500 if(method)
501 __ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts = method->vid;
502 method = __ecereNameSpace__ecere__com__eClass_FindMethod(__ecereClass___ecereNameSpace__ecere__sys__File, "Read", module);
503 if(method)
504 __ecereVMethodID___ecereNameSpace__ecere__sys__File_Read = method->vid;
505 method = __ecereNameSpace__ecere__com__eClass_FindMethod(__ecereClass___ecereNameSpace__ecere__sys__File, "Seek", module);
506 if(method)
507 __ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek = method->vid;
508 method = __ecereNameSpace__ecere__com__eClass_FindMethod(__ecereClass___ecereNameSpace__ecere__sys__File, "Write", module);
509 if(method)
510 __ecereVMethodID___ecereNameSpace__ecere__sys__File_Write = method->vid;
511 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::sys::OldList");
512 __ecereClass___ecereNameSpace__ecere__sys__TempFile = __ecereNameSpace__ecere__com__eSystem_FindClass(module, "ecere::sys::TempFile");
513 __ecereNameSpace__ecere__LoadTranslatedStrings((((void *)0)), "ecs");
514 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(__currentModule, "SymbolgenApp");
515 __ecereNameSpace__ecere__com__eInstance_Evolve((struct __ecereNameSpace__ecere__com__Instance **)&__currentModule, _class);
516 __thisModule = __currentModule;
517 __ecereCreateModuleInstances_ecs();
518 ((void (*)(void *))(void *)((struct __ecereNameSpace__ecere__com__Instance *)(char *)__currentModule)->_vTbl[12])(__currentModule);
519 __ecereDestroyModuleInstances_ecs();
520 __ecereNameSpace__ecere__UnloadTranslatedStrings("ecs");
521 _class = __ecereNameSpace__ecere__com__eSystem_FindClass(__currentModule, "ecere::com::Application");
522 exitCode = ((struct __ecereNameSpace__ecere__com__Application *)(((char *)((struct __ecereNameSpace__ecere__com__Instance *)__currentModule) + sizeof(struct __ecereNameSpace__ecere__com__Module) + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->exitCode;
523 (__ecereNameSpace__ecere__com__eInstance_DecRef(__currentModule), __currentModule = 0);
524 return exitCode;
525 }
526