Skip to content

Commit

Permalink
Less useless comment around Data_Get_Struct why-it-dont-work.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgonyea committed Oct 11, 2010
1 parent 7d8acf5 commit 1bc7c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb_fraction.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ VALUE fraction_allocate(VALUE klass) {
}

VALUE fraction_initialize(VALUE self) {
// Can't use Data_Get_Struct, but it's 'coo.
// Can't use Data_Get_Struct, as it performs strict type checking for a C struct... and rejects ObjC Objects.
// Data_Get_Struct(self, Fraction, fraction);
frac = (Fraction*)DATA_PTR(self);
return self;
Expand Down

0 comments on commit 1bc7c66

Please sign in to comment.