diff src/load-path.h @ 9458:0c7d84a65386

allow taking handles of methods with no base overload
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 24 Jul 2009 08:13:20 +0200
parents 95445f9f5976
children 3d0d2bda3a0f
line wrap: on
line diff
--- a/src/load-path.h
+++ b/src/load-path.h
@@ -108,6 +108,12 @@
       ? instance->do_methods (class_name) : std::list<std::string> ();
   }
 
+  static bool any_class_method (const std::string& meth)
+  {
+    return instance_ok ()
+      ? instance->do_any_class_method (meth) : false;
+  }
+
   static std::string find_fcn (const std::string& fcn, std::string& dir_name)
   {
     return instance_ok ()
@@ -479,6 +485,8 @@
 
   std::list<std::string> do_methods (const std::string& class_name) const;
 
+  bool do_any_class_method (const std::string& meth) const;
+
   std::string do_find_file (const std::string& file) const;
 
   std::string do_find_dir (const std::string& dir) const;