Browse Source

Merge pull request #1497 from svaarala/fix-cpp-exception-example

Add missing 'return' to C++ exception example
pull/1074/merge
Sami Vaarala 8 years ago
committed by GitHub
parent
commit
aa955df9ef
  1. 2
      examples/cpp-exceptions/cpp_exceptions.cpp

2
examples/cpp-exceptions/cpp_exceptions.cpp

@ -93,7 +93,7 @@ duk_ret_t test2(duk_context *ctx) {
}
duk_ret_t test2_safecall(duk_context *ctx, void *udata) {
(void) udata;
test2(ctx);
return test2(ctx);
}
/*

Loading…
Cancel
Save