Macro ic_cdk::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.