summaryrefslogtreecommitdiff
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
commitaf44ff5ea8b12d6273b5fad15fa04a6acc9c36e1 (patch)
tree1e5b8b58e74ccdef2608e69268d0236432085cc7 /ruby.h
parentdb38fea37fb2f40399cac3b239f4955d78f8347c (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 93e474a..40c95f2 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*));