obstack access funcion fixed
[libfirm] / ir / ir / old_fctnames.h
index 28762ec..345cc0a 100644 (file)
@@ -1,20 +1,25 @@
 
 /* Copyright (C) 2001 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Goetz Lindenmaier
-**
-** Some makros supporting old function names.
+* All rights reserved.
+*
+* Authors: Goetz Lindenmaier
+*
+* Some makros supporting old function names.
 */
 
+/* $Id$ */
 
 #ifndef __OLD_FCTNAMES_H__
 #define __OLD_FCTNAMES_H__
 
 /* irgraph */
-#define get_irg_params     get_irg_n_loc
+#define get_irg_params     get_irg_n_locs
+#define get_irg_n_loc      get_irg_n_locs
 #define set_irg_params     set_irg_n_loc
 
+/* irnode.h */
+#define get_Return_n_res   get_Return_n_ress
+#define get_Sel_n_index    get_Sel_n_indexs
 
 /* irmode.h */
 #define get_ident_of_mode     get_mode_ident
 /* type.h */
 #define get_type_nameid(_t_)     get_type_ident(_t_)
 #define set_type_nameid(_t_,_i_) set_type_ident(_t_,_i_)
+#define get_class_n_member    get_class_n_members
+#define get_class_n_subtype   get_class_n_subtypes
+#define get_class_n_supertype get_class_n_supertypes
+#define get_struct_n_member   get_struct_n_members
+
+#define get_method_n_res(X) get_method_n_ress(X)
 
 #endif