summaryrefslogtreecommitdiff
path: root/ext/ncurses
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2002-12-22 19:16:09 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2002-12-22 19:16:09 +0000
commitd70f96550c144486686f65b7d86e9f0858e5def6 (patch)
tree31db15608360cb0787e5a5eb901bd9010c7ab029 /ext/ncurses
parent9b3f810564bf3700fc7c476ff35e6c7ac926eee6 (diff)
downloadphp-git-d70f96550c144486686f65b7d86e9f0858e5def6.tar.gz
php_error => php_error_docref
Diffstat (limited to 'ext/ncurses')
-rw-r--r--ext/ncurses/ncurses_functions.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c
index fa3aa7c146..2c17f95bcd 100644
--- a/ext/ncurses/ncurses_functions.c
+++ b/ext/ncurses/ncurses_functions.c
@@ -75,7 +75,7 @@ PHP_FUNCTION(ncurses_color_set)
}
RETURN_LONG(color_set(pair,NULL));
#else
- php_error(E_WARNING,"%s not supported in this build");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s not supported in this build");
RETURN_FALSE;
#endif
}
@@ -320,7 +320,7 @@ PHP_FUNCTION(ncurses_start_color)
if (NCURSES_G(is_initialised)) {
RETURN_LONG(start_color());
} else {
- php_error(E_WARNING, "ncurses library is not initialised by ncurses_init().");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "ncurses library is not initialised by ncurses_init().");
RETURN_FALSE;
}
}
@@ -996,7 +996,7 @@ PHP_FUNCTION(ncurses_slk_color)
RETURN_LONG(slk_color(intarg));
#else
- php_error(E_WARNING,"%s not supported in this build");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s not supported in this build");
RETURN_FALSE;
#endif
}
@@ -1071,7 +1071,7 @@ PHP_FUNCTION(ncurses_use_extended_names)
RETURN_LONG(use_extended_names(intarg));
#else
- php_error(E_WARNING,"%s not supported in this build");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s not supported in this build");
RETURN_FALSE;
#endif
}
@@ -1606,7 +1606,7 @@ PHP_FUNCTION(ncurses_assume_default_colors)
RETURN_LONG(assume_default_colors(i1,i2));
#else
- php_error(E_WARNING,"%s not supported in this build");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s not supported in this build");
RETURN_FALSE;
#endif
}
@@ -1831,7 +1831,7 @@ PHP_FUNCTION(ncurses_ungetmouse)
}
if (Z_TYPE_PP(arg) != IS_ARRAY){
- php_error(E_WARNING, "ncurses_ungetmouse: expected mevent as array");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expected mevent as array");
RETURN_FALSE;
}
@@ -2018,7 +2018,7 @@ PHP_FUNCTION(ncurses_wcolor_set)
RETURN_LONG(wcolor_set(*win, Z_LVAL_PP(color_pair), 0));
#else
- php_error(E_WARNING,"%s not supported in this build");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING,"%s not supported in this build");
RETURN_FALSE;
#endif
}