[macruby-changes] [4828] MacRuby/trunk/include/ruby/ruby.h
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 25 17:38:24 PDT 2010
Revision: 4828
http://trac.macosforge.org/projects/ruby/changeset/4828
Author: watson1978 at gmail.com
Date: 2010-10-25 17:38:20 -0700 (Mon, 25 Oct 2010)
Log Message:
-----------
add a RARRAY macro.
Modified Paths:
--------------
MacRuby/trunk/include/ruby/ruby.h
Modified: MacRuby/trunk/include/ruby/ruby.h
===================================================================
--- MacRuby/trunk/include/ruby/ruby.h 2010-10-25 21:59:38 UTC (rev 4827)
+++ MacRuby/trunk/include/ruby/ruby.h 2010-10-26 00:38:20 UTC (rev 4828)
@@ -648,6 +648,7 @@
#define R_CAST(st) (struct st*)
#define RBASIC(obj) (R_CAST(RBasic)(obj))
+#define RARRAY(obj) (R_CAST(RArray)(obj))
#define RDATA(obj) (R_CAST(RData)(obj))
#define RSTRUCT(obj) (R_CAST(RStruct)(obj))
#define RBIGNUM(obj) (R_CAST(RBignum)(obj))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101025/32298d44/attachment-0001.html>
More information about the macruby-changes
mailing list