1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2010-07-17 04:50:19 +00:00
parent 95bc022376
commit 4bf3cb5ba9
5 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,12 @@
Sat Jul 17 13:48:22 2010 Tanaka Akira <akr@fsij.org>
* 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.
Sat Jul 17 13:04:45 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (rb_thread_wakeup_alive): split from rb_thread_wakeup.

View file

@ -47,6 +47,8 @@ openssl/ossl_x509req.c
openssl/ossl_x509revoked.c
openssl/ossl_x509store.c
openssl/lib/openssl/buffering.rb
pathname/pathname.c
pathname/lib
pty/pty.c
pty/lib
readline/readline.c

2
ext/pathname/extconf.rb Normal file
View file

@ -0,0 +1,2 @@
require 'mkmf'
create_makefile('pathname')

View file

@ -11,6 +11,8 @@
# <tt>pathname.rb</tt> is distributed with Ruby since 1.8.0.
#
require 'pathname.so'
#
# == Pathname
#

9
ext/pathname/pathname.c Normal file
View file

@ -0,0 +1,9 @@
#include "ruby.h"
static VALUE rb_cPathname;
void
Init_pathname()
{
rb_cPathname = rb_define_class("Pathname", rb_cObject);
}