il fallait que sa puisse passer sur un cv
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user