diff options
author | Jan Srnicek <jan.srnicek@pantheon.tech> | 2016-07-06 13:19:12 +0200 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2016-07-06 19:16:58 +0000 |
commit | 2e95f5a1d12d50b8b394d59b379fb36899e6d0fe (patch) | |
tree | 56dcde1a48ce208b23ac7f903e16c0742484aa11 /vpp-api/java/jvpp | |
parent | 31a367417e1ac5e60d1d39001293a12e332e492f (diff) |
VPP-184 - Bad type translation in jvpp
Change-Id: I6dda9eb8d58a2bc9a1e4d6636688dfa1f8bb88c6
Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
Diffstat (limited to 'vpp-api/java/jvpp')
-rw-r--r-- | vpp-api/java/jvpp/gen/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api/java/jvpp/gen/util.py b/vpp-api/java/jvpp/gen/util.py index 12c8bc3170f..f22132dfbc1 100644 --- a/vpp-api/java/jvpp/gen/util.py +++ b/vpp-api/java/jvpp/gen/util.py @@ -124,7 +124,7 @@ jni_field_accessors = { # http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html vpp_2_jni_type_mapping = {'u8': 'jbyte', # fixme 'i8': 'jbyte', - 'u16': 'jchar', + 'u16': 'jshort', 'i16': 'jshort', 'u32': 'jint', # fixme 'i32': 'jint', @@ -192,4 +192,4 @@ notification_dto_suffix = "Notification" def add_notification_suffix(camel_case_dto_name): camel_case_dto_name += notification_dto_suffix - return camel_case_dto_name
\ No newline at end of file + return camel_case_dto_name |