diff options
author | Dave Beazley <dave-swig@dabeaz.com> | 2000-12-24 04:07:20 +0000 |
---|---|---|
committer | Dave Beazley <dave-swig@dabeaz.com> | 2000-12-24 04:07:20 +0000 |
commit | e52670b16522699c581862822945b48dbe256209 (patch) | |
tree | 3c9ca2c97f3d95108fdf8f08bf308761440fe722 /Examples/tcl/variables | |
parent | 4a81f60eed28d55c6f58dd0dda588aef5fa0b91d (diff) | |
download | swig-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.i | 8 |
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(); |