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 unsigned int mustRegister;
580 } __attribute__ ((gcc_struct));
582 struct __ecereNameSpace__ecere__com__ClassProperty
585 struct __ecereNameSpace__ecere__com__ClassProperty * parent;
586 struct __ecereNameSpace__ecere__com__ClassProperty * left;
587 struct __ecereNameSpace__ecere__com__ClassProperty * right;
589 void (* Set)(struct __ecereNameSpace__ecere__com__Class *, long long);
590 long long (* Get)(struct __ecereNameSpace__ecere__com__Class *);
591 const char * dataTypeString;
592 struct Type * dataType;
593 unsigned int constant;
594 } __attribute__ ((gcc_struct));
596 void FreeSymbol(struct Symbol * symbol);
598 void FreeExcludedSymbols(struct __ecereNameSpace__ecere__sys__OldList * excludedSymbols)
600 struct Symbol * symbol;
602 while((symbol = excludedSymbols->first))
604 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(excludedSymbols, symbol);
615 struct Enumerator * prev;
616 struct Enumerator * next;
618 struct Identifier * id;
619 struct Expression * exp;
620 } __attribute__ ((gcc_struct));
624 struct Identifier * prev;
625 struct Identifier * next;
627 struct Symbol * classSym;
628 struct Specifier * _class;
630 struct Identifier * badID;
631 } __attribute__ ((gcc_struct));
635 struct Declarator * prev;
636 struct Declarator * next;
639 struct Symbol * symbol;
640 struct Declarator * declarator;
643 struct Identifier * identifier;
646 struct Expression * exp;
647 struct Expression * posExp;
648 struct Attrib * attrib;
649 } __attribute__ ((gcc_struct)) structDecl;
652 struct Expression * exp;
653 struct Specifier * enumClass;
654 } __attribute__ ((gcc_struct)) array;
657 struct __ecereNameSpace__ecere__sys__OldList * parameters;
658 } __attribute__ ((gcc_struct)) function;
661 struct Pointer * pointer;
662 } __attribute__ ((gcc_struct)) pointer;
665 struct ExtDecl * extended;
666 } __attribute__ ((gcc_struct)) extended;
667 } __attribute__ ((gcc_struct)) __anon1;
668 } __attribute__ ((gcc_struct));
672 struct AsmField * prev;
673 struct AsmField * next;
676 struct Expression * expression;
677 struct Identifier * symbolic;
678 } __attribute__ ((gcc_struct));
682 struct Initializer * prev;
683 struct Initializer * next;
688 struct Expression * exp;
689 struct __ecereNameSpace__ecere__sys__OldList * list;
690 } __attribute__ ((gcc_struct)) __anon1;
691 unsigned int isConstant;
692 struct Identifier * id;
693 } __attribute__ ((gcc_struct));
697 struct DBIndexItem * prev;
698 struct DBIndexItem * next;
699 struct Identifier * id;
701 } __attribute__ ((gcc_struct));
707 struct TypeName * prev;
708 struct TypeName * next;
710 struct __ecereNameSpace__ecere__sys__OldList * qualifiers;
711 struct Declarator * declarator;
713 struct Expression * bitCount;
714 } __attribute__ ((gcc_struct));
718 struct DBTableEntry * prev;
719 struct DBTableEntry * next;
721 struct Identifier * id;
726 struct TypeName * dataType;
728 } __attribute__ ((gcc_struct)) __anon1;
729 struct __ecereNameSpace__ecere__sys__OldList * items;
730 } __attribute__ ((gcc_struct)) __anon1;
731 } __attribute__ ((gcc_struct));
733 void FreeExternal(struct External * external);
735 void FreeASTTree(struct __ecereNameSpace__ecere__sys__OldList * ast)
737 if(ast != (((void *)0)))
739 struct External * external;
741 while((external = ast->first))
743 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(ast, external);
744 FreeExternal(external);
746 (__ecereNameSpace__ecere__com__eSystem_Delete(ast), ast = 0);
750 struct ClassFunction;
754 struct MembersInit * prev;
755 struct MembersInit * next;
760 struct __ecereNameSpace__ecere__sys__OldList * dataMembers;
761 struct ClassFunction * function;
762 } __attribute__ ((gcc_struct)) __anon1;
763 } __attribute__ ((gcc_struct));
767 struct ClassFunction * prev;
768 struct ClassFunction * next;
770 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
771 struct Declarator * declarator;
772 struct __ecereNameSpace__ecere__sys__OldList * declarations;
773 struct Statement * body;
774 struct __ecereNameSpace__ecere__com__Class * _class;
775 struct __ecereNameSpace__ecere__sys__OldList attached;
778 struct Symbol * propSet;
779 unsigned int isVirtual;
780 unsigned int isConstructor;
781 unsigned int isDestructor;
782 unsigned int dontMangle;
785 } __attribute__ ((gcc_struct));
787 struct InitDeclarator;
789 struct InitDeclarator
791 struct InitDeclarator * prev;
792 struct InitDeclarator * next;
794 struct Declarator * declarator;
795 struct Initializer * initializer;
796 } __attribute__ ((gcc_struct));
798 struct __ecereNameSpace__ecere__com__DataMember;
800 struct __ecereNameSpace__ecere__com__ClassTemplateArgument
806 const char * dataTypeString;
807 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
808 } __attribute__ ((gcc_struct)) __anon1;
809 struct __ecereNameSpace__ecere__com__DataValue expression;
812 const char * memberString;
815 struct __ecereNameSpace__ecere__com__DataMember * member;
816 struct __ecereNameSpace__ecere__com__Property * prop;
817 struct __ecereNameSpace__ecere__com__Method * method;
818 } __attribute__ ((gcc_struct)) __anon1;
819 } __attribute__ ((gcc_struct)) __anon2;
820 } __attribute__ ((gcc_struct)) __anon1;
821 } __attribute__ ((gcc_struct));
823 struct __ecereNameSpace__ecere__com__DataMember
825 struct __ecereNameSpace__ecere__com__DataMember * prev;
826 struct __ecereNameSpace__ecere__com__DataMember * next;
828 unsigned int isProperty;
831 struct __ecereNameSpace__ecere__com__Class * _class;
832 const char * dataTypeString;
833 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
834 struct Type * dataType;
838 struct __ecereNameSpace__ecere__sys__OldList members;
839 struct __ecereNameSpace__ecere__sys__BinaryTree membersAlpha;
841 short structAlignment;
842 short pointerAlignment;
843 } __attribute__ ((gcc_struct));
845 struct __ecereNameSpace__ecere__com__NameSpace;
847 struct __ecereNameSpace__ecere__com__NameSpace
850 struct __ecereNameSpace__ecere__com__NameSpace * btParent;
851 struct __ecereNameSpace__ecere__com__NameSpace * left;
852 struct __ecereNameSpace__ecere__com__NameSpace * right;
854 struct __ecereNameSpace__ecere__com__NameSpace * parent;
855 struct __ecereNameSpace__ecere__sys__BinaryTree nameSpaces;
856 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
857 struct __ecereNameSpace__ecere__sys__BinaryTree defines;
858 struct __ecereNameSpace__ecere__sys__BinaryTree functions;
859 } __attribute__ ((gcc_struct));
861 struct __ecereNameSpace__ecere__com__Class
863 struct __ecereNameSpace__ecere__com__Class * prev;
864 struct __ecereNameSpace__ecere__com__Class * next;
870 unsigned int (* Constructor)(void * );
871 void (* Destructor)(void * );
874 struct __ecereNameSpace__ecere__com__Class * base;
875 struct __ecereNameSpace__ecere__sys__BinaryTree methods;
876 struct __ecereNameSpace__ecere__sys__BinaryTree members;
877 struct __ecereNameSpace__ecere__sys__BinaryTree prop;
878 struct __ecereNameSpace__ecere__sys__OldList membersAndProperties;
879 struct __ecereNameSpace__ecere__sys__BinaryTree classProperties;
880 struct __ecereNameSpace__ecere__sys__OldList derivatives;
884 struct __ecereNameSpace__ecere__com__Instance * module;
885 struct __ecereNameSpace__ecere__com__NameSpace * nameSpace;
886 const char * dataTypeString;
887 struct Type * dataType;
889 int defaultAlignment;
890 void (* Initialize)();
892 struct __ecereNameSpace__ecere__sys__OldList selfWatchers;
893 const char * designerClass;
894 unsigned int noExpansion;
895 const char * defaultProperty;
896 unsigned int comRedefinition;
899 unsigned int internalDecl;
901 unsigned int computeSize;
902 short structAlignment;
903 short pointerAlignment;
904 int destructionWatchOffset;
906 struct __ecereNameSpace__ecere__sys__OldList delayedCPValues;
907 int inheritanceAccess;
908 const char * fullName;
910 struct __ecereNameSpace__ecere__sys__OldList conversions;
911 struct __ecereNameSpace__ecere__sys__OldList templateParams;
912 struct __ecereNameSpace__ecere__com__ClassTemplateArgument * templateArgs;
913 struct __ecereNameSpace__ecere__com__Class * templateClass;
914 struct __ecereNameSpace__ecere__sys__OldList templatized;
916 unsigned int isInstanceClass;
917 unsigned int byValueSystemClass;
918 } __attribute__ ((gcc_struct));
920 struct __ecereNameSpace__ecere__com__GlobalFunction
922 struct __ecereNameSpace__ecere__com__GlobalFunction * prev;
923 struct __ecereNameSpace__ecere__com__GlobalFunction * next;
926 struct __ecereNameSpace__ecere__com__Instance * module;
927 struct __ecereNameSpace__ecere__com__NameSpace * nameSpace;
928 const char * dataTypeString;
929 struct Type * dataType;
931 } __attribute__ ((gcc_struct));
933 struct __ecereNameSpace__ecere__com__Application
938 unsigned int isGUIApp;
939 struct __ecereNameSpace__ecere__sys__OldList allModules;
940 char * parsedCommand;
941 struct __ecereNameSpace__ecere__com__NameSpace systemNameSpace;
942 } __attribute__ ((gcc_struct));
944 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__NamedLink64;
946 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Type;
948 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Context;
950 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Symbol;
952 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplateArgument;
954 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplateDatatype;
956 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplateParameter;
958 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TemplatedType;
960 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__BTNode;
962 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Enumerator;
964 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Specifier;
966 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Identifier;
968 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TypeName;
970 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Expression;
972 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Pointer;
974 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Attrib;
976 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Attribute;
978 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ExtDecl;
980 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Declarator;
982 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_PropertyWatch;
984 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_AsmField;
986 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Statement;
988 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Initializer;
990 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_InitDeclarator;
992 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Declaration;
994 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_FunctionDefinition;
996 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_MemberInit;
998 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_MembersInit;
1000 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Instantiation;
1002 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassFunction;
1004 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_PropertyDef;
1006 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassDef;
1008 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_ClassDefinition;
1010 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_DBIndexItem;
1012 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_DBTableEntry;
1014 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_DBTableDef;
1016 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__LinkList;
1018 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_TopoEdge;
1020 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_External;
1022 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Module;
1024 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__List;
1026 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Map;
1028 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Application;
1030 struct __ecereNameSpace__ecere__com__Module
1032 struct __ecereNameSpace__ecere__com__Instance * application;
1033 struct __ecereNameSpace__ecere__sys__OldList classes;
1034 struct __ecereNameSpace__ecere__sys__OldList defines;
1035 struct __ecereNameSpace__ecere__sys__OldList functions;
1036 struct __ecereNameSpace__ecere__sys__OldList modules;
1037 struct __ecereNameSpace__ecere__com__Instance * prev;
1038 struct __ecereNameSpace__ecere__com__Instance * next;
1044 struct __ecereNameSpace__ecere__com__NameSpace privateNameSpace;
1045 struct __ecereNameSpace__ecere__com__NameSpace publicNameSpace;
1046 } __attribute__ ((gcc_struct));
1048 void FreeTemplateType(struct TemplatedType * type)
1050 ((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);
1053 void FreeAttribute(struct Attribute * attr)
1055 (__ecereNameSpace__ecere__com__eSystem_Delete(attr->attr), attr->attr = 0);
1057 FreeExpression(attr->exp);
1058 ((attr ? (__ecereClass_Attribute->Destructor ? __ecereClass_Attribute->Destructor((void *)attr) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(attr)) : 0), attr = 0);
1061 void __ecereUnregisterModule_freeAst(struct __ecereNameSpace__ecere__com__Instance * module)
1066 void FreeAttrib(struct Attrib * attr)
1069 FreeList(attr->attribs, (void *)(FreeAttribute));
1070 ((attr ? (__ecereClass_Attrib->Destructor ? __ecereClass_Attrib->Destructor((void *)attr) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(attr)) : 0), attr = 0);
1073 void FreeExtDecl(struct ExtDecl * extDecl)
1075 if(extDecl->type == 1 && extDecl->__anon1.attr)
1076 FreeAttrib(extDecl->__anon1.attr);
1077 else if(extDecl->type == 0)
1078 (__ecereNameSpace__ecere__com__eSystem_Delete(extDecl->__anon1.s), extDecl->__anon1.s = 0);
1079 ((extDecl ? (__ecereClass_ExtDecl->Destructor ? __ecereClass_ExtDecl->Destructor((void *)extDecl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(extDecl)) : 0), extDecl = 0);
1082 struct ClassDefinition;
1086 struct Context * parent;
1087 struct __ecereNameSpace__ecere__sys__BinaryTree types;
1088 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
1089 struct __ecereNameSpace__ecere__sys__BinaryTree symbols;
1090 struct __ecereNameSpace__ecere__sys__BinaryTree structSymbols;
1093 struct __ecereNameSpace__ecere__sys__BinaryTree templateTypes;
1094 struct ClassDefinition * classDef;
1095 unsigned int templateTypesOnly;
1096 unsigned int hasNameSpace;
1097 } __attribute__ ((gcc_struct));
1099 struct ClassDefinition
1101 struct ClassDefinition * prev;
1102 struct ClassDefinition * next;
1103 struct Location loc;
1104 struct Specifier * _class;
1105 struct __ecereNameSpace__ecere__sys__OldList * baseSpecs;
1106 struct __ecereNameSpace__ecere__sys__OldList * definitions;
1107 struct Symbol * symbol;
1108 struct Location blockStart;
1109 struct Location nameLoc;
1111 unsigned int deleteWatchable;
1112 } __attribute__ ((gcc_struct));
1114 void FreeContext(struct Context * context)
1116 struct Symbol * symbol;
1118 if(context == curContext)
1119 curContext = globalContext;
1120 while((symbol = (struct Symbol *)context->types.root))
1122 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->types, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1125 while((symbol = (struct Symbol *)context->classes.root))
1127 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->classes, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1130 while((symbol = (struct Symbol *)context->symbols.root))
1132 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->symbols, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1135 while((symbol = (struct Symbol *)context->structSymbols.root))
1137 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->structSymbols, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1140 while((symbol = (struct Symbol *)context->templateTypes.root))
1142 __ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_Remove(&context->templateTypes, (struct __ecereNameSpace__ecere__sys__BTNode *)symbol);
1143 FreeTemplateType((struct TemplatedType *)symbol);
1145 context->nextID = 0;
1146 context->simpleID = 0;
1147 context->parent = (((void *)0));
1150 struct TemplateParameter;
1159 struct Symbol * _class;
1162 struct __ecereNameSpace__ecere__sys__OldList members;
1164 } __attribute__ ((gcc_struct)) __anon1;
1167 struct Type * returnType;
1168 struct __ecereNameSpace__ecere__sys__OldList params;
1169 struct Symbol * thisClass;
1170 unsigned int staticMethod;
1171 struct TemplateParameter * thisClassTemplate;
1172 } __attribute__ ((gcc_struct)) __anon2;
1175 struct __ecereNameSpace__ecere__com__Method * method;
1176 struct __ecereNameSpace__ecere__com__Class * methodClass;
1177 struct __ecereNameSpace__ecere__com__Class * usedClass;
1178 } __attribute__ ((gcc_struct)) __anon3;
1181 struct Type * arrayType;
1183 struct Expression * arraySizeExp;
1184 unsigned int freeExp;
1185 struct Symbol * enumClass;
1186 } __attribute__ ((gcc_struct)) __anon4;
1188 struct TemplateParameter * templateParameter;
1189 } __attribute__ ((gcc_struct)) __anon1;
1194 struct __ecereNameSpace__ecere__com__Class * thisClassFrom;
1195 int classObjectType;
1197 unsigned int offset;
1200 unsigned int isSigned : 1;
1201 unsigned int constant : 1;
1202 unsigned int truth : 1;
1203 unsigned int byReference : 1;
1204 unsigned int extraParam : 1;
1205 unsigned int directClassAccess : 1;
1206 unsigned int computing : 1;
1207 unsigned int keepCast : 1;
1208 unsigned int passAsTemplate : 1;
1209 unsigned int dllExport : 1;
1210 unsigned int attrStdcall : 1;
1211 unsigned int declaredWithStruct : 1;
1212 unsigned int typedByReference : 1;
1213 unsigned int casted : 1;
1214 unsigned int pointerAlignment : 1;
1215 unsigned int isLong : 1;
1216 } __attribute__ ((gcc_struct));
1220 struct Specifier * prev;
1221 struct Specifier * next;
1222 struct Location loc;
1229 struct ExtDecl * extDecl;
1231 struct Symbol * symbol;
1232 struct __ecereNameSpace__ecere__sys__OldList * templateArgs;
1233 struct Specifier * nsSpec;
1234 } __attribute__ ((gcc_struct)) __anon1;
1237 struct Identifier * id;
1238 struct __ecereNameSpace__ecere__sys__OldList * list;
1239 struct __ecereNameSpace__ecere__sys__OldList * baseSpecs;
1240 struct __ecereNameSpace__ecere__sys__OldList * definitions;
1241 unsigned int addNameSpace;
1242 struct Context * ctx;
1243 struct ExtDecl * extDeclStruct;
1244 } __attribute__ ((gcc_struct)) __anon2;
1245 struct Expression * expression;
1246 struct Specifier * _class;
1247 struct TemplateParameter * templateParameter;
1248 } __attribute__ ((gcc_struct)) __anon1;
1249 } __attribute__ ((gcc_struct));
1251 void FreeType(struct Type * type)
1256 if(type->refCount <= 0)
1262 struct __ecereNameSpace__ecere__sys__NamedLink64 * member, * next;
1264 (__ecereNameSpace__ecere__com__eSystem_Delete(type->__anon1.__anon1.enumName), type->__anon1.__anon1.enumName = 0);
1265 for(member = type->__anon1.__anon1.members.first; member; member = next)
1267 next = member->next;
1268 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(&type->__anon1.__anon1.members, member);
1269 (__ecereNameSpace__ecere__com__eSystem_Delete(member->name), member->name = 0);
1270 ((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);
1277 struct Type * member, * next;
1279 (__ecereNameSpace__ecere__com__eSystem_Delete(type->__anon1.__anon1.enumName), type->__anon1.__anon1.enumName = 0);
1280 for(member = type->__anon1.__anon1.members.first; member; member = next)
1282 next = member->next;
1283 if(member->refCount == 1)
1284 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Remove(&type->__anon1.__anon1.members, member);
1291 struct Type * param, * next;
1293 if(type->__anon1.__anon2.returnType)
1294 FreeType(type->__anon1.__anon2.returnType);
1295 for(param = type->__anon1.__anon2.params.first; param; param = next)
1303 if(type->__anon1.__anon4.freeExp && type->__anon1.__anon4.arraySizeExp)
1304 FreeExpression(type->__anon1.__anon4.arraySizeExp);
1306 if(type->__anon1.type)
1307 FreeType(type->__anon1.type);
1310 (__ecereNameSpace__ecere__com__eSystem_Delete(type->name), type->name = 0);
1311 (__ecereNameSpace__ecere__com__eSystem_Delete(type->typeName), type->typeName = 0);
1312 ((type ? (__ecereClass_Type->Destructor ? __ecereClass_Type->Destructor((void *)type) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(type)) : 0), type = 0);
1317 static void FreeDataMember(struct __ecereNameSpace__ecere__com__DataMember * parentMember)
1319 struct __ecereNameSpace__ecere__com__DataMember * dataMember;
1321 for(dataMember = parentMember->members.first; dataMember; dataMember = dataMember->next)
1323 if(dataMember->type == 2 || dataMember->type == 1)
1324 FreeDataMember(dataMember);
1325 if(dataMember->dataType)
1327 FreeType(dataMember->dataType);
1328 dataMember->dataType = (((void *)0));
1333 static void FreeClassProperties(struct __ecereNameSpace__ecere__com__ClassProperty * classProp)
1336 FreeClassProperties(classProp->left);
1337 if(classProp->right)
1338 FreeClassProperties(classProp->right);
1339 if(classProp->dataType)
1341 FreeType(classProp->dataType);
1342 classProp->dataType = (((void *)0));
1346 struct FunctionDefinition;
1348 struct FunctionDefinition
1350 struct FunctionDefinition * prev;
1351 struct FunctionDefinition * next;
1352 struct Location loc;
1353 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1354 struct Declarator * declarator;
1355 struct __ecereNameSpace__ecere__sys__OldList * declarations;
1356 struct Statement * body;
1357 struct __ecereNameSpace__ecere__com__Class * _class;
1358 struct __ecereNameSpace__ecere__sys__OldList attached;
1361 struct Symbol * propSet;
1363 unsigned int propertyNoThis;
1364 } __attribute__ ((gcc_struct));
1366 struct Instantiation;
1370 struct Expression * prev;
1371 struct Expression * next;
1372 struct Location loc;
1379 struct Identifier * identifier;
1380 } __attribute__ ((gcc_struct)) __anon1;
1381 struct Statement * compound;
1382 struct Instantiation * instance;
1386 unsigned int intlString;
1387 unsigned int wideString;
1388 } __attribute__ ((gcc_struct)) __anon2;
1389 struct __ecereNameSpace__ecere__sys__OldList * list;
1392 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1393 struct Declarator * decl;
1394 } __attribute__ ((gcc_struct)) _classExp;
1397 struct Identifier * id;
1398 } __attribute__ ((gcc_struct)) classData;
1401 struct Expression * exp;
1402 struct __ecereNameSpace__ecere__sys__OldList * arguments;
1403 struct Location argLoc;
1404 } __attribute__ ((gcc_struct)) call;
1407 struct Expression * exp;
1408 struct __ecereNameSpace__ecere__sys__OldList * index;
1409 } __attribute__ ((gcc_struct)) index;
1412 struct Expression * exp;
1413 struct Identifier * member;
1415 unsigned int thisPtr;
1416 } __attribute__ ((gcc_struct)) member;
1420 struct Expression * exp1;
1421 struct Expression * exp2;
1422 } __attribute__ ((gcc_struct)) op;
1423 struct TypeName * typeName;
1424 struct Specifier * _class;
1427 struct TypeName * typeName;
1428 struct Expression * exp;
1429 } __attribute__ ((gcc_struct)) cast;
1432 struct Expression * cond;
1433 struct __ecereNameSpace__ecere__sys__OldList * exp;
1434 struct Expression * elseExp;
1435 } __attribute__ ((gcc_struct)) cond;
1438 struct TypeName * typeName;
1439 struct Expression * size;
1440 } __attribute__ ((gcc_struct)) _new;
1443 struct TypeName * typeName;
1444 struct Expression * size;
1445 struct Expression * exp;
1446 } __attribute__ ((gcc_struct)) _renew;
1450 struct Identifier * id;
1451 } __attribute__ ((gcc_struct)) db;
1454 struct Expression * ds;
1455 struct Expression * name;
1456 } __attribute__ ((gcc_struct)) dbopen;
1459 struct TypeName * typeName;
1460 struct Initializer * initializer;
1461 } __attribute__ ((gcc_struct)) initializer;
1464 struct Expression * exp;
1465 struct TypeName * typeName;
1466 } __attribute__ ((gcc_struct)) vaArg;
1467 } __attribute__ ((gcc_struct)) __anon1;
1468 unsigned int debugValue;
1469 struct __ecereNameSpace__ecere__com__DataValue val;
1471 unsigned int hasAddress;
1472 struct Type * expType;
1473 struct Type * destType;
1476 unsigned int byReference;
1477 unsigned int isConstant;
1478 unsigned int addedThis;
1479 unsigned int needCast;
1480 unsigned int thisPtr;
1481 unsigned int opDestType;
1482 unsigned int needTemplateCast;
1483 } __attribute__ ((gcc_struct));
1485 struct Instantiation
1487 struct Instantiation * prev;
1488 struct Instantiation * next;
1489 struct Location loc;
1490 struct Specifier * _class;
1491 struct Expression * exp;
1492 struct __ecereNameSpace__ecere__sys__OldList * members;
1493 struct Symbol * symbol;
1494 unsigned int fullSet;
1495 unsigned int isConstant;
1496 unsigned char * data;
1497 struct Location nameLoc;
1498 struct Location insideLoc;
1500 } __attribute__ ((gcc_struct));
1502 struct TemplateArgument;
1504 struct TemplateArgument
1506 struct TemplateArgument * prev;
1507 struct TemplateArgument * next;
1508 struct Location loc;
1509 struct Identifier * name;
1513 struct Expression * expression;
1514 struct Identifier * identifier;
1515 struct TemplateDatatype * templateDatatype;
1516 } __attribute__ ((gcc_struct)) __anon1;
1517 } __attribute__ ((gcc_struct));
1519 struct TemplateParameter
1521 struct TemplateParameter * prev;
1522 struct TemplateParameter * next;
1523 struct Location loc;
1525 struct Identifier * identifier;
1528 struct TemplateDatatype * dataType;
1530 } __attribute__ ((gcc_struct)) __anon1;
1531 struct TemplateArgument * defaultArgument;
1532 const char * dataTypeString;
1533 struct Type * baseType;
1534 } __attribute__ ((gcc_struct));
1540 struct Statement * prev;
1541 struct Statement * next;
1542 struct Location loc;
1546 struct __ecereNameSpace__ecere__sys__OldList * expressions;
1549 struct Identifier * id;
1550 struct Statement * stmt;
1551 } __attribute__ ((gcc_struct)) labeled;
1554 struct Expression * exp;
1555 struct Statement * stmt;
1556 } __attribute__ ((gcc_struct)) caseStmt;
1559 struct __ecereNameSpace__ecere__sys__OldList * declarations;
1560 struct __ecereNameSpace__ecere__sys__OldList * statements;
1561 struct Context * context;
1562 unsigned int isSwitch;
1563 } __attribute__ ((gcc_struct)) compound;
1566 struct __ecereNameSpace__ecere__sys__OldList * exp;
1567 struct Statement * stmt;
1568 struct Statement * elseStmt;
1569 } __attribute__ ((gcc_struct)) ifStmt;
1572 struct __ecereNameSpace__ecere__sys__OldList * exp;
1573 struct Statement * stmt;
1574 } __attribute__ ((gcc_struct)) switchStmt;
1577 struct __ecereNameSpace__ecere__sys__OldList * exp;
1578 struct Statement * stmt;
1579 } __attribute__ ((gcc_struct)) whileStmt;
1582 struct __ecereNameSpace__ecere__sys__OldList * exp;
1583 struct Statement * stmt;
1584 } __attribute__ ((gcc_struct)) doWhile;
1587 struct Statement * init;
1588 struct Statement * check;
1589 struct __ecereNameSpace__ecere__sys__OldList * increment;
1590 struct Statement * stmt;
1591 } __attribute__ ((gcc_struct)) forStmt;
1594 struct Identifier * id;
1595 } __attribute__ ((gcc_struct)) gotoStmt;
1598 struct Specifier * spec;
1600 struct __ecereNameSpace__ecere__sys__OldList * inputFields;
1601 struct __ecereNameSpace__ecere__sys__OldList * outputFields;
1602 struct __ecereNameSpace__ecere__sys__OldList * clobberedFields;
1603 } __attribute__ ((gcc_struct)) asmStmt;
1606 struct Expression * watcher;
1607 struct Expression * object;
1608 struct __ecereNameSpace__ecere__sys__OldList * watches;
1609 } __attribute__ ((gcc_struct)) _watch;
1612 struct Identifier * id;
1613 struct __ecereNameSpace__ecere__sys__OldList * exp;
1614 struct __ecereNameSpace__ecere__sys__OldList * filter;
1615 struct Statement * stmt;
1616 } __attribute__ ((gcc_struct)) forEachStmt;
1617 struct Declaration * decl;
1618 } __attribute__ ((gcc_struct)) __anon1;
1619 } __attribute__ ((gcc_struct));
1623 struct Declaration * prev;
1624 struct Declaration * next;
1625 struct Location loc;
1631 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1632 struct __ecereNameSpace__ecere__sys__OldList * declarators;
1633 } __attribute__ ((gcc_struct)) __anon1;
1634 struct Instantiation * inst;
1637 struct Identifier * id;
1638 struct Expression * exp;
1639 } __attribute__ ((gcc_struct)) __anon2;
1640 } __attribute__ ((gcc_struct)) __anon1;
1641 struct Specifier * extStorage;
1642 struct Symbol * symbol;
1644 } __attribute__ ((gcc_struct));
1648 struct External * prev;
1649 struct External * next;
1650 struct Location loc;
1652 struct Symbol * symbol;
1655 struct FunctionDefinition * function;
1656 struct ClassDefinition * _class;
1657 struct Declaration * declaration;
1658 char * importString;
1659 struct Identifier * id;
1660 struct DBTableDef * table;
1661 } __attribute__ ((gcc_struct)) __anon1;
1663 struct External * fwdDecl;
1664 struct __ecereNameSpace__ecere__com__Instance * outgoing;
1665 struct __ecereNameSpace__ecere__com__Instance * incoming;
1666 int nonBreakableIncoming;
1667 } __attribute__ ((gcc_struct));
1673 struct PropertyDef * prev;
1674 struct PropertyDef * next;
1675 struct Location loc;
1676 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
1677 struct Declarator * declarator;
1678 struct Identifier * id;
1679 struct Statement * getStmt;
1680 struct Statement * setStmt;
1681 struct Statement * issetStmt;
1682 struct Symbol * symbol;
1683 struct Expression * category;
1686 unsigned int conversion : 1;
1687 unsigned int isWatchable : 1;
1688 unsigned int isDBProp : 1;
1689 } __attribute__ ((gcc_struct)) __anon1;
1690 } __attribute__ ((gcc_struct));
1692 struct __ecereNameSpace__ecere__com__ClassTemplateParameter;
1694 struct __ecereNameSpace__ecere__com__ClassTemplateParameter
1696 struct __ecereNameSpace__ecere__com__ClassTemplateParameter * prev;
1697 struct __ecereNameSpace__ecere__com__ClassTemplateParameter * next;
1702 const char * dataTypeString;
1704 } __attribute__ ((gcc_struct)) __anon1;
1705 struct __ecereNameSpace__ecere__com__ClassTemplateArgument defaultArg;
1707 } __attribute__ ((gcc_struct));
1709 void FreeDeclarator(struct Declarator * decl);
1711 void FreeIdentifier(struct Identifier * id);
1713 void FreeEnumerator(struct Enumerator * enumerator)
1716 FreeIdentifier(enumerator->id);
1718 FreeExpression(enumerator->exp);
1719 ((enumerator ? (__ecereClass_Enumerator->Destructor ? __ecereClass_Enumerator->Destructor((void *)enumerator) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(enumerator)) : 0), enumerator = 0);
1722 void FreeAsmField(struct AsmField * field)
1724 if(field->expression)
1725 FreeExpression(field->expression);
1727 FreeIdentifier(field->symbolic);
1728 (__ecereNameSpace__ecere__com__eSystem_Delete(field->command), field->command = 0);
1729 ((field ? (__ecereClass_AsmField->Destructor ? __ecereClass_AsmField->Destructor((void *)field) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(field)) : 0), field = 0);
1732 void FreeInitializer(struct Initializer * initializer)
1734 switch(initializer->type)
1737 FreeList(initializer->__anon1.list, (void *)(FreeInitializer));
1740 if(initializer->__anon1.exp)
1741 FreeExpression(initializer->__anon1.exp);
1745 FreeIdentifier(initializer->id);
1746 ((initializer ? (__ecereClass_Initializer->Destructor ? __ecereClass_Initializer->Destructor((void *)initializer) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(initializer)) : 0), initializer = 0);
1749 void FreeDBIndexItem(struct DBIndexItem * item)
1752 FreeIdentifier(item->id);
1753 ((item ? (__ecereClass_DBIndexItem->Destructor ? __ecereClass_DBIndexItem->Destructor((void *)item) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(item)) : 0), item = 0);
1756 void FreeInitDeclarator(struct InitDeclarator * decl)
1758 if(decl->declarator)
1759 FreeDeclarator(decl->declarator);
1760 if(decl->initializer)
1761 FreeInitializer(decl->initializer);
1762 ((decl ? (__ecereClass_InitDeclarator->Destructor ? __ecereClass_InitDeclarator->Destructor((void *)decl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(decl)) : 0), decl = 0);
1765 void FreeMemberInit(struct MemberInit * init)
1767 if(init->initializer)
1768 FreeInitializer(init->initializer);
1769 if(init->identifiers)
1770 FreeList(init->identifiers, (void *)(FreeIdentifier));
1771 ((init ? (__ecereClass_MemberInit->Destructor ? __ecereClass_MemberInit->Destructor((void *)init) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(init)) : 0), init = 0);
1774 void FreeSpecifierContents(struct Specifier * spec);
1776 void FreeSpecifier(struct Specifier * spec)
1780 FreeSpecifierContents(spec);
1781 ((spec ? (__ecereClass_Specifier->Destructor ? __ecereClass_Specifier->Destructor((void *)spec) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(spec)) : 0), spec = 0);
1785 void FreeTemplateDataType(struct TemplateDatatype * type)
1788 FreeDeclarator(type->decl);
1789 if(type->specifiers)
1790 FreeList(type->specifiers, (void *)(FreeSpecifier));
1791 ((type ? (__ecereClass_TemplateDatatype->Destructor ? __ecereClass_TemplateDatatype->Destructor((void *)type) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(type)) : 0), type = 0);
1794 void FreeIdentifier(struct Identifier * id)
1797 FreeIdentifier(id->badID);
1798 (__ecereNameSpace__ecere__com__eSystem_Delete(id->string), id->string = 0);
1800 FreeSpecifier(id->_class);
1801 ((id ? (__ecereClass_Identifier->Destructor ? __ecereClass_Identifier->Destructor((void *)id) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(id)) : 0), id = 0);
1804 void FreeTypeName(struct TypeName * typeName)
1806 if(typeName->qualifiers)
1807 FreeList(typeName->qualifiers, (void *)(FreeSpecifier));
1808 if(typeName->declarator)
1809 FreeDeclarator(typeName->declarator);
1810 if(typeName->bitCount)
1811 FreeExpression(typeName->bitCount);
1812 ((typeName ? (__ecereClass_TypeName->Destructor ? __ecereClass_TypeName->Destructor((void *)typeName) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(typeName)) : 0), typeName = 0);
1815 void FreePointer(struct Pointer * pointer)
1817 if(pointer->pointer)
1818 FreePointer(pointer->pointer);
1819 if(pointer->qualifiers)
1820 FreeList(pointer->qualifiers, (void *)(FreeSpecifier));
1821 ((pointer ? (__ecereClass_Pointer->Destructor ? __ecereClass_Pointer->Destructor((void *)pointer) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(pointer)) : 0), pointer = 0);
1824 void FreeTemplateArgument(struct TemplateArgument * arg)
1829 if(arg->__anon1.expression)
1830 FreeExpression(arg->__anon1.expression);
1833 if(arg->__anon1.identifier)
1834 FreeIdentifier(arg->__anon1.identifier);
1837 if(arg->__anon1.templateDatatype)
1838 FreeTemplateDataType(arg->__anon1.templateDatatype);
1842 FreeIdentifier(arg->name);
1843 ((arg ? (__ecereClass_TemplateArgument->Destructor ? __ecereClass_TemplateArgument->Destructor((void *)arg) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(arg)) : 0), arg = 0);
1846 void FreeDBTableEntry(struct DBTableEntry * entry)
1849 FreeIdentifier(entry->id);
1853 if(entry->__anon1.__anon1.dataType)
1854 FreeTypeName(entry->__anon1.__anon1.dataType);
1855 if(entry->__anon1.__anon1.name)
1856 (__ecereNameSpace__ecere__com__eSystem_Delete(entry->__anon1.__anon1.name), entry->__anon1.__anon1.name = 0);
1859 if(entry->__anon1.items)
1860 FreeList(entry->__anon1.items, (void *)(FreeDBIndexItem));
1863 ((entry ? (__ecereClass_DBTableEntry->Destructor ? __ecereClass_DBTableEntry->Destructor((void *)entry) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(entry)) : 0), entry = 0);
1866 void FreeDeclarator(struct Declarator * decl)
1868 if(decl->declarator)
1869 FreeDeclarator(decl->declarator);
1873 if(decl->__anon1.structDecl.exp)
1874 FreeExpression(decl->__anon1.structDecl.exp);
1875 if(decl->__anon1.structDecl.posExp)
1876 FreeExpression(decl->__anon1.structDecl.posExp);
1877 if(decl->__anon1.structDecl.attrib)
1878 FreeAttrib(decl->__anon1.structDecl.attrib);
1881 FreeIdentifier(decl->__anon1.identifier);
1886 if(decl->__anon1.array.exp)
1887 FreeExpression(decl->__anon1.array.exp);
1888 if(decl->__anon1.array.enumClass)
1889 FreeSpecifier(decl->__anon1.array.enumClass);
1892 FreeList(decl->__anon1.function.parameters, (void *)(FreeTypeName));
1895 if(decl->__anon1.pointer.pointer)
1896 FreePointer(decl->__anon1.pointer.pointer);
1900 if(decl->__anon1.extended.extended)
1901 FreeExtDecl(decl->__anon1.extended.extended);
1904 ((decl ? (__ecereClass_Declarator->Destructor ? __ecereClass_Declarator->Destructor((void *)decl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(decl)) : 0), decl = 0);
1907 void FreeTemplateParameter(struct TemplateParameter * param)
1909 if(param->identifier)
1911 FreeIdentifier(param->identifier);
1913 if(param->type == 0 || param->type == 2)
1915 if(param->__anon1.dataType)
1916 FreeTemplateDataType(param->__anon1.dataType);
1918 if(param->defaultArgument)
1919 FreeTemplateArgument(param->defaultArgument);
1921 FreeType(param->baseType);
1922 ((param ? (__ecereClass_TemplateParameter->Destructor ? __ecereClass_TemplateParameter->Destructor((void *)param) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(param)) : 0), param = 0);
1925 void FreeDBTable(struct DBTableDef * table)
1927 if(table->definitions)
1928 FreeList(table->definitions, (void *)(FreeDBTableEntry));
1930 (__ecereNameSpace__ecere__com__eSystem_Delete(table->name), table->name = 0);
1931 ((table ? (__ecereClass_DBTableDef->Destructor ? __ecereClass_DBTableDef->Destructor((void *)table) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(table)) : 0), table = 0);
1934 void FreeSymbol(struct Symbol * symbol)
1936 struct __ecereNameSpace__ecere__sys__OldLink * link;
1938 if(symbol->propCategory)
1939 FreeExpression(symbol->propCategory);
1940 FreeType(symbol->type);
1941 while((link = symbol->templatedClasses.first))
1942 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Delete(&symbol->templatedClasses, link);
1943 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->string), symbol->string = 0);
1944 if(symbol->templateParams)
1945 FreeList(symbol->templateParams, (void *)(FreeTemplateParameter));
1946 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->constructorName), symbol->constructorName = 0);
1947 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->structName), symbol->structName = 0);
1948 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->className), symbol->className = 0);
1949 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->destructorName), symbol->destructorName = 0);
1950 (__ecereNameSpace__ecere__com__eSystem_Delete(symbol->shortName), symbol->shortName = 0);
1953 FreeContext(symbol->ctx);
1954 ((symbol->ctx ? (__ecereClass_Context->Destructor ? __ecereClass_Context->Destructor((void *)symbol->ctx) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(symbol->ctx)) : 0), symbol->ctx = 0);
1956 ((symbol ? (__ecereClass_Symbol->Destructor ? __ecereClass_Symbol->Destructor((void *)symbol) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(symbol)) : 0), symbol = 0);
1959 void FreeModuleData(struct __ecereNameSpace__ecere__com__Instance * module)
1961 struct __ecereNameSpace__ecere__com__Class * _class;
1962 struct __ecereNameSpace__ecere__com__GlobalFunction * function;
1964 for(_class = ((struct __ecereNameSpace__ecere__com__Module *)(((char *)module + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->classes.first; _class; _class = _class->next)
1966 struct __ecereNameSpace__ecere__com__DataMember * dataMember;
1967 struct __ecereNameSpace__ecere__com__Method * method;
1968 struct __ecereNameSpace__ecere__com__ClassTemplateParameter * param;
1970 if(_class->dataType)
1972 FreeType(_class->dataType);
1973 _class->dataType = (((void *)0));
1975 for(dataMember = _class->membersAndProperties.first; dataMember; dataMember = dataMember->next)
1977 if(dataMember->isProperty)
1979 struct __ecereNameSpace__ecere__com__Property * prop = (struct __ecereNameSpace__ecere__com__Property *)dataMember;
1983 FreeSymbol(prop->symbol);
1988 if(dataMember->type == 2 || dataMember->type == 1)
1989 FreeDataMember(dataMember);
1991 if(dataMember->dataType)
1993 FreeType(dataMember->dataType);
1994 dataMember->dataType = (((void *)0));
1997 for(dataMember = _class->conversions.first; dataMember; dataMember = dataMember->next)
1999 struct __ecereNameSpace__ecere__com__Property * prop = (struct __ecereNameSpace__ecere__com__Property *)dataMember;
2003 FreeSymbol(prop->symbol);
2007 FreeType(prop->dataType);
2008 prop->dataType = (((void *)0));
2011 if(__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_Get_first(&_class->classProperties))
2012 FreeClassProperties((struct __ecereNameSpace__ecere__com__ClassProperty *)__ecereProp___ecereNameSpace__ecere__sys__BinaryTree_Get_first(&_class->classProperties));
2013 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)))
2015 if(method->dataType)
2017 FreeType(method->dataType);
2018 method->dataType = (((void *)0));
2022 FreeSymbol(method->symbol);
2025 for(param = _class->templateParams.first; param; param = param->next)
2029 FreeTemplateParameter(param->param);
2030 param->param = (((void *)0));
2034 for(function = ((struct __ecereNameSpace__ecere__com__Module *)(((char *)module + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->functions.first; function; function = function->next)
2036 if(function->dataType)
2037 FreeType(function->dataType);
2038 if(function->symbol)
2039 FreeSymbol(function->symbol);
2043 struct __ecereNameSpace__ecere__com__MapIterator mapIt = (mapIt.container = (void *)0, mapIt.pointer = (void *)0, __ecereProp___ecereNameSpace__ecere__com__MapIterator_Set_map(&mapIt, loadedModules), mapIt);
2045 while(__ecereMethod___ecereNameSpace__ecere__com__Iterator_Next((void *)(&mapIt)))
2047 struct __ecereNameSpace__ecere__com__Instance * list = ((struct __ecereNameSpace__ecere__com__Instance *)(uintptr_t)__ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data((void *)(&mapIt)));
2048 struct __ecereNameSpace__ecere__com__Iterator it =
2052 unsigned int found = 0;
2054 while(__ecereMethod___ecereNameSpace__ecere__com__Iterator_Next(&it))
2056 if(((struct __ecereNameSpace__ecere__com__Instance *)(uintptr_t)__ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data(&it)) == module)
2058 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2059 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = list;
2061 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__List->_vTbl;
2062 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(list, it.pointer);
2069 if(((struct __ecereNameSpace__ecere__com__LinkList *)(((char *)list + 0 + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->count == 1)
2071 struct __ecereNameSpace__ecere__com__Instance * mod = (((struct __ecereNameSpace__ecere__com__Instance *)((uintptr_t)(__extension__ ({
2072 struct __ecereNameSpace__ecere__com__Iterator __internalIterator =
2077 __ecereMethod___ecereNameSpace__ecere__com__Iterator_Index(&__internalIterator, ((uint64)(0)), 0);
2078 ((struct __ecereNameSpace__ecere__com__Instance *)(uintptr_t)__ecereProp___ecereNameSpace__ecere__com__Iterator_Get_data(&__internalIterator));
2081 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2082 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = list;
2084 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__List->_vTbl;
2085 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(list, ((struct __ecereNameSpace__ecere__com__IteratorPointer * (*)(struct __ecereNameSpace__ecere__com__Instance *))__extension__ ({
2086 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = list;
2088 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__List->_vTbl;
2089 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_GetFirst])(list));
2090 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2091 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = loadedModules;
2093 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__Map->_vTbl;
2094 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(loadedModules, mapIt.pointer);
2095 (__ecereNameSpace__ecere__com__eInstance_DecRef(list), list = 0);
2096 __ecereNameSpace__ecere__com__eModule_Unload(((struct __ecereNameSpace__ecere__com__Module *)(((char *)__thisModule + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application, mod);
2104 void FreeTypeData(struct __ecereNameSpace__ecere__com__Instance * privateModule)
2106 struct __ecereNameSpace__ecere__com__Instance * m;
2108 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)
2112 FreeModuleData(privateModule);
2119 struct ClassDef * prev;
2120 struct ClassDef * next;
2121 struct Location loc;
2125 struct Declaration * decl;
2126 struct ClassFunction * function;
2127 struct __ecereNameSpace__ecere__sys__OldList * defProperties;
2128 struct PropertyDef * propertyDef;
2129 struct PropertyWatch * propertyWatch;
2131 struct Identifier * defaultProperty;
2134 struct Identifier * id;
2135 struct Initializer * initializer;
2136 } __attribute__ ((gcc_struct)) __anon1;
2137 } __attribute__ ((gcc_struct)) __anon1;
2140 } __attribute__ ((gcc_struct));
2142 void FreeStatement(struct Statement * stmt);
2144 void FreePropertyWatch(struct PropertyWatch * watcher)
2146 if(watcher->properties)
2147 FreeList(watcher->properties, (void *)(FreeIdentifier));
2148 if(watcher->compound)
2149 FreeStatement(watcher->compound);
2150 ((watcher ? (__ecereClass_PropertyWatch->Destructor ? __ecereClass_PropertyWatch->Destructor((void *)watcher) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(watcher)) : 0), watcher = 0);
2153 void FreeProperty(struct PropertyDef * def)
2156 FreeList(def->specifiers, (void *)(FreeSpecifier));
2158 FreeDeclarator(def->declarator);
2160 FreeIdentifier(def->id);
2162 FreeStatement(def->getStmt);
2164 FreeStatement(def->setStmt);
2166 FreeStatement(def->issetStmt);
2168 FreeExpression(def->category);
2172 ((def ? (__ecereClass_PropertyDef->Destructor ? __ecereClass_PropertyDef->Destructor((void *)def) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(def)) : 0), def = 0);
2175 void FreeClassFunction(struct ClassFunction * func);
2177 void FreeMembersInit(struct MembersInit * init)
2179 if(init->type == 0 && init->__anon1.dataMembers)
2180 FreeList(init->__anon1.dataMembers, (void *)(FreeMemberInit));
2181 if(init->type == 1 && init->__anon1.function)
2183 FreeClassFunction(init->__anon1.function);
2185 ((init ? (__ecereClass_MembersInit->Destructor ? __ecereClass_MembersInit->Destructor((void *)init) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(init)) : 0), init = 0);
2188 void FreeInstance(struct Instantiation * inst)
2192 FreeList(inst->members, (void *)(FreeMembersInit));
2195 FreeExpression(inst->exp);
2198 struct Symbol * classSym = FindClass(inst->_class->__anon1.__anon1.name);
2199 struct __ecereNameSpace__ecere__com__Class * _class = classSym ? classSym->__anon1.registered : (((void *)0));
2203 if(_class->type == 0)
2205 struct __ecereNameSpace__ecere__com__Instance * instance = (struct __ecereNameSpace__ecere__com__Instance *)inst->data;
2207 (__ecereNameSpace__ecere__com__eInstance_DecRef(instance), instance = 0);
2209 else if(_class->type == 5)
2211 if(_class->Destructor)
2212 _class->Destructor((struct __ecereNameSpace__ecere__com__Instance *)inst->data);
2213 (__ecereNameSpace__ecere__com__eSystem_Delete(inst->data), inst->data = 0);
2215 else if(_class->type == 1)
2217 (__ecereNameSpace__ecere__com__eSystem_Delete(inst->data), inst->data = 0);
2222 struct __ecereNameSpace__ecere__com__Instance * instance = (struct __ecereNameSpace__ecere__com__Instance *)inst->data;
2224 (__ecereNameSpace__ecere__com__eInstance_DecRef(instance), instance = 0);
2228 FreeSpecifier(inst->_class);
2229 ((inst ? (__ecereClass_Instantiation->Destructor ? __ecereClass_Instantiation->Destructor((void *)inst) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(inst)) : 0), inst = 0);
2232 static void _FreeExpression(struct Expression * exp, unsigned int freePointer)
2238 FreeExpression(exp->__anon1._new.size);
2239 FreeTypeName(exp->__anon1._new.typeName);
2243 FreeExpression(exp->__anon1._renew.exp);
2244 FreeExpression(exp->__anon1._renew.size);
2245 FreeTypeName(exp->__anon1._renew.typeName);
2248 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.__anon1.constant), exp->__anon1.__anon1.constant = 0);
2251 if(exp->__anon1.__anon1.identifier)
2252 FreeIdentifier(exp->__anon1.__anon1.identifier);
2255 if(exp->__anon1.instance)
2257 FreeInstance(exp->__anon1.instance);
2258 exp->__anon1.instance = (((void *)0));
2262 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.__anon2.string), exp->__anon1.__anon2.string = 0);
2265 if(exp->__anon1.op.exp1)
2266 FreeExpression(exp->__anon1.op.exp1);
2267 if(exp->__anon1.op.exp2)
2268 FreeExpression(exp->__anon1.op.exp2);
2272 FreeList(exp->__anon1.list, (void *)(FreeExpression));
2277 if(exp->__anon1.index.exp)
2278 FreeExpression(exp->__anon1.index.exp);
2279 if(exp->__anon1.index.index)
2280 FreeList(exp->__anon1.index.index, (void *)(FreeExpression));
2285 if(exp->__anon1.call.exp)
2286 FreeExpression(exp->__anon1.call.exp);
2287 if(exp->__anon1.call.arguments)
2288 FreeList(exp->__anon1.call.arguments, (void *)(FreeExpression));
2293 if(exp->__anon1.member.exp)
2294 FreeExpression(exp->__anon1.member.exp);
2295 if(exp->__anon1.member.member)
2296 FreeIdentifier(exp->__anon1.member.member);
2299 FreeTypeName(exp->__anon1._new.typeName);
2302 FreeTypeName(exp->__anon1._new.typeName);
2305 if(exp->__anon1.cast.exp)
2306 FreeExpression(exp->__anon1.cast.exp);
2307 FreeTypeName(exp->__anon1.cast.typeName);
2311 if(exp->__anon1.cond.cond)
2312 FreeExpression(exp->__anon1.cond.cond);
2313 if(exp->__anon1.cond.exp)
2314 FreeList(exp->__anon1.cond.exp, (void *)(FreeExpression));
2315 if(exp->__anon1.cond.elseExp)
2316 FreeExpression(exp->__anon1.cond.elseExp);
2321 if(exp->__anon1.compound)
2322 FreeStatement(exp->__anon1.compound);
2327 if(exp->__anon1.list)
2328 FreeList(exp->__anon1.list, (void *)(FreeExpression));
2333 if(exp->__anon1.initializer.typeName)
2334 FreeTypeName(exp->__anon1.initializer.typeName);
2335 if(exp->__anon1.initializer.initializer)
2336 FreeInitializer(exp->__anon1.initializer.initializer);
2342 if(exp->__anon1._classExp.specifiers)
2343 FreeList(exp->__anon1._classExp.specifiers, (void *)(FreeSpecifier));
2344 if(exp->__anon1._classExp.decl)
2345 FreeDeclarator(exp->__anon1._classExp.decl);
2350 if(exp->__anon1.db.id)
2351 FreeIdentifier(exp->__anon1.db.id);
2352 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.db.table), exp->__anon1.db.table = 0);
2355 if(exp->__anon1.dbopen.ds)
2356 FreeExpression(exp->__anon1.dbopen.ds);
2357 if(exp->__anon1.dbopen.name)
2358 FreeExpression(exp->__anon1.dbopen.name);
2361 if(exp->__anon1.vaArg.exp)
2362 FreeExpression(exp->__anon1.vaArg.exp);
2363 if(exp->__anon1.vaArg.typeName)
2364 FreeTypeName(exp->__anon1.vaArg.typeName);
2367 if(exp->__anon1.list)
2368 FreeList(exp->__anon1.list, (void *)(FreeExpression));
2371 if(exp->__anon1._class)
2372 FreeSpecifier(exp->__anon1._class);
2375 if(exp->__anon1.classData.id)
2376 FreeIdentifier(exp->__anon1.classData.id);
2379 if(exp->__anon1.__anon1.identifier)
2380 FreeIdentifier(exp->__anon1.__anon1.identifier);
2383 (__ecereNameSpace__ecere__com__eSystem_Delete(exp->__anon1.__anon1.constant), exp->__anon1.__anon1.constant = 0);
2387 if(exp->__anon1.member.exp)
2388 FreeExpression(exp->__anon1.member.exp);
2389 if(exp->__anon1.member.member)
2390 FreeIdentifier(exp->__anon1.member.member);
2393 if(exp->__anon1.call.exp)
2394 FreeExpression(exp->__anon1.call.exp);
2395 if(exp->__anon1.call.arguments)
2396 FreeList(exp->__anon1.call.arguments, (void *)(FreeExpression));
2406 FreeType(exp->expType);
2408 FreeType(exp->destType);
2409 ((exp ? (__ecereClass_Expression->Destructor ? __ecereClass_Expression->Destructor((void *)exp) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(exp)) : 0), exp = 0);
2413 void FreeDeclaration(struct Declaration * decl)
2415 if(decl->symbol && !decl->symbol->type)
2422 if(decl->__anon1.__anon1.specifiers)
2423 FreeList(decl->__anon1.__anon1.specifiers, (void *)(FreeSpecifier));
2424 if(decl->__anon1.__anon1.declarators)
2425 FreeList(decl->__anon1.__anon1.declarators, (void *)(FreeDeclarator));
2426 if(decl->extStorage)
2427 FreeSpecifier(decl->extStorage);
2432 if(decl->__anon1.__anon1.specifiers)
2433 FreeList(decl->__anon1.__anon1.specifiers, (void *)(FreeSpecifier));
2434 if(decl->__anon1.__anon1.declarators)
2435 FreeList(decl->__anon1.__anon1.declarators, (void *)(FreeInitDeclarator));
2439 if(decl->__anon1.inst)
2440 FreeInstance(decl->__anon1.inst);
2444 if(decl->__anon1.__anon2.exp)
2445 FreeExpression(decl->__anon1.__anon2.exp);
2446 if(decl->__anon1.__anon2.id)
2447 FreeIdentifier(decl->__anon1.__anon2.id);
2451 ((decl ? (__ecereClass_Declaration->Destructor ? __ecereClass_Declaration->Destructor((void *)decl) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(decl)) : 0), decl = 0);
2454 void FreeStatement(struct Statement * stmt)
2460 if(stmt->__anon1.asmStmt.spec)
2461 FreeSpecifier(stmt->__anon1.asmStmt.spec);
2462 if(stmt->__anon1.asmStmt.inputFields)
2463 FreeList(stmt->__anon1.asmStmt.inputFields, (void *)(FreeAsmField));
2464 if(stmt->__anon1.asmStmt.outputFields)
2465 FreeList(stmt->__anon1.asmStmt.outputFields, (void *)(FreeAsmField));
2466 if(stmt->__anon1.asmStmt.clobberedFields)
2467 FreeList(stmt->__anon1.asmStmt.clobberedFields, (void *)(FreeAsmField));
2468 (__ecereNameSpace__ecere__com__eSystem_Delete(stmt->__anon1.asmStmt.statements), stmt->__anon1.asmStmt.statements = 0);
2472 if(stmt->__anon1.labeled.stmt)
2473 FreeStatement(stmt->__anon1.labeled.stmt);
2476 if(stmt->__anon1.caseStmt.exp)
2477 FreeExpression(stmt->__anon1.caseStmt.exp);
2478 if(stmt->__anon1.caseStmt.stmt)
2479 FreeStatement(stmt->__anon1.caseStmt.stmt);
2482 if(stmt->__anon1.decl)
2483 FreeDeclaration(stmt->__anon1.decl);
2487 if(stmt->__anon1.compound.declarations)
2488 FreeList(stmt->__anon1.compound.declarations, (void *)(FreeDeclaration));
2489 if(stmt->__anon1.compound.statements)
2490 FreeList(stmt->__anon1.compound.statements, (void *)(FreeStatement));
2491 if(stmt->__anon1.compound.context)
2493 FreeContext(stmt->__anon1.compound.context);
2494 ((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);
2500 if(stmt->__anon1.expressions)
2501 FreeList(stmt->__anon1.expressions, (void *)(FreeExpression));
2506 if(stmt->__anon1.ifStmt.exp)
2507 FreeList(stmt->__anon1.ifStmt.exp, (void *)(FreeExpression));
2508 if(stmt->__anon1.ifStmt.stmt)
2509 FreeStatement(stmt->__anon1.ifStmt.stmt);
2510 if(stmt->__anon1.ifStmt.elseStmt)
2511 FreeStatement(stmt->__anon1.ifStmt.elseStmt);
2516 if(stmt->__anon1.switchStmt.exp)
2517 FreeList(stmt->__anon1.switchStmt.exp, (void *)(FreeExpression));
2518 if(stmt->__anon1.switchStmt.stmt)
2519 FreeStatement(stmt->__anon1.switchStmt.stmt);
2524 if(stmt->__anon1.whileStmt.exp)
2525 FreeList(stmt->__anon1.whileStmt.exp, (void *)(FreeExpression));
2526 if(stmt->__anon1.whileStmt.stmt)
2527 FreeStatement(stmt->__anon1.whileStmt.stmt);
2532 if(stmt->__anon1.doWhile.stmt)
2533 FreeStatement(stmt->__anon1.doWhile.stmt);
2534 if(stmt->__anon1.doWhile.exp)
2535 FreeList(stmt->__anon1.doWhile.exp, (void *)(FreeExpression));
2540 if(stmt->__anon1.forStmt.init)
2541 FreeStatement(stmt->__anon1.forStmt.init);
2542 if(stmt->__anon1.forStmt.check)
2543 FreeStatement(stmt->__anon1.forStmt.check);
2544 if(stmt->__anon1.forStmt.increment)
2545 FreeList(stmt->__anon1.forStmt.increment, (void *)(FreeExpression));
2546 if(stmt->__anon1.forStmt.stmt)
2547 FreeStatement(stmt->__anon1.forStmt.stmt);
2552 if(stmt->__anon1.forEachStmt.id)
2553 FreeIdentifier(stmt->__anon1.forEachStmt.id);
2554 if(stmt->__anon1.forEachStmt.exp)
2555 FreeList(stmt->__anon1.forEachStmt.exp, (void *)(FreeExpression));
2556 if(stmt->__anon1.forEachStmt.filter)
2557 FreeList(stmt->__anon1.forEachStmt.filter, (void *)(FreeExpression));
2558 if(stmt->__anon1.forEachStmt.stmt)
2559 FreeStatement(stmt->__anon1.forEachStmt.stmt);
2569 if(stmt->__anon1.expressions)
2570 FreeList(stmt->__anon1.expressions, (void *)(FreeExpression));
2576 if(stmt->__anon1._watch.watcher)
2577 FreeExpression(stmt->__anon1._watch.watcher);
2578 if(stmt->__anon1._watch.object)
2579 FreeExpression(stmt->__anon1._watch.object);
2580 if(stmt->__anon1._watch.watches)
2581 FreeList(stmt->__anon1._watch.watches, (stmt->type == 17) ? (void *)FreePropertyWatch : (void *)FreeIdentifier);
2585 ((stmt ? (__ecereClass_Statement->Destructor ? __ecereClass_Statement->Destructor((void *)stmt) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(stmt)) : 0), stmt = 0);
2588 void FreeFunction(struct FunctionDefinition * func)
2591 FreeStatement(func->body);
2592 if(func->declarator)
2593 FreeDeclarator(func->declarator);
2594 if(func->specifiers)
2595 FreeList(func->specifiers, (void *)(FreeSpecifier));
2596 if(func->declarations)
2597 FreeList(func->declarations, (void *)(FreeDeclaration));
2599 FreeType(func->type);
2600 ((func ? (__ecereClass_FunctionDefinition->Destructor ? __ecereClass_FunctionDefinition->Destructor((void *)func) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(func)) : 0), func = 0);
2603 void FreeClassFunction(struct ClassFunction * func)
2605 if(func->declarator && func->declarator->symbol)
2609 FreeType(func->type);
2611 FreeStatement(func->body);
2612 if(func->declarator)
2613 FreeDeclarator(func->declarator);
2614 if(func->specifiers)
2615 FreeList(func->specifiers, (void *)(FreeSpecifier));
2616 if(func->declarations)
2617 FreeList(func->declarations, (void *)(FreeDeclaration));
2618 __ecereMethod___ecereNameSpace__ecere__sys__OldList_Free(&func->attached, (((void *)0)));
2619 ((func ? (__ecereClass_ClassFunction->Destructor ? __ecereClass_ClassFunction->Destructor((void *)func) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(func)) : 0), func = 0);
2622 void FreeClassDef(struct ClassDef * def)
2627 if(def->__anon1.decl)
2628 FreeDeclaration(def->__anon1.decl);
2632 FreeList(def->__anon1.defProperties, (void *)(FreeMemberInit));
2636 if(def->__anon1.function)
2637 FreeClassFunction(def->__anon1.function);
2640 if(def->__anon1.propertyDef)
2641 FreeProperty(def->__anon1.propertyDef);
2644 if(def->__anon1.propertyDef)
2645 FreeProperty(def->__anon1.propertyDef);
2651 if(def->__anon1.decl)
2652 FreeDeclaration(def->__anon1.decl);
2657 (__ecereNameSpace__ecere__com__eSystem_Delete(def->__anon1.designer), def->__anon1.designer = 0);
2665 if(def->__anon1.__anon1.id)
2666 FreeIdentifier(def->__anon1.__anon1.id);
2667 if(def->__anon1.__anon1.initializer)
2668 FreeInitializer(def->__anon1.__anon1.initializer);
2672 if(def->__anon1.defaultProperty)
2673 FreeIdentifier(def->__anon1.defaultProperty);
2680 if(def->__anon1.propertyWatch)
2681 FreePropertyWatch(def->__anon1.propertyWatch);
2685 ((def ? (__ecereClass_ClassDef->Destructor ? __ecereClass_ClassDef->Destructor((void *)def) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(def)) : 0), def = 0);
2688 void FreeSpecifierContents(struct Specifier * spec)
2693 (__ecereNameSpace__ecere__com__eSystem_Delete(spec->__anon1.__anon1.name), spec->__anon1.__anon1.name = 0);
2694 if(spec->__anon1.__anon1.templateArgs)
2696 FreeList(spec->__anon1.__anon1.templateArgs, (void *)(FreeTemplateArgument));
2697 spec->__anon1.__anon1.templateArgs = (((void *)0));
2701 if(spec->__anon1.__anon1.extDecl)
2703 FreeExtDecl(spec->__anon1.__anon1.extDecl);
2704 spec->__anon1.__anon1.extDecl = (((void *)0));
2708 if(spec->__anon1.__anon2.baseSpecs)
2710 FreeList(spec->__anon1.__anon2.baseSpecs, (void *)(FreeSpecifier));
2711 spec->__anon1.__anon2.baseSpecs = (((void *)0));
2713 if(spec->__anon1.__anon2.id)
2715 FreeIdentifier(spec->__anon1.__anon2.id);
2716 spec->__anon1.__anon2.id = (((void *)0));
2718 if(spec->__anon1.__anon2.list)
2720 FreeList(spec->__anon1.__anon2.list, (void *)(FreeEnumerator));
2721 spec->__anon1.__anon2.list = (((void *)0));
2723 if(spec->__anon1.__anon2.definitions)
2725 FreeList(spec->__anon1.__anon2.definitions, (void *)(FreeClassDef));
2726 spec->__anon1.__anon2.definitions = (((void *)0));
2731 if(spec->__anon1.__anon2.id)
2733 FreeIdentifier(spec->__anon1.__anon2.id);
2734 spec->__anon1.__anon2.id = (((void *)0));
2736 if(spec->__anon1.__anon2.definitions)
2738 FreeList(spec->__anon1.__anon2.definitions, (void *)(FreeClassDef));
2739 spec->__anon1.__anon2.definitions = (((void *)0));
2741 if(spec->__anon1.__anon2.baseSpecs)
2743 FreeList(spec->__anon1.__anon2.baseSpecs, (void *)(FreeSpecifier));
2744 spec->__anon1.__anon2.baseSpecs = (((void *)0));
2746 if(spec->__anon1.__anon2.extDeclStruct)
2748 FreeExtDecl(spec->__anon1.__anon2.extDeclStruct);
2749 spec->__anon1.__anon2.extDeclStruct = (((void *)0));
2751 if(spec->__anon1.__anon2.ctx)
2753 FreeContext(spec->__anon1.__anon2.ctx);
2754 ((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);
2758 if(spec->__anon1._class)
2760 FreeSpecifier(spec->__anon1._class);
2761 spec->__anon1._class = (((void *)0));
2767 void FreeClass(struct ClassDefinition * _class)
2769 if(_class->definitions)
2770 FreeList(_class->definitions, (void *)(FreeClassDef));
2772 FreeSpecifier(_class->_class);
2773 if(_class->baseSpecs)
2774 FreeList(_class->baseSpecs, (void *)(FreeSpecifier));
2775 ((_class ? (__ecereClass_ClassDefinition->Destructor ? __ecereClass_ClassDefinition->Destructor((void *)_class) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(_class)) : 0), _class = 0);
2778 void FreeExternal(struct External * external)
2780 struct TopoEdge * e;
2782 while((e = ((struct __ecereNameSpace__ecere__com__LinkList *)(((char *)external->incoming + 0 + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->first))
2784 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2785 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = e->from->outgoing;
2787 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2788 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(e->from->outgoing, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2789 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2790 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = external->incoming;
2792 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2793 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(external->incoming, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2794 ((e ? (__ecereClass_TopoEdge->Destructor ? __ecereClass_TopoEdge->Destructor((void *)e) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(e)) : 0), e = 0);
2796 while((e = ((struct __ecereNameSpace__ecere__com__LinkList *)(((char *)external->outgoing + 0 + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->first))
2798 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2799 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = e->to->incoming;
2801 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2802 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(e->to->incoming, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2803 ((void (*)(struct __ecereNameSpace__ecere__com__Instance *, struct __ecereNameSpace__ecere__com__IteratorPointer * it))__extension__ ({
2804 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = external->outgoing;
2806 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__com__LinkList->_vTbl;
2807 })[__ecereVMethodID___ecereNameSpace__ecere__com__Container_Remove])(external->outgoing, (struct __ecereNameSpace__ecere__com__IteratorPointer *)e);
2809 e->to->nonBreakableIncoming--;
2810 ((e ? (__ecereClass_TopoEdge->Destructor ? __ecereClass_TopoEdge->Destructor((void *)e) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(e)) : 0), e = 0);
2812 switch(external->type)
2815 if(external->__anon1.function)
2816 FreeFunction(external->__anon1.function);
2819 if(external->__anon1.declaration)
2820 FreeDeclaration(external->__anon1.declaration);
2823 if(external->__anon1._class)
2824 FreeClass(external->__anon1._class);
2827 (__ecereNameSpace__ecere__com__eSystem_Delete(external->__anon1.importString), external->__anon1.importString = 0);
2830 FreeIdentifier(external->__anon1.id);
2833 if(external->__anon1.table)
2834 FreeDBTable(external->__anon1.table);
2837 ((external ? (__ecereClass_External->Destructor ? __ecereClass_External->Destructor((void *)external) : 0, __ecereNameSpace__ecere__com__eSystem_Delete(external)) : 0), external = 0);
2840 void __ecereRegisterModule_freeAst(struct __ecereNameSpace__ecere__com__Instance * module)
2842 struct __ecereNameSpace__ecere__com__Class __attribute__((unused)) * class;
2844 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeList", "void FreeList(ecere::sys::OldList list, void (* FreeFunction)(void *))", FreeList, module, 2);
2845 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeType", "void FreeType(Type type)", FreeType, module, 1);
2846 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeSymbol", "void FreeSymbol(Symbol symbol)", FreeSymbol, module, 2);
2847 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeMethodImport", "void FreeMethodImport(MethodImport imp)", FreeMethodImport, module, 2);
2848 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreePropertyImport", "void FreePropertyImport(MethodImport imp)", FreePropertyImport, module, 2);
2849 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClassImport", "void FreeClassImport(ClassImport imp)", FreeClassImport, module, 2);
2850 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeFunctionImport", "void FreeFunctionImport(ClassImport imp)", FreeFunctionImport, module, 2);
2851 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeModuleImport", "void FreeModuleImport(ModuleImport imp)", FreeModuleImport, module, 1);
2852 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeModuleDefine", "void FreeModuleDefine(Definition def)", FreeModuleDefine, module, 1);
2853 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExcludedSymbols", "void FreeExcludedSymbols(ecere::sys::OldList excludedSymbols)", FreeExcludedSymbols, module, 1);
2854 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateArgument", "void FreeTemplateArgument(TemplateArgument arg)", FreeTemplateArgument, module, 1);
2855 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateDataType", "void FreeTemplateDataType(TemplateDatatype type)", FreeTemplateDataType, module, 1);
2856 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateParameter", "void FreeTemplateParameter(TemplateParameter param)", FreeTemplateParameter, module, 1);
2857 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTemplateType", "void FreeTemplateType(TemplatedType type)", FreeTemplateType, module, 1);
2858 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeContext", "void FreeContext(Context context)", FreeContext, module, 1);
2859 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeEnumerator", "void FreeEnumerator(Enumerator enumerator)", FreeEnumerator, module, 2);
2860 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeSpecifier", "void FreeSpecifier(Specifier spec)", FreeSpecifier, module, 2);
2861 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeSpecifierContents", "void FreeSpecifierContents(Specifier spec)", FreeSpecifierContents, module, 2);
2862 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeIdentifier", "void FreeIdentifier(Identifier id)", FreeIdentifier, module, 1);
2863 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTypeName", "void FreeTypeName(TypeName typeName)", FreeTypeName, module, 2);
2864 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExpContents", "void FreeExpContents(Expression exp)", FreeExpContents, module, 1);
2865 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExpression", "void FreeExpression(Expression exp)", FreeExpression, module, 1);
2866 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreePointer", "void FreePointer(Pointer pointer)", FreePointer, module, 2);
2867 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeAttrib", "void FreeAttrib(Attrib attr)", FreeAttrib, module, 2);
2868 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeAttribute", "void FreeAttribute(Attribute attr)", FreeAttribute, module, 2);
2869 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExtDecl", "void FreeExtDecl(ExtDecl extDecl)", FreeExtDecl, module, 2);
2870 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDeclarator", "void FreeDeclarator(Declarator decl)", FreeDeclarator, module, 2);
2871 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreePropertyWatch", "void FreePropertyWatch(PropertyWatch watcher)", FreePropertyWatch, module, 2);
2872 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeAsmField", "void FreeAsmField(AsmField field)", FreeAsmField, module, 2);
2873 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeStatement", "void FreeStatement(Statement stmt)", FreeStatement, module, 2);
2874 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeInitializer", "void FreeInitializer(Initializer initializer)", FreeInitializer, module, 2);
2875 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeInitDeclarator", "void FreeInitDeclarator(InitDeclarator decl)", FreeInitDeclarator, module, 2);
2876 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDeclaration", "void FreeDeclaration(Declaration decl)", FreeDeclaration, module, 2);
2877 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeFunction", "void FreeFunction(FunctionDefinition func)", FreeFunction, module, 2);
2878 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeMemberInit", "void FreeMemberInit(MemberInit init)", FreeMemberInit, module, 2);
2879 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeMembersInit", "void FreeMembersInit(MembersInit init)", FreeMembersInit, module, 2);
2880 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeInstance", "void FreeInstance(Instantiation inst)", FreeInstance, module, 1);
2881 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClassFunction", "void FreeClassFunction(ClassFunction func)", FreeClassFunction, module, 1);
2882 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeProperty", "void FreeProperty(PropertyDef def)", FreeProperty, module, 2);
2883 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClassDef", "void FreeClassDef(ClassDef def)", FreeClassDef, module, 2);
2884 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeClass", "void FreeClass(ClassDefinition _class)", FreeClass, module, 2);
2885 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDBIndexItem", "void FreeDBIndexItem(DBIndexItem item)", FreeDBIndexItem, module, 2);
2886 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDBTableEntry", "void FreeDBTableEntry(DBTableEntry entry)", FreeDBTableEntry, module, 2);
2887 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeDBTable", "void FreeDBTable(DBTableDef table)", FreeDBTable, module, 2);
2888 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeExternal", "void FreeExternal(External external)", FreeExternal, module, 2);
2889 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeASTTree", "void FreeASTTree(ecere::sys::OldList ast)", FreeASTTree, module, 1);
2890 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeModuleData", "void FreeModuleData(ecere::com::Module module)", FreeModuleData, module, 2);
2891 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("FreeTypeData", "void FreeTypeData(ecere::com::Module privateModule)", FreeTypeData, module, 1);