* src/vm/primitive.cpp: Removed obsolete legacy C interface.
[cacao.git] / src / vm / primitive.hpp
index 314bb05d47b4d598f5c73834ba9a1981dbbad0b7..2016786f00b27cbe57d204f22a02916ca984250a 100644 (file)
@@ -63,6 +63,7 @@ public:
        static java_handle_t* box(double value);
 
        static imm_union      unbox(java_handle_t *o);
+       static bool           unbox_typed(java_handle_t *o, int type, imm_union* value);
 
        static uint8_t        unbox_boolean(java_handle_t* o);
        static int8_t         unbox_byte(java_handle_t* o);
@@ -125,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