Cosmetic changes in Octave runtime

Fix bracket matching!
This commit is contained in:
William S Fulton 2015-08-29 13:08:18 +01:00
commit ab8f05204f

View file

@ -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);
}