From: nobu.nokada@... Date: 2001-11-07T23:20:04+09:00 Subject: [ruby-talk:24518] Re: () vs (...) in header files なかだです。 At Fri, 26 Oct 2001 03:06:58 +0900, Paul Brannan wrote: > > #ifdef __cplusplus > [snip] > > #endif > > I don't think it's legal to overload functions with C linkage (at least, > gcc doesn't like it). Otherwise, that would be a good idea. I forgot ruby.h had `extern "C"'. So, you may need #ifdef __cplusplus extern "C++" { // rb_define_method wrappers... } #endif Nobu Nakada