[FFmpeg-devel] [RFC] extern "C" usage

matthieu castet castet.matthieu
Mon May 14 21:02:37 CEST 2007


Luca Barbato wrote:
> Steve Lhomme wrote:
>> M?ns Rullg?rd wrote:
>>> If you don't know FFmpeg well enough to be certain it's 100% pure C, you
>>> shouldn't be using it in the first place.
>> I guess that's a perfect example of elitism.
> Back on track what about cleaning up the headers and add an handy macro
> FFMPEG_INCLUDE_CXX() that does the work for you?
> This way we don't have our C headers cluttered and that macro can find
> its place in avutils or wherever it's ok.
Or why not make a special install rule that will insert extern C stuff 
in the public header ?

That way headers stay clean on svn, and developers don't need to care 
about this stuff when public header are added/removed.


More information about the ffmpeg-devel mailing list