Linux Standard Base Desktop Specification 4.1 | ||
---|---|---|
<<< Previous | Next >>> |
This interface shall install custom memory allocation functions.
The parameter png_ptr shall specify the PNG file.
The parameter mem_ptr shall specify a struct provided by the user for memory functions.
The parameter malloc_fn shall specify the function used to allocate memory. If the value of this parameter is NULL, then the capability to allocate memory with the libpng ABI shall be disabled.
The parameter free_fn shall specify the function used to free memory. If the value of this parameter is NULL, then the capability to free memory with the libpng ABI shall be disabled.
<<< Previous | Home | Next >>> |
png_set_keep_unknown_chunks | Up | png_set_oFFs |