File: IMG_SavePNG.h

package info (click to toggle)
enigma 1.20-dfsg.1-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 64,620 kB
  • ctags: 16,428
  • sloc: xml: 153,614; cpp: 63,581; ansic: 31,088; sh: 4,825; makefile: 1,858; yacc: 288; perl: 84; sed: 16
file content (28 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 IMG_SavePNG.h

 Originally a patch to SDL_image, LGPL

 (c) 2001 Darren Grant
 Endian fixes by J. Fortmann
 
*/
#ifndef _IMG_SavePNG_h
#define _IMG_SavePNG_h

#include "SDL.h"

/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif

int IMG_SavePNG_RW(SDL_Surface *face, SDL_RWops *src);	
int IMG_SavePNG(SDL_Surface *surface, const char *file);
	
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
};
#endif

#endif	// _IMG_SavePNG_h