Go to the source code of this file.
◆ CERROR_BREAK
Value: {\
break;\
}
GLuint GLsizei GLsizei * length
Definition at line 179 of file lodepng.c.
◆ CERROR_RETURN
◆ CERROR_RETURN_ERROR
◆ CERROR_TRY_RETURN
Value:
Definition at line 194 of file lodepng.c.
194 {\
195 unsigned error =
call;
\
196 if(error)
return error;\
197}
◆ ERROR_BREAK
◆ LODEPNG_INLINE
◆ LODEPNG_MAX
◆ LODEPNG_MIN
◆ LODEPNG_RESTRICT
◆ ucvector
◆ lodepng_free()
◆ lodepng_malloc()
◆ lodepng_memcpy()
◆ lodepng_memset()
◆ lodepng_realloc()
◆ lodepng_strlen()
Definition at line 133 of file lodepng.c.
133 {
134 const char*
orig =
a;
135
138 return (
size_t)(
a -
orig);
139}
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLboolean GLboolean GLboolean GLboolean a
static size_t lodepng_strlen(const char *a)
◆ ucvector_init()
◆ ucvector_reserve()
Definition at line 269 of file lodepng.c.
269 {
270 if(
size >
p->allocsize) {
275 p->data = (
unsigned char*)
data;
276 }
277 else return 0;
278 }
279 return 1;
280}
void * lodepng_realloc(void *ptr, size_t new_size)
◆ ucvector_resize()
Definition at line 283 of file lodepng.c.
283 {
286}
static unsigned ucvector_reserve(ucvector *p, size_t size)
◆ LODEPNG_VERSION_STRING
const char* LODEPNG_VERSION_STRING = "20230410" |