forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruby.cfg
53 lines (53 loc) · 1.22 KB
/
ruby.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<def format="2">
<!-- Ruby C API. see https://docs.ruby-lang.org/en/2.5.0/extension_rdoc.html -->
<!-- void rb_define_const(VALUE klass, const char *name, VALUE val) -->
<function name="rb_define_const">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<strz/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<!-- void rb_define_method(VALUE klass, const char *name, VALUE (*func)(ANYARGS), int argc) -->
<function name="rb_define_method">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<strz/>
</arg>
<arg nr="4">
<not-bool/>
<not-uninit/>
</arg>
</function>
<!-- void rb_raise(rb_eRuntimeError, const char *fmt, …) -->
<function name="rb_raise">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<formatstr/>
<not-null/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
</def>