class Rubydex::UnresolvedConstantReference
Public Instance Methods
Source
static VALUE rdxr_constant_reference_name(VALUE self) {
HandleData *data;
void *graph = rdxi_graph_from_handle(self, &data);
const char *name = rdx_constant_reference_name(graph, data->id);
if (name == NULL) {
rb_raise(rb_eRuntimeError, "Constant reference must exist for a valid id");
}
return rdxi_owned_c_string_to_ruby(name);
}
Returns the unresolved constant name.