diff options
author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /ext/gd/libgd/gdhelpers.h | |
parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
download | php-git-PHP-5.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'ext/gd/libgd/gdhelpers.h')
-rw-r--r-- | ext/gd/libgd/gdhelpers.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/gd/libgd/gdhelpers.h b/ext/gd/libgd/gdhelpers.h deleted file mode 100644 index 2544e88060..0000000000 --- a/ext/gd/libgd/gdhelpers.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef GDHELPERS_H -#define GDHELPERS_H 1 - -#include <sys/types.h> -#include "php.h" - -/* TBB: strtok_r is not universal; provide an implementation of it. */ - -extern char *gd_strtok_r(char *s, char *sep, char **state); - -/* These functions wrap memory management. gdFree is - in gd.h, where callers can utilize it to correctly - free memory allocated by these functions with the - right version of free(). */ -#define gdCalloc(nmemb, size) ecalloc(nmemb, size) -#define gdMalloc(size) emalloc(size) -#define gdRealloc(ptr, size) erealloc(ptr, size) -#define gdEstrdup(ptr) estrdup(ptr) -#define gdFree(ptr) efree(ptr) -#define gdPMalloc(ptr) pemalloc(ptr, 1) -#define gdPFree(ptr) pefree(ptr, 1) -#define gdPEstrdup(ptr) pestrdup(ptr, 1) - -#endif /* GDHELPERS_H */ - |