summaryrefslogtreecommitdiff
path: root/src/png.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/png.h')
-rw-r--r--src/png.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/png.h b/src/png.h
deleted file mode 100644
index c6b85d5..0000000
--- a/src/png.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef __PNG_H__
-#define __PNG_H__
-
-#include "graphics.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define PNG_OK 0
-#define PNG_ERROR_OPENING 1
-#define PNG_ERROR_READING 2
-#define PNG_ERROR_NOT_PNG 3
-#define PNG_ERROR_PNG_STRUCTS 4
-#define PNG_ERROR_MEMORY 5
-#define PNG_ERROR 6
-#define PNG_ERROR_INVALID_INPUT 7
-
-gBITMAP *load_png(char *filename, int *error);
-int save_png(gBITMAP *img, char *filename);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif