Fixed octave version check and enabled VPATH build for check-octave-operator example
This commit is contained in:
parent
be0b975e6b
commit
a5774a9d0f
2 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,9 @@ if exist("crash_dumps_octave_core", "builtin")
|
||||||
crash_dumps_octave_core(0);
|
crash_dumps_octave_core(0);
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
scriptDir = fileparts(mfilename('fullpath'));
|
||||||
|
addpath(scriptDir);
|
||||||
|
|
||||||
# Operator overloading example
|
# Operator overloading example
|
||||||
swigexample
|
swigexample
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -812,7 +812,7 @@ SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
|
||||||
return as_value();
|
return as_value();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SWIG_OCTAVE_PREREQ(6,0,0)
|
#if SWIG_OCTAVE_PREREQ(4,4,0)
|
||||||
virtual bool isobject() const {
|
virtual bool isobject() const {
|
||||||
#else
|
#else
|
||||||
virtual bool is_object() const {
|
virtual bool is_object() const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue