/
julian-talay
/
libnode
Обзор
Документация
Войти
/
julian-talay
/
libnode
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
patch/node/src/node_embedding_api.h
28 строк
391 B
NoboKani
update
03 июл 2024, 14:56
03 июл 2024, 14:56
a6ed345
Код
Авторство
О чём код?
#ifndef NODE_EMBEDDING_API_H #define NODE_EMBEDDING_API_H #include <node_api.h> #ifdef __cplusplus extern "C" { #endif typedef struct { int process_argc; char** process_argv; napi_addon_register_func napi_reg_func; } node_options_t; typedef struct { int exit_code; char* error; } node_run_result_t; node_run_result_t node_run(node_options_t); #ifdef __cplusplus } #endif #endif