X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2Fcodegen-stubhead.hxx;h=9ab41c0d9ab3470f4466ab6a5e7d6cc10cd26bea;hp=465ef15b9225b5dfaf33703225a8670edd29227e;hb=7799fec761f19ead0aeea59e7db3f4a07eb96627;hpb=fdc716c251cd31421ee73e444de93a274a3315f4 diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx index 465ef15..9ab41c0 100644 --- a/codegen/codegen-stubhead.hxx +++ b/codegen/codegen-stubhead.hxx @@ -6,18 +6,17 @@ #include #include #include -#include #include #include #include #ifdef __GCCXML__ -#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml(#x))) int libt2n_default; } #define LIBT2N_EXPORT __attribute((gccxml("libt2n-default"))) -#define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group))) +#define LIBT2N_DEFAULT_ARG(_type,_value) __attribute((gccxml("libt2n-default-arg",#_value))) _type = _value #else -#define LIBT2N_SET_DEFAULTGROUP(x) #define LIBT2N_EXPORT -#define LIBT2N_EXPORT_GROUP(group) +#define LIBT2N_DEFAULT_ARG(_type,_value) _type = _value +#endif + #endif