X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=bindingstypes.py;h=aab05250a9d9f9a9afa246abb4b726af24503e04;hb=51b99938ad39a1215696f57e37c8ee79307c1086;hp=e79b930a4945cc3fab64e6664508041b4207cac4;hpb=7c816f6424920cfa7b38a6630b578bbd1bf6c903;p=ldk-java diff --git a/bindingstypes.py b/bindingstypes.py index e79b930a..aab05250 100644 --- a/bindingstypes.py +++ b/bindingstypes.py @@ -66,8 +66,14 @@ class ConvInfo: 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.docs = docs + +class ComplexEnumVariantInfo: + def __init__(self, var_name, fields): + self.var_name = var_name + self.fields = fields