RetroArch
Classes | Macros | Variables
rpng_internal.h File Reference
#include <stdint.h>
#include <filters.h>
#include <formats/rpng.h>
Include dependency graph for rpng_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  png_ihdr
 

Macros

#define GOTO_END_ERROR()
 
#define ARRAY_SIZE(a)   (sizeof(a) / sizeof((a)[0]))
 

Variables

static const uint8_t png_magic [8]
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE (   a)    (sizeof(a) / sizeof((a)[0]))

◆ GOTO_END_ERROR

#define GOTO_END_ERROR ( )
Value:
do { \
fprintf(stderr, "[RPNG]: Error in line %d.\n", __LINE__); \
ret = false; \
goto end; \
} while(0)
GLuint GLuint end
Definition: glext.h:6292

Variable Documentation

◆ png_magic

const uint8_t png_magic[8]
static
Initial value:
= {
0x89, 'P', 'N', 'G', 0x0d, 0x0a, 0x1a, 0x0a,
}