summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-15 14:20:01 +0000
committerAndi Gutmans <andi@php.net>2000-04-15 14:20:01 +0000
commit1665cba750539a4245cf600bacdff3f74fe7bbfd (patch)
treedafdf6338d70127846edf9f25cb6955777e7b6de /ext/gd
parent603d5ff5d8e2ecfff40f47f9a1e1be8739cec0db (diff)
downloadphp-git-1665cba750539a4245cf600bacdff3f74fe7bbfd.tar.gz
- Change PHP_ to V_ (directory & file functions)
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/gd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index fc0b450af6..026af1db6a 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -343,7 +343,7 @@ PHP_FUNCTION(imageloadfont) {
convert_to_string_ex(file);
#ifdef PHP_WIN32
- fp = PHP_FOPEN((*file)->value.str.val, "rb");
+ fp = V_FOPEN((*file)->value.str.val, "rb");
#else
fp = php_fopen_wrapper((*file)->value.str.val, "r", IGNORE_PATH|IGNORE_URL_WIN, &issock, &socketd, NULL);
#endif
@@ -446,7 +446,7 @@ PHP_FUNCTION(imagecreatefrompng)
convert_to_string_ex(file);
fn = (*file)->value.str.val;
#ifdef PHP_WIN32
- fp = PHP_FOPEN((*file)->value.str.val, "rb");
+ fp = V_FOPEN((*file)->value.str.val, "rb");
#else
fp = php_fopen_wrapper((*file)->value.str.val, "r", IGNORE_PATH|IGNORE_URL_WIN, &issock, &socketd, NULL);
#endif
@@ -492,7 +492,7 @@ PHP_FUNCTION(imagepng)
}
if (argc == 2) {
- fp = PHP_FOPEN(fn, "wb");
+ fp = V_FOPEN(fn, "wb");
if (!fp) {
php_error(E_WARNING, "ImagePng: unable to open %s for writing", fn);
RETURN_FALSE;
@@ -554,7 +554,7 @@ PHP_FUNCTION(imagecreatefromgif )
fn = (*file)->value.str.val;
#ifdef PHP_WIN32
- fp = PHP_FOPEN((*file)->value.str.val, "rb");
+ fp = V_FOPEN((*file)->value.str.val, "rb");
#else
fp = php_fopen_wrapper((*file)->value.str.val, "r", IGNORE_PATH|IGNORE_URL_WIN, &issock, &socketd, NULL);
#endif
@@ -603,7 +603,7 @@ PHP_FUNCTION(imagegif)
}
if (argc == 2) {
- fp = PHP_FOPEN(fn, "wb");
+ fp = V_FOPEN(fn, "wb");
if (!fp) {
php_error(E_WARNING, "ImageGif: unable to open %s for writing", fn);
RETURN_FALSE;
@@ -669,7 +669,7 @@ PHP_FUNCTION(imagecreatefromjpeg)
convert_to_string_ex(file);
fn = (*file)->value.str.val;
#ifdef PHP_WIN32
- fp = PHP_FOPEN((*file)->value.str.val, "rb");
+ fp = V_FOPEN((*file)->value.str.val, "rb");
#else
fp = php_fopen_wrapper((*file)->value.str.val, "r", IGNORE_PATH|IGNORE_URL_WIN, &issock, &socketd, NULL);
#endif
@@ -720,7 +720,7 @@ PHP_FUNCTION(imagejpeg)
}
if (argc > 1 && fn && strlen(fn)) {
- fp = PHP_FOPEN(fn, "wb");
+ fp = V_FOPEN(fn, "wb");
if (!fp) {
php_error(E_WARNING, "ImageJpeg: unable to open %s for writing", fn);
RETURN_FALSE;