diff options
Diffstat (limited to 'Tests/UseSWIG/NamespaceCsharp/ns_example.hpp')
| -rw-r--r-- | Tests/UseSWIG/NamespaceCsharp/ns_example.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/UseSWIG/NamespaceCsharp/ns_example.hpp b/Tests/UseSWIG/NamespaceCsharp/ns_example.hpp new file mode 100644 index 0000000..65b9ab5 --- /dev/null +++ b/Tests/UseSWIG/NamespaceCsharp/ns_example.hpp @@ -0,0 +1,19 @@ +#pragma once + +namespace ns { + +class my_class_in_namespace +{ +public: + my_class_in_namespace() + : Sum(0) + { + } + + void add(int value); + int get_sum() const; + +private: + int Sum; +}; +} |
