[macruby-changes] [4005] MacRuby/trunk/bridgesupport.cpp

source_changes at macosforge.org source_changes at macosforge.org
Sun May 2 19:14:12 PDT 2010


Revision: 4005
          http://trac.macosforge.org/projects/ruby/changeset/4005
Author:   lsansonetti at apple.com
Date:     2010-05-02 19:14:11 -0700 (Sun, 02 May 2010)
Log Message:
-----------
tag the anonymous structs as non-opaque (to not confuse the compiler)

Modified Paths:
--------------
    MacRuby/trunk/bridgesupport.cpp

Modified: MacRuby/trunk/bridgesupport.cpp
===================================================================
--- MacRuby/trunk/bridgesupport.cpp	2010-05-03 02:13:40 UTC (rev 4004)
+++ MacRuby/trunk/bridgesupport.cpp	2010-05-03 02:14:11 UTC (rev 4005)
@@ -560,7 +560,7 @@
 	field->name = (char *)"?";
 	field->type = strdup(s_types.at(i).c_str());
     }
-    bs_struct->opaque = true;
+    bs_struct->opaque = false;
 
     // Prepare the boxed structure.
     rb_vm_bs_boxed_t *boxed = (rb_vm_bs_boxed_t *)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100502/335e921e/attachment.html>


More information about the macruby-changes mailing list