[macruby-changes] [4069] MacRuby/trunk/include/ruby/ruby.h
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 11 14:25:24 PDT 2010
Revision: 4069
http://trac.macosforge.org/projects/ruby/changeset/4069
Author: lsansonetti at apple.com
Date: 2010-05-11 14:25:23 -0700 (Tue, 11 May 2010)
Log Message:
-----------
no more force_inline in public headers
Modified Paths:
--------------
MacRuby/trunk/include/ruby/ruby.h
Modified: MacRuby/trunk/include/ruby/ruby.h
===================================================================
--- MacRuby/trunk/include/ruby/ruby.h 2010-05-11 21:22:15 UTC (rev 4068)
+++ MacRuby/trunk/include/ruby/ruby.h 2010-05-11 21:25:23 UTC (rev 4069)
@@ -970,7 +970,7 @@
RUBY_EXTERN VALUE rb_stdin, rb_stdout, rb_stderr;
-static force_inline VALUE
+static inline VALUE
rb_class_of(VALUE obj)
{
if (IMMEDIATE_P(obj)) {
@@ -997,7 +997,7 @@
int rb_objc_type(VALUE obj);
-static force_inline int
+static inline int
rb_type(VALUE obj)
{
if (IMMEDIATE_P(obj)) {
@@ -1025,13 +1025,6 @@
return rb_objc_type(obj);
}
-static inline void
-__ignore_stupid_gcc_warnings(void)
-{
- TYPE(INT2FIX(0));
- CLASS_OF(INT2FIX(0));
-}
-
static inline bool
rb_special_const_p(VALUE obj)
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100511/7e10a76b/attachment.html>
More information about the macruby-changes
mailing list