1 /* Code generated from eC source file: freeAst.ec */
3 #define __runtimePlatform 1
4 #elif defined(__APPLE__)
5 #define __runtimePlatform 3
7 #define __runtimePlatform 2
10 typedef long long int64;
11 typedef unsigned long long uint64;
15 #elif defined(__TINYC__)
17 #define __builtin_va_list va_list
18 #define __builtin_va_start va_start
19 #define __builtin_va_end va_end
21 #define strcasecmp stricmp
22 #define strncasecmp strnicmp
23 #define __declspec(x) __attribute__((x))
27 typedef long long int64;
28 typedef unsigned long long uint64;
30 typedef __int64 int64;
31 typedef unsigned __int64 uint64;
34 #define __ENDIAN_PAD(x) (8 - (x))
36 #define __ENDIAN_PAD(x) 0
39 #include <sys/types.h>
40 extern unsigned int inCompiler;
42 extern struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__sys__BinaryTree_first;
44 extern struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__sys__BTNode_next;
46 extern struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__com__MapIterator_map;
48 extern struct __ecereNameSpace__ecere__com__Property * __ecereProp___ecereNameSpace__ecere__com__Iterator_data;
50 struct __ecereNameSpace__ecere__sys__OldList
57 } __attribute__ ((gcc_struct));
59 struct __ecereNameSpace__ecere__com__DataValue
74 } __attribute__ ((gcc_struct)) __anon1;
75 } __attribute__ ((gcc_struct));
77 struct __ecereNameSpace__ecere__com__SerialBuffer
79 unsigned char * _buffer;
83 } __attribute__ ((gcc_struct));
85 extern void * __ecereNameSpace__ecere__com__eSystem_New(unsigned int size);
87 extern void * __ecereNameSpace__ecere__com__eSystem_New0(unsigned int size);
89 extern void * __ecereNameSpace__ecere__com__eSystem_Renew(void * memory, unsigned int size);
91 extern void * __ecereNameSpace__ecere__com__eSystem_Renew0(void * memory, unsigned int size);
93 extern void __ecereNameSpace__ecere__com__eSystem_Delete(void * memory);
95 struct __ecereNameSpace__ecere__sys__Item;
97 struct __ecereNameSpace__ecere__sys__OldLink;
105 } __attribute__ ((gcc_struct));
107 struct TemplatedType;
109 struct __ecereNameSpace__ecere__com__LinkList
114 } __attribute__ ((gcc_struct));
116 struct __ecereNameSpace__ecere__com__LinkElement
120 } __attribute__ ((gcc_struct));
122 struct __ecereNameSpace__ecere__com__IteratorPointer;
124 void __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(struct __ecereNameSpace__ecere__sys__OldList * this, void * item);
126 void __ecereMethod___ecereNameSpace__ecere__sys__OldList_Delete(struct __ecereNameSpace__ecere__sys__OldList * this, void * item);
128 void __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(struct __ecereNameSpace__ecere__sys__OldList * this, void (* freeFn)(void * ));
132 struct CodePosition start;
133 struct CodePosition end;
134 } __attribute__ ((gcc_struct));
136 void FreeList(struct __ecereNameSpace__ecere__sys__OldList * list, void (* FreeFunction)(void *))
138 if(list != (((void *)0)))
140 struct __ecereNameSpace__ecere__sys__Item * item;
142 while((item = list->first))
144 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(list, item);
147 (__ecereNameSpace__ecere__com__eSystem_Delete(list), list = 0);
155 struct __ecereNameSpace__ecere__sys__OldList * attribs;
156 } __attribute__ ((gcc_struct));
165 struct Attrib * attr;
166 } __attribute__ ((gcc_struct)) __anon1;
167 } __attribute__ ((gcc_struct));
171 extern struct Context * curContext;
173 extern struct Context * globalContext;
177 static void _FreeExpression(struct Expression * exp, unsigned int freePointer);
179 void FreeExpContents(struct Expression * exp)
181 _FreeExpression(exp, 0);
184 void FreeExpression(struct Expression * exp)
186 _FreeExpression(exp, 1);
189 struct __ecereNameSpace__ecere__com__Class;
191 struct __ecereNameSpace__ecere__com__Instance
194 struct __ecereNameSpace__ecere__com__Class * _class;
196 } __attribute__ ((gcc_struct));
198 extern long long __ecereNameSpace__ecere__com__eClass_GetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char * name);
200 extern void __ecereNameSpace__ecere__com__eClass_SetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char * name, long long value);
202 extern void __ecereNameSpace__ecere__com__eInstance_SetMethod(struct __ecereNameSpace__ecere__com__Instance * instance, const char * name, void * function);
204 extern void __ecereNameSpace__ecere__com__eInstance_IncRef(struct __ecereNameSpace__ecere__com__Instance * instance);
206 struct __ecereNameSpace__ecere__com__MapIterator
208 struct __ecereNameSpace__ecere__com__Instance * container;
209 struct __ecereNameSpace__ecere__com__IteratorPointer * pointer;
210 } __attribute__ ((gcc_struct));
212 extern struct __ecereNameSpace__ecere__com__Instance * loadedModules;
214 struct __ecereNameSpace__ecere__com__Iterator
216 struct __ecereNameSpace__ecere__com__Instance * container;
217 struct __ecereNameSpace__ecere__com__IteratorPointer * pointer;
218 } __attribute__ ((gcc_struct));
220 extern void __ecereNameSpace__ecere__com__eInstance_DecRef(struct __ecereNameSpace__ecere__com__Instance * instance);
222 int __ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove;
224 int __ecereVMethodID___ecereNameSpace__ecere__com__Container_GetFirst;
226 struct __ecereNameSpace__ecere__com__Instance * __ecereProp___ecereNameSpace__ecere__com__MapIterator_Get_map(struct __ecereNameSpace__ecere__com__MapIterator * this);
228 void __ecereProp___ecereNameSpace__ecere__com__MapIterator_Set_map(struct __ecereNameSpace__ecere__com__MapIterator * this, struct __ecereNameSpace__ecere__com__Instance * value);
230 unsigned int __ecereMethod___ecereNameSpace__ecere__com__Iterator_Next();
232 uint64 __ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data(struct __ecereNameSpace__ecere__com__Iterator * this);
234 void __ecereProp___ecereNameSpace__ecere__com__Iterator_Set_data(struct __ecereNameSpace__ecere__com__Iterator * this, uint64 value);
236 unsigned int __ecereMethod___ecereNameSpace__ecere__com__Iterator_Index(struct __ecereNameSpace__ecere__com__Iterator * this, const uint64 index, unsigned int create);
238 struct __ecereNameSpace__ecere__sys__BTNode;
240 struct __ecereNameSpace__ecere__sys__BTNode
243 struct __ecereNameSpace__ecere__sys__BTNode * parent;
244 struct __ecereNameSpace__ecere__sys__BTNode * left;
245 struct __ecereNameSpace__ecere__sys__BTNode * right;
247 } __attribute__ ((gcc_struct));
249 struct __ecereNameSpace__ecere__sys__BTNode * __ecereProp___ecereNameSpace__ecere__sys__BTNode_Get_next(struct __ecereNameSpace__ecere__sys__BTNode * this);
251 struct __ecereNameSpace__ecere__com__Property;
253 extern void __ecereNameSpace__ecere__com__eInstance_FireSelfWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
255 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);
257 extern void __ecereNameSpace__ecere__com__eInstance_Watch(void * instance, struct __ecereNameSpace__ecere__com__Property * _property, void * object, void (* callback)(void * , void * ));
259 extern void __ecereNameSpace__ecere__com__eInstance_FireWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
261 struct __ecereNameSpace__ecere__sys__NamedLink64;
263 struct __ecereNameSpace__ecere__sys__NamedLink64
265 struct __ecereNameSpace__ecere__sys__NamedLink64 * prev;
266 struct __ecereNameSpace__ecere__sys__NamedLink64 * next;
269 } __attribute__ ((gcc_struct));
275 struct MethodImport * prev;
276 struct MethodImport * next;
278 unsigned int isVirtual;
279 } __attribute__ ((gcc_struct));
281 void FreeMethodImport(struct MethodImport * imp)
283 (__ecereNameSpace__ecere__com__eSystem_Delete(imp->name), imp->name = 0);
286 void FreePropertyImport(struct MethodImport * imp)
288 (__ecereNameSpace__ecere__com__eSystem_Delete(imp->name), imp->name = 0);
295 struct Definition * prev;
296 struct Definition * next;
299 } __attribute__ ((gcc_struct));
301 void FreeModuleDefine(struct Definition * def)
303 (__ecereNameSpace__ecere__com__eSystem_Delete(def->name), def->name = 0);
308 extern struct Symbol * FindClass(const char * name);
313 struct Symbol * symbol;
314 struct __ecereNameSpace__ecere__sys__OldList * definitions;
316 } __attribute__ ((gcc_struct));
324 struct ClassImport * prev;
325 struct ClassImport * next;
327 struct __ecereNameSpace__ecere__sys__OldList methods;
328 struct __ecereNameSpace__ecere__sys__OldList properties;
331 } __attribute__ ((gcc_struct));
333 void FreeClassImport(struct ClassImport * imp)
335 (__ecereNameSpace__ecere__com__eSystem_Delete(imp->name), imp->name = 0);
336 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(&imp->methods, (void *)(FreeMethodImport));
337 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(&imp->properties, (void *)(FreePropertyImport));
340 void FreeFunctionImport(struct ClassImport * imp)
342 (__ecereNameSpace__ecere__com__eSystem_Delete(imp->name), imp->name = 0);
349 struct ModuleImport * prev;
350 struct ModuleImport * next;
352 struct __ecereNameSpace__ecere__sys__OldList classes;
353 struct __ecereNameSpace__ecere__sys__OldList functions;
356 } __attribute__ ((gcc_struct));
358 void FreeModuleImport(struct ModuleImport * imp)
360 (__ecereNameSpace__ecere__com__eSystem_Delete(imp->name), imp->name = 0);
361 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(&imp->classes, (void *)(FreeClassImport));
362 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(&imp->functions, (void *)(FreeFunctionImport));
367 struct TemplateDatatype
369 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
370 struct Declarator * decl;
371 } __attribute__ ((gcc_struct));
379 struct __ecereNameSpace__ecere__com__LinkElement in;
380 struct __ecereNameSpace__ecere__com__LinkElement out;
381 struct External * from;
382 struct External * to;
383 unsigned int breakable;
384 } __attribute__ ((gcc_struct));
390 struct Pointer * prev;
391 struct Pointer * next;
393 struct __ecereNameSpace__ecere__sys__OldList * qualifiers;
394 struct Pointer * pointer;
395 } __attribute__ ((gcc_struct));
397 struct PropertyWatch;
409 struct Attribute * prev;
410 struct Attribute * next;
413 struct Expression * exp;
414 } __attribute__ ((gcc_struct));
422 struct PropertyWatch * prev;
423 struct PropertyWatch * next;
425 struct Statement * compound;
426 struct __ecereNameSpace__ecere__sys__OldList * properties;
427 unsigned int deleteWatch;
428 } __attribute__ ((gcc_struct));
434 struct MemberInit * prev;
435 struct MemberInit * next;
437 struct Location realLoc;
438 struct __ecereNameSpace__ecere__sys__OldList * identifiers;
439 struct Initializer * initializer;
441 unsigned int variable;
442 unsigned int takeOutExp;
443 } __attribute__ ((gcc_struct));
445 struct __ecereNameSpace__ecere__com__Method;
447 struct __ecereNameSpace__ecere__com__ClassProperty;
449 struct __ecereNameSpace__ecere__com__GlobalFunction;
451 struct __ecereNameSpace__ecere__com__Module;
453 extern void __ecereNameSpace__ecere__com__eModule_Unload(struct __ecereNameSpace__ecere__com__Instance * fromModule, struct __ecereNameSpace__ecere__com__Instance * module);
455 extern struct __ecereNameSpace__ecere__com__Instance * __thisModule;
457 extern struct __ecereNameSpace__ecere__com__GlobalFunction * __ecereNameSpace__ecere__com__eSystem_RegisterFunction(const char * name, const char * type, void * func, struct __ecereNameSpace__ecere__com__Instance * module, int declMode);
459 struct __ecereNameSpace__ecere__sys__BinaryTree;
461 struct __ecereNameSpace__ecere__sys__BinaryTree
463 struct __ecereNameSpace__ecere__sys__BTNode * root;
465 int (* CompareKey)(struct __ecereNameSpace__ecere__sys__BinaryTree * tree, uintptr_t a, uintptr_t b);
466 void (* FreeKey)(void * key);
467 } __attribute__ ((gcc_struct));
469 void __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(struct __ecereNameSpace__ecere__sys__BinaryTree * this, struct __ecereNameSpace__ecere__sys__BTNode * node);
471 struct __ecereNameSpace__ecere__sys__BTNode * __ecereProp___ecereNameSpace__ecere__sys__BinaryTree_Get_first(struct __ecereNameSpace__ecere__sys__BinaryTree * this);
475 struct __ecereNameSpace__ecere__com__Property
477 struct __ecereNameSpace__ecere__com__Property * prev;
478 struct __ecereNameSpace__ecere__com__Property * next;
480 unsigned int isProperty;
483 struct __ecereNameSpace__ecere__com__Class * _class;
484 const char * dataTypeString;
485 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
486 struct Type * dataType;
487 void (* Set)(void * , int);
488 int (* Get)(void * );
489 unsigned int (* IsSet)(void * );
493 unsigned int conversion;
494 unsigned int watcherOffset;
495 const char * category;
496 unsigned int compiled;
497 unsigned int selfWatchable;
498 unsigned int isWatchable;
499 } __attribute__ ((gcc_struct));
501 struct __ecereNameSpace__ecere__com__Method
504 struct __ecereNameSpace__ecere__com__Method * parent;
505 struct __ecereNameSpace__ecere__com__Method * left;
506 struct __ecereNameSpace__ecere__com__Method * right;
511 struct __ecereNameSpace__ecere__com__Class * _class;
513 const char * dataTypeString;
514 struct Type * dataType;
516 } __attribute__ ((gcc_struct));
521 struct Symbol * parent;
522 struct Symbol * left;
523 struct Symbol * right;
528 struct __ecereNameSpace__ecere__com__Method * method;
529 struct __ecereNameSpace__ecere__com__Property * _property;
530 struct __ecereNameSpace__ecere__com__Class * registered;
531 } __attribute__ ((gcc_struct)) __anon1;
532 unsigned int notYetDeclared;
537 struct External * pointerExternal;
538 struct External * structExternal;
539 } __attribute__ ((gcc_struct)) __anon1;
542 struct External * externalGet;
543 struct External * externalSet;
544 struct External * externalPtr;
545 struct External * externalIsSet;
546 } __attribute__ ((gcc_struct)) __anon2;
549 struct External * methodExternal;
550 struct External * methodCodeExternal;
551 } __attribute__ ((gcc_struct)) __anon3;
552 } __attribute__ ((gcc_struct)) __anon2;
553 unsigned int imported;
554 unsigned int declaredStructSym;
555 struct __ecereNameSpace__ecere__com__Class * _class;
556 unsigned int declaredStruct;
557 unsigned int needConstructor;
558 unsigned int needDestructor;
559 char * constructorName;
562 char * destructorName;
563 struct ModuleImport * module;
564 struct ClassImport * _import;
565 struct Location nameLoc;
566 unsigned int isParam;
567 unsigned int isRemote;
568 unsigned int isStruct;
569 unsigned int fireWatchersDone;
571 unsigned int classData;
572 unsigned int isStatic;
574 struct __ecereNameSpace__ecere__sys__OldList * templateParams;
575 struct __ecereNameSpace__ecere__sys__OldList templatedClasses;
576 struct Context * ctx;
578 struct Expression * propCategory;
579 } __attribute__ ((gcc_struct));
581 struct __ecereNameSpace__ecere__com__ClassProperty
584 struct __ecereNameSpace__ecere__com__ClassProperty * parent;
585 struct __ecereNameSpace__ecere__com__ClassProperty * left;
586 struct __ecereNameSpace__ecere__com__ClassProperty * right;
588 void (* Set)(struct __ecereNameSpace__ecere__com__Class *, long long);
589 long long (* Get)(struct __ecereNameSpace__ecere__com__Class *);
590 const char * dataTypeString;
591 struct Type * dataType;
592 unsigned int constant;
593 } __attribute__ ((gcc_struct));
595 void FreeSymbol(struct Symbol * symbol);
597 void FreeExcludedSymbols(struct __ecereNameSpace__ecere__sys__OldList * excludedSymbols)
599 struct Symbol * symbol;
601 while((symbol = excludedSymbols->first))
603 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(excludedSymbols, symbol);
614 struct Enumerator * prev;
615 struct Enumerator * next;
617 struct Identifier * id;
618 struct Expression * exp;
619 } __attribute__ ((gcc_struct));
623 struct Identifier * prev;
624 struct Identifier * next;
626 struct Symbol * classSym;
627 struct Specifier * _class;
629 struct Identifier * badID;
630 } __attribute__ ((gcc_struct));
634 struct Declarator * prev;
635 struct Declarator * next;
638 struct Symbol * symbol;
639 struct Declarator * declarator;
642 struct Identifier * identifier;
645 struct Expression * exp;
646 struct Expression * posExp;
647 struct Attrib * attrib;
648 } __attribute__ ((gcc_struct)) structDecl;
651 struct Expression * exp;
652 struct Specifier * enumClass;
653 } __attribute__ ((gcc_struct)) array;
656 struct __ecereNameSpace__ecere__sys__OldList * parameters;
657 } __attribute__ ((gcc_struct)) function;
660 struct Pointer * pointer;
661 } __attribute__ ((gcc_struct)) pointer;
664 struct ExtDecl * extended;
665 } __attribute__ ((gcc_struct)) extended;
666 } __attribute__ ((gcc_struct)) __anon1;
667 } __attribute__ ((gcc_struct));
671 struct AsmField * prev;
672 struct AsmField * next;
675 struct Expression * expression;
676 struct Identifier * symbolic;
677 } __attribute__ ((gcc_struct));
681 struct Initializer * prev;
682 struct Initializer * next;
687 struct Expression * exp;
688 struct __ecereNameSpace__ecere__sys__OldList * list;
689 } __attribute__ ((gcc_struct)) __anon1;
690 unsigned int isConstant;
691 struct Identifier * id;
692 } __attribute__ ((gcc_struct));
696 struct DBIndexItem * prev;
697 struct DBIndexItem * next;
698 struct Identifier * id;
700 } __attribute__ ((gcc_struct));
706 struct TypeName * prev;
707 struct TypeName * next;
709 struct __ecereNameSpace__ecere__sys__OldList * qualifiers;
710 struct Declarator * declarator;
712 struct Expression * bitCount;
713 } __attribute__ ((gcc_struct));
717 struct DBTableEntry * prev;
718 struct DBTableEntry * next;
720 struct Identifier * id;
725 struct TypeName * dataType;
727 } __attribute__ ((gcc_struct)) __anon1;
728 struct __ecereNameSpace__ecere__sys__OldList * items;
729 } __attribute__ ((gcc_struct)) __anon1;
730 } __attribute__ ((gcc_struct));
732 void FreeExternal(struct External * external);
734 void FreeASTTree(struct __ecereNameSpace__ecere__sys__OldList * ast)
736 if(ast != (((void *)0)))
738 struct External * external;
740 while((external = ast->first))
742 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(ast, external);
743 FreeExternal(external);
745 (__ecereNameSpace__ecere__com__eSystem_Delete(ast), ast = 0);
749 struct ClassFunction;
753 struct MembersInit * prev;
754 struct MembersInit * next;
759 struct __ecereNameSpace__ecere__sys__OldList * dataMembers;
760 struct ClassFunction * function;
761 } __attribute__ ((gcc_struct)) __anon1;
762 } __attribute__ ((gcc_struct));
766 struct ClassFunction * prev;
767 struct ClassFunction * next;
769 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
770 struct Declarator * declarator;
771 struct __ecereNameSpace__ecere__sys__OldList * declarations;
772 struct Statement * body;
773 struct __ecereNameSpace__ecere__com__Class * _class;
774 struct __ecereNameSpace__ecere__sys__OldList attached;
777 struct Symbol * propSet;
778 unsigned int isVirtual;
779 unsigned int isConstructor;
780 unsigned int isDestructor;
781 unsigned int dontMangle;
784 } __attribute__ ((gcc_struct));
786 struct InitDeclarator;
788 struct InitDeclarator
790 struct InitDeclarator * prev;
791 struct InitDeclarator * next;
793 struct Declarator * declarator;
794 struct Initializer * initializer;
795 } __attribute__ ((gcc_struct));
797 struct __ecereNameSpace__ecere__com__DataMember;
799 struct __ecereNameSpace__ecere__com__ClassTemplateArgument
805 const char * dataTypeString;
806 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
807 } __attribute__ ((gcc_struct)) __anon1;
808 struct __ecereNameSpace__ecere__com__DataValue expression;
811 const char * memberString;
814 struct __ecereNameSpace__ecere__com__DataMember * member;
815 struct __ecereNameSpace__ecere__com__Property * prop;
816 struct __ecereNameSpace__ecere__com__Method * method;
817 } __attribute__ ((gcc_struct)) __anon1;
818 } __attribute__ ((gcc_struct)) __anon2;
819 } __attribute__ ((gcc_struct)) __anon1;
820 } __attribute__ ((gcc_struct));
822 struct __ecereNameSpace__ecere__com__DataMember
824 struct __ecereNameSpace__ecere__com__DataMember * prev;
825 struct __ecereNameSpace__ecere__com__DataMember * next;
827 unsigned int isProperty;
830 struct __ecereNameSpace__ecere__com__Class * _class;
831 const char * dataTypeString;
832 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
833 struct Type * dataType;
837 struct __ecereNameSpace__ecere__sys__OldList members;
838 struct __ecereNameSpace__ecere__sys__BinaryTree membersAlpha;
840 short structAlignment;
841 short pointerAlignment;
842 } __attribute__ ((gcc_struct));
844 struct __ecereNameSpace__ecere__com__NameSpace;
846 struct __ecereNameSpace__ecere__com__NameSpace
849 struct __ecereNameSpace__ecere__com__NameSpace * btParent;
850 struct __ecereNameSpace__ecere__com__NameSpace * left;
851 struct __ecereNameSpace__ecere__com__NameSpace * right;
853 struct __ecereNameSpace__ecere__com__NameSpace * parent;
854 struct __ecereNameSpace__ecere__sys__BinaryTree nameSpaces;
855 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
856 struct __ecereNameSpace__ecere__sys__BinaryTree defines;
857 struct __ecereNameSpace__ecere__sys__BinaryTree functions;
858 } __attribute__ ((gcc_struct));
860 struct __ecereNameSpace__ecere__com__Class
862 struct __ecereNameSpace__ecere__com__Class * prev;
863 struct __ecereNameSpace__ecere__com__Class * next;
869 unsigned int (* Constructor)(void * );
870 void (* Destructor)(void * );
873 struct __ecereNameSpace__ecere__com__Class * base;
874 struct __ecereNameSpace__ecere__sys__BinaryTree methods;
875 struct __ecereNameSpace__ecere__sys__BinaryTree members;
876 struct __ecereNameSpace__ecere__sys__BinaryTree prop;
877 struct __ecereNameSpace__ecere__sys__OldList membersAndProperties;
878 struct __ecereNameSpace__ecere__sys__BinaryTree classProperties;
879 struct __ecereNameSpace__ecere__sys__OldList derivatives;
883 struct __ecereNameSpace__ecere__com__Instance * module;
884 struct __ecereNameSpace__ecere__com__NameSpace * nameSpace;
885 const char * dataTypeString;
886 struct Type * dataType;
888 int defaultAlignment;
889 void (* Initialize)();
891 struct __ecereNameSpace__ecere__sys__OldList selfWatchers;
892 const char * designerClass;
893 unsigned int noExpansion;
894 const char * defaultProperty;
895 unsigned int comRedefinition;
898 unsigned int internalDecl;
900 unsigned int computeSize;
901 short structAlignment;
902 short pointerAlignment;
903 int destructionWatchOffset;
905 struct __ecereNameSpace__ecere__sys__OldList delayedCPValues;
906 int inheritanceAccess;
907 const char * fullName;
909 struct __ecereNameSpace__ecere__sys__OldList conversions;
910 struct __ecereNameSpace__ecere__sys__OldList templateParams;
911 struct __ecereNameSpace__ecere__com__ClassTemplateArgument * templateArgs;
912 struct __ecereNameSpace__ecere__com__Class * templateClass;
913 struct __ecereNameSpace__ecere__sys__OldList templatized;
915 unsigned int isInstanceClass;
916 unsigned int byValueSystemClass;
917 } __attribute__ ((gcc_struct));
919 struct __ecereNameSpace__ecere__com__GlobalFunction
921 struct __ecereNameSpace__ecere__com__GlobalFunction * prev;
922 struct __ecereNameSpace__ecere__com__GlobalFunction * next;
925 struct __ecereNameSpace__ecere__com__Instance * module;
926 struct __ecereNameSpace__ecere__com__NameSpace * nameSpace;
927 const char * dataTypeString;
928 struct Type * dataType;
930 } __attribute__ ((gcc_struct));
932 struct __ecereNameSpace__ecere__com__Application
937 unsigned int isGUIApp;
938 struct __ecereNameSpace__ecere__sys__OldList allModules;
939 char * parsedCommand;
940 struct __ecereNameSpace__ecere__com__NameSpace systemNameSpace;
941 } __attribute__ ((gcc_struct));
943 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__NamedLink64;
945 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Type;
947 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Context;
949 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Symbol;
951 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplateArgument;
953 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplateDatatype;
955 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplateParameter;
957 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplatedType;
959 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__BTNode;
961 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Enumerator;
963 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Specifier;
965 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Identifier;
967 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TypeName;
969 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Expression;
971 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Pointer;
973 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Attrib;
975 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Attribute;
977 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ExtDecl;
979 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Declarator;
981 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_PropertyWatch;
983 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_AsmField;
985 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Statement;
987 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Initializer;
989 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_InitDeclarator;
991 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Declaration;
993 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_FunctionDefinition;
995 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_MemberInit;
997 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_MembersInit;
999 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Instantiation;
1001 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassFunction;
1003 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_PropertyDef;
1005 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassDef;
1007 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassDefinition;
1009 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_DBIndexItem;
1011 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_DBTableEntry;
1013 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_DBTableDef;
1015 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__LinkList;
1017 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TopoEdge;
1019 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_External;
1021 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Module;
1023 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__List;
1025 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Map;
1027 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Application;
1029 struct __ecereNameSpace__ecere__com__Module
1031 struct __ecereNameSpace__ecere__com__Instance * application;
1032 struct __ecereNameSpace__ecere__sys__OldList classes;
1033 struct __ecereNameSpace__ecere__sys__OldList defines;
1034 struct __ecereNameSpace__ecere__sys__OldList functions;
1035 struct __ecereNameSpace__ecere__sys__OldList modules;
1036 struct __ecereNameSpace__ecere__com__Instance * prev;
1037 struct __ecereNameSpace__ecere__com__Instance * next;
1043 struct __ecereNameSpace__ecere__com__NameSpace privateNameSpace;
1044 struct __ecereNameSpace__ecere__com__NameSpace publicNameSpace;
1045 } __attribute__ ((gcc_struct));
1047 void FreeTemplateType(struct TemplatedType * type)
1049 ((type ? (__ecereClass_TemplatedType->Destructor ? __ecereClass_TemplatedType->Destructor((void *)type) : 0, __ecereClass___ecereNameSpace__ecere__sys__BTNode->Destructor ? __ecereClass___ecereNameSpace__ecere__sys__BTNode->Destructor((void *)type) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(type)) : 0), type = 0);
1052 void FreeAttribute(struct Attribute * attr)
1054 (__ecereNameSpace__ecere__com__eSystem_Delete(attr->attr), attr->attr = 0);
1056 FreeExpression(attr->exp);
1057 ((attr ? (__ecereClass_Attribute->Destructor ? __ecereClass_Attribute->Destructor((void *)attr) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(attr)) : 0), attr = 0);
1060 void __ecereUnregisterModule_freeAst(struct __ecereNameSpace__ecere__com__Instance * module)
1065 void FreeAttrib(struct Attrib * attr)
1068 FreeList(attr->attribs, (void *)(FreeAttribute));
1069 ((attr ? (__ecereClass_Attrib->Destructor ? __ecereClass_Attrib->Destructor((void *)attr) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(attr)) : 0), attr = 0);
1072 void FreeExtDecl(struct ExtDecl * extDecl)
1074 if(extDecl->type == 1 && extDecl->__anon1.attr)
1075 FreeAttrib(extDecl->__anon1.attr);
1076 else if(extDecl->type == 0)
1077 (__ecereNameSpace__ecere__com__eSystem_Delete(extDecl->__anon1.s), extDecl->__anon1.s = 0);
1078 ((extDecl ? (__ecereClass_ExtDecl->Destructor ? __ecereClass_ExtDecl->Destructor((void *)extDecl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(extDecl)) : 0), extDecl = 0);
1081 struct ClassDefinition;
1085 struct Context * parent;
1086 struct __ecereNameSpace__ecere__sys__BinaryTree types;
1087 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
1088 struct __ecereNameSpace__ecere__sys__BinaryTree symbols;
1089 struct __ecereNameSpace__ecere__sys__BinaryTree structSymbols;
1092 struct __ecereNameSpace__ecere__sys__BinaryTree templateTypes;
1093 struct ClassDefinition * classDef;
1094 unsigned int templateTypesOnly;
1095 unsigned int hasNameSpace;
1096 } __attribute__ ((gcc_struct));
1098 struct ClassDefinition
1100 struct ClassDefinition * prev;
1101 struct ClassDefinition * next;
1102 struct Location loc;
1103 struct Specifier * _class;
1104 struct __ecereNameSpace__ecere__sys__OldList * baseSpecs;
1105 struct __ecereNameSpace__ecere__sys__OldList * definitions;
1106 struct Symbol * symbol;
1107 struct Location blockStart;
1108 struct Location nameLoc;
1110 unsigned int deleteWatchable;
1111 } __attribute__ ((gcc_struct));
1113 void FreeContext(struct Context * context)
1115 struct Symbol * symbol;
1117 if(context == curContext)
1118 curContext = globalContext;
1119 while((symbol = (struct Symbol *)context->types.root))
1121 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->types, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1124 while((symbol = (struct Symbol *)context->classes.root))
1126 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->classes, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1129 while((symbol = (struct Symbol *)context->symbols.root))
1131 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->symbols, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1134 while((symbol = (struct Symbol *)context->structSymbols.root))
1136 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->structSymbols, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1139 while((symbol = (struct Symbol *)context->templateTypes.root))
1141 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->templateTypes, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1142 FreeTemplateType((struct TemplatedType *)symbol);
1144 context->nextID = 0;
1145 context->simpleID = 0;
1146 context->parent = (((void *)0));
1149 struct TemplateParameter;
1158 struct Symbol * _class;
1161 struct __ecereNameSpace__ecere__sys__OldList members;
1163 } __attribute__ ((gcc_struct)) __anon1;
1166 struct Type * returnType;
1167 struct __ecereNameSpace__ecere__sys__OldList params;
1168 struct Symbol * thisClass;
1169 unsigned int staticMethod;
1170 struct TemplateParameter * thisClassTemplate;
1171 } __attribute__ ((gcc_struct)) __anon2;
1174 struct __ecereNameSpace__ecere__com__Method * method;
1175 struct __ecereNameSpace__ecere__com__Class * methodClass;
1176 struct __ecereNameSpace__ecere__com__Class * usedClass;
1177 } __attribute__ ((gcc_struct)) __anon3;
1180 struct Type * arrayType;
1182 struct Expression * arraySizeExp;
1183 unsigned int freeExp;
1184 struct Symbol * enumClass;
1185 } __attribute__ ((gcc_struct)) __anon4;
1187 struct TemplateParameter * templateParameter;
1188 } __attribute__ ((gcc_struct)) __anon1;
1193 struct __ecereNameSpace__ecere__com__Class * thisClassFrom;
1194 int classObjectType;
1196 unsigned int offset;
1199 unsigned int isSigned : 1;
1200 unsigned int constant : 1;
1201 unsigned int truth : 1;
1202 unsigned int byReference : 1;
1203 unsigned int extraParam : 1;
1204 unsigned int directClassAccess : 1;
1205 unsigned int computing : 1;
1206 unsigned int keepCast : 1;
1207 unsigned int passAsTemplate : 1;
1208 unsigned int dllExport : 1;
1209 unsigned int attrStdcall : 1;
1210 unsigned int declaredWithStruct : 1;
1211 unsigned int typedByReference : 1;
1212 unsigned int casted : 1;
1213 unsigned int pointerAlignment : 1;
1214 } __attribute__ ((gcc_struct));
1218 struct Specifier * prev;
1219 struct Specifier * next;
1220 struct Location loc;
1227 struct ExtDecl * extDecl;
1229 struct Symbol * symbol;
1230 struct __ecereNameSpace__ecere__sys__OldList * templateArgs;
1231 } __attribute__ ((gcc_struct)) __anon1;
1234 struct Identifier * id;
1235 struct __ecereNameSpace__ecere__sys__OldList * list;
1236 struct __ecereNameSpace__ecere__sys__OldList * baseSpecs;
1237 struct __ecereNameSpace__ecere__sys__OldList * definitions;
1238 unsigned int addNameSpace;
1239 struct Context * ctx;
1240 struct ExtDecl * extDeclStruct;
1241 } __attribute__ ((gcc_struct)) __anon2;
1242 struct Expression * expression;
1243 struct Specifier * _class;
1244 struct TemplateParameter * templateParameter;
1245 } __attribute__ ((gcc_struct)) __anon1;
1246 } __attribute__ ((gcc_struct));
1248 void FreeType(struct Type * type)
1253 if(type->refCount <= 0)
1259 struct __ecereNameSpace__ecere__sys__NamedLink64 * member, * next;
1261 if(type->__anon1.__anon1.enumName)
1262 (__ecereNameSpace__ecere__com__eSystem_Delete(type->__anon1.__anon1.enumName), type->__anon1.__anon1.enumName = 0);
1263 for(member = type->__anon1.__anon1.members.first; member; member = next)
1265 next = member->next;
1266 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(&type->__anon1.__anon1.members, member);
1267 (__ecereNameSpace__ecere__com__eSystem_Delete(member->name), member->name = 0);
1268 ((member ? (__ecereClass___ecereNameSpace__ecere__sys__NamedLink64->Destructor ? __ecereClass___ecereNameSpace__ecere__sys__NamedLink64->Destructor((void *)member) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(member)) : 0), member = 0);
1275 struct Type * member, * next;
1277 (__ecereNameSpace__ecere__com__eSystem_Delete(type->__anon1.__anon1.enumName), type->__anon1.__anon1.enumName = 0);
1278 for(member = type->__anon1.__anon1.members.first; member; member = next)
1280 next = member->next;
1281 if(member->refCount == 1)
1282 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(&type->__anon1.__anon1.members, member);
1289 struct Type * param, * next;
1291 if(type->__anon1.__anon2.returnType)
1292 FreeType(type->__anon1.__anon2.returnType);
1293 for(param = type->__anon1.__anon2.params.first; param; param = next)
1301 if(type->__anon1.__anon4.freeExp && type->__anon1.__anon4.arraySizeExp)
1302 FreeExpression(type->__anon1.__anon4.arraySizeExp);
1304 if(type->__anon1.type)
1305 FreeType(type->__anon1.type);
1308 (__ecereNameSpace__ecere__com__eSystem_Delete(type->name), type->name = 0);
1309 (__ecereNameSpace__ecere__com__eSystem_Delete(type->typeName), type->typeName = 0);
1310 ((type ? (__ecereClass_Type->Destructor ? __ecereClass_Type->Destructor((void *)type) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(type)) : 0), type = 0);
1315 static void FreeDataMember(struct __ecereNameSpace__ecere__com__DataMember * parentMember)
1317 struct __ecereNameSpace__ecere__com__DataMember * dataMember;
1319 for(dataMember = parentMember->members.first; dataMember; dataMember = dataMember->next)
1321 if(dataMember->type == 2 || dataMember->type == 1)
1322 FreeDataMember(dataMember);
1323 if(dataMember->dataType)
1325 FreeType(dataMember->dataType);
1326 dataMember->dataType = (((void *)0));
1331 static void FreeClassProperties(struct __ecereNameSpace__ecere__com__ClassProperty * classProp)
1334 FreeClassProperties(classProp->left);
1335 if(classProp->right)
1336 FreeClassProperties(classProp->right);
1337 if(classProp->dataType)
1339 FreeType(classProp->dataType);
1340 classProp->dataType = (((void *)0));
1344 struct FunctionDefinition;
1346 struct FunctionDefinition
1348 struct FunctionDefinition * prev;
1349 struct FunctionDefinition * next;
1350 struct Location loc;
1351 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1352 struct Declarator * declarator;
1353 struct __ecereNameSpace__ecere__sys__OldList * declarations;
1354 struct Statement * body;
1355 struct __ecereNameSpace__ecere__com__Class * _class;
1356 struct __ecereNameSpace__ecere__sys__OldList attached;
1359 struct Symbol * propSet;
1361 unsigned int propertyNoThis;
1362 } __attribute__ ((gcc_struct));
1364 struct Instantiation;
1368 struct Expression * prev;
1369 struct Expression * next;
1370 struct Location loc;
1377 struct Identifier * identifier;
1378 } __attribute__ ((gcc_struct)) __anon1;
1379 struct Statement * compound;
1380 struct Instantiation * instance;
1384 unsigned int intlString;
1385 unsigned int wideString;
1386 } __attribute__ ((gcc_struct)) __anon2;
1387 struct __ecereNameSpace__ecere__sys__OldList * list;
1390 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1391 struct Declarator * decl;
1392 } __attribute__ ((gcc_struct)) _classExp;
1395 struct Identifier * id;
1396 } __attribute__ ((gcc_struct)) classData;
1399 struct Expression * exp;
1400 struct __ecereNameSpace__ecere__sys__OldList * arguments;
1401 struct Location argLoc;
1402 } __attribute__ ((gcc_struct)) call;
1405 struct Expression * exp;
1406 struct __ecereNameSpace__ecere__sys__OldList * index;
1407 } __attribute__ ((gcc_struct)) index;
1410 struct Expression * exp;
1411 struct Identifier * member;
1413 unsigned int thisPtr;
1414 } __attribute__ ((gcc_struct)) member;
1418 struct Expression * exp1;
1419 struct Expression * exp2;
1420 } __attribute__ ((gcc_struct)) op;
1421 struct TypeName * typeName;
1422 struct Specifier * _class;
1425 struct TypeName * typeName;
1426 struct Expression * exp;
1427 } __attribute__ ((gcc_struct)) cast;
1430 struct Expression * cond;
1431 struct __ecereNameSpace__ecere__sys__OldList * exp;
1432 struct Expression * elseExp;
1433 } __attribute__ ((gcc_struct)) cond;
1436 struct TypeName * typeName;
1437 struct Expression * size;
1438 } __attribute__ ((gcc_struct)) _new;
1441 struct TypeName * typeName;
1442 struct Expression * size;
1443 struct Expression * exp;
1444 } __attribute__ ((gcc_struct)) _renew;
1448 struct Identifier * id;
1449 } __attribute__ ((gcc_struct)) db;
1452 struct Expression * ds;
1453 struct Expression * name;
1454 } __attribute__ ((gcc_struct)) dbopen;
1457 struct TypeName * typeName;
1458 struct Initializer * initializer;
1459 } __attribute__ ((gcc_struct)) initializer;
1462 struct Expression * exp;
1463 struct TypeName * typeName;
1464 } __attribute__ ((gcc_struct)) vaArg;
1465 } __attribute__ ((gcc_struct)) __anon1;
1466 unsigned int debugValue;
1467 struct __ecereNameSpace__ecere__com__DataValue val;
1469 unsigned int hasAddress;
1470 struct Type * expType;
1471 struct Type * destType;
1474 unsigned int byReference;
1475 unsigned int isConstant;
1476 unsigned int addedThis;
1477 unsigned int needCast;
1478 unsigned int thisPtr;
1479 unsigned int opDestType;
1480 unsigned int needTemplateCast;
1481 } __attribute__ ((gcc_struct));
1483 struct Instantiation
1485 struct Instantiation * prev;
1486 struct Instantiation * next;
1487 struct Location loc;
1488 struct Specifier * _class;
1489 struct Expression * exp;
1490 struct __ecereNameSpace__ecere__sys__OldList * members;
1491 struct Symbol * symbol;
1492 unsigned int fullSet;
1493 unsigned int isConstant;
1494 unsigned char * data;
1495 struct Location nameLoc;
1496 struct Location insideLoc;
1498 } __attribute__ ((gcc_struct));
1500 struct TemplateArgument;
1502 struct TemplateArgument
1504 struct TemplateArgument * prev;
1505 struct TemplateArgument * next;
1506 struct Location loc;
1507 struct Identifier * name;
1511 struct Expression * expression;
1512 struct Identifier * identifier;
1513 struct TemplateDatatype * templateDatatype;
1514 } __attribute__ ((gcc_struct)) __anon1;
1515 } __attribute__ ((gcc_struct));
1517 struct TemplateParameter
1519 struct TemplateParameter * prev;
1520 struct TemplateParameter * next;
1521 struct Location loc;
1523 struct Identifier * identifier;
1526 struct TemplateDatatype * dataType;
1528 } __attribute__ ((gcc_struct)) __anon1;
1529 struct TemplateArgument * defaultArgument;
1530 const char * dataTypeString;
1531 struct Type * baseType;
1532 } __attribute__ ((gcc_struct));
1538 struct Statement * prev;
1539 struct Statement * next;
1540 struct Location loc;
1544 struct __ecereNameSpace__ecere__sys__OldList * expressions;
1547 struct Identifier * id;
1548 struct Statement * stmt;
1549 } __attribute__ ((gcc_struct)) labeled;
1552 struct Expression * exp;
1553 struct Statement * stmt;
1554 } __attribute__ ((gcc_struct)) caseStmt;
1557 struct __ecereNameSpace__ecere__sys__OldList * declarations;
1558 struct __ecereNameSpace__ecere__sys__OldList * statements;
1559 struct Context * context;
1560 unsigned int isSwitch;
1561 } __attribute__ ((gcc_struct)) compound;
1564 struct __ecereNameSpace__ecere__sys__OldList * exp;
1565 struct Statement * stmt;
1566 struct Statement * elseStmt;
1567 } __attribute__ ((gcc_struct)) ifStmt;
1570 struct __ecereNameSpace__ecere__sys__OldList * exp;
1571 struct Statement * stmt;
1572 } __attribute__ ((gcc_struct)) switchStmt;
1575 struct __ecereNameSpace__ecere__sys__OldList * exp;
1576 struct Statement * stmt;
1577 } __attribute__ ((gcc_struct)) whileStmt;
1580 struct __ecereNameSpace__ecere__sys__OldList * exp;
1581 struct Statement * stmt;
1582 } __attribute__ ((gcc_struct)) doWhile;
1585 struct Statement * init;
1586 struct Statement * check;
1587 struct __ecereNameSpace__ecere__sys__OldList * increment;
1588 struct Statement * stmt;
1589 } __attribute__ ((gcc_struct)) forStmt;
1592 struct Identifier * id;
1593 } __attribute__ ((gcc_struct)) gotoStmt;
1596 struct Specifier * spec;
1598 struct __ecereNameSpace__ecere__sys__OldList * inputFields;
1599 struct __ecereNameSpace__ecere__sys__OldList * outputFields;
1600 struct __ecereNameSpace__ecere__sys__OldList * clobberedFields;
1601 } __attribute__ ((gcc_struct)) asmStmt;
1604 struct Expression * watcher;
1605 struct Expression * object;
1606 struct __ecereNameSpace__ecere__sys__OldList * watches;
1607 } __attribute__ ((gcc_struct)) _watch;
1610 struct Identifier * id;
1611 struct __ecereNameSpace__ecere__sys__OldList * exp;
1612 struct __ecereNameSpace__ecere__sys__OldList * filter;
1613 struct Statement * stmt;
1614 } __attribute__ ((gcc_struct)) forEachStmt;
1615 struct Declaration * decl;
1616 } __attribute__ ((gcc_struct)) __anon1;
1617 } __attribute__ ((gcc_struct));
1621 struct Declaration * prev;
1622 struct Declaration * next;
1623 struct Location loc;
1629 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1630 struct __ecereNameSpace__ecere__sys__OldList * declarators;
1631 } __attribute__ ((gcc_struct)) __anon1;
1632 struct Instantiation * inst;
1635 struct Identifier * id;
1636 struct Expression * exp;
1637 } __attribute__ ((gcc_struct)) __anon2;
1638 } __attribute__ ((gcc_struct)) __anon1;
1639 struct Specifier * extStorage;
1640 struct Symbol * symbol;
1642 } __attribute__ ((gcc_struct));
1646 struct External * prev;
1647 struct External * next;
1648 struct Location loc;
1650 struct Symbol * symbol;
1653 struct FunctionDefinition * function;
1654 struct ClassDefinition * _class;
1655 struct Declaration * declaration;
1656 char * importString;
1657 struct Identifier * id;
1658 struct DBTableDef * table;
1659 } __attribute__ ((gcc_struct)) __anon1;
1661 struct External * fwdDecl;
1662 struct __ecereNameSpace__ecere__com__Instance * outgoing;
1663 struct __ecereNameSpace__ecere__com__Instance * incoming;
1664 int nonBreakableIncoming;
1665 } __attribute__ ((gcc_struct));
1671 struct PropertyDef * prev;
1672 struct PropertyDef * next;
1673 struct Location loc;
1674 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1675 struct Declarator * declarator;
1676 struct Identifier * id;
1677 struct Statement * getStmt;
1678 struct Statement * setStmt;
1679 struct Statement * issetStmt;
1680 struct Symbol * symbol;
1681 struct Expression * category;
1684 unsigned int conversion : 1;
1685 unsigned int isWatchable : 1;
1686 unsigned int isDBProp : 1;
1687 } __attribute__ ((gcc_struct)) __anon1;
1688 } __attribute__ ((gcc_struct));
1690 struct __ecereNameSpace__ecere__com__ClassTemplateParameter;
1692 struct __ecereNameSpace__ecere__com__ClassTemplateParameter
1694 struct __ecereNameSpace__ecere__com__ClassTemplateParameter * prev;
1695 struct __ecereNameSpace__ecere__com__ClassTemplateParameter * next;
1700 const char * dataTypeString;
1702 } __attribute__ ((gcc_struct)) __anon1;
1703 struct __ecereNameSpace__ecere__com__ClassTemplateArgument defaultArg;
1705 } __attribute__ ((gcc_struct));
1707 void FreeDeclarator(struct Declarator * decl);
1709 void FreeIdentifier(struct Identifier * id);
1711 void FreeEnumerator(struct Enumerator * enumerator)
1714 FreeIdentifier(enumerator->id);
1716 FreeExpression(enumerator->exp);
1717 ((enumerator ? (__ecereClass_Enumerator->Destructor ? __ecereClass_Enumerator->Destructor((void *)enumerator) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(enumerator)) : 0), enumerator = 0);
1720 void FreeAsmField(struct AsmField * field)
1722 if(field->expression)
1723 FreeExpression(field->expression);
1725 FreeIdentifier(field->symbolic);
1726 (__ecereNameSpace__ecere__com__eSystem_Delete(field->command), field->command = 0);
1727 ((field ? (__ecereClass_AsmField->Destructor ? __ecereClass_AsmField->Destructor((void *)field) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(field)) : 0), field = 0);
1730 void FreeInitializer(struct Initializer * initializer)
1732 switch(initializer->type)
1735 FreeList(initializer->__anon1.list, (void *)(FreeInitializer));
1738 if(initializer->__anon1.exp)
1739 FreeExpression(initializer->__anon1.exp);
1743 FreeIdentifier(initializer->id);
1744 ((initializer ? (__ecereClass_Initializer->Destructor ? __ecereClass_Initializer->Destructor((void *)initializer) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(initializer)) : 0), initializer = 0);
1747 void FreeDBIndexItem(struct DBIndexItem * item)
1750 FreeIdentifier(item->id);
1751 ((item ? (__ecereClass_DBIndexItem->Destructor ? __ecereClass_DBIndexItem->Destructor((void *)item) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(item)) : 0), item = 0);
1754 void FreeInitDeclarator(struct InitDeclarator * decl)
1756 if(decl->declarator)
1757 FreeDeclarator(decl->declarator);
1758 if(decl->initializer)
1759 FreeInitializer(decl->initializer);
1760 ((decl ? (__ecereClass_InitDeclarator->Destructor ? __ecereClass_InitDeclarator->Destructor((void *)decl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(decl)) : 0), decl = 0);
1763 void FreeMemberInit(struct MemberInit * init)
1765 if(init->initializer)
1766 FreeInitializer(init->initializer);
1767 if(init->identifiers)
1768 FreeList(init->identifiers, (void *)(FreeIdentifier));
1769 ((init ? (__ecereClass_MemberInit->Destructor ? __ecereClass_MemberInit->Destructor((void *)init) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(init)) : 0), init = 0);
1772 void FreeSpecifierContents(struct Specifier * spec);
1774 void FreeSpecifier(struct Specifier * spec)
1778 FreeSpecifierContents(spec);
1779 ((spec ? (__ecereClass_Specifier->Destructor ? __ecereClass_Specifier->Destructor((void *)spec) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(spec)) : 0), spec = 0);
1783 void FreeTemplateDataType(struct TemplateDatatype * type)
1786 FreeDeclarator(type->decl);
1787 if(type->specifiers)
1788 FreeList(type->specifiers, (void *)(FreeSpecifier));
1789 ((type ? (__ecereClass_TemplateDatatype->Destructor ? __ecereClass_TemplateDatatype->Destructor((void *)type) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(type)) : 0), type = 0);
1792 void FreeIdentifier(struct Identifier * id)
1795 FreeIdentifier(id->badID);
1796 (__ecereNameSpace__ecere__com__eSystem_Delete(id->string), id->string = 0);
1798 FreeSpecifier(id->_class);
1799 ((id ? (__ecereClass_Identifier->Destructor ? __ecereClass_Identifier->Destructor((void *)id) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(id)) : 0), id = 0);
1802 void FreeTypeName(struct TypeName * typeName)
1804 if(typeName->qualifiers)
1805 FreeList(typeName->qualifiers, (void *)(FreeSpecifier));
1806 if(typeName->declarator)
1807 FreeDeclarator(typeName->declarator);
1808 if(typeName->bitCount)
1809 FreeExpression(typeName->bitCount);
1810 ((typeName ? (__ecereClass_TypeName->Destructor ? __ecereClass_TypeName->Destructor((void *)typeName) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(typeName)) : 0), typeName = 0);
1813 void FreePointer(struct Pointer * pointer)
1815 if(pointer->pointer)
1816 FreePointer(pointer->pointer);
1817 if(pointer->qualifiers)
1818 FreeList(pointer->qualifiers, (void *)(FreeSpecifier));
1819 ((pointer ? (__ecereClass_Pointer->Destructor ? __ecereClass_Pointer->Destructor((void *)pointer) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(pointer)) : 0), pointer = 0);
1822 void FreeTemplateArgument(struct TemplateArgument * arg)
1827 if(arg->__anon1.expression)
1828 FreeExpression(arg->__anon1.expression);
1831 if(arg->__anon1.identifier)
1832 FreeIdentifier(arg->__anon1.identifier);
1835 if(arg->__anon1.templateDatatype)
1836 FreeTemplateDataType(arg->__anon1.templateDatatype);
1840 FreeIdentifier(arg->name);
1841 ((arg ? (__ecereClass_TemplateArgument->Destructor ? __ecereClass_TemplateArgument->Destructor((void *)arg) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(arg)) : 0), arg = 0);
1844 void FreeDBTableEntry(struct DBTableEntry * entry)
1847 FreeIdentifier(entry->id);
1851 if(entry->__anon1.__anon1.dataType)
1852 FreeTypeName(entry->__anon1.__anon1.dataType);
1853 if(entry->__anon1.__anon1.name)
1854 (__ecereNameSpace__ecere__com__eSystem_Delete(entry->__anon1.__anon1.name), entry->__anon1.__anon1.name = 0);
1857 if(entry->__anon1.items)
1858 FreeList(entry->__anon1.items, (void *)(FreeDBIndexItem));
1861 ((entry ? (__ecereClass_DBTableEntry->Destructor ? __ecereClass_DBTableEntry->Destructor((void *)entry) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(entry)) : 0), entry = 0);
1864 void FreeDeclarator(struct Declarator * decl)
1866 if(decl->declarator)
1867 FreeDeclarator(decl->declarator);
1871 if(decl->__anon1.structDecl.exp)
1872 FreeExpression(decl->__anon1.structDecl.exp);
1873 if(decl->__anon1.structDecl.posExp)
1874 FreeExpression(decl->__anon1.structDecl.posExp);
1875 if(decl->__anon1.structDecl.attrib)
1876 FreeAttrib(decl->__anon1.structDecl.attrib);
1879 FreeIdentifier(decl->__anon1.identifier);
1884 if(decl->__anon1.array.exp)
1885 FreeExpression(decl->__anon1.array.exp);
1886 if(decl->__anon1.array.enumClass)
1887 FreeSpecifier(decl->__anon1.array.enumClass);
1890 FreeList(decl->__anon1.function.parameters, (void *)(FreeTypeName));
1893 if(decl->__anon1.pointer.pointer)
1894 FreePointer(decl->__anon1.pointer.pointer);
1898 if(decl->__anon1.extended.extended)
1899 FreeExtDecl(decl->__anon1.extended.extended);
1902 ((decl ? (__ecereClass_Declarator->Destructor ? __ecereClass_Declarator->Destructor((void *)decl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(decl)) : 0), decl = 0);
1905 void FreeTemplateParameter(struct TemplateParameter * param)
1907 if(param->identifier)
1909 FreeIdentifier(param->identifier);
1911 if(param->type == 0 || param->type == 2)
1913 if(param->__anon1.dataType)
1914 FreeTemplateDataType(param->__anon1.dataType);
1916 if(param->defaultArgument)
1917 FreeTemplateArgument(param->defaultArgument);
1919 FreeType(param->baseType);
1920 ((param ? (__ecereClass_TemplateParameter->Destructor ? __ecereClass_TemplateParameter->Destructor((void *)param) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(param)) : 0), param = 0);
1923 void FreeDBTable(struct DBTableDef * table)
1925 if(table->definitions)
1926 FreeList(table->definitions, (void *)(FreeDBTableEntry));
1928 (__ecereNameSpace__ecere__com__eSystem_Delete(table->name), table->name = 0);
1929 ((table ? (__ecereClass_DBTableDef->Destructor ? __ecereClass_DBTableDef->Destructor((void *)table) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(table)) : 0), table = 0);
1932 void FreeSymbol(struct Symbol * symbol)
1934 struct __ecereNameSpace__ecere__sys__OldLink * link;
1936 if(symbol->propCategory)
1937 FreeExpression(symbol->propCategory);
1938 FreeType(symbol->type);
1939 while((link = symbol->templatedClasses.first))
1940 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Delete(&symbol->templatedClasses, link);
1941 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->string), symbol->string = 0);
1942 if(symbol->templateParams)
1943 FreeList(symbol->templateParams, (void *)(FreeTemplateParameter));
1944 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->constructorName), symbol->constructorName = 0);
1945 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->structName), symbol->structName = 0);
1946 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->className), symbol->className = 0);
1947 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->destructorName), symbol->destructorName = 0);
1948 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->shortName), symbol->shortName = 0);
1951 FreeContext(symbol->ctx);
1952 ((symbol->ctx ? (__ecereClass_Context->Destructor ? __ecereClass_Context->Destructor((void *)symbol->ctx) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(symbol->ctx)) : 0), symbol->ctx = 0);
1954 ((symbol ? (__ecereClass_Symbol->Destructor ? __ecereClass_Symbol->Destructor((void *)symbol) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(symbol)) : 0), symbol = 0);
1957 void FreeModuleData(struct __ecereNameSpace__ecere__com__Instance * module)
1959 struct __ecereNameSpace__ecere__com__Class * _class;
1960 struct __ecereNameSpace__ecere__com__GlobalFunction * function;
1962 for(_class = ((struct __ecereNameSpace__ecere__com__Module *)(((char *)module + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->classes.first; _class; _class = _class->next)
1964 struct __ecereNameSpace__ecere__com__DataMember * dataMember;
1965 struct __ecereNameSpace__ecere__com__Method * method;
1966 struct __ecereNameSpace__ecere__com__ClassTemplateParameter * param;
1968 if(_class->dataType)
1970 FreeType(_class->dataType);
1971 _class->dataType = (((void *)0));
1973 for(dataMember = _class->membersAndProperties.first; dataMember; dataMember = dataMember->next)
1975 if(dataMember->isProperty)
1977 struct __ecereNameSpace__ecere__com__Property * prop = (struct __ecereNameSpace__ecere__com__Property *)dataMember;
1981 FreeSymbol(prop->symbol);
1986 if(dataMember->type == 2 || dataMember->type == 1)
1987 FreeDataMember(dataMember);
1989 if(dataMember->dataType)
1991 FreeType(dataMember->dataType);
1992 dataMember->dataType = (((void *)0));
1995 for(dataMember = _class->conversions.first; dataMember; dataMember = dataMember->next)
1997 struct __ecereNameSpace__ecere__com__Property * prop = (struct __ecereNameSpace__ecere__com__Property *)dataMember;
2001 FreeSymbol(prop->symbol);
2005 FreeType(prop->dataType);
2006 prop->dataType = (((void *)0));
2009 if(__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_Get_first(&_class->classProperties))
2010 FreeClassProperties((struct __ecereNameSpace__ecere__com__ClassProperty *)__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_Get_first(&_class->classProperties));
2011 for(method = (struct __ecereNameSpace__ecere__com__Method *)__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_Get_first(&_class->methods); method; method = (struct __ecereNameSpace__ecere__com__Method *)__ecereProp___ecereNameSpace__ecere__sys__BTNode_Get_next(((struct __ecereNameSpace__ecere__sys__BTNode *)method)))
2013 if(method->dataType)
2015 FreeType(method->dataType);
2016 method->dataType = (((void *)0));
2020 FreeSymbol(method->symbol);
2023 for(param = _class->templateParams.first; param; param = param->next)
2027 FreeTemplateParameter(param->param);
2028 param->param = (((void *)0));
2032 for(function = ((struct __ecereNameSpace__ecere__com__Module *)(((char *)module + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->functions.first; function; function = function->next)
2034 if(function->dataType)
2035 FreeType(function->dataType);
2036 if(function->symbol)
2037 FreeSymbol(function->symbol);
2041 struct __ecereNameSpace__ecere__com__MapIterator mapIt = (mapIt.container = (void *)0, mapIt.pointer = (void *)0, __ecereProp___ecereNameSpace__ecere__com__MapIterator_Set_map(&mapIt, loadedModules), mapIt);
2043 while(__ecereMethod___ecereNameSpace__ecere__com__Iterator_Next((void *)(&mapIt)))
2045 struct __ecereNameSpace__ecere__com__Instance * list = ((struct __ecereNameSpace__ecere__com__Instance *)(uintptr_t)__ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data((void *)(&mapIt)));
2046 struct __ecereNameSpace__ecere__com__Iterator it =
2050 unsigned int found = 0;
2052 while(__ecereMethod___ecereNameSpace__ecere__com__Iterator_Next(&it))
2054 if(((struct __ecereNameSpace__ecere__com__Instance *)(uintptr_t)__ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data(&it)) == module)
2056 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2057 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = list;
2059 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__List->_vTbl;
2060 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(list, it.pointer);
2067 if(((struct __ecereNameSpace__ecere__com__LinkList *)(((char *)list + 0 + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->count == 1)
2069 struct __ecereNameSpace__ecere__com__Instance * mod = (((struct __ecereNameSpace__ecere__com__Instance *)((uintptr_t)(__extension__ ({
2070 struct __ecereNameSpace__ecere__com__Iterator __internalIterator =
2075 __ecereMethod___ecereNameSpace__ecere__com__Iterator_Index(&__internalIterator, ((uint64)(0)), 0);
2076 ((struct __ecereNameSpace__ecere__com__Instance *)(uintptr_t)__ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data(&__internalIterator));
2079 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2080 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = list;
2082 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__List->_vTbl;
2083 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(list, ((struct __ecereNameSpace__ecere__com__IteratorPointer * (*)(struct __ecereNameSpace__ecere__com__Instance *))__extension__ ({
2084 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = list;
2086 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__List->_vTbl;
2087 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_GetFirst])(list));
2088 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2089 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = loadedModules;
2091 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__Map->_vTbl;
2092 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(loadedModules, mapIt.pointer);
2093 (__ecereNameSpace__ecere__com__eInstance_DecRef(list), list = 0);
2094 __ecereNameSpace__ecere__com__eModule_Unload(((struct __ecereNameSpace__ecere__com__Module *)(((char *)__thisModule + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application, mod);
2102 void FreeTypeData(struct __ecereNameSpace__ecere__com__Instance * privateModule)
2104 struct __ecereNameSpace__ecere__com__Instance * m;
2106 for(m = ((struct __ecereNameSpace__ecere__com__Application *)(((char *)((struct __ecereNameSpace__ecere__com__Module *)(((char *)privateModule + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application + sizeof(struct __ecereNameSpace__ecere__com__Module) + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->allModules.first; m; m = ((struct __ecereNameSpace__ecere__com__Module *)(((char *)m + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->next)
2110 FreeModuleData(privateModule);
2117 struct ClassDef * prev;
2118 struct ClassDef * next;
2119 struct Location loc;
2123 struct Declaration * decl;
2124 struct ClassFunction * function;
2125 struct __ecereNameSpace__ecere__sys__OldList * defProperties;
2126 struct PropertyDef * propertyDef;
2127 struct PropertyWatch * propertyWatch;
2129 struct Identifier * defaultProperty;
2132 struct Identifier * id;
2133 struct Initializer * initializer;
2134 } __attribute__ ((gcc_struct)) __anon1;
2135 } __attribute__ ((gcc_struct)) __anon1;
2138 } __attribute__ ((gcc_struct));
2140 void FreeStatement(struct Statement * stmt);
2142 void FreePropertyWatch(struct PropertyWatch * watcher)
2144 if(watcher->properties)
2145 FreeList(watcher->properties, (void *)(FreeIdentifier));
2146 if(watcher->compound)
2147 FreeStatement(watcher->compound);
2148 ((watcher ? (__ecereClass_PropertyWatch->Destructor ? __ecereClass_PropertyWatch->Destructor((void *)watcher) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(watcher)) : 0), watcher = 0);
2151 void FreeProperty(struct PropertyDef * def)
2154 FreeList(def->specifiers, (void *)(FreeSpecifier));
2156 FreeDeclarator(def->declarator);
2158 FreeIdentifier(def->id);
2160 FreeStatement(def->getStmt);
2162 FreeStatement(def->setStmt);
2164 FreeStatement(def->issetStmt);
2166 FreeExpression(def->category);
2170 ((def ? (__ecereClass_PropertyDef->Destructor ? __ecereClass_PropertyDef->Destructor((void *)def) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(def)) : 0), def = 0);
2173 void FreeClassFunction(struct ClassFunction * func);
2175 void FreeMembersInit(struct MembersInit * init)
2177 if(init->type == 0 && init->__anon1.dataMembers)
2178 FreeList(init->__anon1.dataMembers, (void *)(FreeMemberInit));
2179 if(init->type == 1 && init->__anon1.function)
2181 FreeClassFunction(init->__anon1.function);
2183 ((init ? (__ecereClass_MembersInit->Destructor ? __ecereClass_MembersInit->Destructor((void *)init) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(init)) : 0), init = 0);
2186 void FreeInstance(struct Instantiation * inst)
2190 FreeList(inst->members, (void *)(FreeMembersInit));
2193 FreeExpression(inst->exp);
2196 struct Symbol * classSym = FindClass(inst->_class->__anon1.__anon1.name);
2197 struct __ecereNameSpace__ecere__com__Class * _class = classSym ? classSym->__anon1.registered : (((void *)0));
2201 if(_class->type == 0)
2203 struct __ecereNameSpace__ecere__com__Instance * instance = (struct __ecereNameSpace__ecere__com__Instance *)inst->data;
2205 (__ecereNameSpace__ecere__com__eInstance_DecRef(instance), instance = 0);
2207 else if(_class->type == 5)
2209 if(_class->Destructor)
2210 _class->Destructor((struct __ecereNameSpace__ecere__com__Instance *)inst->data);
2211 (__ecereNameSpace__ecere__com__eSystem_Delete(inst->data), inst->data = 0);
2213 else if(_class->type == 1)
2215 (__ecereNameSpace__ecere__com__eSystem_Delete(inst->data), inst->data = 0);
2220 struct __ecereNameSpace__ecere__com__Instance * instance = (struct __ecereNameSpace__ecere__com__Instance *)inst->data;
2222 (__ecereNameSpace__ecere__com__eInstance_DecRef(instance), instance = 0);
2226 FreeSpecifier(inst->_class);
2227 ((inst ? (__ecereClass_Instantiation->Destructor ? __ecereClass_Instantiation->Destructor((void *)inst) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(inst)) : 0), inst = 0);
2230 static void _FreeExpression(struct Expression * exp, unsigned int freePointer)
2236 FreeExpression(exp->__anon1._new.size);
2237 FreeTypeName(exp->__anon1._new.typeName);
2241 FreeExpression(exp->__anon1._renew.exp);
2242 FreeExpression(exp->__anon1._renew.size);
2243 FreeTypeName(exp->__anon1._renew.typeName);
2246 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.__anon1.constant), exp->__anon1.__anon1.constant = 0);
2249 if(exp->__anon1.__anon1.identifier)
2250 FreeIdentifier(exp->__anon1.__anon1.identifier);
2253 if(exp->__anon1.instance)
2255 FreeInstance(exp->__anon1.instance);
2256 exp->__anon1.instance = (((void *)0));
2260 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.__anon2.string), exp->__anon1.__anon2.string = 0);
2263 if(exp->__anon1.op.exp1)
2264 FreeExpression(exp->__anon1.op.exp1);
2265 if(exp->__anon1.op.exp2)
2266 FreeExpression(exp->__anon1.op.exp2);
2270 FreeList(exp->__anon1.list, (void *)(FreeExpression));
2275 if(exp->__anon1.index.exp)
2276 FreeExpression(exp->__anon1.index.exp);
2277 if(exp->__anon1.index.index)
2278 FreeList(exp->__anon1.index.index, (void *)(FreeExpression));
2283 if(exp->__anon1.call.exp)
2284 FreeExpression(exp->__anon1.call.exp);
2285 if(exp->__anon1.call.arguments)
2286 FreeList(exp->__anon1.call.arguments, (void *)(FreeExpression));
2291 if(exp->__anon1.member.exp)
2292 FreeExpression(exp->__anon1.member.exp);
2293 if(exp->__anon1.member.member)
2294 FreeIdentifier(exp->__anon1.member.member);
2297 FreeTypeName(exp->__anon1._new.typeName);
2300 FreeTypeName(exp->__anon1._new.typeName);
2303 if(exp->__anon1.cast.exp)
2304 FreeExpression(exp->__anon1.cast.exp);
2305 FreeTypeName(exp->__anon1.cast.typeName);
2309 if(exp->__anon1.cond.cond)
2310 FreeExpression(exp->__anon1.cond.cond);
2311 if(exp->__anon1.cond.exp)
2312 FreeList(exp->__anon1.cond.exp, (void *)(FreeExpression));
2313 if(exp->__anon1.cond.elseExp)
2314 FreeExpression(exp->__anon1.cond.elseExp);
2319 if(exp->__anon1.compound)
2320 FreeStatement(exp->__anon1.compound);
2325 if(exp->__anon1.list)
2326 FreeList(exp->__anon1.list, (void *)(FreeExpression));
2331 if(exp->__anon1.initializer.typeName)
2332 FreeTypeName(exp->__anon1.initializer.typeName);
2333 if(exp->__anon1.initializer.initializer)
2334 FreeInitializer(exp->__anon1.initializer.initializer);
2340 if(exp->__anon1._classExp.specifiers)
2341 FreeList(exp->__anon1._classExp.specifiers, (void *)(FreeSpecifier));
2342 if(exp->__anon1._classExp.decl)
2343 FreeDeclarator(exp->__anon1._classExp.decl);
2348 if(exp->__anon1.db.id)
2349 FreeIdentifier(exp->__anon1.db.id);
2350 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.db.table), exp->__anon1.db.table = 0);
2353 if(exp->__anon1.dbopen.ds)
2354 FreeExpression(exp->__anon1.dbopen.ds);
2355 if(exp->__anon1.dbopen.name)
2356 FreeExpression(exp->__anon1.dbopen.name);
2359 if(exp->__anon1.vaArg.exp)
2360 FreeExpression(exp->__anon1.vaArg.exp);
2361 if(exp->__anon1.vaArg.typeName)
2362 FreeTypeName(exp->__anon1.vaArg.typeName);
2365 if(exp->__anon1.list)
2366 FreeList(exp->__anon1.list, (void *)(FreeExpression));
2369 if(exp->__anon1._class)
2370 FreeSpecifier(exp->__anon1._class);
2373 if(exp->__anon1.classData.id)
2374 FreeIdentifier(exp->__anon1.classData.id);
2377 if(exp->__anon1.__anon1.identifier)
2378 FreeIdentifier(exp->__anon1.__anon1.identifier);
2381 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.__anon1.constant), exp->__anon1.__anon1.constant = 0);
2385 if(exp->__anon1.member.exp)
2386 FreeExpression(exp->__anon1.member.exp);
2387 if(exp->__anon1.member.member)
2388 FreeIdentifier(exp->__anon1.member.member);
2391 if(exp->__anon1.call.exp)
2392 FreeExpression(exp->__anon1.call.exp);
2393 if(exp->__anon1.call.arguments)
2394 FreeList(exp->__anon1.call.arguments, (void *)(FreeExpression));
2404 FreeType(exp->expType);
2406 FreeType(exp->destType);
2407 ((exp ? (__ecereClass_Expression->Destructor ? __ecereClass_Expression->Destructor((void *)exp) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(exp)) : 0), exp = 0);
2411 void FreeDeclaration(struct Declaration * decl)
2413 if(decl->symbol && !decl->symbol->type)
2420 if(decl->__anon1.__anon1.specifiers)
2421 FreeList(decl->__anon1.__anon1.specifiers, (void *)(FreeSpecifier));
2422 if(decl->__anon1.__anon1.declarators)
2423 FreeList(decl->__anon1.__anon1.declarators, (void *)(FreeDeclarator));
2424 if(decl->extStorage)
2425 FreeSpecifier(decl->extStorage);
2430 if(decl->__anon1.__anon1.specifiers)
2431 FreeList(decl->__anon1.__anon1.specifiers, (void *)(FreeSpecifier));
2432 if(decl->__anon1.__anon1.declarators)
2433 FreeList(decl->__anon1.__anon1.declarators, (void *)(FreeInitDeclarator));
2437 if(decl->__anon1.inst)
2438 FreeInstance(decl->__anon1.inst);
2442 if(decl->__anon1.__anon2.exp)
2443 FreeExpression(decl->__anon1.__anon2.exp);
2444 if(decl->__anon1.__anon2.id)
2445 FreeIdentifier(decl->__anon1.__anon2.id);
2449 ((decl ? (__ecereClass_Declaration->Destructor ? __ecereClass_Declaration->Destructor((void *)decl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(decl)) : 0), decl = 0);
2452 void FreeStatement(struct Statement * stmt)
2458 if(stmt->__anon1.asmStmt.spec)
2459 FreeSpecifier(stmt->__anon1.asmStmt.spec);
2460 if(stmt->__anon1.asmStmt.inputFields)
2461 FreeList(stmt->__anon1.asmStmt.inputFields, (void *)(FreeAsmField));
2462 if(stmt->__anon1.asmStmt.outputFields)
2463 FreeList(stmt->__anon1.asmStmt.outputFields, (void *)(FreeAsmField));
2464 if(stmt->__anon1.asmStmt.clobberedFields)
2465 FreeList(stmt->__anon1.asmStmt.clobberedFields, (void *)(FreeAsmField));
2466 (__ecereNameSpace__ecere__com__eSystem_Delete(stmt->__anon1.asmStmt.statements), stmt->__anon1.asmStmt.statements = 0);
2470 if(stmt->__anon1.labeled.stmt)
2471 FreeStatement(stmt->__anon1.labeled.stmt);
2474 if(stmt->__anon1.caseStmt.exp)
2475 FreeExpression(stmt->__anon1.caseStmt.exp);
2476 if(stmt->__anon1.caseStmt.stmt)
2477 FreeStatement(stmt->__anon1.caseStmt.stmt);
2480 if(stmt->__anon1.decl)
2481 FreeDeclaration(stmt->__anon1.decl);
2485 if(stmt->__anon1.compound.declarations)
2486 FreeList(stmt->__anon1.compound.declarations, (void *)(FreeDeclaration));
2487 if(stmt->__anon1.compound.statements)
2488 FreeList(stmt->__anon1.compound.statements, (void *)(FreeStatement));
2489 if(stmt->__anon1.compound.context)
2491 FreeContext(stmt->__anon1.compound.context);
2492 ((stmt->__anon1.compound.context ? (__ecereClass_Context->Destructor ? __ecereClass_Context->Destructor((void *)stmt->__anon1.compound.context) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(stmt->__anon1.compound.context)) : 0), stmt->__anon1.compound.context = 0);
2498 if(stmt->__anon1.expressions)
2499 FreeList(stmt->__anon1.expressions, (void *)(FreeExpression));
2504 if(stmt->__anon1.ifStmt.exp)
2505 FreeList(stmt->__anon1.ifStmt.exp, (void *)(FreeExpression));
2506 if(stmt->__anon1.ifStmt.stmt)
2507 FreeStatement(stmt->__anon1.ifStmt.stmt);
2508 if(stmt->__anon1.ifStmt.elseStmt)
2509 FreeStatement(stmt->__anon1.ifStmt.elseStmt);
2514 if(stmt->__anon1.switchStmt.exp)
2515 FreeList(stmt->__anon1.switchStmt.exp, (void *)(FreeExpression));
2516 if(stmt->__anon1.switchStmt.stmt)
2517 FreeStatement(stmt->__anon1.switchStmt.stmt);
2522 if(stmt->__anon1.whileStmt.exp)
2523 FreeList(stmt->__anon1.whileStmt.exp, (void *)(FreeExpression));
2524 if(stmt->__anon1.whileStmt.stmt)
2525 FreeStatement(stmt->__anon1.whileStmt.stmt);
2530 if(stmt->__anon1.doWhile.stmt)
2531 FreeStatement(stmt->__anon1.doWhile.stmt);
2532 if(stmt->__anon1.doWhile.exp)
2533 FreeList(stmt->__anon1.doWhile.exp, (void *)(FreeExpression));
2538 if(stmt->__anon1.forStmt.init)
2539 FreeStatement(stmt->__anon1.forStmt.init);
2540 if(stmt->__anon1.forStmt.check)
2541 FreeStatement(stmt->__anon1.forStmt.check);
2542 if(stmt->__anon1.forStmt.increment)
2543 FreeList(stmt->__anon1.forStmt.increment, (void *)(FreeExpression));
2544 if(stmt->__anon1.forStmt.stmt)
2545 FreeStatement(stmt->__anon1.forStmt.stmt);
2550 if(stmt->__anon1.forEachStmt.id)
2551 FreeIdentifier(stmt->__anon1.forEachStmt.id);
2552 if(stmt->__anon1.forEachStmt.exp)
2553 FreeList(stmt->__anon1.forEachStmt.exp, (void *)(FreeExpression));
2554 if(stmt->__anon1.forEachStmt.filter)
2555 FreeList(stmt->__anon1.forEachStmt.filter, (void *)(FreeExpression));
2556 if(stmt->__anon1.forEachStmt.stmt)
2557 FreeStatement(stmt->__anon1.forEachStmt.stmt);
2567 if(stmt->__anon1.expressions)
2568 FreeList(stmt->__anon1.expressions, (void *)(FreeExpression));
2574 if(stmt->__anon1._watch.watcher)
2575 FreeExpression(stmt->__anon1._watch.watcher);
2576 if(stmt->__anon1._watch.object)
2577 FreeExpression(stmt->__anon1._watch.object);
2578 if(stmt->__anon1._watch.watches)
2579 FreeList(stmt->__anon1._watch.watches, (stmt->type == 17) ? (void *)FreePropertyWatch : (void *)FreeIdentifier);
2583 ((stmt ? (__ecereClass_Statement->Destructor ? __ecereClass_Statement->Destructor((void *)stmt) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(stmt)) : 0), stmt = 0);
2586 void FreeFunction(struct FunctionDefinition * func)
2589 FreeStatement(func->body);
2590 if(func->declarator)
2591 FreeDeclarator(func->declarator);
2592 if(func->specifiers)
2593 FreeList(func->specifiers, (void *)(FreeSpecifier));
2594 if(func->declarations)
2595 FreeList(func->declarations, (void *)(FreeDeclaration));
2597 FreeType(func->type);
2598 ((func ? (__ecereClass_FunctionDefinition->Destructor ? __ecereClass_FunctionDefinition->Destructor((void *)func) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(func)) : 0), func = 0);
2601 void FreeClassFunction(struct ClassFunction * func)
2603 if(func->declarator && func->declarator->symbol)
2607 FreeType(func->type);
2609 FreeStatement(func->body);
2610 if(func->declarator)
2611 FreeDeclarator(func->declarator);
2612 if(func->specifiers)
2613 FreeList(func->specifiers, (void *)(FreeSpecifier));
2614 if(func->declarations)
2615 FreeList(func->declarations, (void *)(FreeDeclaration));
2616 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(&func->attached, (((void *)0)));
2617 ((func ? (__ecereClass_ClassFunction->Destructor ? __ecereClass_ClassFunction->Destructor((void *)func) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(func)) : 0), func = 0);
2620 void FreeClassDef(struct ClassDef * def)
2625 if(def->__anon1.decl)
2626 FreeDeclaration(def->__anon1.decl);
2630 FreeList(def->__anon1.defProperties, (void *)(FreeMemberInit));
2634 if(def->__anon1.function)
2635 FreeClassFunction(def->__anon1.function);
2638 if(def->__anon1.propertyDef)
2639 FreeProperty(def->__anon1.propertyDef);
2642 if(def->__anon1.propertyDef)
2643 FreeProperty(def->__anon1.propertyDef);
2649 if(def->__anon1.decl)
2650 FreeDeclaration(def->__anon1.decl);
2655 (__ecereNameSpace__ecere__com__eSystem_Delete(def->__anon1.designer), def->__anon1.designer = 0);
2663 if(def->__anon1.__anon1.id)
2664 FreeIdentifier(def->__anon1.__anon1.id);
2665 if(def->__anon1.__anon1.initializer)
2666 FreeInitializer(def->__anon1.__anon1.initializer);
2670 if(def->__anon1.defaultProperty)
2671 FreeIdentifier(def->__anon1.defaultProperty);
2678 if(def->__anon1.propertyWatch)
2679 FreePropertyWatch(def->__anon1.propertyWatch);
2683 ((def ? (__ecereClass_ClassDef->Destructor ? __ecereClass_ClassDef->Destructor((void *)def) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(def)) : 0), def = 0);
2686 void FreeSpecifierContents(struct Specifier * spec)
2691 (__ecereNameSpace__ecere__com__eSystem_Delete(spec->__anon1.__anon1.name), spec->__anon1.__anon1.name = 0);
2692 if(spec->__anon1.__anon1.templateArgs)
2694 FreeList(spec->__anon1.__anon1.templateArgs, (void *)(FreeTemplateArgument));
2695 spec->__anon1.__anon1.templateArgs = (((void *)0));
2699 if(spec->__anon1.__anon1.extDecl)
2701 FreeExtDecl(spec->__anon1.__anon1.extDecl);
2702 spec->__anon1.__anon1.extDecl = (((void *)0));
2706 if(spec->__anon1.__anon2.baseSpecs)
2708 FreeList(spec->__anon1.__anon2.baseSpecs, (void *)(FreeSpecifier));
2709 spec->__anon1.__anon2.baseSpecs = (((void *)0));
2711 if(spec->__anon1.__anon2.id)
2713 FreeIdentifier(spec->__anon1.__anon2.id);
2714 spec->__anon1.__anon2.id = (((void *)0));
2716 if(spec->__anon1.__anon2.list)
2718 FreeList(spec->__anon1.__anon2.list, (void *)(FreeEnumerator));
2719 spec->__anon1.__anon2.list = (((void *)0));
2721 if(spec->__anon1.__anon2.definitions)
2723 FreeList(spec->__anon1.__anon2.definitions, (void *)(FreeClassDef));
2724 spec->__anon1.__anon2.definitions = (((void *)0));
2729 if(spec->__anon1.__anon2.id)
2731 FreeIdentifier(spec->__anon1.__anon2.id);
2732 spec->__anon1.__anon2.id = (((void *)0));
2734 if(spec->__anon1.__anon2.definitions)
2736 FreeList(spec->__anon1.__anon2.definitions, (void *)(FreeClassDef));
2737 spec->__anon1.__anon2.definitions = (((void *)0));
2739 if(spec->__anon1.__anon2.baseSpecs)
2741 FreeList(spec->__anon1.__anon2.baseSpecs, (void *)(FreeSpecifier));
2742 spec->__anon1.__anon2.baseSpecs = (((void *)0));
2744 if(spec->__anon1.__anon2.extDeclStruct)
2746 FreeExtDecl(spec->__anon1.__anon2.extDeclStruct);
2747 spec->__anon1.__anon2.extDeclStruct = (((void *)0));
2749 if(spec->__anon1.__anon2.ctx)
2751 FreeContext(spec->__anon1.__anon2.ctx);
2752 ((spec->__anon1.__anon2.ctx ? (__ecereClass_Context->Destructor ? __ecereClass_Context->Destructor((void *)spec->__anon1.__anon2.ctx) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(spec->__anon1.__anon2.ctx)) : 0), spec->__anon1.__anon2.ctx = 0);
2756 if(spec->__anon1._class)
2758 FreeSpecifier(spec->__anon1._class);
2759 spec->__anon1._class = (((void *)0));
2765 void FreeClass(struct ClassDefinition * _class)
2767 if(_class->definitions)
2768 FreeList(_class->definitions, (void *)(FreeClassDef));
2770 FreeSpecifier(_class->_class);
2771 if(_class->baseSpecs)
2772 FreeList(_class->baseSpecs, (void *)(FreeSpecifier));
2773 ((_class ? (__ecereClass_ClassDefinition->Destructor ? __ecereClass_ClassDefinition->Destructor((void *)_class) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(_class)) : 0), _class = 0);
2776 void FreeExternal(struct External * external)
2778 struct TopoEdge * e;
2780 while((e = ((struct __ecereNameSpace__ecere__com__LinkList *)(((char *)external->incoming + 0 + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->first))
2782 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2783 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = e->from->outgoing;
2785 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2786 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(e->from->outgoing, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2787 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2788 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = external->incoming;
2790 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2791 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(external->incoming, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2792 ((e ? (__ecereClass_TopoEdge->Destructor ? __ecereClass_TopoEdge->Destructor((void *)e) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(e)) : 0), e = 0);
2794 while((e = ((struct __ecereNameSpace__ecere__com__LinkList *)(((char *)external->outgoing + 0 + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->first))
2796 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2797 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = e->to->incoming;
2799 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2800 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(e->to->incoming, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2801 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2802 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = external->outgoing;
2804 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2805 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(external->outgoing, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2807 e->to->nonBreakableIncoming--;
2808 ((e ? (__ecereClass_TopoEdge->Destructor ? __ecereClass_TopoEdge->Destructor((void *)e) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(e)) : 0), e = 0);
2810 switch(external->type)
2813 if(external->__anon1.function)
2814 FreeFunction(external->__anon1.function);
2817 if(external->__anon1.declaration)
2818 FreeDeclaration(external->__anon1.declaration);
2821 if(external->__anon1._class)
2822 FreeClass(external->__anon1._class);
2825 (__ecereNameSpace__ecere__com__eSystem_Delete(external->__anon1.importString), external->__anon1.importString = 0);
2828 FreeIdentifier(external->__anon1.id);
2831 if(external->__anon1.table)
2832 FreeDBTable(external->__anon1.table);
2835 ((external ? (__ecereClass_External->Destructor ? __ecereClass_External->Destructor((void *)external) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(external)) : 0), external = 0);
2838 void __ecereRegisterModule_freeAst(struct __ecereNameSpace__ecere__com__Instance * module)
2840 struct __ecereNameSpace__ecere__com__Class __attribute__((unused)) * class;
2842 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeList", "void FreeList(ecere::sys::OldList list, void (* FreeFunction)(void *))", FreeList, module, 2);
2843 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeType", "void FreeType(Type type)", FreeType, module, 1);
2844 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeSymbol", "void FreeSymbol(Symbol symbol)", FreeSymbol, module, 2);
2845 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeMethodImport", "void FreeMethodImport(MethodImport imp)", FreeMethodImport, module, 2);
2846 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreePropertyImport", "void FreePropertyImport(MethodImport imp)", FreePropertyImport, module, 2);
2847 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClassImport", "void FreeClassImport(ClassImport imp)", FreeClassImport, module, 2);
2848 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeFunctionImport", "void FreeFunctionImport(ClassImport imp)", FreeFunctionImport, module, 2);
2849 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeModuleImport", "void FreeModuleImport(ModuleImport imp)", FreeModuleImport, module, 1);
2850 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeModuleDefine", "void FreeModuleDefine(Definition def)", FreeModuleDefine, module, 1);
2851 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExcludedSymbols", "void FreeExcludedSymbols(ecere::sys::OldList excludedSymbols)", FreeExcludedSymbols, module, 1);
2852 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateArgument", "void FreeTemplateArgument(TemplateArgument arg)", FreeTemplateArgument, module, 1);
2853 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateDataType", "void FreeTemplateDataType(TemplateDatatype type)", FreeTemplateDataType, module, 1);
2854 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateParameter", "void FreeTemplateParameter(TemplateParameter param)", FreeTemplateParameter, module, 1);
2855 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateType", "void FreeTemplateType(TemplatedType type)", FreeTemplateType, module, 1);
2856 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeContext", "void FreeContext(Context context)", FreeContext, module, 1);
2857 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeEnumerator", "void FreeEnumerator(Enumerator enumerator)", FreeEnumerator, module, 2);
2858 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeSpecifier", "void FreeSpecifier(Specifier spec)", FreeSpecifier, module, 2);
2859 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeSpecifierContents", "void FreeSpecifierContents(Specifier spec)", FreeSpecifierContents, module, 2);
2860 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeIdentifier", "void FreeIdentifier(Identifier id)", FreeIdentifier, module, 1);
2861 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTypeName", "void FreeTypeName(TypeName typeName)", FreeTypeName, module, 2);
2862 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExpContents", "void FreeExpContents(Expression exp)", FreeExpContents, module, 1);
2863 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExpression", "void FreeExpression(Expression exp)", FreeExpression, module, 1);
2864 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreePointer", "void FreePointer(Pointer pointer)", FreePointer, module, 2);
2865 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeAttrib", "void FreeAttrib(Attrib attr)", FreeAttrib, module, 2);
2866 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeAttribute", "void FreeAttribute(Attribute attr)", FreeAttribute, module, 2);
2867 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExtDecl", "void FreeExtDecl(ExtDecl extDecl)", FreeExtDecl, module, 2);
2868 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDeclarator", "void FreeDeclarator(Declarator decl)", FreeDeclarator, module, 2);
2869 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreePropertyWatch", "void FreePropertyWatch(PropertyWatch watcher)", FreePropertyWatch, module, 2);
2870 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeAsmField", "void FreeAsmField(AsmField field)", FreeAsmField, module, 2);
2871 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeStatement", "void FreeStatement(Statement stmt)", FreeStatement, module, 2);
2872 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeInitializer", "void FreeInitializer(Initializer initializer)", FreeInitializer, module, 2);
2873 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeInitDeclarator", "void FreeInitDeclarator(InitDeclarator decl)", FreeInitDeclarator, module, 2);
2874 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDeclaration", "void FreeDeclaration(Declaration decl)", FreeDeclaration, module, 2);
2875 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeFunction", "void FreeFunction(FunctionDefinition func)", FreeFunction, module, 2);
2876 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeMemberInit", "void FreeMemberInit(MemberInit init)", FreeMemberInit, module, 2);
2877 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeMembersInit", "void FreeMembersInit(MembersInit init)", FreeMembersInit, module, 2);
2878 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeInstance", "void FreeInstance(Instantiation inst)", FreeInstance, module, 1);
2879 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClassFunction", "void FreeClassFunction(ClassFunction func)", FreeClassFunction, module, 1);
2880 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeProperty", "void FreeProperty(PropertyDef def)", FreeProperty, module, 2);
2881 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClassDef", "void FreeClassDef(ClassDef def)", FreeClassDef, module, 2);
2882 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClass", "void FreeClass(ClassDefinition _class)", FreeClass, module, 2);
2883 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDBIndexItem", "void FreeDBIndexItem(DBIndexItem item)", FreeDBIndexItem, module, 2);
2884 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDBTableEntry", "void FreeDBTableEntry(DBTableEntry entry)", FreeDBTableEntry, module, 2);
2885 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDBTable", "void FreeDBTable(DBTableDef table)", FreeDBTable, module, 2);
2886 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExternal", "void FreeExternal(External external)", FreeExternal, module, 2);
2887 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeASTTree", "void FreeASTTree(ecere::sys::OldList ast)", FreeASTTree, module, 1);
2888 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeModuleData", "void FreeModuleData(ecere::com::Module module)", FreeModuleData, module, 2);
2889 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTypeData", "void FreeTypeData(ecere::com::Module privateModule)", FreeTypeData, module, 1);