1 /* Code generated from eC source file: copy.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 struct __ecereNameSpace__ecere__sys__OldList
47 } __attribute__ ((gcc_struct));
49 struct __ecereNameSpace__ecere__sys__BTNode;
51 struct __ecereNameSpace__ecere__com__DataValue
66 } __attribute__ ((gcc_struct)) __anon1;
67 } __attribute__ ((gcc_struct));
69 struct __ecereNameSpace__ecere__com__SerialBuffer
71 unsigned char * _buffer;
75 } __attribute__ ((gcc_struct));
77 extern void * __ecereNameSpace__ecere__com__eSystem_New(unsigned int size);
79 extern void * __ecereNameSpace__ecere__com__eSystem_New0(unsigned int size);
81 extern void * __ecereNameSpace__ecere__com__eSystem_Renew(void * memory, unsigned int size);
83 extern void * __ecereNameSpace__ecere__com__eSystem_Renew0(void * memory, unsigned int size);
85 extern void __ecereNameSpace__ecere__com__eSystem_Delete(void * memory);
93 } __attribute__ ((gcc_struct));
97 struct TemplateParameter;
109 struct PropertyWatch;
111 extern char * __ecereNameSpace__ecere__sys__CopyString(const char * string);
113 struct __ecereNameSpace__ecere__com__GlobalFunction;
115 extern struct __ecereNameSpace__ecere__sys__OldList * MkList(void);
117 extern void ListAdd(struct __ecereNameSpace__ecere__sys__OldList * list, void * item);
121 struct CodePosition start;
122 struct CodePosition end;
123 } __attribute__ ((gcc_struct));
129 struct __ecereNameSpace__ecere__sys__OldList * attribs;
130 } __attribute__ ((gcc_struct));
139 struct Attrib * attr;
140 } __attribute__ ((gcc_struct)) __anon1;
141 } __attribute__ ((gcc_struct));
143 extern struct Attrib * MkAttrib(int type, struct __ecereNameSpace__ecere__sys__OldList * attribs);
145 extern struct ExtDecl * MkExtDeclAttrib(struct Attrib * attr);
147 extern struct ExtDecl * MkExtDeclString(char * s);
149 struct __ecereNameSpace__ecere__com__Class;
151 struct __ecereNameSpace__ecere__com__Instance
154 struct __ecereNameSpace__ecere__com__Class * _class;
156 } __attribute__ ((gcc_struct));
158 extern long long __ecereNameSpace__ecere__com__eClass_GetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char * name);
160 extern void __ecereNameSpace__ecere__com__eClass_SetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char * name, long long value);
162 extern void * __ecereNameSpace__ecere__com__eInstance_New(struct __ecereNameSpace__ecere__com__Class * _class);
164 extern void __ecereNameSpace__ecere__com__eInstance_SetMethod(struct __ecereNameSpace__ecere__com__Instance * instance, const char * name, void * function);
166 extern void __ecereNameSpace__ecere__com__eInstance_IncRef(struct __ecereNameSpace__ecere__com__Instance * instance);
168 struct __ecereNameSpace__ecere__com__Property;
170 extern void __ecereNameSpace__ecere__com__eInstance_FireSelfWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
172 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);
174 extern void __ecereNameSpace__ecere__com__eInstance_Watch(void * instance, struct __ecereNameSpace__ecere__com__Property * _property, void * object, void (* callback)(void * , void * ));
176 extern void __ecereNameSpace__ecere__com__eInstance_FireWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
180 extern struct Identifier * MkIdentifier(const char * string);
184 extern struct Expression * MkExpDummy(void);
186 extern struct Expression * MkExpIdentifier(struct Identifier * id);
188 extern struct Expression * MkExpConstant(const char * string);
190 extern struct Expression * MkExpString(const char * string);
192 extern struct Expression * MkExpOp(struct Expression * exp1, int op, struct Expression * exp2);
194 extern struct Expression * MkExpBrackets(struct __ecereNameSpace__ecere__sys__OldList * expressions);
196 extern struct Expression * MkExpIndex(struct Expression * expression, struct __ecereNameSpace__ecere__sys__OldList * index);
198 extern struct Expression * MkExpCall(struct Expression * expression, struct __ecereNameSpace__ecere__sys__OldList * arguments);
200 extern struct Expression * MkExpMember(struct Expression * expression, struct Identifier * member);
202 extern struct Expression * MkExpPointer(struct Expression * expression, struct Identifier * member);
204 extern struct Expression * MkExpCondition(struct Expression * cond, struct __ecereNameSpace__ecere__sys__OldList * expressions, struct Expression * elseExp);
208 extern struct Symbol * FindClass(const char * name);
212 extern struct Declaration * MkDeclaration(struct __ecereNameSpace__ecere__sys__OldList * specifiers, struct __ecereNameSpace__ecere__sys__OldList * initDeclarators);
218 struct Identifier * prev;
219 struct Identifier * next;
221 struct Symbol * classSym;
222 struct Specifier * _class;
224 struct Identifier * badID;
225 } __attribute__ ((gcc_struct));
229 struct Specifier * prev;
230 struct Specifier * next;
238 struct ExtDecl * extDecl;
240 struct Symbol * symbol;
241 struct __ecereNameSpace__ecere__sys__OldList * templateArgs;
242 struct Specifier * nsSpec;
243 } __attribute__ ((gcc_struct)) __anon1;
246 struct Identifier * id;
247 struct __ecereNameSpace__ecere__sys__OldList * list;
248 struct __ecereNameSpace__ecere__sys__OldList * baseSpecs;
249 struct __ecereNameSpace__ecere__sys__OldList * definitions;
250 unsigned int addNameSpace;
251 struct Context * ctx;
252 struct ExtDecl * extDeclStruct;
253 } __attribute__ ((gcc_struct)) __anon2;
254 struct Expression * expression;
255 struct Specifier * _class;
256 struct TemplateParameter * templateParameter;
257 } __attribute__ ((gcc_struct)) __anon1;
258 } __attribute__ ((gcc_struct));
260 extern struct Specifier * MkSpecifier(int specifier);
262 extern struct Specifier * MkEnum(struct Identifier * id, struct __ecereNameSpace__ecere__sys__OldList * list);
264 extern struct Specifier * MkStructOrUnion(int type, struct Identifier * id, struct __ecereNameSpace__ecere__sys__OldList * definitions);
266 extern struct Specifier * MkSpecifierSubClass(struct Specifier * _class);
268 extern struct Specifier * MkSpecifierExtended(struct ExtDecl * extDecl);
272 extern struct Expression * MkExpClass(struct __ecereNameSpace__ecere__sys__OldList * specifiers, struct Declarator * decl);
274 extern struct Declarator * MkStructDeclarator(struct Declarator * declarator, struct Expression * exp);
276 extern struct Declarator * MkDeclaratorIdentifier(struct Identifier * id);
278 extern struct Declarator * MkDeclaratorBrackets(struct Declarator * declarator);
280 extern struct Declarator * MkDeclaratorEnumArray(struct Declarator * declarator, struct Specifier * _class);
282 extern struct Declarator * MkDeclaratorArray(struct Declarator * declarator, struct Expression * exp);
284 extern struct Declarator * MkDeclaratorFunction(struct Declarator * declarator, struct __ecereNameSpace__ecere__sys__OldList * parameters);
286 extern struct Declarator * MkDeclaratorExtended(struct ExtDecl * extended, struct Declarator * declarator);
288 extern struct Declarator * MkDeclaratorExtendedEnd(struct ExtDecl * extended, struct Declarator * declarator);
290 struct __ecereNameSpace__ecere__sys__Item;
292 struct __ecereNameSpace__ecere__sys__Item
294 struct __ecereNameSpace__ecere__sys__Item * prev;
295 struct __ecereNameSpace__ecere__sys__Item * next;
296 } __attribute__ ((gcc_struct));
298 struct __ecereNameSpace__ecere__sys__OldList * CopyList(struct __ecereNameSpace__ecere__sys__OldList * source, void * (* CopyFunction)(void *))
300 struct __ecereNameSpace__ecere__sys__OldList * list = (((void *)0));
304 struct __ecereNameSpace__ecere__sys__Item * item;
307 for(item = (*source).first; item; item = item->next)
308 ListAdd(list, CopyFunction(item));
317 struct Pointer * prev;
318 struct Pointer * next;
320 struct __ecereNameSpace__ecere__sys__OldList * qualifiers;
321 struct Pointer * pointer;
322 } __attribute__ ((gcc_struct));
324 extern struct Pointer * MkPointer(struct __ecereNameSpace__ecere__sys__OldList * qualifiers, struct Pointer * pointer);
328 struct Declarator * prev;
329 struct Declarator * next;
332 struct Symbol * symbol;
333 struct Declarator * declarator;
336 struct Identifier * identifier;
339 struct Expression * exp;
340 struct Expression * posExp;
341 struct Attrib * attrib;
342 } __attribute__ ((gcc_struct)) structDecl;
345 struct Expression * exp;
346 struct Specifier * enumClass;
347 } __attribute__ ((gcc_struct)) array;
350 struct __ecereNameSpace__ecere__sys__OldList * parameters;
351 } __attribute__ ((gcc_struct)) function;
354 struct Pointer * pointer;
355 } __attribute__ ((gcc_struct)) pointer;
358 struct ExtDecl * extended;
359 } __attribute__ ((gcc_struct)) extended;
360 } __attribute__ ((gcc_struct)) __anon1;
361 } __attribute__ ((gcc_struct));
363 extern struct Declarator * MkDeclaratorPointer(struct Pointer * pointer, struct Declarator * declarator);
369 struct Initializer * prev;
370 struct Initializer * next;
375 struct Expression * exp;
376 struct __ecereNameSpace__ecere__sys__OldList * list;
377 } __attribute__ ((gcc_struct)) __anon1;
378 unsigned int isConstant;
379 struct Identifier * id;
380 } __attribute__ ((gcc_struct));
382 extern struct Initializer * MkInitializerAssignment(struct Expression * exp);
384 extern struct Initializer * MkInitializerList(struct __ecereNameSpace__ecere__sys__OldList * list);
390 struct MembersInit * prev;
391 struct MembersInit * next;
396 struct __ecereNameSpace__ecere__sys__OldList * dataMembers;
397 struct ClassFunction * function;
398 } __attribute__ ((gcc_struct)) __anon1;
399 } __attribute__ ((gcc_struct));
401 extern struct MembersInit * MkMembersInitList(struct __ecereNameSpace__ecere__sys__OldList * dataMembers);
405 extern struct Expression * MkExpExtensionCompound(struct Statement * compound);
409 struct Statement * prev;
410 struct Statement * next;
415 struct __ecereNameSpace__ecere__sys__OldList * expressions;
418 struct Identifier * id;
419 struct Statement * stmt;
420 } __attribute__ ((gcc_struct)) labeled;
423 struct Expression * exp;
424 struct Statement * stmt;
425 } __attribute__ ((gcc_struct)) caseStmt;
428 struct __ecereNameSpace__ecere__sys__OldList * declarations;
429 struct __ecereNameSpace__ecere__sys__OldList * statements;
430 struct Context * context;
431 unsigned int isSwitch;
432 } __attribute__ ((gcc_struct)) compound;
435 struct __ecereNameSpace__ecere__sys__OldList * exp;
436 struct Statement * stmt;
437 struct Statement * elseStmt;
438 } __attribute__ ((gcc_struct)) ifStmt;
441 struct __ecereNameSpace__ecere__sys__OldList * exp;
442 struct Statement * stmt;
443 } __attribute__ ((gcc_struct)) switchStmt;
446 struct __ecereNameSpace__ecere__sys__OldList * exp;
447 struct Statement * stmt;
448 } __attribute__ ((gcc_struct)) whileStmt;
451 struct __ecereNameSpace__ecere__sys__OldList * exp;
452 struct Statement * stmt;
453 } __attribute__ ((gcc_struct)) doWhile;
456 struct Statement * init;
457 struct Statement * check;
458 struct __ecereNameSpace__ecere__sys__OldList * increment;
459 struct Statement * stmt;
460 } __attribute__ ((gcc_struct)) forStmt;
463 struct Identifier * id;
464 } __attribute__ ((gcc_struct)) gotoStmt;
467 struct Specifier * spec;
469 struct __ecereNameSpace__ecere__sys__OldList * inputFields;
470 struct __ecereNameSpace__ecere__sys__OldList * outputFields;
471 struct __ecereNameSpace__ecere__sys__OldList * clobberedFields;
472 } __attribute__ ((gcc_struct)) asmStmt;
475 struct Expression * watcher;
476 struct Expression * object;
477 struct __ecereNameSpace__ecere__sys__OldList * watches;
478 } __attribute__ ((gcc_struct)) _watch;
481 struct Identifier * id;
482 struct __ecereNameSpace__ecere__sys__OldList * exp;
483 struct __ecereNameSpace__ecere__sys__OldList * filter;
484 struct Statement * stmt;
485 } __attribute__ ((gcc_struct)) forEachStmt;
486 struct Declaration * decl;
487 } __attribute__ ((gcc_struct)) __anon1;
488 } __attribute__ ((gcc_struct));
490 extern struct Statement * MkCompoundStmt(struct __ecereNameSpace__ecere__sys__OldList * declarations, struct __ecereNameSpace__ecere__sys__OldList * statements);
492 extern struct Statement * MkExpressionStmt(struct __ecereNameSpace__ecere__sys__OldList * expressions);
494 extern struct Statement * MkBadDeclStmt(struct Declaration * decl);
496 struct __ecereNameSpace__ecere__sys__BinaryTree;
498 struct __ecereNameSpace__ecere__sys__BinaryTree
500 struct __ecereNameSpace__ecere__sys__BTNode * root;
502 int (* CompareKey)(struct __ecereNameSpace__ecere__sys__BinaryTree * tree, uintptr_t a, uintptr_t b);
503 void (* FreeKey)(void * key);
504 } __attribute__ ((gcc_struct));
506 struct Attrib * CopyAttrib(struct Attrib * attrib);
508 struct ExtDecl * CopyExtDecl(struct ExtDecl * extDecl)
512 if(extDecl->type == 1)
513 return MkExtDeclAttrib(CopyAttrib(extDecl->__anon1.attr));
514 else if(extDecl->type == 0)
515 return MkExtDeclString(__ecereNameSpace__ecere__sys__CopyString(extDecl->__anon1.s));
517 return (((void *)0));
520 struct __ecereNameSpace__ecere__com__Method;
522 struct __ecereNameSpace__ecere__com__Module;
524 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);
528 struct __ecereNameSpace__ecere__com__Property
530 struct __ecereNameSpace__ecere__com__Property * prev;
531 struct __ecereNameSpace__ecere__com__Property * next;
533 unsigned int isProperty;
536 struct __ecereNameSpace__ecere__com__Class * _class;
537 const char * dataTypeString;
538 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
539 struct Type * dataType;
540 void (* Set)(void * , int);
541 int (* Get)(void * );
542 unsigned int (* IsSet)(void * );
546 unsigned int conversion;
547 unsigned int watcherOffset;
548 const char * category;
549 unsigned int compiled;
550 unsigned int selfWatchable;
551 unsigned int isWatchable;
552 } __attribute__ ((gcc_struct));
554 struct __ecereNameSpace__ecere__com__Method
557 struct __ecereNameSpace__ecere__com__Method * parent;
558 struct __ecereNameSpace__ecere__com__Method * left;
559 struct __ecereNameSpace__ecere__com__Method * right;
564 struct __ecereNameSpace__ecere__com__Class * _class;
566 const char * dataTypeString;
567 struct Type * dataType;
569 } __attribute__ ((gcc_struct));
574 struct Symbol * parent;
575 struct Symbol * left;
576 struct Symbol * right;
581 struct __ecereNameSpace__ecere__com__Method * method;
582 struct __ecereNameSpace__ecere__com__Property * _property;
583 struct __ecereNameSpace__ecere__com__Class * registered;
584 } __attribute__ ((gcc_struct)) __anon1;
585 unsigned int notYetDeclared;
590 struct External * pointerExternal;
591 struct External * structExternal;
592 } __attribute__ ((gcc_struct)) __anon1;
595 struct External * externalGet;
596 struct External * externalSet;
597 struct External * externalPtr;
598 struct External * externalIsSet;
599 } __attribute__ ((gcc_struct)) __anon2;
602 struct External * methodExternal;
603 struct External * methodCodeExternal;
604 } __attribute__ ((gcc_struct)) __anon3;
605 } __attribute__ ((gcc_struct)) __anon2;
606 unsigned int imported;
607 unsigned int declaredStructSym;
608 struct __ecereNameSpace__ecere__com__Class * _class;
609 unsigned int declaredStruct;
610 unsigned int needConstructor;
611 unsigned int needDestructor;
612 char * constructorName;
615 char * destructorName;
616 struct ModuleImport * module;
617 struct ClassImport * _import;
618 struct Location nameLoc;
619 unsigned int isParam;
620 unsigned int isRemote;
621 unsigned int isStruct;
622 unsigned int fireWatchersDone;
624 unsigned int classData;
625 unsigned int isStatic;
627 struct __ecereNameSpace__ecere__sys__OldList * templateParams;
628 struct __ecereNameSpace__ecere__sys__OldList templatedClasses;
629 struct Context * ctx;
631 struct Expression * propCategory;
632 unsigned int mustRegister;
633 } __attribute__ ((gcc_struct));
642 struct Symbol * _class;
645 struct __ecereNameSpace__ecere__sys__OldList members;
647 } __attribute__ ((gcc_struct)) __anon1;
650 struct Type * returnType;
651 struct __ecereNameSpace__ecere__sys__OldList params;
652 struct Symbol * thisClass;
653 unsigned int staticMethod;
654 struct TemplateParameter * thisClassTemplate;
655 } __attribute__ ((gcc_struct)) __anon2;
658 struct __ecereNameSpace__ecere__com__Method * method;
659 struct __ecereNameSpace__ecere__com__Class * methodClass;
660 struct __ecereNameSpace__ecere__com__Class * usedClass;
661 } __attribute__ ((gcc_struct)) __anon3;
664 struct Type * arrayType;
666 struct Expression * arraySizeExp;
667 unsigned int freeExp;
668 struct Symbol * enumClass;
669 } __attribute__ ((gcc_struct)) __anon4;
671 struct TemplateParameter * templateParameter;
672 } __attribute__ ((gcc_struct)) __anon1;
677 struct __ecereNameSpace__ecere__com__Class * thisClassFrom;
683 unsigned int isSigned : 1;
684 unsigned int constant : 1;
685 unsigned int truth : 1;
686 unsigned int byReference : 1;
687 unsigned int extraParam : 1;
688 unsigned int directClassAccess : 1;
689 unsigned int computing : 1;
690 unsigned int keepCast : 1;
691 unsigned int passAsTemplate : 1;
692 unsigned int dllExport : 1;
693 unsigned int attrStdcall : 1;
694 unsigned int declaredWithStruct : 1;
695 unsigned int typedByReference : 1;
696 unsigned int casted : 1;
697 unsigned int pointerAlignment : 1;
698 unsigned int isLong : 1;
699 } __attribute__ ((gcc_struct));
701 struct Instantiation;
705 struct Instantiation * prev;
706 struct Instantiation * next;
708 struct Specifier * _class;
709 struct Expression * exp;
710 struct __ecereNameSpace__ecere__sys__OldList * members;
711 struct Symbol * symbol;
712 unsigned int fullSet;
713 unsigned int isConstant;
714 unsigned char * data;
715 struct Location nameLoc;
716 struct Location insideLoc;
718 } __attribute__ ((gcc_struct));
720 extern struct Instantiation * MkInstantiation(struct Specifier * _class, struct Expression * exp, struct __ecereNameSpace__ecere__sys__OldList * members);
722 extern struct Expression * MkExpInstance(struct Instantiation * inst);
726 struct Declaration * prev;
727 struct Declaration * next;
734 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
735 struct __ecereNameSpace__ecere__sys__OldList * declarators;
736 } __attribute__ ((gcc_struct)) __anon1;
737 struct Instantiation * inst;
740 struct Identifier * id;
741 struct Expression * exp;
742 } __attribute__ ((gcc_struct)) __anon2;
743 } __attribute__ ((gcc_struct)) __anon1;
744 struct Specifier * extStorage;
745 struct Symbol * symbol;
747 } __attribute__ ((gcc_struct));
753 struct Expression * prev;
754 struct Expression * next;
762 struct Identifier * identifier;
763 } __attribute__ ((gcc_struct)) __anon1;
764 struct Statement * compound;
765 struct Instantiation * instance;
769 unsigned int intlString;
770 unsigned int wideString;
771 } __attribute__ ((gcc_struct)) __anon2;
772 struct __ecereNameSpace__ecere__sys__OldList * list;
775 struct __ecereNameSpace__ecere__sys__OldList * specifiers;
776 struct Declarator * decl;
777 } __attribute__ ((gcc_struct)) _classExp;
780 struct Identifier * id;
781 } __attribute__ ((gcc_struct)) classData;
784 struct Expression * exp;
785 struct __ecereNameSpace__ecere__sys__OldList * arguments;
786 struct Location argLoc;
787 } __attribute__ ((gcc_struct)) call;
790 struct Expression * exp;
791 struct __ecereNameSpace__ecere__sys__OldList * index;
792 } __attribute__ ((gcc_struct)) index;
795 struct Expression * exp;
796 struct Identifier * member;
798 unsigned int thisPtr;
799 } __attribute__ ((gcc_struct)) member;
803 struct Expression * exp1;
804 struct Expression * exp2;
805 } __attribute__ ((gcc_struct)) op;
806 struct TypeName * typeName;
807 struct Specifier * _class;
810 struct TypeName * typeName;
811 struct Expression * exp;
812 } __attribute__ ((gcc_struct)) cast;
815 struct Expression * cond;
816 struct __ecereNameSpace__ecere__sys__OldList * exp;
817 struct Expression * elseExp;
818 } __attribute__ ((gcc_struct)) cond;
821 struct TypeName * typeName;
822 struct Expression * size;
823 } __attribute__ ((gcc_struct)) _new;
826 struct TypeName * typeName;
827 struct Expression * size;
828 struct Expression * exp;
829 } __attribute__ ((gcc_struct)) _renew;
833 struct Identifier * id;
834 } __attribute__ ((gcc_struct)) db;
837 struct Expression * ds;
838 struct Expression * name;
839 } __attribute__ ((gcc_struct)) dbopen;
842 struct TypeName * typeName;
843 struct Initializer * initializer;
844 } __attribute__ ((gcc_struct)) initializer;
847 struct Expression * exp;
848 struct TypeName * typeName;
849 } __attribute__ ((gcc_struct)) vaArg;
850 } __attribute__ ((gcc_struct)) __anon1;
851 unsigned int debugValue;
852 struct __ecereNameSpace__ecere__com__DataValue val;
854 unsigned int hasAddress;
855 struct Type * expType;
856 struct Type * destType;
859 unsigned int byReference;
860 unsigned int isConstant;
861 unsigned int addedThis;
862 unsigned int needCast;
863 unsigned int thisPtr;
864 unsigned int opDestType;
865 unsigned int needTemplateCast;
866 } __attribute__ ((gcc_struct));
868 extern struct Expression * MkExpTypeSize(struct TypeName * typeName);
870 extern struct Expression * MkExpTypeAlign(struct TypeName * typeName);
872 extern struct Expression * MkExpCast(struct TypeName * typeName, struct Expression * expression);
874 extern struct Expression * MkExpVaArg(struct Expression * exp, struct TypeName * type);
876 extern struct Expression * MkExpExtensionInitializer(struct TypeName * typeName, struct Initializer * initializer);
880 struct TypeName * prev;
881 struct TypeName * next;
883 struct __ecereNameSpace__ecere__sys__OldList * qualifiers;
884 struct Declarator * declarator;
886 struct Expression * bitCount;
887 } __attribute__ ((gcc_struct));
889 extern struct TypeName * MkTypeName(struct __ecereNameSpace__ecere__sys__OldList * qualifiers, struct Declarator * declarator);
893 extern struct Enumerator * MkEnumerator(struct Identifier * id, struct Expression * exp);
897 struct Enumerator * prev;
898 struct Enumerator * next;
900 struct Identifier * id;
901 struct Expression * exp;
902 } __attribute__ ((gcc_struct));
906 extern struct Attribute * MkAttribute(char * attr, struct Expression * exp);
910 struct Attribute * prev;
911 struct Attribute * next;
914 struct Expression * exp;
915 } __attribute__ ((gcc_struct));
921 struct ClassDef * prev;
922 struct ClassDef * next;
927 struct Declaration * decl;
928 struct ClassFunction * function;
929 struct __ecereNameSpace__ecere__sys__OldList * defProperties;
930 struct PropertyDef * propertyDef;
931 struct PropertyWatch * propertyWatch;
933 struct Identifier * defaultProperty;
936 struct Identifier * id;
937 struct Initializer * initializer;
938 } __attribute__ ((gcc_struct)) __anon1;
939 } __attribute__ ((gcc_struct)) __anon1;
942 } __attribute__ ((gcc_struct));
944 extern struct ClassDef * MkClassDefDeclaration(struct Declaration * decl);
946 struct Specifier * CopySpecifier(struct Specifier * spec);
948 struct Identifier * CopyIdentifier(struct Identifier * id)
952 struct Identifier * copy = MkIdentifier(id->string);
954 copy->_class = id->_class ? CopySpecifier(id->_class) : (((void *)0));
955 copy->classSym = id->classSym;
958 return (((void *)0));
961 static struct Pointer * CopyPointer(struct Pointer * ptr)
965 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
966 struct Specifier * spec;
970 for(spec = (*ptr->qualifiers).first; spec; spec = spec->next)
971 ListAdd(list, CopySpecifier(spec));
973 return MkPointer(list, CopyPointer(ptr->pointer));
975 return (((void *)0));
978 struct Attribute * CopyAttribute(struct Attribute * attrib);
980 struct Attrib * CopyAttrib(struct Attrib * attrib)
983 return MkAttrib(attrib->type, CopyList(attrib->attribs, (void *)(CopyAttribute)));
984 return (((void *)0));
989 extern struct MemberInit * MkMemberInit(struct __ecereNameSpace__ecere__sys__OldList * ids, struct Initializer * initializer);
993 struct MemberInit * prev;
994 struct MemberInit * next;
996 struct Location realLoc;
997 struct __ecereNameSpace__ecere__sys__OldList * identifiers;
998 struct Initializer * initializer;
1000 unsigned int variable;
1001 unsigned int takeOutExp;
1002 } __attribute__ ((gcc_struct));
1004 struct InitDeclarator;
1006 extern struct InitDeclarator * MkInitDeclarator(struct Declarator * declarator, struct Initializer * initializer);
1008 struct InitDeclarator
1010 struct InitDeclarator * prev;
1011 struct InitDeclarator * next;
1012 struct Location loc;
1013 struct Declarator * declarator;
1014 struct Initializer * initializer;
1015 } __attribute__ ((gcc_struct));
1017 struct __ecereNameSpace__ecere__com__NameSpace;
1019 struct __ecereNameSpace__ecere__com__NameSpace
1022 struct __ecereNameSpace__ecere__com__NameSpace * btParent;
1023 struct __ecereNameSpace__ecere__com__NameSpace * left;
1024 struct __ecereNameSpace__ecere__com__NameSpace * right;
1026 struct __ecereNameSpace__ecere__com__NameSpace * parent;
1027 struct __ecereNameSpace__ecere__sys__BinaryTree nameSpaces;
1028 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
1029 struct __ecereNameSpace__ecere__sys__BinaryTree defines;
1030 struct __ecereNameSpace__ecere__sys__BinaryTree functions;
1031 } __attribute__ ((gcc_struct));
1033 struct __ecereNameSpace__ecere__com__Application
1036 const char * * argv;
1038 unsigned int isGUIApp;
1039 struct __ecereNameSpace__ecere__sys__OldList allModules;
1040 char * parsedCommand;
1041 struct __ecereNameSpace__ecere__com__NameSpace systemNameSpace;
1042 } __attribute__ ((gcc_struct));
1044 struct __ecereNameSpace__ecere__com__Module
1046 struct __ecereNameSpace__ecere__com__Instance * application;
1047 struct __ecereNameSpace__ecere__sys__OldList classes;
1048 struct __ecereNameSpace__ecere__sys__OldList defines;
1049 struct __ecereNameSpace__ecere__sys__OldList functions;
1050 struct __ecereNameSpace__ecere__sys__OldList modules;
1051 struct __ecereNameSpace__ecere__com__Instance * prev;
1052 struct __ecereNameSpace__ecere__com__Instance * next;
1058 struct __ecereNameSpace__ecere__com__NameSpace privateNameSpace;
1059 struct __ecereNameSpace__ecere__com__NameSpace publicNameSpace;
1060 } __attribute__ ((gcc_struct));
1062 void __ecereUnregisterModule_copy(struct __ecereNameSpace__ecere__com__Instance * module)
1067 struct __ecereNameSpace__ecere__com__DataMember;
1069 struct __ecereNameSpace__ecere__com__ClassTemplateArgument
1075 const char * dataTypeString;
1076 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
1077 } __attribute__ ((gcc_struct)) __anon1;
1078 struct __ecereNameSpace__ecere__com__DataValue expression;
1081 const char * memberString;
1084 struct __ecereNameSpace__ecere__com__DataMember * member;
1085 struct __ecereNameSpace__ecere__com__Property * prop;
1086 struct __ecereNameSpace__ecere__com__Method * method;
1087 } __attribute__ ((gcc_struct)) __anon1;
1088 } __attribute__ ((gcc_struct)) __anon2;
1089 } __attribute__ ((gcc_struct)) __anon1;
1090 } __attribute__ ((gcc_struct));
1092 struct __ecereNameSpace__ecere__com__DataMember
1094 struct __ecereNameSpace__ecere__com__DataMember * prev;
1095 struct __ecereNameSpace__ecere__com__DataMember * next;
1097 unsigned int isProperty;
1100 struct __ecereNameSpace__ecere__com__Class * _class;
1101 const char * dataTypeString;
1102 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
1103 struct Type * dataType;
1107 struct __ecereNameSpace__ecere__sys__OldList members;
1108 struct __ecereNameSpace__ecere__sys__BinaryTree membersAlpha;
1110 short structAlignment;
1111 short pointerAlignment;
1112 } __attribute__ ((gcc_struct));
1114 struct __ecereNameSpace__ecere__com__Class
1116 struct __ecereNameSpace__ecere__com__Class * prev;
1117 struct __ecereNameSpace__ecere__com__Class * next;
1123 unsigned int (* Constructor)(void * );
1124 void (* Destructor)(void * );
1127 struct __ecereNameSpace__ecere__com__Class * base;
1128 struct __ecereNameSpace__ecere__sys__BinaryTree methods;
1129 struct __ecereNameSpace__ecere__sys__BinaryTree members;
1130 struct __ecereNameSpace__ecere__sys__BinaryTree prop;
1131 struct __ecereNameSpace__ecere__sys__OldList membersAndProperties;
1132 struct __ecereNameSpace__ecere__sys__BinaryTree classProperties;
1133 struct __ecereNameSpace__ecere__sys__OldList derivatives;
1137 struct __ecereNameSpace__ecere__com__Instance * module;
1138 struct __ecereNameSpace__ecere__com__NameSpace * nameSpace;
1139 const char * dataTypeString;
1140 struct Type * dataType;
1142 int defaultAlignment;
1143 void (* Initialize)();
1145 struct __ecereNameSpace__ecere__sys__OldList selfWatchers;
1146 const char * designerClass;
1147 unsigned int noExpansion;
1148 const char * defaultProperty;
1149 unsigned int comRedefinition;
1152 unsigned int internalDecl;
1154 unsigned int computeSize;
1155 short structAlignment;
1156 short pointerAlignment;
1157 int destructionWatchOffset;
1159 struct __ecereNameSpace__ecere__sys__OldList delayedCPValues;
1160 int inheritanceAccess;
1161 const char * fullName;
1163 struct __ecereNameSpace__ecere__sys__OldList conversions;
1164 struct __ecereNameSpace__ecere__sys__OldList templateParams;
1165 struct __ecereNameSpace__ecere__com__ClassTemplateArgument * templateArgs;
1166 struct __ecereNameSpace__ecere__com__Class * templateClass;
1167 struct __ecereNameSpace__ecere__sys__OldList templatized;
1169 unsigned int isInstanceClass;
1170 unsigned int byValueSystemClass;
1171 } __attribute__ ((gcc_struct));
1173 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Expression;
1175 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Context;
1177 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass_Specifier;
1179 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Instance;
1181 struct Expression * MoveExpContents(struct Expression * exp)
1183 struct Expression * newExp = __ecereNameSpace__ecere__com__eInstance_New(__ecereClass_Expression);
1186 newExp->prev = (((void *)0));
1187 newExp->next = (((void *)0));
1188 newExp->destType = (((void *)0));
1190 exp->expType->refCount++;
1194 struct Expression * CopyExpression(struct Expression * exp);
1196 static struct Initializer * CopyInitializer(struct Initializer * initializer)
1198 struct Initializer * copy = (((void *)0));
1201 if(initializer->type == 0)
1202 copy = MkInitializerAssignment(CopyExpression(initializer->__anon1.exp));
1203 else if(initializer->type == 1)
1204 copy = MkInitializerList(CopyList(initializer->__anon1.list, (void *)(CopyInitializer)));
1207 copy->loc = initializer->loc;
1209 copy->id = CopyIdentifier(initializer->id);
1210 copy->isConstant = initializer->isConstant;
1215 static struct Enumerator * CopyEnumerator(struct Enumerator * enumerator)
1217 return MkEnumerator(CopyIdentifier(enumerator->id), CopyExpression(enumerator->exp));
1220 struct Attribute * CopyAttribute(struct Attribute * attrib)
1223 return MkAttribute(__ecereNameSpace__ecere__sys__CopyString(attrib->attr), CopyExpression(attrib->exp));
1224 return (((void *)0));
1227 static struct MemberInit * CopyMemberInit(struct MemberInit * member)
1229 return MkMemberInit(CopyList(member->identifiers, (void *)(CopyIdentifier)), CopyInitializer(member->initializer));
1232 static struct MembersInit * CopyMembersInit(struct MembersInit * members)
1234 struct __ecereNameSpace__ecere__sys__OldList * list = (((void *)0));
1236 switch(members->type)
1242 struct MemberInit * member;
1245 for(member = (*members->__anon1.dataMembers).first; member; member = member->next)
1246 ListAdd(list, CopyMemberInit(member));
1250 return MkMembersInitList(list);
1253 static struct Instantiation * CopyInstantiation(struct Instantiation * inst)
1255 struct Instantiation * copy;
1256 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
1257 struct MembersInit * member;
1261 for(member = (*inst->members).first; member; member = member->next)
1262 ListAdd(list, CopyMembersInit(member));
1264 copy = MkInstantiation(CopySpecifier(inst->_class), CopyExpression(inst->exp), list);
1265 copy->data = inst->data;
1268 struct Symbol * classSym = FindClass(inst->_class->__anon1.__anon1.name);
1269 struct __ecereNameSpace__ecere__com__Class * _class = classSym ? classSym->__anon1.registered : (((void *)0));
1273 if(_class->type == 0)
1274 ((struct __ecereNameSpace__ecere__com__Instance *)(char *)((struct __ecereNameSpace__ecere__com__Instance *)copy->data))->_refCount++;
1277 copy->loc = inst->loc;
1278 copy->isConstant = inst->isConstant;
1282 struct Declaration * CopyDeclaration(struct Declaration * decl);
1284 static struct Statement * CopyStatement(struct Statement * stmt)
1286 struct Statement * result = (((void *)0));
1293 result = MkCompoundStmt(CopyList(stmt->__anon1.compound.declarations, (void *)(CopyDeclaration)), CopyList(stmt->__anon1.compound.statements, (void *)(CopyStatement)));
1294 result->__anon1.compound.context = __ecereNameSpace__ecere__com__eInstance_New(__ecereClass_Context);
1297 result = MkExpressionStmt(CopyList(stmt->__anon1.expressions, (void *)(CopyExpression)));
1300 result = MkBadDeclStmt(CopyDeclaration(stmt->__anon1.decl));
1306 result->loc = stmt->loc;
1311 struct ClassDef * CopyClassDef(struct ClassDef * def)
1316 return (((void *)0));
1318 return (((void *)0));
1320 return MkClassDefDeclaration(CopyDeclaration(def->__anon1.decl));
1322 return (((void *)0));
1324 return (((void *)0));
1327 struct Specifier * CopySpecifier(struct Specifier * spec)
1333 return MkSpecifier(spec->__anon1.specifier);
1336 struct Identifier * id = CopyIdentifier(spec->__anon1.__anon2.id);
1337 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
1338 struct Enumerator * enumerator;
1340 if(spec->__anon1.__anon2.list)
1342 for(enumerator = (*spec->__anon1.__anon2.list).first; enumerator; enumerator = enumerator->next)
1343 ListAdd(list, CopyEnumerator(enumerator));
1345 return MkEnum(id, list);
1350 struct Identifier * id = CopyIdentifier(spec->__anon1.__anon2.id);
1351 struct __ecereNameSpace__ecere__sys__OldList * list = (((void *)0));
1352 struct ClassDef * def;
1353 struct Specifier * s;
1355 if(spec->__anon1.__anon2.definitions)
1358 if(spec->__anon1.__anon2.list)
1360 for(def = (*spec->__anon1.__anon2.list).first; def; def = def->next)
1361 ListAdd(list, CopyClassDef(def));
1364 s = MkStructOrUnion(spec->type, id, list);
1365 s->__anon1.__anon2.extDeclStruct = CopyExtDecl(spec->__anon1.__anon2.extDeclStruct);
1370 struct Specifier * copy = (copy = __ecereNameSpace__ecere__com__eInstance_New(__ecereClass_Specifier), copy->type = 1, copy->__anon1.__anon1.name = __ecereNameSpace__ecere__sys__CopyString(spec->__anon1.__anon1.name), copy->__anon1.__anon1.symbol = spec->__anon1.__anon1.symbol, copy->__anon1.__anon1.templateArgs = (((void *)0)), copy);
1375 return MkSpecifierSubClass(CopySpecifier(spec->__anon1._class));
1377 return __extension__ ({
1378 struct Specifier * __ecereInstance1 = __ecereNameSpace__ecere__com__eInstance_New(__ecereClass_Specifier);
1380 __ecereInstance1->loc = spec->loc, __ecereInstance1->type = 8, __ecereInstance1->__anon1.templateParameter = spec->__anon1.templateParameter, __ecereInstance1;
1383 return MkSpecifierExtended(CopyExtDecl(spec->__anon1.__anon1.extDecl));
1385 return (((void *)0));
1388 struct Declarator * CopyDeclarator(struct Declarator * declarator);
1390 struct TypeName * CopyTypeName(struct TypeName * typeName)
1392 struct __ecereNameSpace__ecere__sys__OldList * list = (((void *)0));
1393 struct TypeName * copy;
1395 if(typeName->qualifiers)
1397 struct Specifier * spec;
1400 for(spec = (*typeName->qualifiers).first; spec; spec = spec->next)
1401 ListAdd(list, CopySpecifier(spec));
1403 copy = MkTypeName(list, CopyDeclarator(typeName->declarator));
1404 copy->classObjectType = typeName->classObjectType;
1408 struct InitDeclarator * CopyInitDeclarator(struct InitDeclarator * initDecl)
1410 return MkInitDeclarator(CopyDeclarator(initDecl->declarator), CopyInitializer(initDecl->initializer));
1413 struct Expression * CopyExpression(struct Expression * exp)
1415 struct Expression * result = (((void *)0));
1421 result = MkExpDummy();
1424 result = MkExpIdentifier(CopyIdentifier(exp->__anon1.__anon1.identifier));
1427 result = MkExpInstance(CopyInstantiation(exp->__anon1.instance));
1430 result = MkExpConstant(exp->__anon1.__anon2.string);
1433 result = MkExpString(exp->__anon1.__anon2.string);
1436 result = MkExpOp(CopyExpression(exp->__anon1.op.exp1), exp->__anon1.op.op, CopyExpression(exp->__anon1.op.exp2));
1440 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
1441 struct Expression * e;
1443 for(e = (*exp->__anon1.list).first; e; e = e->next)
1444 ListAdd(list, CopyExpression(e));
1445 result = MkExpBrackets(list);
1450 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
1451 struct Expression * e;
1453 for(e = (*exp->__anon1.index.index).first; e; e = e->next)
1454 ListAdd(list, CopyExpression(e));
1455 result = MkExpIndex(CopyExpression(exp->__anon1.index.exp), list);
1460 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
1461 struct Expression * arg;
1463 if(exp->__anon1.call.arguments)
1465 for(arg = (*exp->__anon1.call.arguments).first; arg; arg = arg->next)
1466 ListAdd(list, CopyExpression(arg));
1468 result = MkExpCall(CopyExpression(exp->__anon1.call.exp), list);
1472 result = MkExpMember(CopyExpression(exp->__anon1.member.exp), CopyIdentifier(exp->__anon1.member.member));
1473 result->__anon1.member.memberType = exp->__anon1.member.memberType;
1474 result->__anon1.member.thisPtr = exp->__anon1.member.thisPtr;
1477 result = MkExpPointer(CopyExpression(exp->__anon1.member.exp), CopyIdentifier(exp->__anon1.member.member));
1480 result = MkExpTypeSize(CopyTypeName(exp->__anon1.typeName));
1483 result = MkExpTypeAlign(CopyTypeName(exp->__anon1.typeName));
1486 result = MkExpCast(CopyTypeName(exp->__anon1.cast.typeName), CopyExpression(exp->__anon1.cast.exp));
1490 struct __ecereNameSpace__ecere__sys__OldList * list = MkList();
1491 struct Expression * e;
1493 for(e = (*exp->__anon1.cond.exp).first; e; e = e->next)
1494 ListAdd(list, CopyExpression(e));
1495 result = MkExpCondition(CopyExpression(exp->__anon1.cond.cond), list, CopyExpression(exp->__anon1.cond.elseExp));
1499 result = MkExpVaArg(CopyExpression(exp->__anon1.vaArg.exp), CopyTypeName(exp->__anon1.vaArg.typeName));
1502 result = MkExpExtensionCompound(CopyStatement(exp->__anon1.compound));
1505 result = MkExpExtensionInitializer(CopyTypeName(exp->__anon1.initializer.typeName), CopyInitializer(exp->__anon1.initializer.initializer));
1508 result = MkExpClass(CopyList(exp->__anon1._classExp.specifiers, (void *)(CopySpecifier)), CopyDeclarator(exp->__anon1._classExp.decl));
1513 result->expType = exp->expType;
1515 exp->expType->refCount++;
1516 result->destType = exp->destType;
1518 exp->destType->refCount++;
1519 result->loc = exp->loc;
1520 result->isConstant = exp->isConstant;
1521 result->byReference = exp->byReference;
1522 result->opDestType = exp->opDestType;
1523 result->needTemplateCast = exp->needTemplateCast;
1528 struct Declarator * CopyDeclarator(struct Declarator * declarator)
1532 switch(declarator->type)
1536 struct Declarator * decl = MkStructDeclarator(CopyDeclarator(declarator->declarator), CopyExpression(declarator->__anon1.structDecl.exp));
1538 if(declarator->__anon1.structDecl.attrib)
1539 decl->__anon1.structDecl.attrib = CopyAttrib(declarator->__anon1.structDecl.attrib);
1543 return MkDeclaratorIdentifier(CopyIdentifier(declarator->__anon1.identifier));
1545 return MkDeclaratorBrackets(CopyDeclarator(declarator->declarator));
1547 if(declarator->__anon1.array.enumClass)
1548 return MkDeclaratorEnumArray(CopyDeclarator(declarator->declarator), CopySpecifier(declarator->__anon1.array.enumClass));
1550 return MkDeclaratorArray(CopyDeclarator(declarator->declarator), CopyExpression(declarator->__anon1.array.exp));
1553 struct __ecereNameSpace__ecere__sys__OldList * parameters = MkList();
1554 struct TypeName * param;
1556 if(declarator->__anon1.function.parameters)
1558 for(param = (*declarator->__anon1.function.parameters).first; param; param = param->next)
1559 ListAdd(parameters, CopyTypeName(param));
1561 return MkDeclaratorFunction(CopyDeclarator(declarator->declarator), parameters);
1564 return MkDeclaratorPointer(CopyPointer(declarator->__anon1.pointer.pointer), CopyDeclarator(declarator->declarator));
1566 return MkDeclaratorExtended(CopyExtDecl(declarator->__anon1.extended.extended), CopyDeclarator(declarator->declarator));
1568 return MkDeclaratorExtendedEnd(CopyExtDecl(declarator->__anon1.extended.extended), CopyDeclarator(declarator->declarator));
1571 return (((void *)0));
1574 struct Declaration * CopyDeclaration(struct Declaration * decl)
1578 return MkDeclaration(CopyList(decl->__anon1.__anon1.specifiers, (void *)(CopySpecifier)), CopyList(decl->__anon1.__anon1.declarators, (void *)(CopyInitDeclarator)));
1582 struct __ecereNameSpace__ecere__sys__OldList * specifiers = MkList(), * declarators = MkList();
1583 struct Specifier * spec;
1584 struct Declarator * declarator;
1586 for(spec = (*decl->__anon1.__anon1.specifiers).first; spec; spec = spec->next)
1587 ListAdd(specifiers, CopySpecifier(spec));
1588 if(decl->__anon1.__anon1.declarators)
1590 for(declarator = (*decl->__anon1.__anon1.declarators).first; declarator; declarator = declarator->next)
1591 ListAdd(declarators, CopyDeclarator(declarator));
1593 return MkDeclaration(specifiers, declarators);
1597 void __ecereRegisterModule_copy(struct __ecereNameSpace__ecere__com__Instance * module)
1599 struct __ecereNameSpace__ecere__com__Class __attribute__((unused)) * class;
1601 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyIdentifier", "Identifier CopyIdentifier(Identifier id)", CopyIdentifier, module, 2);
1602 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("MoveExpContents", "Expression MoveExpContents(Expression exp)", MoveExpContents, module, 2);
1603 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyExpression", "Expression CopyExpression(Expression exp)", CopyExpression, module, 1);
1604 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyClassDef", "ClassDef CopyClassDef(ClassDef def)", CopyClassDef, module, 2);
1605 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopySpecifier", "Specifier CopySpecifier(Specifier spec)", CopySpecifier, module, 2);
1606 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyTypeName", "TypeName CopyTypeName(TypeName typeName)", CopyTypeName, module, 2);
1607 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyExtDecl", "ExtDecl CopyExtDecl(ExtDecl extDecl)", CopyExtDecl, module, 2);
1608 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyAttribute", "Attribute CopyAttribute(Attribute attrib)", CopyAttribute, module, 2);
1609 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyAttrib", "Attrib CopyAttrib(Attrib attrib)", CopyAttrib, module, 2);
1610 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyDeclarator", "Declarator CopyDeclarator(Declarator declarator)", CopyDeclarator, module, 2);
1611 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyInitDeclarator", "InitDeclarator CopyInitDeclarator(InitDeclarator initDecl)", CopyInitDeclarator, module, 2);
1612 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyDeclaration", "Declaration CopyDeclaration(Declaration decl)", CopyDeclaration, module, 2);
1613 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("CopyList", "ecere::sys::OldList * CopyList(ecere::sys::OldList * source, void * (* CopyFunction)(void *))", CopyList, module, 2);