From: Jens Thiele Date: Tue, 21 Nov 2006 12:46:37 +0000 (+0000) Subject: allow to set default group X-Git-Tag: v0.2~106 X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=commitdiff_plain;h=4ddaa0f5ce6d2f7b6a2419dad9ff83879e04df2c;hp=29ba0e9777f576fa318decb2915bf8895bf233eb allow to set default group --- diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx index d21130f..5c330f3 100644 --- a/codegen/codegen-stubhead.hxx +++ b/codegen/codegen-stubhead.hxx @@ -14,7 +14,10 @@ #include #ifdef __GCCXML__ -#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml(#x))) int libt2n_default; } +#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml("libt2n-"#x))) int libt2n_default_group; } +/* not allowed anymore +#define LIBT2N_SET_DEFAULTGROUP(x) #define LIBT2N_EXPORT __attribute((gccxml("libt2n-"#x))) +*/ #define LIBT2N_EXPORT __attribute((gccxml("libt2n-default"))) #define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group))) #else