diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-21 06:46:41 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-21 06:46:41 +0000 |
commit | 1cb54abea63878c65fc1397766f161ea9e526453 (patch) | |
tree | a7555eb0dfb5990d0fbe6e2c0877e2f57aaf4815 /ruby.h | |
parent | 3adc108c585912226f6198226191cf2dc54af7ea (diff) | |
download | ruby-1cb54abea63878c65fc1397766f161ea9e526453.tar.gz ruby-1cb54abea63878c65fc1397766f161ea9e526453.tar.xz ruby-1cb54abea63878c65fc1397766f161ea9e526453.zip |
* intern.h, struct.c (rb_struct_iv_get): constified.
* marshal.c: avoid one VC++6 warning for implicit conversion
from int to char.
* ruby.h: ANSI styled.
* bcc32/Makefile.sub (HAVE_HYPOT): added.
* ext/socket/extconf.rb: BeOS is only one platform should call
closesocket, so check __BEOS__ macro directly. (I was worried
accidently HAVE_CLOSESOCKET is defined on windows again because
it has it)
* ext/socket/{getaddrinfo.c,socket.c}: ditto.
... these are all cosmetic changes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -655,12 +655,7 @@ RUBY_EXTERN VALUE rb_stdin, rb_stdout, rb_stderr; RUBY_EXTERN VALUE ruby_errinfo; static inline VALUE -#if defined(HAVE_PROTOTYPES) rb_class_of(VALUE obj) -#else -rb_class_of(obj) - VALUE obj; -#endif { if (IMMEDIATE_P(obj)) { if (FIXNUM_P(obj)) return rb_cFixnum; @@ -675,12 +670,7 @@ rb_class_of(obj) } static inline int -#if defined(HAVE_PROTOTYPES) rb_type(VALUE obj) -#else -rb_type(obj) - VALUE obj; -#endif { if (IMMEDIATE_P(obj)) { if (FIXNUM_P(obj)) return T_FIXNUM; @@ -696,12 +686,7 @@ rb_type(obj) } static inline int -#if defined(HAVE_PROTOTYPES) rb_special_const_p(VALUE obj) -#else -rb_special_const_p(obj) - VALUE obj; -#endif { if (SPECIAL_CONST_P(obj)) return Qtrue; return Qfalse; |