ruby.cfg: Configure rb_raise() as `noreturn` function.
rb_raise() exits the function and returns to the ruby script. Used for example to exit a function if arguments are not valid.
This commit is contained in:
parent
d1025ce76d
commit
992e1293b7
|
@ -52,7 +52,7 @@
|
||||||
<!-- void rb_raise(rb_eRuntimeError, const char *fmt, …) -->
|
<!-- void rb_raise(rb_eRuntimeError, const char *fmt, …) -->
|
||||||
<function name="rb_raise">
|
<function name="rb_raise">
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>true</noreturn>
|
||||||
<returnValue type="void"/>
|
<returnValue type="void"/>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
|
Loading…
Reference in New Issue