summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-23 16:40:53 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-23 16:40:53 +0000
commit46541321450f377c52d6ffe4db307840da0283e0 (patch)
tree1bc091a025de6eb0728fecacc3012b9629dc5d6c /include
parente44b8eb3ad2b1dcc5870a4db66c6741d66ddc82c (diff)
* include/ruby/intern.h (rb_f_lambde): restore the declaration of
rb_f_lambda() for backword compatibility. and mark it as deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 38c41757ae..c447b37223 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -382,6 +382,7 @@ VALUE rb_require_safe(VALUE, int);
void rb_obj_call_init(VALUE, int, VALUE*);
VALUE rb_class_new_instance(int, VALUE*, VALUE);
VALUE rb_block_proc(void);
+DEPRECATED(VALUE rb_f_lambda(void));
VALUE rb_block_lambda(void);
VALUE rb_proc_new(VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VALUE);
VALUE rb_obj_is_proc(VALUE);