diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 08:33:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 08:33:17 +0000 |
commit | bc49bc7c6b6a16d725cd1279e9021465b1307f3d (patch) | |
tree | 023b7da77738e7e049de5002eade542b7f17e930 /intern.h | |
parent | b702ab5d6cf585ac0ff0cad3cd5aebbc40e82de0 (diff) |
* parse.y (do_block): split "do" block and tLBRACE_ARG block.
* parse.y (cmd_brace_block): new tLBRACE_ARG block rule
* parse.y (command): can take optional cmd_brace_block; use %prec
to resolve shift/reduce conflict. (ruby-bugs-ja PR#372)
* eval.c (ruby_finalize): trace_func should be cleared here (after
executing exit procs and finalizers).
* eval.c (rb_define_alloc_func): new allocation framework, based
on Nobu's work [ruby-dev:19116]. "allocate" method is no longer
used for object allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r-- | intern.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,8 @@ * the kernel. */ +#define ID_ALLOCATOR 1 + /* array.c */ void rb_mem_clear _((register VALUE*, register long)); VALUE rb_assoc_new _((VALUE, VALUE)); @@ -144,6 +146,8 @@ 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*)); +void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE))); +void rb_undef_alloc_func _((VALUE)); void rb_clear_cache _((void)); void rb_alias _((VALUE, ID, ID)); void rb_attr _((VALUE,ID,int,int,int)); |