Skip to content

Fix ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX#42

Closed
petk wants to merge 1 commit into
krakjoe:developfrom
petk:patch-1
Closed

Fix ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX#42
petk wants to merge 1 commit into
krakjoe:developfrom
petk:patch-1

Conversation

@petk

@petk petk commented May 19, 2018

Copy link
Copy Markdown

Hello, this patch fixes some copy/paste typo. The new macro ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX takes only 5 arguments otherwise compilation fails with the following error on PHP 7.2:

...ui/classes/box.c:188:91: error: macro "ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX" passed 6 arguments, but takes just 5
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(php_ui_box_is_padded_info, 0, 0, _IS_BOOL, NULL, 0)

The new macro takes only 5 arguments. This patch fixes copy/paste typo.
@jgmdev

jgmdev commented Jun 22, 2018

Copy link
Copy Markdown

LoL I opened a pull request #51 for the same stuff without taking a look at the existing pull requests.

@petk

petk commented Oct 6, 2018

Copy link
Copy Markdown
Author

Hello, any update here?

@petk petk closed this Oct 15, 2018
@petk petk deleted the patch-1 branch October 15, 2018 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants