summaryrefslogtreecommitdiff
path: root/Examples/octave/module_load/example.h
Commit message (Collapse)AuthorAgeFilesLines
* Changes Octave module loading behavior, so that modules can be safely loaded ↵Xavier Delacour2011-08-311-0/+5
inside functions without first being loaded at the base level. (Basically the module is now always loaded in the base context, and then a local link to the module is created in the current context.) Added an example, module_load, to Examples/octave to test this behaviour in different ways. Tested examples work for octave 3.0.5, 3.2.4, and 3.4.0. (thanks to Karl Wette) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12793 626c5289-ae23-0410-ae9c-e8d60b6d4f22