summaryrefslogtreecommitdiff
path: root/Examples/tcl/variables
diff options
context:
space:
mode:
authorDave Beazley <dave-swig@dabeaz.com>2000-12-24 04:07:20 +0000
committerDave Beazley <dave-swig@dabeaz.com>2000-12-24 04:07:20 +0000
commite52670b16522699c581862822945b48dbe256209 (patch)
tree3c9ca2c97f3d95108fdf8f08bf308761440fe722 /Examples/tcl/variables
parent4a81f60eed28d55c6f58dd0dda588aef5fa0b91d (diff)
downloadswig-e52670b16522699c581862822945b48dbe256209.tar.gz
various updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/tcl/variables')
-rw-r--r--Examples/tcl/variables/example.i8
1 files changed, 4 insertions, 4 deletions
diff --git a/Examples/tcl/variables/example.i b/Examples/tcl/variables/example.i
index d62f973da..c1e614cec 100644
--- a/Examples/tcl/variables/example.i
+++ b/Examples/tcl/variables/example.i
@@ -27,10 +27,10 @@ extern Point pt;
/* Some read-only variables */
-%readonly
-extern int status;
-extern char path[256];
-%readwrite
+%readonly {
+ extern int status;
+ extern char path[256];
+}
/* Some helper functions to make it easier to test */
extern void print_vars();