mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
Removed useless code
This commit is contained in:
@@ -22,28 +22,10 @@
|
||||
extern zend_module_entry twig_module_entry;
|
||||
#define phpext_twig_ptr &twig_module_entry
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
#define PHP_TWIG_API __declspec(dllexport)
|
||||
#else
|
||||
#define PHP_TWIG_API
|
||||
#endif
|
||||
|
||||
#ifdef ZTS
|
||||
#include "TSRM.h"
|
||||
#endif
|
||||
|
||||
PHP_FUNCTION(twig_template_get_attributes);
|
||||
|
||||
PHP_MINIT_FUNCTION(twig);
|
||||
PHP_MSHUTDOWN_FUNCTION(twig);
|
||||
PHP_RINIT_FUNCTION(twig);
|
||||
PHP_RSHUTDOWN_FUNCTION(twig);
|
||||
PHP_MINFO_FUNCTION(twig);
|
||||
|
||||
#ifdef ZTS
|
||||
#define TWIG_G(v) TSRMG(twig_globals_id, zend_twig_globals *, v)
|
||||
#else
|
||||
#define TWIG_G(v) (twig_globals.v)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user