X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=bindingstypes.py;h=bd123ac3a6f603739f9eb8d0d0ea8c1d72d514d5;hb=refs%2Fheads%2F2021-03-license;hp=aab05250a9d9f9a9afa246abb4b726af24503e04;hpb=51b99938ad39a1215696f57e37c8ee79307c1086;p=ldk-java diff --git a/bindingstypes.py b/bindingstypes.py index aab05250..bd123ac3 100644 --- a/bindingstypes.py +++ b/bindingstypes.py @@ -1,5 +1,5 @@ class TypeInfo: - def __init__(self, is_native_primitive, rust_obj, java_ty, java_fn_ty_arg, java_hu_ty, c_ty, is_const, passed_as_ptr, is_ptr, var_name, arr_len, arr_access, subty=None): + def __init__(self, is_native_primitive, rust_obj, java_ty, java_fn_ty_arg, java_hu_ty, c_ty, is_const, passed_as_ptr, is_ptr, nonnull_ptr, var_name, arr_len, arr_access, subty=None): self.is_native_primitive = is_native_primitive self.rust_obj = rust_obj self.java_ty = java_ty @@ -9,6 +9,7 @@ class TypeInfo: self.is_const = is_const self.passed_as_ptr = passed_as_ptr self.is_ptr = is_ptr + self.nonnull_ptr = nonnull_ptr self.var_name = var_name self.arr_len = arr_len self.arr_access = arr_access