[macruby-changes] [512] MacRuby/trunk/objc.m
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 28 01:02:31 PDT 2008
Revision: 512
http://trac.macosforge.org/projects/ruby/changeset/512
Author: lsansonetti at apple.com
Date: 2008-08-28 01:02:31 -0700 (Thu, 28 Aug 2008)
Log Message:
-----------
reverting a change introduced by the last commit
Modified Paths:
--------------
MacRuby/trunk/objc.m
Modified: MacRuby/trunk/objc.m
===================================================================
--- MacRuby/trunk/objc.m 2008-08-28 06:02:21 UTC (rev 511)
+++ MacRuby/trunk/objc.m 2008-08-28 08:02:31 UTC (rev 512)
@@ -2067,11 +2067,10 @@
(bs_element_struct_field_t *)&bs_struct->fields[i];
if (strcmp(ivar_id_str, bs_field->name) == 0) {
- VALUE val, *pval;
+ VALUE *pval;
pval = &((VALUE *)(data + bs_boxed->ffi_type->size))[i];
if (*pval == 0) {
- pval = &val;
rb_objc_ocval_to_rbval(data + pos, bs_field->type, pval);
}
return *pval;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080828/86ffe46b/attachment.html
More information about the macruby-changes
mailing list