mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Revised manual paragraph about use of 'NO' macros.
This commit is contained in:
parent
a5e5547679
commit
d0797f5b53
@ -4214,10 +4214,10 @@ if the feature is supported or:
|
||||
/*#undef PNG_feature_SUPPORTED*/
|
||||
|
||||
if it is not. Library code consistently checks for the 'SUPPORTED' macro.
|
||||
It does not, and should not, check for the 'NO' macro which will not
|
||||
normally be defined even if the feature is not supported. The 'NO' macros
|
||||
are only used internally for setting the corresponding 'SUPPORTED' macros
|
||||
or not.
|
||||
It does not, and libpng applications should not, check for the 'NO' macro
|
||||
which will not normally be defined even if the feature is not supported.
|
||||
The 'NO' macros are only used internally for setting or not setting the
|
||||
corresponding 'SUPPORTED' macros.
|
||||
|
||||
Compatibility with the old names is provided as follows:
|
||||
|
||||
|
8
libpng.3
8
libpng.3
@ -5169,10 +5169,10 @@ if the feature is supported or:
|
||||
/*#undef PNG_feature_SUPPORTED*/
|
||||
|
||||
if it is not. Library code consistently checks for the 'SUPPORTED' macro.
|
||||
It does not, and should not, check for the 'NO' macro which will not
|
||||
normally be defined even if the feature is not supported. The 'NO' macros
|
||||
are only used internally for setting the corresponding 'SUPPORTED' macros
|
||||
or not.
|
||||
It does not, and libpng applications should not, check for the 'NO' macro
|
||||
which will not normally be defined even if the feature is not supported.
|
||||
The 'NO' macros are only used internally for setting or not setting the
|
||||
corresponding 'SUPPORTED' macros.
|
||||
|
||||
Compatibility with the old names is provided as follows:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user