Update auto-generated bindings
[rust-lightning] / lightning-c-bindings / src / util / errors.rs
index 06cb4a7f879ab6318fc9aad25bf2244dfffefdbf..9b0e757de971217a60fdb9925872f3a1bbd68f6a 100644 (file)
@@ -160,3 +160,7 @@ impl APIError {
 }
 #[no_mangle]
 pub extern "C" fn APIError_free(this_ptr: APIError) { }
+#[no_mangle]
+pub extern "C" fn APIError_clone(orig: &APIError) -> APIError {
+       orig.clone()
+}