mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* dir.c (ruby_glob): glob function not using ruby exception system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca32aea6a2
commit
9d2b69a273
4 changed files with 61 additions and 45 deletions
7
ruby.h
7
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue