projects
/
ldk-java
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981f682
)
[C#] Correct a few things after converting C array handling to the TS one
author
Matt Corallo
<git@bluematt.me>
Mon, 6 Nov 2023 22:34:29 +0000
(22:34 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 7 Nov 2023 23:43:35 +0000
(23:43 +0000)
csharp_strings.py
patch
|
blob
|
history
diff --git
a/csharp_strings.py
b/csharp_strings.py
index 4df1d34c688fb5d4b1d976cbbcfc75b64546446c..74acd16007916f57e312176df142841a5659ca16 100644
(file)
--- a/
csharp_strings.py
+++ b/
csharp_strings.py
@@
-441,9
+441,9
@@
namespace org { namespace ldk { namespace structs {
self.usize_native_ty = "long"
self.native_zero_ptr = "0"
self.unitary_enum_c_ty = "int32_t"
- self.ptr_arr = "
jobject
Array"
+ self.ptr_arr = "
ptr
Array"
self.is_arr_some_check = ("", " != NULL")
- self.get_native_arr_len_call = ("
(*env)->GetArrayLength(env, ", ")
")
+ self.get_native_arr_len_call = ("
", "->arr_len
")
self.bindings_footer_wip = "\tstatic bindings() {\n"
def bindings_footer(self):