diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-17 04:50:19 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-17 04:50:19 +0000 |
commit | 4bf3cb5ba9c0242bd5a6d0d55b7db9f837c09edf (patch) | |
tree | a203d15df3becb4afddb138d470d93433e129f3f /ext/pathname/pathname.c | |
parent | 95bc02237635d3fe42532bfe53038257575cee75 (diff) | |
download | ruby-4bf3cb5ba9c0242bd5a6d0d55b7db9f837c09edf.tar.gz |
* ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.
require pathname.so.
* ext/pathname/pathname.c: new file to define empty Pathname class.
* ext/pathname/extconf.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/pathname.c')
-rw-r--r-- | ext/pathname/pathname.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c new file mode 100644 index 0000000000..36ad9c8708 --- /dev/null +++ b/ext/pathname/pathname.c @@ -0,0 +1,9 @@ +#include "ruby.h" + +static VALUE rb_cPathname; + +void +Init_pathname() +{ + rb_cPathname = rb_define_class("Pathname", rb_cObject); +} |