hello,

I'v wrote an extension for a dll and at last I have to
implement a callback function.

My code.
--- 8< ---
def Callback_fn( var )
	print "\7"
	print " **************************** callback [#{var}] *** \n\r"
end
 
rv = RubyVSCL.new
rv.rPAInit { |a| Callback_fn(a) }
[...]
--- 8< ---

In my C-Function for rPAInit I check if rb_block_given_p and
call rb_yield - this works fine.

But in my thread which is listen on ``com1´´, rb_block_given_p
says that no block is given.
How to ``redirect´´ the block in the init function?


greetings,
daniel