Skip to content

Commit

Permalink
v8go.cc style format
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoCaso committed Dec 23, 2021
1 parent 1b51432 commit 67958de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v8go.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ RtnStrings ObjectGetPropertyNames(ValuePtr ptr) {
Local<Array> 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<Value> name_from_array = names->Get(local_ctx, i).ToLocalChecked();
Expand Down
2 changes: 1 addition & 1 deletion v8go.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ typedef struct {
} RtnString;

typedef struct {
const char **strings;
const char** strings;
int length;
RtnError error;
} RtnStrings;
Expand Down

0 comments on commit 67958de

Please sign in to comment.