libt2n: (gerd) really fix default arguments (#1427)
[libt2n] / codegen / codegen-stubhead.hxx
index 64d3d5b..9ab41c0 100644 (file)
 
 #ifdef __GCCXML__
 #define LIBT2N_EXPORT __attribute((gccxml("libt2n-default")))
+#define LIBT2N_DEFAULT_ARG(_type,_value) __attribute((gccxml("libt2n-default-arg",#_value))) _type = _value
 #else
 #define LIBT2N_EXPORT
+#define LIBT2N_DEFAULT_ARG(_type,_value) _type = _value
 #endif
 
 #endif