VPP-184 - Bad type translation in jvpp
Change-Id: I6dda9eb8d58a2bc9a1e4d6636688dfa1f8bb88c6 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
This commit is contained in:
@ -124,7 +124,7 @@ jni_field_accessors = {
|
|||||||
# http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html
|
# http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html
|
||||||
vpp_2_jni_type_mapping = {'u8': 'jbyte', # fixme
|
vpp_2_jni_type_mapping = {'u8': 'jbyte', # fixme
|
||||||
'i8': 'jbyte',
|
'i8': 'jbyte',
|
||||||
'u16': 'jchar',
|
'u16': 'jshort',
|
||||||
'i16': 'jshort',
|
'i16': 'jshort',
|
||||||
'u32': 'jint', # fixme
|
'u32': 'jint', # fixme
|
||||||
'i32': 'jint',
|
'i32': 'jint',
|
||||||
@ -192,4 +192,4 @@ notification_dto_suffix = "Notification"
|
|||||||
|
|
||||||
def add_notification_suffix(camel_case_dto_name):
|
def add_notification_suffix(camel_case_dto_name):
|
||||||
camel_case_dto_name += notification_dto_suffix
|
camel_case_dto_name += notification_dto_suffix
|
||||||
return camel_case_dto_name
|
return camel_case_dto_name
|
||||||
|
Reference in New Issue
Block a user