Browse Source

Runtests fix for duk_safe_call() udata change

pull/727/head
Sami Vaarala 9 years ago
parent
commit
01dfa36565
  1. 2
      runtests/runtests.js

2
runtests/runtests.js

@ -370,7 +370,7 @@ var API_TEST_HEADER =
"\t\tduk_ret_t _rc; \\\n" +
"\t\tprintf(\"*** %s (duk_safe_call)\\n\", #func); \\\n" +
"\t\tfflush(stdout); \\\n" +
"\t\t_rc = duk_safe_call(ctx, (func), 0, 1); \\\n" +
"\t\t_rc = duk_safe_call(ctx, (func), NULL, 0, 1); \\\n" +
"\t\tprintf(\"==> rc=%d, result='%s'\\n\", (int) _rc, duk_safe_to_string(ctx, -1)); \\\n" +
"\t\tfflush(stdout); \\\n" +
"\t\tduk_pop(ctx); \\\n" +

Loading…
Cancel
Save