[#15357] Regexp literal and Regexp.new() — TAKAHASHI Masayoshi <maki@...>

高橋征義です。

14 messages 2001/12/05
[#15358] Regexp in UTF-8 (Re: Regexp literal and Regexp.new()) — TAKAHASHI Masayoshi <maki@...> 2001/12/05

高橋征義です。むーん、問題のありかが違ったかも。

[#15435] Time#utcoff — Tanaka Akira <akr@...17n.org>

In article <hvosnahj702.fsf@coulee.a02.aist.go.jp>,

20 messages 2001/12/13
[#15436] Re: Time#utcoff — matz@... (Yukihiro Matsumoto) 2001/12/14

まつもと ゆきひろです

[#15505] ERb — m_seki@...

74 messages 2001/12/20
[#15560] Re: ERb — Tanaka Akira <akr@...17n.org> 2001/12/27

In article <20011220114249J.seki@mr.nasu.toshiba.co.jp>,

[#15879] Re: ERb — m_seki@... 2002/02/12

[#15884] Re: ERb — Tanaka Akira <akr@...17n.org> 2002/02/14

In article <m3eljr5o9m.wl@edwin.mva.biglobe.ne.jp>,

[#15885] Re: ERb — m_seki@... 2002/02/14

[#15886] Re: ERb — m_seki@... 2002/02/14

[#15887] Re: ERb — TAKAHASHI Masayoshi <maki@...> 2002/02/14

高橋征義です。

[#15888] Re: ERb — m_seki@... 2002/02/14

[#15896] Re: ERb — Tanaka Akira <akr@...17n.org> 2002/02/15

In article <20020215085405G.seki@mr.nasu.toshiba.co.jp>,

[#15898] Re: ERb — m_seki@... 2002/02/15

[#15900] Re: ERb — TADA Tadashi <sho@...> 2002/02/16

ただただしです。

[#15901] Re: ERb — m_seki@... 2002/02/16

[#15906] Re: ERb — matz@... (Yukihiro Matsumoto) 2002/02/17

まつもと ゆきひろです

[#15909] 1.6 の寿命 (Re: Re: ERb) — Koji Arai <JCA02266@...> 2002/02/17

新井です。

[#15507] fileutils (2) — Minero Aoki <aamine@...>

あおきです。

30 messages 2001/12/20
[#15512] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/20

高橋征義です。

[#15513] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/21

あおきです。

[#15515] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/21

高橋征義です。結論は最後に。

[#15516] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/21

あおきです。

[#15533] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/22

高橋征義です。

[#15536] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/24

あおきです。

[#15540] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/24

高橋征義です。

[#15545] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/24

あおきです。

[#15557] Re: fileutils (2) — TAKAHASHI Masayoshi <maki@...> 2001/12/26

高橋征義です。

[#15567] Re: fileutils (2) — Minero Aoki <aamine@...> 2001/12/27

あおきです。

[#15573] [patch] resolv.rb for win32 platform — Tietew <tietew-ml-ruby-dev@...>

Tietew です。

22 messages 2001/12/28

[ruby-dev:15517] prototypes in headers

From: nobu.nakada@...
Date: 2001-12-21 06:52:31 UTC
List: ruby-dev #15517
なかだです。

Cでだとプロトタイプが使えないという環境で、C++でコンパイルする
とプロトタイプが無効になってしまっているような気がします。そん
な環境が実際にあるのかはちょっと疑問ですが。

それと、ruby.hのinline関数にはせっかくプロトタイプがあるので、
C++のときだけじゃなくてHAVE_PROTOTYPESのときも有効にしといても
いいんじゃないでしょうか。


Index: dln.h
===================================================================
RCS file: /cvs/ruby/src/ruby/dln.h,v
retrieving revision 1.6
diff -u -2 -p -r1.6 dln.h
--- dln.h	2001/05/02 04:22:10	1.6
+++ dln.h	2001/12/21 06:47:33
@@ -14,4 +14,13 @@
 #define DLN_H
 
+#ifdef __cplusplus
+# ifndef  HAVE_PROTOTYPES
+#  define HAVE_PROTOTYPES 1
+# endif
+# ifndef  HAVE_STDARG_PROTOTYPES
+#  define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
+
 #undef _
 #ifdef HAVE_PROTOTYPES
Index: ruby.h
===================================================================
RCS file: /cvs/ruby/src/ruby/ruby.h,v
retrieving revision 1.56
diff -u -2 -p -r1.56 ruby.h
--- ruby.h	2001/12/17 07:52:35	1.56
+++ ruby.h	2001/12/21 06:47:24
@@ -53,4 +53,13 @@ extern "C" {
 #endif
 
+#ifdef __cplusplus
+# ifndef  HAVE_PROTOTYPES
+#  define HAVE_PROTOTYPES 1
+# endif
+# ifndef  HAVE_STDARG_PROTOTYPES
+#  define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
+
 #undef _
 #ifdef HAVE_PROTOTYPES
@@ -583,5 +592,5 @@ EXTERN VALUE rb_defout, rb_stdin, rb_std
 
 static inline VALUE
-#if defined(__cplusplus)
+#if defined(HAVE_PROTOTYPES)
 rb_class_of(VALUE obj)
 #else
@@ -600,5 +609,5 @@ rb_class_of(obj)
 
 static inline int
-#if defined(__cplusplus)
+#if defined(HAVE_PROTOTYPES)
 rb_type(VALUE obj)
 #else
@@ -617,5 +626,5 @@ rb_type(obj)
 
 static inline int
-#if defined(__cplusplus)
+#if defined(HAVE_PROTOTYPES)
 rb_special_const_p(VALUE obj)
 #else
Index: util.h
===================================================================
RCS file: /cvs/ruby/src/ruby/util.h,v
retrieving revision 1.8
diff -u -2 -p -r1.8 util.h
--- util.h	2001/12/10 14:43:37	1.8
+++ util.h	2001/12/21 06:49:36
@@ -15,4 +15,12 @@
 
 #ifndef _
+#ifdef __cplusplus
+# ifndef  HAVE_PROTOTYPES
+#  define HAVE_PROTOTYPES 1
+# endif
+# ifndef  HAVE_STDARG_PROTOTYPES
+#  define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
 #ifdef HAVE_PROTOTYPES
 # define _(args) args


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread

Prev Next