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:
@@ -4214,10 +4214,10 @@ if the feature is supported or:
|
|||||||
/*#undef PNG_feature_SUPPORTED*/
|
/*#undef PNG_feature_SUPPORTED*/
|
||||||
|
|
||||||
if it is not. Library code consistently checks for the 'SUPPORTED' macro.
|
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
|
It does not, and libpng applications should not, check for the 'NO' macro
|
||||||
normally be defined even if the feature is not supported. The 'NO' macros
|
which will not normally be defined even if the feature is not supported.
|
||||||
are only used internally for setting the corresponding 'SUPPORTED' macros
|
The 'NO' macros are only used internally for setting or not setting the
|
||||||
or not.
|
corresponding 'SUPPORTED' macros.
|
||||||
|
|
||||||
Compatibility with the old names is provided as follows:
|
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*/
|
/*#undef PNG_feature_SUPPORTED*/
|
||||||
|
|
||||||
if it is not. Library code consistently checks for the 'SUPPORTED' macro.
|
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
|
It does not, and libpng applications should not, check for the 'NO' macro
|
||||||
normally be defined even if the feature is not supported. The 'NO' macros
|
which will not normally be defined even if the feature is not supported.
|
||||||
are only used internally for setting the corresponding 'SUPPORTED' macros
|
The 'NO' macros are only used internally for setting or not setting the
|
||||||
or not.
|
corresponding 'SUPPORTED' macros.
|
||||||
|
|
||||||
Compatibility with the old names is provided as follows:
|
Compatibility with the old names is provided as follows:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user