Skip to content

Commit 2e3215e

Browse files
committed
Rename count -> argumentCount
1 parent 91a3bf3 commit 2e3215e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/react-native-gesture-handler/shared/RNGHRuntimeDecorator.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void RNGHRuntimeDecorator::installRNRuntimeBindings(
2222
[](jsi::Runtime &runtime,
2323
const jsi::Value &,
2424
const jsi::Value *args,
25-
size_t count) -> jsi::Value {
25+
size_t argumentCount) -> jsi::Value {
2626
if (!args[0].isObject()) {
2727
return jsi::Value::null();
2828
}
@@ -65,8 +65,8 @@ void RNGHRuntimeDecorator::installRNRuntimeBindings(
6565
jsi::Runtime &rt,
6666
const jsi::Value &,
6767
const jsi::Value *args,
68-
size_t count) -> jsi::Value {
69-
if (count == 2) {
68+
size_t argumentCount) -> jsi::Value {
69+
if (argumentCount == 2) {
7070
const auto handlerTag = static_cast<int>(args[0].asNumber());
7171
const auto state = static_cast<int>(args[1].asNumber());
7272

@@ -105,8 +105,8 @@ bool RNGHRuntimeDecorator::installUIRuntimeBindings(
105105
jsi::Runtime &rt,
106106
const jsi::Value &,
107107
const jsi::Value *args,
108-
size_t count) -> jsi::Value {
109-
if (count == 2) {
108+
size_t argumentCount) -> jsi::Value {
109+
if (argumentCount == 2) {
110110
const auto handlerTag = static_cast<int>(args[0].asNumber());
111111
const auto state = static_cast<int>(args[1].asNumber());
112112

0 commit comments

Comments
 (0)