#ifndef FUNCTIONS_H #define FUNCTIONS_H #include "typedefs.h" #include "enums.h" #include "structs.h" // ret: void // arg: void void nada(); // ret: void // arg: primitive void func1(int a); // ret: primitive // arg: primitive int func2(int a); // ret: aliased_primitive // arg: aliased_primitive C func3(B a); // ret: aliased_primitive_struct // arg: primitive APS func4(int x); // ret: primitive // arg: APS int func5(APS a); // ret: APS // arg: APS APS func6(APS a); // ret: ACS // arg: primitive ACS func7(int a); // ret: int // arg: ACS int func8(ACS a); // ret: struct _CCS // arg: int struct _CCS func9(int a); // ret: int // arg: struct _CCS int func10(struct _CCS a); // nested structs // ret: int // arg: host_struct int func11(host_struct a); // nested structs // ret: int // arg: host_struct host_struct func12(int a); //void ret , incomplete type arg // ret: void // arg: struct _incomplete_S void func99(struct _incomplete_S a); #endif //FUNCTIONS_H