From: Jens Thiele Date: Mon, 20 Nov 2006 15:19:43 +0000 (+0000) Subject: (no commit message) X-Git-Tag: v0.2~119 X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=commitdiff_plain;h=fdc716c251cd31421ee73e444de93a274a3315f4 --- 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