Update auto-generated bindings with aliasing fix.
[ldk-c-bindings] / lightning-c-bindings / include / lightning.h
index 8afabdc1b96d4c5974801ef2dcf5277df3b6eb1f..cbbe93e216602072c47bb29557a7753071f6132b 100644 (file)
@@ -7884,7 +7884,7 @@ typedef struct LDKChannelSigner {
    /**
     * Returns the holder's channel public keys and basepoints.
     */
-   struct LDKChannelPublicKeys pubkeys;
+   LDKChannelPublicKeys pubkeys;
    /**
     * Fill in the pubkeys field as a reference to it will be given to Rust after this returns
     * Note that this takes a pointer to this object, not the this_ptr like other methods do
@@ -18324,6 +18324,12 @@ struct LDKCOption_ScalarZ COption_ScalarZ_none(void);
  */
 void COption_ScalarZ_free(struct LDKCOption_ScalarZ _res);
 
+/**
+ * Creates a new COption_ScalarZ which has the same data as `orig`
+ * but with all dynamically-allocated buffers duplicated in new buffers.
+ */
+struct LDKCOption_ScalarZ COption_ScalarZ_clone(const struct LDKCOption_ScalarZ *NONNULL_PTR orig);
+
 /**
  * Creates a new CResult_SharedSecretNoneZ in the success state.
  */