* src/vm/primitive.cpp: Removed obsolete legacy C interface.
authorMichael Starzinger <michi@complang.tuwien.ac.at>
Mon, 24 Aug 2009 10:02:42 +0000 (12:02 +0200)
committerMichael Starzinger <michi@complang.tuwien.ac.at>
Mon, 24 Aug 2009 10:02:42 +0000 (12:02 +0200)
* src/vm/primitive.hpp: Likewise.

src/vm/primitive.cpp
src/vm/primitive.hpp

index 388c08e2aa945e14d36db662e748568355999ed8..9d6b79200e7ea2bcb753cbc69a915dee1869a12f 100644 (file)
@@ -802,17 +802,6 @@ inline double Primitive::unbox_double(java_handle_t *h)
 }
 
 
-
-// Legacy C interface.
-
-extern "C" {
-
-classinfo* Primitive_get_class_by_name(utf *name) { return Primitive::get_class_by_name(name); }
-classinfo* Primitive_get_class_by_type(int type) { return Primitive::get_class_by_type(type); }
-classinfo* Primitive_get_arrayclass_by_type(int type) { return Primitive::get_arrayclass_by_type(type); }
-}
-
-
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where
index a0c97176e7dc37387b4ead2897a6b5b08e87d6fc..2016786f00b27cbe57d204f22a02916ca984250a 100644 (file)
@@ -126,13 +126,6 @@ extern primitivetypeinfo primitivetype_table[PRIMITIVETYPE_COUNT];
 void       primitive_init(void);
 void       primitive_postinit(void);
 
-#ifndef __cplusplus
-// Legacy C interface.
-classinfo *Primitive_get_class_by_name(utf *name);
-classinfo *Primitive_get_class_by_type(int type);
-classinfo *Primitive_get_arrayclass_by_type(int type);
-#endif
-
 #endif // _PRIMITIVE_HPP