mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
fix TS build
This commit is contained in:
parent
0615bf6cb4
commit
2bc716c131
@ -661,7 +661,7 @@ ZEND_FUNCTION(mysqli_stmt_construct)
|
||||
switch (ZEND_NUM_ARGS())
|
||||
{
|
||||
case 1: /* mysql_stmt_init */
|
||||
if (zend_parse_parameters(1, "O", &mysql_link, mysqli_link_class_entry)==FAILURE) {
|
||||
if (zend_parse_parameters(1 TSRMLS_CC, "O", &mysql_link, mysqli_link_class_entry)==FAILURE) {
|
||||
return;
|
||||
}
|
||||
MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL *, &mysql_link, "mysqli_link");
|
||||
@ -671,7 +671,7 @@ ZEND_FUNCTION(mysqli_stmt_construct)
|
||||
stmt->stmt = mysql_stmt_init(mysql->mysql);
|
||||
break;
|
||||
case 2:
|
||||
if (zend_parse_parameters(2, "Os", &mysql_link, mysqli_link_class_entry, &statement, &stmt_len)==FAILURE) {
|
||||
if (zend_parse_parameters(2 TSRMLS_CC, "Os", &mysql_link, mysqli_link_class_entry, &statement, &stmt_len)==FAILURE) {
|
||||
return;
|
||||
}
|
||||
MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL *, &mysql_link, "mysqli_link");
|
||||
@ -715,12 +715,12 @@ ZEND_FUNCTION(mysqli_result_construct)
|
||||
|
||||
switch (ZEND_NUM_ARGS()) {
|
||||
case 1:
|
||||
if (zend_parse_parameters(1, "O", &mysql_link, mysqli_link_class_entry)==FAILURE) {
|
||||
if (zend_parse_parameters(1 TSRMLS_CC, "O", &mysql_link, mysqli_link_class_entry)==FAILURE) {
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if (zend_parse_parameters(2, "Ol", &mysql_link, mysqli_link_class_entry, &resmode)==FAILURE) {
|
||||
if (zend_parse_parameters(2 TSRMLS_CC, "Ol", &mysql_link, mysqli_link_class_entry, &resmode)==FAILURE) {
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
@ -175,7 +175,7 @@ PHP_METHOD(mysqli_warning, __construct)
|
||||
if (ZEND_NUM_ARGS() != 1) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
if (zend_parse_parameters(1, "o", &z)==FAILURE) {
|
||||
if (zend_parse_parameters(1 TSRMLS_CC, "o", &z)==FAILURE) {
|
||||
return;
|
||||
}
|
||||
obj = (mysqli_object *)zend_object_store_get_object(z TSRMLS_CC);\
|
||||
|
Loading…
Reference in New Issue
Block a user