path: root/constant.h
diff options
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-04 01:12:53 (GMT)
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-04 01:12:53 (GMT)
commit493804573589416bb3436ecf25fb44c6f83a9c1e (patch)
tree2af43f7e5bb5b8e65b6f9ab2751b4ffc74161115 /constant.h
parent0ee5c55e51f0d4c0a7170b7985d3cb9d361be98e (diff)
variable: cleanup to use rb_const_lookup
* variable.c: cleanup to use rb_const_lookup * vm_insnshelper.c: ditto This reduces casting and long lines. This should make it easier to switch to alternatives to st for constant storage. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'constant.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/constant.h b/constant.h
index 77dd696..8c854bf 100644
--- a/constant.h
+++ b/constant.h
@@ -32,5 +32,6 @@ VALUE rb_public_const_get_from(VALUE klass, ID id);
int rb_public_const_defined(VALUE klass, ID id);
int rb_public_const_defined_at(VALUE klass, ID id);
int rb_public_const_defined_from(VALUE klass, ID id);
+rb_const_entry_t *rb_const_lookup(VALUE klass, ID id);
#endif /* CONSTANT_H */