ic_cdk

Macro export_candid

Source
export_candid!() { /* proc-macro */ }
Expand description

Create a get_candid_pointer method so that dfx can execute it to extract candid definition.

Call this macro only if you want the Candid export behavior. Only call it once at the end of canister code outside query/update definition.