Skip to content

Commit

Permalink
Solve minor bug in namespaces on node port.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Dec 2, 2019
1 parent d0aae06 commit d24f49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ports/node_port/source/node_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ napi_value metacall_node_inspect(napi_env env, napi_callback_info)

size_t size = 0;

struct metacall_allocator_std_type std_ctx = { &std::malloc, &std::realloc, &std::free };
struct metacall_allocator_std_type std_ctx = { &malloc, &realloc, &free };

void * allocator = metacall_allocator_create(METACALL_ALLOCATOR_STD, (void *)&std_ctx);

Expand Down

0 comments on commit d24f49c

Please sign in to comment.