X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2Fserver.hxx;h=16068a06d30f03d9c9f0587b76088b686a053b5d;hp=b15ccee6b18ad5baaf64d79e69d9c547e14213ba;hb=6f6d24c02ef3e3a7600432bed1c801a611c3c918;hpb=e5bc4700c8dd5a178d4c40c163a4107901698b6f diff --git a/example-codegen/server.hxx b/example-codegen/server.hxx index b15ccee..16068a0 100644 --- a/example-codegen/server.hxx +++ b/example-codegen/server.hxx @@ -8,6 +8,8 @@ #include #include +#include "foo.hxx" + #include "codegen_common.hxx" LIBT2N_SET_DEFAULTGROUP(default); @@ -63,3 +65,6 @@ LIBT2N_EXPORT_GROUP(other) bool t3(const std::vector &i) { return (i.size()==1) && (i[0]==10); } + +//! test own type and seperate declaration and definition +LIBT2N_EXPORT_GROUP(other) bool t3(const Foo &foo);