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:
versat 2019-03-18 10:04:29 +01:00
parent d1025ce76d
commit 992e1293b7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<!-- void rb_raise(rb_eRuntimeError, const char *fmt, …) -->
<function name="rb_raise">
<leak-ignore/>
<noreturn>false</noreturn>
<noreturn>true</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>