"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "imageutils/libpngrecolor.h" between
littleutils-1.2.4.tar.lz and littleutils-1.2.5.tar.lz

About: littleutils are a collection of small and simple utilities (rename files, search for duplicate files, ...).

libpngrecolor.h  (littleutils-1.2.4.tar.lz):libpngrecolor.h  (littleutils-1.2.5.tar.lz)
// libpngrecolor.h - part of pngrecolor // libpngrecolor.h - part of pngrecolor
// Copyright (C) 2010 by Jason Summers (from original libpngrewrite.h) // Copyright (C) 2010 by Jason Summers (from original libpngrewrite.h)
// Modifications (C) 2013-2020 by Brian Lindholm // Modifications (C) 2013-2021 by Brian Lindholm
#ifndef LIBPNGRECOLOR_H_INCLUDED #ifndef LIBPNGRECOLOR_H_INCLUDED
#define LIBPNGRECOLOR_H_INCLUDED #define LIBPNGRECOLOR_H_INCLUDED
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#if defined(_WIN32) && !defined(__GNUC__) && !defined(PNGRW_WINDOWS) #if defined(_WIN32) && !defined(__GNUC__) && !defined(PNGRW_WINDOWS)
# define PNGRW_WINDOWS # define PNGRW_WINDOWS
#endif #endif
#ifdef HAVE_STDIO_H
# include <stdio.h>
#endif
#ifdef PNGRW_WINDOWS #ifdef PNGRW_WINDOWS
# include <tchar.h> # include <tchar.h>
# define PNGRW_CHAR TCHAR # define PNGRW_CHAR TCHAR
#else #else
# define PNGRW_CHAR char # define PNGRW_CHAR char
#endif #endif
#include <stdio.h>
struct pngrw_ctx; struct pngrw_ctx;
struct pngrw_ctx *pngrw_create(void); struct pngrw_ctx *pngrw_create(void);
void pngrw_destroy(struct pngrw_ctx *ctx); void pngrw_destroy(struct pngrw_ctx *ctx);
int pngrw_read_filename(struct pngrw_ctx *ctx, const PNGRW_CHAR *in_filename, in t verbose); int pngrw_read_filename(struct pngrw_ctx *ctx, const PNGRW_CHAR *in_filename, in t verbose);
int pngrw_write_filename(struct pngrw_ctx *ctx, const PNGRW_CHAR *out_filename, int no_interlace); int pngrw_write_filename(struct pngrw_ctx *ctx, const PNGRW_CHAR *out_filename, int no_interlace);
int pngrw_read_stdio(struct pngrw_ctx *ctx, FILE *infp, int verbose); int pngrw_read_stdio(struct pngrw_ctx *ctx, FILE *infp, int verbose);
int pngrw_write_stdio(struct pngrw_ctx *ctx, FILE *outfp, int no_interlace); int pngrw_write_stdio(struct pngrw_ctx *ctx, FILE *outfp, int no_interlace);
 End of changes. 3 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)