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	Tue Jan 12 09:03:42 2010 +0100
+++ b/src/ov-fcn-handle.h	Tue Jan 12 13:20:17 2010 +0100
@@ -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; }