summaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-15 02:52:43 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-15 02:52:43 +0000
commitf9a4209f6a227c0d035449acb23c3fe321aaab62 (patch)
tree1e5b8b58e74ccdef2608e69268d0236432085cc7 /ruby.h
parent091f0908411a91ffd0d05ef93e66f6e1feb0a6e6 (diff)
downloadruby-f9a4209f6a227c0d035449acb23c3fe321aaab62.tar.gz
ruby-f9a4209f6a227c0d035449acb23c3fe321aaab62.tar.xz
ruby-f9a4209f6a227c0d035449acb23c3fe321aaab62.zip
* dir.c, win32/win32.c, win32/dir.h, ruby.h, intern.h: Bring
encoding aware globbing support in from trunk. Dir.[] and Dir.glob() can now take many patterns in an array. Minor fixes will follow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby.h b/ruby.h
index 93e474a19..40c95f205 100644
--- a/ruby.h
+++ b/ruby.h
@@ -488,8 +488,11 @@ struct RBignum {
void rb_obj_infect _((VALUE,VALUE));
+typedef int ruby_glob_func(const char*,VALUE);
void rb_glob _((const char*,void(*)(const char*,VALUE),VALUE));
void rb_globi _((const char*,void(*)(const char*,VALUE),VALUE));
+int ruby_brace_expand _((const char*,int,ruby_glob_func*,VALUE));
+int ruby_brace_glob _((const char*,int,ruby_glob_func*,VALUE));
VALUE rb_define_class _((const char*,VALUE));
VALUE rb_define_module _((const char*));