inch towards more map_trait cleanup for Typescript
[ldk-java] / java_strings.py
index b66157eb80be4580e1f857b2a979925227074e05..968cb0f1b7320d87e0f821b1572010c8d14d2a33 100644 (file)
@@ -2,6 +2,14 @@ from bindingstypes import *
 
 class Consts:
     def __init__(self, DEBUG):
+
+        self.c_type_map = dict(
+            uint8_t = ['byte'],
+            uint16_t = ['short'],
+            uint32_t = ['int'],
+            long = ['long'],
+        )
+
         self.common_base = """package org.ldk.structs;
 import java.util.LinkedList;
 class CommonBase {