diff options
author | Xavier Delacour <xavier.delacour@gmail.com> | 2012-02-27 17:07:16 +0000 |
---|---|---|
committer | Xavier Delacour <xavier.delacour@gmail.com> | 2012-02-27 17:07:16 +0000 |
commit | 6cd79f432031c54ea024f7ddea1f1bef1d04f1ce (patch) | |
tree | e5c9f604effc556c0a20ddb258f12d4819606cc7 /Doc | |
parent | 320a83627c0ef33140481a8c6176df2feaf1c8e1 (diff) | |
download | swig-6cd79f432031c54ea024f7ddea1f1bef1d04f1ce.tar.gz |
Use -globals . to load global variables in module namespace (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/Octave.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/Manual/Octave.html b/Doc/Manual/Octave.html index 8a01e7c76..3229299d5 100644 --- a/Doc/Manual/Octave.html +++ b/Doc/Manual/Octave.html @@ -112,6 +112,7 @@ Options specific to the Octave module are: Octave Options (available with -octave) -global - Load all symbols into the global namespace [default] -globals <em>name</em> - Set <em>name</em> used to access C global variables [default: 'cvar'] + - Use '.' to load C global variables into module namespace -noglobal - Do not load all symbols into the global namespace -opprefix <em>str</em> - Prefix <em>str</em> for global operator functions [default: 'op_'] </pre></div> @@ -119,6 +120,7 @@ Octave Options (available with -octave) <p> The <em>-global</em> and <em>-noglobal</em> options determine whether the Octave module will load all symbols into the global namespace in addition to the global namespace. The <em>-globals</em> option sets the name of the variable which is the namespace for C global variables exported by the module. +The special name "." loads C global variables into the module namespace, i.e. alongside C functions and structs exported by the module. The <em>-opprefix</em> options sets the prefix of the names of global/friend <a href="#Octave_nn18">operator</a> functions. </p> |