diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-08-29 13:08:18 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-08-31 12:44:13 +0100 |
commit | ab8f05204f17b7a395a9226d7fa270e6736f02c6 (patch) | |
tree | 8ad274de0e7cf1b700cb86b50aa89aaef80ee11e /Lib/octave | |
parent | fc521be4e657627b259f60b12e30923dc54b073f (diff) | |
download | swig-ab8f05204f17b7a395a9226d7fa270e6736f02c6.tar.gz |
Cosmetic changes in Octave runtime
Fix bracket matching!
Diffstat (limited to 'Lib/octave')
-rw-r--r-- | Lib/octave/octrun.swg | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Lib/octave/octrun.swg b/Lib/octave/octrun.swg index ddfd48939..b6e4b6ccf 100644 --- a/Lib/octave/octrun.swg +++ b/Lib/octave/octrun.swg @@ -982,10 +982,11 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own); } #if SWIG_OCTAVE_PREREQ(4,0,0) - void print(std::ostream &os, bool pr_as_read_syntax = false) { + void print(std::ostream &os, bool pr_as_read_syntax = false) #else - void print(std::ostream &os, bool pr_as_read_syntax = false) const { + void print(std::ostream &os, bool pr_as_read_syntax = false) const #endif + { if (is_string()) { os << string_value(); return; @@ -1178,10 +1179,11 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own); } #if SWIG_OCTAVE_PREREQ(4,0,0) - void print(std::ostream &os, bool pr_as_read_syntax = false) { + void print(std::ostream &os, bool pr_as_read_syntax = false) #else - void print(std::ostream &os, bool pr_as_read_syntax = false) const { + void print(std::ostream &os, bool pr_as_read_syntax = false) const #endif + { indent(os); os << "swig packed type: name = " << (type ? type->name : std::string()) << ", len = " << buf.size(); newline(os); } |