Skip to content

Commit

Permalink
Fixed duktape module entrypoint name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Wiseguy committed Feb 8, 2023
1 parent f5c3950 commit 05b7ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unwind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static const duk_number_list_entry my_module_consts[] = {
};

// duktape module entrypoint
extern "C" __declspec(dllexport) duk_ret_t dukopen_stack_unwind(duk_context* ctx) {
extern "C" __declspec(dllexport) duk_ret_t dukopen_unwind(duk_context* ctx) {
duk_push_object(ctx);
duk_put_function_list(ctx, -1, my_module_funcs);
duk_put_number_list(ctx, -1, my_module_consts);
Expand Down

0 comments on commit 05b7ff4

Please sign in to comment.