support de l'alumage des interface reseau

This commit is contained in:
Marc
2022-02-15 12:31:06 +01:00
parent a5f8ef486a
commit 1edb531e1a
11 changed files with 167 additions and 23 deletions
+7
View File
@@ -0,0 +1,7 @@
#include <string>
#include <v8.h>
#define nodeparam v8::FunctionCallbackInfo<v8::Value>
#define argToInt(arg) arg.As<v8::Number>()->Value()
#define argToString(arg) std::string(*v8::String::Utf8Value(isolate, arg))