Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirShpilraien committed Sep 10, 2023
1 parent 624fdf8 commit 9868a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v8_c_api/src/v8_c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ void v8_ObjectSetInternalField(v8_local_object *obj, size_t index, v8_local_valu
}

v8_local_value* v8_ObjectGetInternalField(v8_local_object *obj, size_t index) {
// On v8 version 11.9, the API was changed to allow setting any V8 and not just
// On v8 version 11.9, the API was changed to allow setting any V8 data and not just
// Local<Value>. This is why we need to check the V8 version to decide which code
// flow to take.
#if (V8_MAJOR_VERSION > 11) || (V8_MAJOR_VERSION == 11 && V8_MINOR_VERSION >= 9)
Expand Down

0 comments on commit 9868a11

Please sign in to comment.