Skip to content

Commit

Permalink
ruby.cfg: Configure rb_raise() as noreturn function.
Browse files Browse the repository at this point in the history
rb_raise() exits the function and returns to the ruby script.
Used for example to exit a function if arguments are not valid.
  • Loading branch information
versat committed Mar 18, 2019
1 parent d1025ce commit 992e129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfg/ruby.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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/>
Expand Down

0 comments on commit 992e129

Please sign in to comment.