libt2n: (gerd) really fix default arguments (#1427)
[libt2n] / codegen / codegen-stubhead.hxx
CommitLineData
fdc716c2
JT
1#ifndef MINIMALISTIC_STUB_HXX
2#define MINIMALISTIC_STUB_HXX
3
4#include <boost/archive/binary_oarchive.hpp>
5#include <boost/archive/binary_iarchive.hpp>
6#include <boost/archive/xml_oarchive.hpp>
7#include <boost/archive/xml_iarchive.hpp>
8#include <boost/serialization/serialization.hpp>
fdc716c2
JT
9
10#include <string>
11#include <t2n_exception.hxx>
12#include <command.hxx>
13
14#ifdef __GCCXML__
fdc716c2 15#define LIBT2N_EXPORT __attribute((gccxml("libt2n-default")))
7799fec7 16#define LIBT2N_DEFAULT_ARG(_type,_value) __attribute((gccxml("libt2n-default-arg",#_value))) _type = _value
fdc716c2 17#else
fdc716c2 18#define LIBT2N_EXPORT
7799fec7 19#define LIBT2N_DEFAULT_ARG(_type,_value) _type = _value
fdc716c2 20#endif
e035276b
JT
21
22#endif