Skip to content

Commit bf96d9c

Browse files
fix: rename internal variable fcn to avoid shadowing and lint errors
PR-URL: #6481 Closes: #6238 Ref: #6245 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]> Signed-off-by: Athan Reines <[email protected]>
1 parent e28064f commit bf96d9c

File tree

41 files changed

+123
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+123
-123
lines changed

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/cc_c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@
6565
napi_env env, \
6666
napi_value exports \
6767
) { \
68-
napi_value fcn; \
68+
napi_value f; \
6969
napi_status status = napi_create_function( \
7070
env, \
7171
"exports", \
7272
NAPI_AUTO_LENGTH, \
7373
stdlib_math_base_napi_cc_c_wrapper, \
7474
NULL, \
75-
&fcn \
75+
&f \
7676
); \
7777
assert( status == napi_ok ); \
78-
return fcn; \
78+
return f; \
7979
}; \
8080
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_cc_c_init )
8181

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/cf_c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@
5656
napi_env env, \
5757
napi_value exports \
5858
) { \
59-
napi_value fcn; \
59+
napi_value f; \
6060
napi_status status = napi_create_function( \
6161
env, \
6262
"exports", \
6363
NAPI_AUTO_LENGTH, \
6464
stdlib_math_base_napi_cf_c_wrapper, \
6565
NULL, \
66-
&fcn \
66+
&f \
6767
); \
6868
assert( status == napi_ok ); \
69-
return fcn; \
69+
return f; \
7070
}; \
7171
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_cf_c_init )
7272

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/ci_c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@
5858
napi_env env, \
5959
napi_value exports \
6060
) { \
61-
napi_value fcn; \
61+
napi_value f; \
6262
napi_status status = napi_create_function( \
6363
env, \
6464
"exports", \
6565
NAPI_AUTO_LENGTH, \
6666
stdlib_math_base_napi_ci_c_wrapper, \
6767
NULL, \
68-
&fcn \
68+
&f \
6969
); \
7070
assert( status == napi_ok ); \
71-
return fcn; \
71+
return f; \
7272
}; \
7373
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_ci_c_init )
7474

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/dd_d.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@
4848
napi_env env, \
4949
napi_value exports \
5050
) { \
51-
napi_value fcn; \
51+
napi_value f; \
5252
napi_status status = napi_create_function( \
5353
env, \
5454
"exports", \
5555
NAPI_AUTO_LENGTH, \
5656
stdlib_math_base_napi_dd_d_wrapper, \
5757
NULL, \
58-
&fcn \
58+
&f \
5959
); \
6060
assert( status == napi_ok ); \
61-
return fcn; \
61+
return f; \
6262
}; \
6363
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_dd_d_init )
6464

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/di_d.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@
5151
napi_env env, \
5252
napi_value exports \
5353
) { \
54-
napi_value fcn; \
54+
napi_value f; \
5555
napi_status status = napi_create_function( \
5656
env, \
5757
"exports", \
5858
NAPI_AUTO_LENGTH, \
5959
stdlib_math_base_napi_di_d_wrapper, \
6060
NULL, \
61-
&fcn \
61+
&f \
6262
); \
6363
assert( status == napi_ok ); \
64-
return fcn; \
64+
return f; \
6565
}; \
6666
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_di_d_init )
6767

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/dz_z.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@
5656
napi_env env, \
5757
napi_value exports \
5858
) { \
59-
napi_value fcn; \
59+
napi_value f; \
6060
napi_status status = napi_create_function( \
6161
env, \
6262
"exports", \
6363
NAPI_AUTO_LENGTH, \
6464
stdlib_math_base_napi_dz_z_wrapper, \
6565
NULL, \
66-
&fcn \
66+
&f \
6767
); \
6868
assert( status == napi_ok ); \
69-
return fcn; \
69+
return f; \
7070
}; \
7171
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_dz_z_init )
7272

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/fc_c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@
5656
napi_env env, \
5757
napi_value exports \
5858
) { \
59-
napi_value fcn; \
59+
napi_value f; \
6060
napi_status status = napi_create_function( \
6161
env, \
6262
"exports", \
6363
NAPI_AUTO_LENGTH, \
6464
stdlib_math_base_napi_fc_c_wrapper, \
6565
NULL, \
66-
&fcn \
66+
&f \
6767
); \
6868
assert( status == napi_ok ); \
69-
return fcn; \
69+
return f; \
7070
}; \
7171
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_fc_c_init )
7272

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/ff_f.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@
4848
napi_env env, \
4949
napi_value exports \
5050
) { \
51-
napi_value fcn; \
51+
napi_value f; \
5252
napi_status status = napi_create_function( \
5353
env, \
5454
"exports", \
5555
NAPI_AUTO_LENGTH, \
5656
stdlib_math_base_napi_ff_f_wrapper, \
5757
NULL, \
58-
&fcn \
58+
&f \
5959
); \
6060
assert( status == napi_ok ); \
61-
return fcn; \
61+
return f; \
6262
}; \
6363
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_ff_f_init )
6464

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/fi_f.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@
5151
napi_env env, \
5252
napi_value exports \
5353
) { \
54-
napi_value fcn; \
54+
napi_value f; \
5555
napi_status status = napi_create_function( \
5656
env, \
5757
"exports", \
5858
NAPI_AUTO_LENGTH, \
5959
stdlib_math_base_napi_fi_f_wrapper, \
6060
NULL, \
61-
&fcn \
61+
&f \
6262
); \
6363
assert( status == napi_ok ); \
64-
return fcn; \
64+
return f; \
6565
}; \
6666
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_fi_f_init )
6767

lib/node_modules/@stdlib/math/base/napi/binary/include/stdlib/math/base/napi/binary/id_d.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@
5151
napi_env env, \
5252
napi_value exports \
5353
) { \
54-
napi_value fcn; \
54+
napi_value f; \
5555
napi_status status = napi_create_function( \
5656
env, \
5757
"exports", \
5858
NAPI_AUTO_LENGTH, \
5959
stdlib_math_base_napi_id_d_wrapper, \
6060
NULL, \
61-
&fcn \
61+
&f \
6262
); \
6363
assert( status == napi_ok ); \
64-
return fcn; \
64+
return f; \
6565
}; \
6666
NAPI_MODULE( NODE_GYP_MODULE_NAME, stdlib_math_base_napi_id_d_init )
6767

0 commit comments

Comments
 (0)