Sha256: abb767c09ec63c20e9cad40902be0b574eba211677a6e7f1e3dd979bdb098216
Contents?: true
Size: 529 Bytes
Versions: 25
Compression:
Stored size: 529 Bytes
Contents
#include "Address_Registration_Guard.hpp" bool Rice::Address_Registration_Guard::enabled = true; bool Rice::Address_Registration_Guard::exit_handler_registered = false; static void disable_all_guards(VALUE) { Rice::Address_Registration_Guard::disable(); } void Rice::Address_Registration_Guard::registerExitHandler() { if (exit_handler_registered) return; rb_set_end_proc(&disable_all_guards, Qnil); exit_handler_registered = true; } void Rice::Address_Registration_Guard::disable() { enabled = false; }
Version data entries
25 entries across 25 versions & 4 rubygems