aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/global_vars.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/global_vars.i')
-rw-r--r--Examples/test-suite/global_vars.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/test-suite/global_vars.i b/Examples/test-suite/global_vars.i
index d562d1eaa..46133fed9 100644
--- a/Examples/test-suite/global_vars.i
+++ b/Examples/test-suite/global_vars.i
@@ -33,4 +33,8 @@
b = "string b";
x = 1234;
}
+
+ int read_x() { return x; }
+
+ std::string read_b() { return b; }
%}