1 /*
2    +----------------------------------------------------------------------+
3    | Twig Extension                                                       |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 2011 Derick Rethans                                    |
6    +----------------------------------------------------------------------+
7    | Redistribution and use in source and binary forms, with or without   |
8    | modification, are permitted provided that the conditions mentioned   |
9    | in the accompanying LICENSE file are met (BSD-3-Clause).             |
10    +----------------------------------------------------------------------+
11    | Author: Derick Rethans <derick@derickrethans.nl>                     |
12    +----------------------------------------------------------------------+
13  */
14 
15 #ifndef PHP_TWIG_H
16 #define PHP_TWIG_H
17 
18 #define PHP_TWIG_VERSION "1.38.4"
19 
20 #include "php.h"
21 
22 extern zend_module_entry twig_module_entry;
23 #define phpext_twig_ptr &twig_module_entry
24 #ifndef PHP_WIN32
25 zend_module_entry *get_module(void);
26 #endif
27 
28 #ifdef ZTS
29 #include "TSRM.h"
30 #endif
31 
32 PHP_FUNCTION(twig_template_get_attributes);
33 PHP_RSHUTDOWN_FUNCTION(twig);
34 
35 #endif
36