Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Register the Empty class with the garbage collector
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jan 4, 2011
1 parent 823b43e commit b1bbb6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/evilr/evilr.c
Expand Up @@ -622,6 +622,7 @@ void Init_evilr(void) {
rb_define_singleton_method(empty, "superclass", evilr_empty_superclass, 0);
rb_define_method(empty, "initialize", evilr_empty_initialize, 0);
RCLASS_SET_SUPER(empty, NULL);
rb_global_variable(&empty);

evilr__attached = rb_intern("__attached__");

Expand Down

0 comments on commit b1bbb6a

Please sign in to comment.