client lib include must not depend on _common.hxx
[libt2n] / example-codegen / other-1.cpp
CommitLineData
85106017 1#include "other.hxx"
1e683bb5
JT
2#include "other_common.hxx"
3
a96ab628
JT
4using namespace std;
5
6//! test function overload
7LIBT2N_EXPORT int t3(int i)
8{
9 return i;
10}
11
12//! test pair, multiple arguments and namespace
13LIBT2N_EXPORT bool t3(int i, float f, const string &s, const pair<int, float> &p)
14{
15 return (i==p.first) && (f==p.second) && (s=="hello");
16}
17
18//! test std::vector
19LIBT2N_EXPORT bool t3(const std::vector<int> &i)
20{
21 return (i.size()==1) && (i[0]==10);
22}