expand c type conversions to other integer array types
[ldk-java] / java_strings.py
index 0a479de3c594402c97d5e780057ae58fa1ba8669..968cb0f1b7320d87e0f821b1572010c8d14d2a33 100644 (file)
@@ -4,7 +4,10 @@ class Consts:
     def __init__(self, DEBUG):
 
         self.c_type_map = dict(
-            byte = ['byte'],
+            uint8_t = ['byte'],
+            uint16_t = ['short'],
+            uint32_t = ['int'],
+            long = ['long'],
         )
 
         self.common_base = """package org.ldk.structs;