Properly set CVec_u8Z to a byte[] which adds a ton more fn's
[ldk-java] / src / main / java / org / ldk / structs / LightningError.java
1 package org.ldk.structs;
2
3 import org.ldk.impl.bindings;
4 import org.ldk.enums.*;
5
6 public class LightningError extends CommonBase {
7         LightningError(Object _dummy, long ptr) { super(ptr); }
8         @Override @SuppressWarnings("deprecation")
9         protected void finalize() throws Throwable {
10                 super.finalize();
11                 bindings.LightningError_free(ptr);
12         }
13
14         // Skipped LightningError_get_err
15         public void set_err(LightningError this_ptr, byte[] val) {
16                 bindings.LightningError_set_err(this_ptr == null ? 0 : this_ptr.ptr & ~1, val);
17                 this.ptrs_to.add(this_ptr);
18         }
19
20         // Skipped LightningError_get_action
21         // Skipped LightningError_set_action
22         // Skipped LightningError_new
23 }