26 #ifndef PRIMITIVE_HPP_
27 #define PRIMITIVE_HPP_ 1
133 #endif // PRIMITIVE_HPP_
static float unbox_float(java_handle_t *o)
static uint16_t unbox_char(java_handle_t *o)
static classinfo * get_class_by_type(int type)
Returns the primitive class of the given type.
static int32_t unbox_int(java_handle_t *o)
static int get_type_by_primitiveclass(classinfo *c)
Returns the primitive type of the given primitive-class.
static java_handle_t * box(int type, imm_union value)
Box a primitive of the given type.
static classinfo * get_arrayclass_by_type(int type)
Returns the primitive array-class of the given type.
static classinfo * get_class_by_name(Utf8String name)
Returns the primitive class of the given class name.
JNIEnv jclass jobject const char * name
static int16_t unbox_short(java_handle_t *o)
static imm_union unbox(java_handle_t *o)
Unbox a primitive of the given type.
classinfo * class_primitive
static int get_type_by_wrapperclass(classinfo *c)
Returns the primitive type of the given wrapper-class.
static void initialize_table()
Fill the primitive type table with the primitive-type classes, array-classes and wrapper classes...
static uint8_t unbox_boolean(java_handle_t *o)
Unbox a primitive type.
static double unbox_double(java_handle_t *o)
static int64_t unbox_long(java_handle_t *o)
static void post_initialize_table()
Finish the primitive-type table initialization.
void primitive_postinit(void)
void primitive_init(void)
static classinfo * get_arrayclass_by_name(Utf8String name)
Returns the primitive array-class of the given primitive class name.
static bool unbox_typed(java_handle_t *o, int type, imm_union *value)
Unbox a primitive of the given type.
static int8_t unbox_byte(java_handle_t *o)
static classinfo * get_class_by_char(char ch)
Returns the primitive class of the given type.
primitivetypeinfo primitivetype_table[PRIMITIVETYPE_MAX]