X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FEffectiveCapacity.java;h=7357afd1f2d3eeaf591086a41c31105173418a5e;hp=777c3b66e941c3f912913f158726890959e42d26;hb=ff3dacec3be60f870d81f6df11bd9fff92aa6047;hpb=1ef2dc8b8a3e0e244ad82ac08e286df489eca4b7 diff --git a/src/main/java/org/ldk/structs/EffectiveCapacity.java b/src/main/java/org/ldk/structs/EffectiveCapacity.java index 777c3b66..7357afd1 100644 --- a/src/main/java/org/ldk/structs/EffectiveCapacity.java +++ b/src/main/java/org/ldk/structs/EffectiveCapacity.java @@ -114,7 +114,7 @@ public class EffectiveCapacity extends CommonBase { long ret = bindings.EffectiveCapacity_clone(this.ptr); Reference.reachabilityFence(this); if (ret >= 0 && ret <= 4096) { return null; } - EffectiveCapacity ret_hu_conv = EffectiveCapacity.constr_from_ptr(ret); + org.ldk.structs.EffectiveCapacity ret_hu_conv = org.ldk.structs.EffectiveCapacity.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } @@ -126,7 +126,7 @@ public class EffectiveCapacity extends CommonBase { long ret = bindings.EffectiveCapacity_exact_liquidity(liquidity_msat); Reference.reachabilityFence(liquidity_msat); if (ret >= 0 && ret <= 4096) { return null; } - EffectiveCapacity ret_hu_conv = EffectiveCapacity.constr_from_ptr(ret); + org.ldk.structs.EffectiveCapacity ret_hu_conv = org.ldk.structs.EffectiveCapacity.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; } @@ -138,7 +138,7 @@ public class EffectiveCapacity extends CommonBase { long ret = bindings.EffectiveCapacity_maximum_htlc(amount_msat); Reference.reachabilityFence(amount_msat); if (ret >= 0 && ret <= 4096) { return null; } - EffectiveCapacity ret_hu_conv = EffectiveCapacity.constr_from_ptr(ret); + org.ldk.structs.EffectiveCapacity ret_hu_conv = org.ldk.structs.EffectiveCapacity.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; } @@ -150,7 +150,7 @@ public class EffectiveCapacity extends CommonBase { long ret = bindings.EffectiveCapacity_total(capacity_msat); Reference.reachabilityFence(capacity_msat); if (ret >= 0 && ret <= 4096) { return null; } - EffectiveCapacity ret_hu_conv = EffectiveCapacity.constr_from_ptr(ret); + org.ldk.structs.EffectiveCapacity ret_hu_conv = org.ldk.structs.EffectiveCapacity.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; } @@ -161,7 +161,7 @@ public class EffectiveCapacity extends CommonBase { public static EffectiveCapacity infinite() { long ret = bindings.EffectiveCapacity_infinite(); if (ret >= 0 && ret <= 4096) { return null; } - EffectiveCapacity ret_hu_conv = EffectiveCapacity.constr_from_ptr(ret); + org.ldk.structs.EffectiveCapacity ret_hu_conv = org.ldk.structs.EffectiveCapacity.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; } @@ -172,7 +172,7 @@ public class EffectiveCapacity extends CommonBase { public static EffectiveCapacity unknown() { long ret = bindings.EffectiveCapacity_unknown(); if (ret >= 0 && ret <= 4096) { return null; } - EffectiveCapacity ret_hu_conv = EffectiveCapacity.constr_from_ptr(ret); + org.ldk.structs.EffectiveCapacity ret_hu_conv = org.ldk.structs.EffectiveCapacity.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; }