Commit graph

19 commits

Author SHA1 Message Date
William S Fulton
ed0e1c7d90 minor formatting change - copying the python version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:10:31 +00:00
Xavier Delacour
1f38f3db67 Minor fixes:
Fix crashing bug when compiling with MSVC.
Fix print of packed type of void*.
Have namespaces always invoke members as statics/globals.
Make SWIG_init_user function static.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-08 23:56:40 +00:00
Xavier Delacour
e7894a104b Add test for null pointer handling ([] taken as null pointer).
Support automatic single cell dereferencing. Add test for it and pass-through cell arrays.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 14:29:46 +00:00
Xavier Delacour
9d6e70ad35 Have convert pointer routines return SWIG_ERROR rather than more specific error, since older bindings (for other languages) depend on that interface.
Use SWIGRUNTIME instead of anonymous namespace to allow for correct linkage when using external runtime. Fixes infinite-recursion bug when calling director method of class whose base is in another module (since the common Director base gets a different typename in each module, per anonymous namespace).



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-18 01:06:23 +00:00
Xavier Delacour
87390fac26 Add map_keys support so member auto-completion works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-13 21:16:12 +00:00
Xavier Delacour
9a0cf47532 Print all class members.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-13 21:04:43 +00:00
Xavier Delacour
4e6c09da80 Don't use __gnu_ext::hash_map.
Use octave_swig_packed to hold swig_module_info *.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-12 14:29:38 +00:00
Xavier Delacour
6878125b87 Fix bug where module will segfault on load if it contains an object w/ the same name as the module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-11 22:28:30 +00:00
Xavier Delacour
de6e25f3bb Fixes for building w/ 64-bit gcc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-11 21:58:42 +00:00
John Lenz
4d10d60d7c Add SWIG_TYPE_TABLE and SWIG_RUNTIME_VERSION to the octave module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 20:58:43 +00:00
Xavier Delacour
05097de0ff Add support for manual %docstrings, so users can provide texinfo help for wrapped functions.
Add some support for autodoc feature, so otherwise undocumented functions at least get prototype.
Fix bug in argument number check.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 13:22:19 +00:00
Xavier Delacour
7b1cab1554 varargs fixes.
Added passthrough out typemaps for internal Octave types.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-24 22:33:55 +00:00
Xavier Delacour
316a2decd7 Differentiate complex and real scalar types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-23 00:48:49 +00:00
Xavier Delacour
fe15a5a87c Fix varargs.
Allow manual construction of entire result octave_value_list.
Make octrun.swg conform to style conventions.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-20 23:23:38 +00:00
Xavier Delacour
e314d97f32 Added some support for inline texinfo documentation, and fixed a handful of small items needed to get OpenCV bindings to build.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 18:46:30 +00:00
Xavier Delacour
cb131bfeb9 Fixed import directive, string access segv bug, SWIG_Octave_{Get,Set}Module bug, and added partial support for boost pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-09 20:21:14 +00:00
Xavier Delacour
4d283f59c3 Fix ~15 tests, minor doc fixes, improve STL support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-05 04:35:34 +00:00
Xavier Delacour
2ded60495f Implement OCTAVE::runtimeCode, wrap some parts of runtime in anonymous namespace, put Director rtdir map into module clientdata.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 15:35:49 +00:00
Xavier Delacour
393391965c Initial commit of Octave module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-01 23:35:44 +00:00