summaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 13:41:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 13:41:02 +0000
commit70b77ce6a0e7bd9907d11c29932eb8e37c3e4076 (patch)
tree0fbaa740a483519e42912ffb4fe74b36e4a6d90f /ruby.h
parentd00b2d452911f57cbd81a65e2a0e0a71474581ad (diff)
downloadruby-70b77ce6a0e7bd9907d11c29932eb8e37c3e4076.tar.gz
ruby-70b77ce6a0e7bd9907d11c29932eb8e37c3e4076.tar.xz
ruby-70b77ce6a0e7bd9907d11c29932eb8e37c3e4076.zip
* dir.c (ruby_glob): glob function not using ruby exception system.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ruby.h b/ruby.h
index 5b5e2db71..5887f89d7 100644
--- a/ruby.h
+++ b/ruby.h
@@ -16,6 +16,9 @@
#if defined(__cplusplus)
extern "C" {
+#if 0
+} /* satisfy cc-mode */
+#endif
#endif
#include "config.h"
@@ -490,6 +493,7 @@ struct RBignum {
void rb_obj_infect(VALUE,VALUE);
void rb_glob(const char*,void(*)(const char*,VALUE),VALUE);
+int ruby_glob(const char*,int,int(*)(const char*,VALUE),VALUE);
VALUE rb_define_class(const char*,VALUE);
VALUE rb_define_module(const char*);
@@ -735,6 +739,9 @@ void ruby_native_thread_kill(int);
#endif
#if defined(__cplusplus)
+#if 0
+{ /* satisfy cc-mode */
+#endif
} /* extern "C" { */
#endif