File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,7 @@ bool ToJSReturnValue(Environment* env,
4040 ffi_type* type,
4141 void * result);
4242
43- bool ToFFIReturnValue (v8::Local<v8::Value> result,
44- ffi_type* type,
45- void * ret);
43+ bool ToFFIReturnValue (v8::Local<v8::Value> result, ffi_type* type, void * ret);
4644
4745bool SignaturesMatch (const FFIFunction& fn,
4846 ffi_type* return_type,
Original file line number Diff line number Diff line change 1313#include < unordered_map>
1414#include < vector>
1515
16-
1716namespace node ::ffi {
1817
1918class DynamicLibrary ;
@@ -87,8 +86,7 @@ class DynamicLibrary : public BaseObject {
8786 static void GetSymbol (const v8::FunctionCallbackInfo<v8::Value>& args);
8887 static void GetSymbols (const v8::FunctionCallbackInfo<v8::Value>& args);
8988
90- static void RegisterCallback (
91- const v8::FunctionCallbackInfo<v8::Value>& args);
89+ static void RegisterCallback (const v8::FunctionCallbackInfo<v8::Value>& args);
9290 static void UnregisterCallback (
9391 const v8::FunctionCallbackInfo<v8::Value>& args);
9492 static void RefCallback (const v8::FunctionCallbackInfo<v8::Value>& args);
@@ -106,9 +104,10 @@ class DynamicLibrary : public BaseObject {
106104 std::shared_ptr<FFIFunction>* ret,
107105 bool * should_cache_symbol,
108106 bool * should_cache_function);
109- v8::Local<v8::Function> CreateFunction (Environment* env,
110- const std::string& name,
111- const std::shared_ptr<FFIFunction>& fn);
107+ v8::Local<v8::Function> CreateFunction (
108+ Environment* env,
109+ const std::string& name,
110+ const std::shared_ptr<FFIFunction>& fn);
112111 static void CleanupFunctionInfo (
113112 const v8::WeakCallbackInfo<FFIFunctionInfo>& data);
114113
You can’t perform that action at this time.
0 commit comments