summaryrefslogtreecommitdiff
path: root/win32/dir.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-06 08:23:00 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-06 08:23:00 +0000
commit6343c99a2e43a60ffde0f445c2656f5cef24db0e (patch)
tree3cdecdd505b348bc2b2824fdb7980f7055f06736 /win32/dir.h
parent03c7332241e8f85b2a1d87dd88ed2946c9d32060 (diff)
* win32/{dir.h, win32.c} (rb_w32_readdir_with_enc): new function to
read entry with specified enc. * win32/win32.c (readdir_internal): extract from rb_w32_opendir(). * win32/win32.c (opendir_internal): extract from rb_w32_readdir(). * dir.c (dir_read, dir_each): use new READDIR macro instead of readdir() to pass enc for special version of readdir, such as above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r--win32/dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/dir.h b/win32/dir.h
index a09b237..3c7ec8d 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -29,6 +29,7 @@ typedef struct {
DIR* rb_w32_opendir(const char*);
struct direct* rb_w32_readdir(DIR *);
+struct direct* rb_w32_readdir_with_enc(DIR *, rb_encoding *);
off_t rb_w32_telldir(DIR *);
void rb_w32_seekdir(DIR *, off_t);
void rb_w32_rewinddir(DIR *);