Update auto-generated bindings
[ldk-c-bindings] / lightning-c-bindings / include / lightning.h
index 8afabdc1b96d4c5974801ef2dcf5277df3b6eb1f..da7fa8e179ea2095980a17bc876325e53b7d06a8 100644 (file)
@@ -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.
  */