Mercurial > octave
diff libinterp/octave-value/ov-builtin.cc @ 29466:7c8a70e4daad
use "m_" prefix for class members in a few more classes
* ov-builtin.h, ov-builtin.cc, ov-class.h, ov-class.cc, ov-classdef.h,
ov-classdef.cc, ov-usr-fcn.h, ov-usr-fcn.cc: Use "m_" prefix for class
data members.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 28 Mar 2021 15:35:05 -0400 |
parents | 0a5b15007766 |
children | f254c302bb9c |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-builtin.cc Sat Mar 27 09:26:12 2021 +0100 +++ b/libinterp/octave-value/ov-builtin.cc Sun Mar 28 15:35:05 2021 -0400 @@ -55,14 +55,14 @@ octave::profiler::enter<octave_builtin> block (profiler, *this); - if (f) - retval = (*f) (args, nargout); + if (m_fcn) + retval = (*m_fcn) (args, nargout); else { octave::interpreter& interp = octave::__get_interpreter__ ("octave_builtin::call"); - retval = (*m) (interp, args, nargout); + retval = (*m_meth) (interp, args, nargout); } // Do not allow null values to be returned from functions. @@ -90,35 +90,35 @@ octave::jit_type * octave_builtin::to_jit (void) const { - return jtype; + return m_jtype; } void octave_builtin::stash_jit (octave::jit_type& type) { - jtype = &type; + m_jtype = &type; } octave_builtin::fcn octave_builtin::function (void) const { - return f; + return m_fcn; } octave_builtin::meth octave_builtin::method (void) const { - return m; + return m_meth; } void octave_builtin::push_dispatch_class (const std::string& dispatch_type) { - dispatch_classes.insert (dispatch_type); + m_dispatch_classes.insert (dispatch_type); } bool octave_builtin::handles_dispatch_class (const std::string& dispatch_type) const { - return dispatch_classes.find (dispatch_type) != dispatch_classes.end (); + return m_dispatch_classes.find (dispatch_type) != m_dispatch_classes.end (); }