diff --git a/gen/data/input/test_data/functions.h b/gen/data/input/test_data/functions.h index 8b964b0..eaccca3 100644 --- a/gen/data/input/test_data/functions.h +++ b/gen/data/input/test_data/functions.h @@ -22,9 +22,9 @@ struct _PS func__PS_V(); enum _E func__E_V(); // typedef -TP func_TP_V(); -void func_V_TP(TP); -TP func_TP_TP(TP); +T_P func_TP_V(); +void func_V_TP(T_P); +T_P func_TP_TP(T_P); APS func_APS_V(); void func_V_APS(APS); diff --git a/gen/data/input/test_data/typedefs.h b/gen/data/input/test_data/typedefs.h index 43ae439..68f4be8 100644 --- a/gen/data/input/test_data/typedefs.h +++ b/gen/data/input/test_data/typedefs.h @@ -10,8 +10,8 @@ // their respecitve "alias". // Then a typedef os applied to every typedef (TT*) -typedef void TV; -typedef int TP; +typedef void T_V; +typedef int T_P; // typedef struct // -------------- @@ -93,8 +93,8 @@ typedef AE TAE; // TT* = typedef of all typedefs above -typedef TV TTV; -typedef TP TTP; +typedef T_V TT_V; +typedef T_P TT_P; typedef T_IS TT_IS; typedef TIS TTIS; typedef TAIS TTAIS; diff --git a/gen/data/input/test_data/vars.h b/gen/data/input/test_data/vars.h index f54f299..4973b18 100644 --- a/gen/data/input/test_data/vars.h +++ b/gen/data/input/test_data/vars.h @@ -7,16 +7,12 @@ // Variables // ========= -// V = Void -//void var_V; +// _V = Void +//void var__V; // _P char var__P; -// P -int var_P; - - // enums // ===== // Incomplete types: @@ -56,7 +52,7 @@ struct _HS var__HS; struct _NCS var__NCS; struct HS var_HS; -struct _NPS var__NSP; +struct _NPS var__NPS; AHS var_AHS; struct _HHS var__HHS; @@ -69,10 +65,10 @@ struct _NNCS var__NNCS; //nested enum in hosting struct enum _NENHS var__NENHS; -AHHS var_ASHS; +AHHS var_AHHS; struct _HS1 var__HS1; -enum _NEHS var_NEHS1; +enum _NEHS var__NEHS; // TYPEDEFS @@ -81,7 +77,7 @@ enum _NEHS var_NEHS1; // Typedefs of primitive // --------------------- //TV var_TV; -TP var_TP; +T_P var_T_P; // Typedefs of structs // ------------------ @@ -96,7 +92,7 @@ TPS var_TPS; TAPS var_TAPS; // complex structs -T_CS var__TC_S; +T_CS var_T_CS; TCS var_TCS; TACS var_TACS; T_CCS var_T_CCS; @@ -139,7 +135,7 @@ TAE var_TAE; // Typedefs of primitive // --------------------- -TTP var_TTP; +TT_P var_TT_P; // Typedefs of structs // ------------------ @@ -149,7 +145,7 @@ TTPS var_TTPS; TTAPS var_TTAPS; // complex structs -TT_CS var__TTC_S; +TT_CS var_TT_CS; TTCS var_TTCS; TTACS var_TTACS; TT_CCS var_TT_CCS;