mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
- Added function declaration and headers.
This commit is contained in:
@@ -34,6 +34,8 @@ extern zend_module_entry twig_module_entry;
|
|||||||
#include "TSRM.h"
|
#include "TSRM.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
PHP_FUNCTION(twig_template_get_attributes);
|
||||||
|
|
||||||
PHP_MINIT_FUNCTION(twig);
|
PHP_MINIT_FUNCTION(twig);
|
||||||
PHP_MSHUTDOWN_FUNCTION(twig);
|
PHP_MSHUTDOWN_FUNCTION(twig);
|
||||||
PHP_RINIT_FUNCTION(twig);
|
PHP_RINIT_FUNCTION(twig);
|
||||||
|
|||||||
@@ -25,7 +25,18 @@
|
|||||||
#include "ext/standard/info.h"
|
#include "ext/standard/info.h"
|
||||||
#include "php_twig.h"
|
#include "php_twig.h"
|
||||||
|
|
||||||
|
ZEND_BEGIN_ARG_INFO_EX(twig_template_get_attribute_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 7)
|
||||||
|
ZEND_ARG_INFO(0, template)
|
||||||
|
ZEND_ARG_INFO(0, object)
|
||||||
|
ZEND_ARG_INFO(0, item)
|
||||||
|
ZEND_ARG_INFO(0, arguments)
|
||||||
|
ZEND_ARG_INFO(0, type)
|
||||||
|
ZEND_ARG_INFO(0, noStrictCheck)
|
||||||
|
ZEND_ARG_INFO(0, line)
|
||||||
|
ZEND_END_ARG_INFO()
|
||||||
|
|
||||||
zend_function_entry twig_functions[] = {
|
zend_function_entry twig_functions[] = {
|
||||||
|
PHP_FE(twig_template_get_attributes, twig_template_get_attribute_args)
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -102,3 +113,7 @@ PHP_MINFO_FUNCTION(twig)
|
|||||||
DISPLAY_INI_ENTRIES();
|
DISPLAY_INI_ENTRIES();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PHP_FUNCTION(twig_template_get_attributes)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user