Browse Source

Moved png lib C symbols into juce namespace.

tags/2021-05-28
jules 12 years ago
parent
commit
0b5fd389c0
2 changed files with 0 additions and 18 deletions
  1. +0
    -9
      modules/juce_graphics/image_formats/pnglib/png.h
  2. +0
    -9
      modules/juce_graphics/image_formats/pnglib/pngpriv.h

+ 0
- 9
modules/juce_graphics/image_formats/pnglib/png.h View File

@@ -467,11 +467,6 @@
#ifndef PNG_VERSION_INFO_ONLY
/* Inhibit C++ name-mangling for libpng functions but not for system calls. */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Version information for C files, stored in png.c. This had better match
* the version above.
*/
@@ -3292,10 +3287,6 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
PNG_EXPORT_LAST_ORDINAL(244);
#endif
#ifdef __cplusplus
}
#endif
#endif /* PNG_VERSION_INFO_ONLY */
/* Do not put anything past this line */
#endif /* PNG_H */

+ 0
- 9
modules/juce_graphics/image_formats/pnglib/pngpriv.h View File

@@ -720,11 +720,6 @@ PNG_INTERNAL_DATA(const png_byte, png_sRGB_delta, [512]);
#endif /* PNG_SIMPLIFIED_READ/WRITE */
/* Inhibit C++ name-mangling for libpng functions but not for system calls. */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Internal functions; these are not exported from a DLL however because they
* are used within several of the C source files they have to be C extern.
*
@@ -1905,9 +1900,5 @@ PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr,
//#include "pngdebug.h"
#ifdef __cplusplus
}
#endif
#endif /* PNG_VERSION_INFO_ONLY */
#endif /* PNGPRIV_H */

Loading…
Cancel
Save