00001 typedef struct Compound 00002 { 00003 int a; 00004 short b; 00005 char c; 00006 int array[10]; 00007 } Compound; 00008 00009 struct CompoundInCompound { 00010 Compound test[10]; 00011 }; 00012 00013 typedef enum TestEnum { A, B, C } EnumAlias; 00014 00015 typedef TestEnum OtherEnum; 00016 00017 namespace NS1 { 00018 namespace NS1_1 { 00019 struct Test { 00020 int a; 00021 short b; 00022 }; 00023 } 00024 00025 namespace NS1_2 { 00026 typedef NS1_1::Test Test; 00027 } 00028 00029 struct Test { 00030 NS1_1::Test test2; 00031 }; 00032 } 00033 00034 #ifdef IDL_POINTER_ALIAS 00035 typedef int* Pointer; 00036 #endif 00037 #ifdef IDL_POINTER_IN_STRUCT 00038 struct InvalidStruct 00039 { 00040 int* value; 00041 }; 00042 #endif 00043 #ifdef IDL_MULTI_ARRAY 00044 struct MultiArrayStruct 00045 { 00046 int array[10][20]; 00047 }; 00048 #endif 00049