Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit 9760455

Browse files
authored
remove TSRMLS_CC legacy crap
1 parent 976ff67 commit 9760455

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pocketmine_chunkutils.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ PHP_METHOD(ChunkUtils, reorderByteArray) {
5959
unsigned char *byte_array;
6060
size_t len;
6161

62-
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z",
62+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z",
6363
&byte_array, &len) != SUCCESS) {
6464
return;
6565
}
@@ -91,7 +91,7 @@ PHP_METHOD(ChunkUtils, reorderNibbleArray) {
9191
size_t len, c_len;
9292
unsigned char *common_value = NULL;
9393

94-
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!",
94+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!",
9595
&nibble_array, &len, &common_value, &c_len) != SUCCESS) {
9696
return;
9797
}
@@ -129,7 +129,7 @@ PHP_METHOD(ChunkUtils, convertBiomeColors) {
129129

130130
zval *old_colors_zv = NULL;
131131

132-
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &old_colors_zv) != SUCCESS) {
132+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "a", &old_colors_zv) != SUCCESS) {
133133
return;
134134
}
135135

0 commit comments

Comments
 (0)