X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2Fcodegen-stubhead.hxx;fp=codegen%2Fcodegen-stubhead.hxx;h=465ef15b9225b5dfaf33703225a8670edd29227e;hp=0000000000000000000000000000000000000000;hb=fdc716c251cd31421ee73e444de93a274a3315f4;hpb=060fbd87ead596b4e18bfe67af55270b43f53534 diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx new file mode 100644 index 0000000..465ef15 --- /dev/null +++ b/codegen/codegen-stubhead.hxx @@ -0,0 +1,23 @@ +#ifndef MINIMALISTIC_STUB_HXX +#define MINIMALISTIC_STUB_HXX + +#include +#include +#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))) +#else +#define LIBT2N_SET_DEFAULTGROUP(x) +#define LIBT2N_EXPORT +#define LIBT2N_EXPORT_GROUP(group) +#endif