[FFmpeg-cvslog] r14484 - in trunk/libavcodec: audioconvert.c audioconvert.h
Måns Rullgård
mans
Sun Aug 3 14:55:50 CEST 2008
The Wanderer <inverseparadox at comcast.net> writes:
> Diego Biurrun wrote:
>
>> On Sat, Aug 02, 2008 at 02:55:30PM +0200, Diego Biurrun wrote:
>>
>>> On Sat, Aug 02, 2008 at 12:12:11AM +0200, Michael Niedermayer
>>> wrote:
>>>
>>>> Would it be possible that you could spell out the rule you think
>>>> is a rule so we all know beyond doubt if there are exceptions and
>>>> if so which exactly.
>>>
>>> All files should #include everything they need directly.
>>
>> For system headers like inttypes.h that are documented to always
>> #include other headers like stdint.h, I consider just inttypes.h
>> enough.
>
> What about for non-system headers which are, or could be, "documented"
> (that is, explicitly guaranteed) to always include particular other
> headers - or, more to the point, provide particular symbols?
Same thing. Let me try to state exactly what I want the rule to be:
For each type, symbol, or macro used in a file (source or header),
the file shall contain an #include line guaranteed to provide,
directly or indirectly, a declaration or definition of the type,
symbol, or macro.
Is this unambiguous enough?
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list