Browse Source

Merge pull request #1610 from Legimet/add-missing-parenthesis

Add missing parenthesis in duk_safe_call() example
pull/1612/head
Sami Vaarala 7 years ago
committed by GitHub
parent
commit
eadd74d1b4
  1. 2
      website/api/duk_safe_call.yaml

2
website/api/duk_safe_call.yaml

@ -108,7 +108,7 @@ example: |
if (args->floor) { if (args->floor) {
t = floor(t); t = floor(t);
} }
duk_push_number(ctx, t; duk_push_number(ctx, t);
/* Indicates that there is only one return value. Because the caller /* Indicates that there is only one return value. Because the caller
* requested two (nrets == 2), Duktape will automatically add an * requested two (nrets == 2), Duktape will automatically add an

Loading…
Cancel
Save