comparison libinterp/octave-value/ov-base.h @ 18316:ff311e5ff6d8

Don't call classdef-overloaded subsref from builtin calls. * ov-class.cc (called_from_builtin): Moved to ov-base.cc. * ov-base.cc (called_from_builtin): Moved from ov-class.cc. * ov-base.h (called_from_builtin): Declare in octave API. * ov-classdef.cc (octave_classdef::subsref): Don't call overloaded subsref when called from "builtin".
author Michael Goffioul <michael.goffioul@gmail.com>
date Mon, 20 Jan 2014 22:16:22 -0500
parents 06eb893b9db6
children bcd71a2531d3
comparison
equal deleted inserted replaced
18314:06eb893b9db6 18316:ff311e5ff6d8
834 extern OCTINTERP_API octave_value 834 extern OCTINTERP_API octave_value
835 make_idx_args (const std::string& type, 835 make_idx_args (const std::string& type,
836 const std::list<octave_value_list>& idx, 836 const std::list<octave_value_list>& idx,
837 const std::string& who); 837 const std::string& who);
838 838
839 // Tells whether some regular octave_value_base methods are being called from
840 // within the "builtin" function.
841 extern OCTINTERP_API bool called_from_builtin (void);
842
839 #endif 843 #endif