summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-26 00:38:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-26 00:38:44 +0000
commitb664645ddc5dc0d1dceb0b0f4a9710f0ce5a0c29 (patch)
tree2fde9c8a27be9bdc53e5ac3658c226b35ac3e334 /intern.h
parent67c8ca36f22e1023eeaa1de7221bdaf294ef6bde (diff)
* eval.c (rb_proc_new): make Proc from C function. [new]
* intern.h (rb_proc_new): prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 733f1c1..86c3c24 100644
--- a/intern.h
+++ b/intern.h
@@ -164,6 +164,7 @@ VALUE rb_f_require _((VALUE, VALUE));
void rb_obj_call_init _((VALUE, int, VALUE*));
VALUE rb_class_new_instance _((int, VALUE*, VALUE));
VALUE rb_f_lambda _((void));
+VALUE rb_proc_new _((VALUE (*)(.../* VALUE yieldarg[, VALUE procarg] */), VALUE));
VALUE rb_protect _((VALUE (*)(VALUE), VALUE, int*));
void rb_set_end_proc _((void (*)(VALUE), VALUE));
void rb_mark_end_proc _((void));