From af44ff5ea8b12d6273b5fad15fa04a6acc9c36e1 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 15 Feb 2007 02:52:43 +0000 Subject: * 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 --- ruby.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index 93e474a19b..40c95f2050 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*)); -- cgit v1.2.3