From: nobu.nokada@... Date: 2005-11-06T10:43:12+09:00 Subject: Re: Compiling C extensions with MSVC Hi, At Sun, 6 Nov 2005 06:54:41 +0900, Eric Hofreiter wrote in [ruby-talk:164395]: > This might be a bit nit-picky but the Init doesn't need to be named the same as > the .c file necissarily. It needs to be named the same as the class or Module > that Ruby will be loading from your .so. I haven't tried this but I would > assume if you had multiple modules defined in one c file you'd need an > Init_ for each one the link step would fail if any were absent. I > doubt you'll ever run into, it's just something to file away. Ruby doesn't know what class or module (even nothing) will be defined in an extension. Just its filename. -- Nobu Nakada