ons 2018-05-16 klockan 11:47 +0200 skrev Steinar H. Gunderson: > On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: > > Yes, I am referring to usage of the libavutil headers in C. If the macro is > > only hidden for C++ and available in C, that would be OK for me. But if the > > static inline function variant would support both C and C++, this would look > > like a solution where C++ users are not forced to implement a more > > "integrated" replacement but of course have the option to do so. > > While we're at it, would it be possible to have extern "C" { for the headers, > too? :-) (Wrapped in #ifdef __cplusplus, of course.)
This comes up every now and then, and I know there was great opposition to it previously from people who have since left the project. If you're willing to be the person officially dealing with all "C++-isms" in the headers then I wouldn't be too opposed. Maybe someone else has stronger feelings /Tomas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel