duplicate config

This commit is contained in:
Jaremy Creechley 2024-06-03 17:46:01 +01:00
parent db8e4affde
commit 7c1105bb77
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 5 additions and 5 deletions

View File

@ -71,16 +71,16 @@ proc init_circom_config*(r1cs_path: pointer,
zkey_path: pointer,
cfg_ptr: ptr ptr CircomBn254Cfg): int32 {.importc: "init_circom_config".}
proc duplicate_circom_config*(orig_cfg_ptr: ptr CircomBn254Cfg,
new_cfg_ptr: ptr ptr CircomBn254Cfg): int32 {.importc: "duplicate_circom_config".}
proc release_cfg*(cfg_ptr: ptr ptr CircomBn254Cfg): void {.importc: "release_cfg".}
proc init_circom_compat*(cfg_ptr: ptr CircomBn254Cfg,
ctx_ptr: ptr ptr CircomCompatCtx): int32 {.importc: "init_circom_compat".}
proc duplicate_circom_config*(cfg_ptr: ptr CircomBn254Cfg,
ctx_ptr: ptr ptr CircomCompatCtx): int32 {.importc: "duplicate_circom_config".}
proc release_circom_compat*(ctx_ptr: ptr ptr CircomCompatCtx): void {.importc: "release_circom_compat".}
proc release_cfg*(cfg_ptr: ptr ptr CircomBn254Cfg): void {.importc: "release_cfg".}
proc release_proof*(proof_ptr: ptr ptr Proof): void {.importc: "release_proof".}
proc release_inputs*(inputs_ptr: ptr ptr Inputs): void {.importc: "release_inputs".}