proc.c: remove rb_block_clear_env_self
* proc.c (rb_block_clear_env_self): removed as deprecated at r52129. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6b78bfcf01
commit
ec4ba1b728
@ -996,7 +996,6 @@ ID rb_id_attrget(ID id);
|
||||
VALUE rb_proc_location(VALUE self);
|
||||
st_index_t rb_hash_proc(st_index_t hash, VALUE proc);
|
||||
int rb_block_arity(void);
|
||||
VALUE rb_block_clear_env_self(VALUE proc);
|
||||
|
||||
/* process.c */
|
||||
#define RB_MAX_GROUPS (65536)
|
||||
|
11
proc.c
11
proc.c
@ -694,17 +694,6 @@ rb_block_lambda(void)
|
||||
return proc_new(rb_cProc, TRUE);
|
||||
}
|
||||
|
||||
VALUE
|
||||
rb_block_clear_env_self(VALUE proc)
|
||||
{
|
||||
rb_proc_t *po;
|
||||
rb_env_t *env;
|
||||
GetProcPtr(proc, po);
|
||||
GetEnvPtr(rb_vm_proc_envval(po), env);
|
||||
env->env[0] = Qfalse;
|
||||
return proc;
|
||||
}
|
||||
|
||||
/* Document-method: ===
|
||||
*
|
||||
* call-seq:
|
||||
|
Loading…
x
Reference in New Issue
Block a user