From 60b2446bea0297c47f56deb308c29a5c1af64cc9 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 10 Dec 2002 06:23:44 +0000 Subject: * sprintf.c (rb_f_sprintf): preceding ".." for negative numbers still left; removed. * sprintf.c (rb_f_sprintf): should not prepend '0' if width > prec for example "%5.3d". * process.c (Init_process): add Process.exit and Process.abort * pack.c (utf8_to_uv): raise ArgumentError for malformed/redundant UTF-8 sequences. * process.c (last_status_set): add pid attribute to Process::Status. * pack.c (uv_to_utf8): limit maximum length of the encoded string to 6 bytes, even when the platform supports 8 bytes long integers. * pack.c (utf8_to_uv): do not decode sequences longer than 6 bytes. * object.c (copy_object): use "copy_object" method, not "become". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern.h') diff --git a/intern.h b/intern.h index f7838d6dfb..07b5b5e2e8 100644 --- a/intern.h +++ b/intern.h @@ -138,6 +138,8 @@ EXTERN struct RNode *ruby_current_node; void ruby_set_current_source _((void)); NORETURN(void rb_exc_raise _((VALUE))); NORETURN(void rb_exc_fatal _((VALUE))); +VALUE rb_f_exit _((int,VALUE*)); +VALUE rb_f_abort _((int,VALUE*)); void rb_remove_method _((VALUE, const char*)); void rb_disable_super _((VALUE, const char*)); void rb_enable_super _((VALUE, const char*)); -- cgit v1.2.3