summaryrefslogtreecommitdiffstats
path: root/intern.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-05 16:22:38 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-05 16:22:38 +0000
commit3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f (patch)
tree38c4e091c97426157118d2eaf8d5d6c0edbabf17 /intern.h
parentbad40cf1ee1edcf05753e3b41f90f8b8a88cfca6 (diff)
downloadruby-3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f.tar.gz
ruby-3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f.tar.xz
ruby-3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f.zip
* intern.h: prepare rb_last_status_get() and rb_last_status_set().
Use these functions instead of rb_last_status ([ruby-dev:30264]). * process.c: define above functions. * ext/pty/pty.c: use above functins. * io.c (pipe_finalize): ditto. * process.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index b3fd3cb0c..c4a0c2c04 100644
--- a/intern.h
+++ b/intern.h
@@ -413,6 +413,8 @@ VALUE rb_sym_all_symbols(void);
ID rb_compose_ivar2(ID, VALUE);
ID rb_decompose_ivar2(ID, VALUE*);
/* process.c */
+void rb_last_status_set(int status, rb_pid_t pid);
+VALUE rb_last_status_get(void);
struct rb_exec_arg {
int argc;
VALUE *argv;