Skip to content

Commit 4bf3cb5

Browse files
committed
* 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
1 parent 95bc022 commit 4bf3cb5

File tree

5 files changed

+24
-0
lines changed

5 files changed

+24
-0
lines changed

ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Sat Jul 17 13:48:22 2010 Tanaka Akira <[email protected]>
2+
3+
* ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.
4+
require pathname.so.
5+
6+
* ext/pathname/pathname.c: new file to define empty Pathname class.
7+
8+
* ext/pathname/extconf.rb: new file.
9+
110
Sat Jul 17 13:04:45 2010 Nobuyoshi Nakada <[email protected]>
211

312
* thread.c (rb_thread_wakeup_alive): split from rb_thread_wakeup.

ext/.document

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ openssl/ossl_x509req.c
4747
openssl/ossl_x509revoked.c
4848
openssl/ossl_x509store.c
4949
openssl/lib/openssl/buffering.rb
50+
pathname/pathname.c
51+
pathname/lib
5052
pty/pty.c
5153
pty/lib
5254
readline/readline.c

ext/pathname/extconf.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require 'mkmf'
2+
create_makefile('pathname')
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# <tt>pathname.rb</tt> is distributed with Ruby since 1.8.0.
1212
#
1313

14+
require 'pathname.so'
15+
1416
#
1517
# == Pathname
1618
#

ext/pathname/pathname.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include "ruby.h"
2+
3+
static VALUE rb_cPathname;
4+
5+
void
6+
Init_pathname()
7+
{
8+
rb_cPathname = rb_define_class("Pathname", rb_cObject);
9+
}

0 commit comments

Comments
 (0)