core
core copied to clipboard
Ruby C API error handling
Currently class static method calls and object method calls are not properly handling errors. If there's an uncaught exception in Ruby, the program will terminate (segfault).
See issue #53
To solve this, rb_protect must be used: https://silverhammermba.github.io/emberb/c/#rb_protect