Skip to content

Commit c7abf10

Browse files
committed
Add more type support to node port and extended the tests.
1 parent 814e5e7 commit c7abf10

File tree

10 files changed

+460
-225
lines changed

10 files changed

+460
-225
lines changed

source/loaders/node_loader/source/node_loader_impl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ typedef struct loader_impl_async_future_delete_type
247247
} * loader_impl_async_future_delete;
248248

249249
/* Exception */
250-
251250
static inline void node_loader_impl_exception(napi_env env, napi_status status);
252251

253252
/* Type conversion */

source/loaders/node_loader/trampoline/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ else()
110110
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
111111
COMMAND npm install
112112
COMMAND node-gyp ${NODE_LOADER_TRAMPOLINE_BUILD_TYPE} rebuild --verbose
113-
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/build/${CMAKE_BUILD_TYPE}/trampoline.node ${LOADER_LIBRARY_PATH}
113+
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/build/${CMAKE_BUILD_TYPE}/trampoline.so ${LOADER_LIBRARY_PATH}/trampoline.node
114114
)
115115
endif()
116116

source/ports/node_port/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2016-2019 Vicente Eduardo Ferrer Garcia <[email protected]>
189+
Copyright 2016-2020 Vicente Eduardo Ferrer Garcia <[email protected]>
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

source/ports/node_port/include/node_port/node_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848
* @param[out] js_v
4949
* N-API value result after conversion from MetaCall
5050
*/
51-
NODE_PORT_API void metacall_node_value_to_napi(napi_env env, void * v, napi_value * js_v);
51+
/* NODE_PORT_API void metacall_node_value_to_napi(napi_env env, void * v, napi_value * js_v); */
5252

5353
#ifdef __cplusplus
5454
}

source/ports/node_port/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/ports/node_port/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metacall",
3-
"version": "0.1.9",
3+
"version": "0.1.10",
44
"description": "Call Python, C#, Ruby... functions from NodeJS (a NodeJS Port for MetaCall)",
55
"repository": "github:metacall/core",
66
"bugs": "https://github.com/metacall/core/issues",

0 commit comments

Comments
 (0)