summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG/NamespaceCsharp/ns_example.cpp
blob: a03dbad12943158e5208665677a40b278f9bf8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "ns_example.hpp"

namespace ns {

void my_class_in_namespace::add(int value)
{
  Sum += value;
}

int my_class_in_namespace::get_sum() const
{
  return Sum;
}
}