> BTW, I've found even \t (Tab) symbol in sources confuses RDoc
> 

Yes, RDoc seems to be a rather confusable thing =)
I think, that there is no use in trying to make a perfect RDoc for C 
extensions, so You hack is OK. You can also make the following:
preprecess sources before RDoc-ing them. Thus, all You macroses will be 
expanded to rb_define_method

-- 
Posted via http://www.ruby-forum.com/.