On Sep 22, 2006, at 12:32 PM, snacktime wrote:

> If I document the c source, which is what I'm doing now, I'm not  
> sure how to make my gem
> automatically generate the rdoc from the c source.

Include the .c file in the RDoc file list and it will get scanned for  
RDoc.

> Also, rdoc doesn't doesn't pick up the parameter names in a c  
> function, it just calls
> them p1,p2,p3,etc..

Use :call-seq:, see array.c in ruby for an example.

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com