From 33f0e438d4086540495793ed74b87cb079ac6799 Mon Sep 17 00:00:00 2001 From: Gustavo Caso Date: Thu, 23 Dec 2021 22:00:10 +0100 Subject: [PATCH] v8go.cc style format --- v8go.cc | 2 +- v8go.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v8go.cc b/v8go.cc index 8fa711418..b22cc7340 100644 --- a/v8go.cc +++ b/v8go.cc @@ -1298,7 +1298,7 @@ RtnStrings ObjectGetPropertyNames(ValuePtr ptr) { Local names = maybe_names.ToLocalChecked(); uint32_t length = names->Length(); - const char *strings[length]; + const char* strings[length]; for (int i = 0; i < length; i++) { Local name_from_array = names->Get(local_ctx, i).ToLocalChecked(); diff --git a/v8go.h b/v8go.h index e26b631ec..84eb80801 100644 --- a/v8go.h +++ b/v8go.h @@ -111,7 +111,7 @@ typedef struct { } RtnString; typedef struct { - const char **strings; + const char** strings; int length; RtnError error; } RtnStrings;