[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45694] missing octave_java::save_binary or sa
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #45694] missing octave_java::save_binary or save_ascii |
Date: |
Tue, 04 Aug 2015 18:19:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #2, bug #45694 (project octave):
Maybe for the time being the best thing to do is to just have the routine
issue a warning message and skip writing the particular java object to the
file.
The code to modify is in interpreter/octave-value.
All of the octave-value types inherit a default save_binary from ov.h. But,
generally this is overridden by the specific octave-value type. For an
example, take a look at ov-range.h and ov-range.cc and search for save_binary.
It would easy to provide prototypes for save_binary, save_ascii in ov-java.h.
The implementations of those functions in ov-java.cc would simply issue a
warning and then "return true;" to allow Octave to continue saving other
variables.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45694>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/