Commit b9b6cdef authored by Lubomir Bulej's avatar Lubomir Bulej
Browse files

Use jvm_utf8_t type to indicate JVM modified utf-8 encoding

parent 9e6a2a51
......@@ -91,7 +91,7 @@ messager_objfree_item (buffer_t * buffer, jlong tag) {
*/
void
messager_newclass (
buffer_t * buffer, const char * name, jlong loader_tag,
buffer_t * buffer, jvm_utf8_t name, jlong loader_tag,
jint class_data_len, const unsigned char * class_data
) {
if (buffer == NULL) {
......@@ -118,8 +118,8 @@ messager_newclass (
*/
void
messager_classinfo (
buffer_t * buffer, jlong class_tag, const char * class_sig,
const char * class_gen, jlong loader_tag, jlong super_class_tag
buffer_t * buffer, jlong class_tag, jvm_utf8_t class_sig,
jvm_utf8_t class_gen, jlong loader_tag, jlong super_class_tag
) {
if (buffer == NULL) {
return;
......
......@@ -25,13 +25,13 @@ size_t messager_objfree_header (buffer_t * buffer);
void messager_objfree_item (buffer_t * buffer, jlong tag);
void messager_newclass (
buffer_t * buffer, const char * name, jlong loader_tag,
buffer_t * buffer, jvm_utf8_t name, jlong loader_tag,
jint class_data_len, const unsigned char * class_data
);
void messager_classinfo (
buffer_t * buffer, jlong class_tag, const char * class_sig,
const char * class_gen, jlong loader_tag, jlong super_class_tag
buffer_t * buffer, jlong class_tag, jvm_utf8_t class_sig,
jvm_utf8_t class_gen, jlong loader_tag, jlong super_class_tag
);
void messager_stringinfo (buffer_t * buffer, jlong str_tag, jvm_utf8_t str);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment