name: duk_set_magic proto: | void duk_set_magic(duk_context *ctx, duk_idx_t idx, duk_int_t magic); stack: | [ ... val! ... ] summary: |
Set the 16-bit signed "magic" value associated with the Duktape/C function
at idx
. If the value is not a Duktape/C function, an error is
thrown.