[MPlayer-cvslog] CVS: main/libmpdemux demuxer.h,1.88,1.89

Alan Curry pacman at theworld.com
Thu Mar 9 23:31:37 CET 2006


Rich Felker writes the following:
>
>If the code is used inside a C++ module, it needs to be inside an
>extern "C" { } block! Add the appropriate extern "C" around the
>#include line!

extern "C" doesn't change lanugage semantics that much. If you want to put
inline functions in a header and make it useful for both C and C++,
conversions from void* need to be cast.




More information about the MPlayer-cvslog mailing list