File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ def function_arg_pointer_hint(function_name:, index:)
28
28
def should_generate_function? ( function_name )
29
29
function_name = function_name . downcase
30
30
31
- return false if data [ "function" ] [ "deny_name" ] . any? { |format | format === function_name }
31
+ return false if data [ "function" ] [ "deny_name" ] . any? { |format | format === function_name } # rubocop:disable Style/CaseEquality
32
32
33
- data [ "function" ] [ "allow_name" ] . any? { |format | format === function_name }
33
+ data [ "function" ] [ "allow_name" ] . any? { |format | format === function_name } # rubocop:disable Style/CaseEquality
34
34
end
35
35
36
36
# Whether generate C struct to go
@@ -39,7 +39,7 @@ def should_generate_function?(function_name)
39
39
def should_generate_struct? ( struct_name )
40
40
struct_name = struct_name . downcase
41
41
42
- data [ "struct" ] [ "allow_name" ] . any? { |format | format === struct_name }
42
+ data [ "struct" ] [ "allow_name" ] . any? { |format | format === struct_name } # rubocop:disable Style/CaseEquality
43
43
end
44
44
45
45
# Whether generate C type to go
@@ -48,7 +48,7 @@ def should_generate_struct?(struct_name)
48
48
def should_generate_type? ( type_name )
49
49
type_name = type_name . downcase
50
50
51
- data [ "type" ] [ "allow_name" ] . any? { |format | format === type_name }
51
+ data [ "type" ] [ "allow_name" ] . any? { |format | format === type_name } # rubocop:disable Style/CaseEquality
52
52
end
53
53
end
54
54
end
You can’t perform that action at this time.
0 commit comments