summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_ss.c
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-05-28 01:22:43 +0000
committerSVN Migration <svn@php.net>2002-05-28 01:22:43 +0000
commitfe9cd86c5dd9af436ff2431b8c4b1800bed6894c (patch)
tree1d2376b2c6d208ff3177bd3c599ab86fe77c10ae /ext/gd/libgd/gd_ss.c
parent43beb1deda6c4d40fab8719478efd0750b0a06da (diff)
downloadphp-git-RELEASE_0_11.tar.gz
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_11'.RELEASE_0_11
Diffstat (limited to 'ext/gd/libgd/gd_ss.c')
-rw-r--r--ext/gd/libgd/gd_ss.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/ext/gd/libgd/gd_ss.c b/ext/gd/libgd/gd_ss.c
deleted file mode 100644
index 200442ba0f..0000000000
--- a/ext/gd/libgd/gd_ss.c
+++ /dev/null
@@ -1,38 +0,0 @@
-#include <stdio.h>
-#include <math.h>
-#include <string.h>
-#include <stdlib.h>
-#include "gd.h"
-
-#define TRUE 1
-#define FALSE 0
-
-/* Exported functions: */
-extern void gdImagePngToSink (gdImagePtr im, gdSinkPtr out);
-extern gdImagePtr gdImageCreateFromPngSource (gdSourcePtr inSource);
-
-/* Use this for commenting out debug-print statements. */
-/* Just use the first '#define' to allow all the prints... */
-/*#define GD_SS_DBG(s) (s) */
-#define GD_SS_DBG(s)
-
-void
-gdImagePngToSink (gdImagePtr im, gdSinkPtr outSink)
-{
- gdIOCtx *out = gdNewSSCtx (NULL, outSink);
- gdImagePngCtx (im, out);
- out->free (out);
-}
-
-gdImagePtr
-gdImageCreateFromPngSource (gdSourcePtr inSource)
-{
- gdIOCtx *in = gdNewSSCtx (inSource, NULL);
- gdImagePtr im;
-
- im = gdImageCreateFromPngCtx (in);
-
- in->free (in);
-
- return im;
-}