Skip to content

Commit 281152e

Browse files
committed
src: formatted files
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
1 parent 331ad93 commit 281152e

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

src/ffi/types.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

4745
bool SignaturesMatch(const FFIFunction& fn,
4846
ffi_type* return_type,

src/node_builtins.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ BuiltinLoader::BuiltinCategories BuiltinLoader::GetBuiltinCategories() const {
139139
"internal/quic/quic", "internal/quic/symbols", "internal/quic/stats",
140140
"internal/quic/state",
141141
#endif // !OPENSSL_NO_QUIC
142-
"ffi", // Experimental.
142+
"ffi", // Experimental.
143143
"quic", // Experimental.
144144
"sqlite", // Experimental.
145145
"stream/iter", // Experimental.

src/node_ffi.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <unordered_map>
1414
#include <vector>
1515

16-
1716
namespace node::ffi {
1817

1918
class 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

0 commit comments

Comments
 (0)