name: duk_get_context_default proto: | duk_context *duk_get_context_default(duk_context *ctx, duk_idx_t idx, duk_context *def_value); stack: | [ ... val! ... ] summary: |
Like duk_get_context()
but with an explicit default value, returned when the value is not a
Duktape thread or the index is invalid.