function var_getter

static VALUE var_getter(ID id, VALUE *var)