moriyoshi Sun Dec 22 14:16:09 2002 EDT
Modified files:
/php4/ext/ncurses ncurses_functions.c
Log:
php_error => php_error_docref
Index: php4/ext/ncurses/ncurses_functions.c
diff -u php4/ext/ncurses/ncurses_functions.c:1.28
php4/ext/ncurses/ncurses_functions.c:1.29
--- php4/ext/ncurses/ncurses_functions.c:1.28 Sun Dec 22 14:01:43 2002
+++ php4/ext/ncurses/ncurses_functions.c Sun Dec 22 14:16:09 2002
@@ -75,7 +75,7 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php