Mercurial > hg > octave-lyh
diff src/ov-fcn-handle.h @ 10087:090173f2db40
improve overload dispatching of built-in classes
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 12 Jan 2010 13:20:17 +0100 |
parents | 84b0725f4b09 |
children | cd96d29c5efa |
line wrap: on
line diff
--- a/src/ov-fcn-handle.h +++ b/src/ov-fcn-handle.h @@ -87,6 +87,8 @@ bool is_function_handle (void) const { return true; } + builtin_type_t builtin_type (void) const { return btyp_func_handle; } + bool is_overloaded (void) const { return disp.get () && ! disp->empty (); } dim_vector dims (void) const { static dim_vector dv (1, 1); return dv; }