projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add struct and enum doc comments in Java
[ldk-java]
/
bindingstypes.py
diff --git
a/bindingstypes.py
b/bindingstypes.py
index 66f34a58340158c566284475c7addd65de453038..aab05250a9d9f9a9afa246abb4b726af24503e04 100644
(file)
--- a/
bindingstypes.py
+++ b/
bindingstypes.py
@@
-66,11
+66,12
@@
class ConvInfo:
self.from_hu_conv = from_hu_conv
class TraitMethInfo:
self.from_hu_conv = from_hu_conv
class TraitMethInfo:
- def __init__(self, fn_name, self_is_const, ret_ty_info, args_ty):
+ def __init__(self, fn_name, self_is_const, ret_ty_info, args_ty
, docs
):
self.fn_name = fn_name
self.self_is_const = self_is_const
self.ret_ty_info = ret_ty_info
self.args_ty = args_ty
self.fn_name = fn_name
self.self_is_const = self_is_const
self.ret_ty_info = ret_ty_info
self.args_ty = args_ty
+ self.docs = docs
class ComplexEnumVariantInfo:
def __init__(self, var_name, fields):
class ComplexEnumVariantInfo:
def __init__(self, var_name, fields):