From fd781a0df8ad02fc5e113bff84fe9c88f5483326 Mon Sep 17 00:00:00 2001 From: David Demelier Date: Fri, 22 May 2015 13:04:25 +0200 Subject: [PATCH] Fix example in duk_normalize_index --- website/api/duk_normalize_index.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/api/duk_normalize_index.yaml b/website/api/duk_normalize_index.yaml index d9328296..f6efa1c4 100644 --- a/website/api/duk_normalize_index.yaml +++ b/website/api/duk_normalize_index.yaml @@ -15,7 +15,7 @@ summary: | duk_require_normalize_index().

example: | - duk_idx_t idx = duk_normalize_index(-3); + duk_idx_t idx = duk_normalize_index(ctx, -3); tags: - stack