Subject: [ruby-talk:9647] using procs and blocks from C
From: Avi Bryant <avi beta4.com>
Date: Sun, 21 Jan 2001 21:45:36 +0900
In-reply-to: 9646
How do I do the equivalent of "myMethod(arg1, arg2, &proc)" from the C
API?
Or "myMethod(arg1, arg2) { doSomething }" ?
Is there a rough equivalent of rb_scan_args for use with rb_funcall?
Thanks,
avi