add extra logic to the octave_swig_type::dims(void) method: it checks if the user has defined a __dims__ method and uses this in stead of returning (1,1) (patch from jgillis, sf 3425993)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Xavier Delacour 2012-03-26 15:45:02 +00:00
commit b0ea5581c3
4 changed files with 231 additions and 2 deletions

View file

@ -12,7 +12,8 @@ top_builddir = @top_builddir@
CPP_TEST_CASES += \
li_std_pair_extra \
li_std_string_extra \
octave_cell_deref
octave_cell_deref\
octave_dim
CPP_TEST_BROKEN += \
implicittest \