projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support nullable for opaque objects as well as traits and some arrays
[ldk-java]
/
bindingstypes.py
diff --git
a/bindingstypes.py
b/bindingstypes.py
index 2ca6c0de11712ed570eca663a8e9b111e22720ee..edb19565140c0c435892615810e59986414b6778 100644
(file)
--- a/
bindingstypes.py
+++ b/
bindingstypes.py
@@
-65,6
+65,8
@@
class ConvInfo:
self.to_hu_conv = to_hu_conv
self.to_hu_conv_name = to_hu_conv_name
self.from_hu_conv = from_hu_conv
self.to_hu_conv = to_hu_conv
self.to_hu_conv_name = to_hu_conv_name
self.from_hu_conv = from_hu_conv
+ # This is set based on docstrings in various contexts:
+ self.nullable = False
class TraitMethInfo:
def __init__(self, fn_name, self_is_const, ret_ty_info, args_ty, docs):
class TraitMethInfo:
def __init__(self, fn_name, self_is_const, ret_ty_info, args_ty, docs):