function safe_getter

[edit]
static VALUE safe_getter(void)