This commit is contained in:
CismonX 2019-08-18 20:36:22 +08:00
parent 36b4cb977b
commit 586bbe2046

View File

@ -16,7 +16,7 @@ namespace php_arma
{
zval *other;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_OBJECT(other)
Z_PARAM_ZVAL(other)
ZEND_PARSE_PARAMETERS_END();
operators::equals(&EX(This), other, return_value);
@ -27,7 +27,7 @@ namespace php_arma
{
zval *other;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_OBJECT(other)
Z_PARAM_ZVAL(other)
ZEND_PARSE_PARAMETERS_END();
operators::not_equals(&EX(This), other, return_value);
@ -38,7 +38,7 @@ namespace php_arma
{
zval *other;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_OBJECT(other)
Z_PARAM_ZVAL(other)
ZEND_PARSE_PARAMETERS_END();
operators::greater_than(&EX(This), other, return_value);
@ -49,7 +49,7 @@ namespace php_arma
{
zval *other;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_OBJECT(other)
Z_PARAM_ZVAL(other)
ZEND_PARSE_PARAMETERS_END();
operators::smaller_than(&EX(This), other, return_value);
@ -60,7 +60,7 @@ namespace php_arma
{
zval *other;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_OBJECT(other)
Z_PARAM_ZVAL(other)
ZEND_PARSE_PARAMETERS_END();
operators::not_greater_than(&EX(This), other, return_value);
@ -71,7 +71,7 @@ namespace php_arma
{
zval *other;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_OBJECT(other)
Z_PARAM_ZVAL(other)
ZEND_PARSE_PARAMETERS_END();
operators::not_smaller_than(&EX(This), other, return_value);