diff src/load-path.h @ 7971:dd5cc5016487

handle private functions in class directories
author John W. Eaton <jwe@octave.org>
date Thu, 24 Jul 2008 15:42:40 -0400
parents 745a8299c2b5
children 4d13a7a2f6ab
line wrap: on
line diff
--- a/src/load-path.h
+++ b/src/load-path.h
@@ -233,8 +233,14 @@
     typedef fcn_file_map_type::const_iterator const_fcn_file_map_iterator;
     typedef fcn_file_map_type::iterator fcn_file_map_iterator;
 
-    // <CLASS_NAME, <FCN_NAME, TYPE>>
-    typedef std::map<std::string, fcn_file_map_type> method_file_map_type;
+    struct class_info
+    {
+      fcn_file_map_type method_file_map;
+      fcn_file_map_type private_file_map;
+    };
+
+    // <CLASS_NAME, CLASS_INFO>
+    typedef std::map<std::string, class_info> method_file_map_type;
 
     typedef method_file_map_type::const_iterator const_method_file_map_iterator;
     typedef method_file_map_type::iterator method_file_map_iterator;