Skip to content

Commit

Permalink
Merged
Browse files Browse the repository at this point in the history
  • Loading branch information
nafehshoaib committed Jan 16, 2024
1 parent a72f932 commit 09afb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generated/aleo-swift/aleo-swift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@ internal class RProgramManager: RProgramManagerRefMut {
}
}
extension RProgramManager {
class internal func r_execute<GenericIntoRustString: IntoRustString, GenericToRustStr: ToRustStr>(_ private_key: RPrivateKeyRef, _ program: GenericToRustStr, _ function: GenericToRustStr, _ inputs: RustVec<GenericIntoRustString>, _ fee_credits: Double, _ fee_record: Optional<RRecordPlaintext>, _ url: Optional<GenericIntoRustString>, _ imports: Optional<RStringMap>, _ proving_key: Optional<RProvingKey>, _ verifying_key: Optional<RVerifyingKey>, _ fee_proving_key: Optional<RProvingKey>, _ fee_verifying_key: Optional<RVerifyingKey>) -> Optional<RTransaction> {
class internal func r_execute<GenericToRustStr: ToRustStr, GenericIntoRustString: IntoRustString>(_ private_key: RPrivateKeyRef, _ program: GenericToRustStr, _ function: GenericToRustStr, _ inputs: RustVec<GenericIntoRustString>, _ fee_credits: Double, _ fee_record: Optional<RRecordPlaintext>, _ url: Optional<GenericIntoRustString>, _ imports: Optional<RStringMap>, _ proving_key: Optional<RProvingKey>, _ verifying_key: Optional<RVerifyingKey>, _ fee_proving_key: Optional<RProvingKey>, _ fee_verifying_key: Optional<RVerifyingKey>) -> Optional<RTransaction> {
return function.toRustStr({ functionAsRustStr in
return program.toRustStr({ programAsRustStr in
{ let val = __swift_bridge__$RProgramManager$r_execute(private_key.ptr, programAsRustStr, functionAsRustStr, { let val = inputs; val.isOwned = false; return val.ptr }(), fee_credits, { if let val = fee_record { val.isOwned = false; return val.ptr } else { return nil } }(), { if let rustString = optionalStringIntoRustString(url) { rustString.isOwned = false; return rustString.ptr } else { return nil } }(), { if let val = imports { val.isOwned = false; return val.ptr } else { return nil } }(), { if let val = proving_key { val.isOwned = false; return val.ptr } else { return nil } }(), { if let val = verifying_key { val.isOwned = false; return val.ptr } else { return nil } }(), { if let val = fee_proving_key { val.isOwned = false; return val.ptr } else { return nil } }(), { if let val = fee_verifying_key { val.isOwned = false; return val.ptr } else { return nil } }()); if val != nil { return RTransaction(ptr: val!) } else { return nil } }()
Expand Down

0 comments on commit 09afb3a

Please sign in to comment.