Re: [SlashMUD-developers] change plugin from cc to c?
Status: Alpha
Brought to you by:
koryn
From: Koryn G. <kor...@gm...> - 2008-05-06 21:32:21
|
Hmmmm, let's see: 1. Rename the file so that it ends with ".c". 2. Adjust the Makefile.am so that it uses "cflags" instead of "cxxflags" and the new .c file. 3. Replace C++ STL data structures with C equivalents. 4. Swap C++ 'bool' types for unsigned ints (or ints or chars...). 5. Recode C++ 'string' types for C char*. Cheers, Koryn On 7/05/2008, at 4:32 AM, Neil Tiffin wrote: > What do I need to do in order to change a plugin from c++ to c? > > Neil -- Koryn Grant Wellington, New Zealand |