mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| Twig Extension |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 2011 Derick Rethans |
|
|
+----------------------------------------------------------------------+
|
|
| Redistribution and use in source and binary forms, with or without |
|
|
| modification, are permitted provided that the conditions mentioned |
|
|
| in the accompanying LICENSE file are met (BSD, revised). |
|
|
+----------------------------------------------------------------------+
|
|
| Author: Derick Rethans <derick@derickrethans.nl> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#ifndef PHP_TWIG_H
|
|
#define PHP_TWIG_H
|
|
|
|
#define PHP_TWIG_VERSION "1.9.0"
|
|
|
|
#include "php.h"
|
|
|
|
extern zend_module_entry twig_module_entry;
|
|
#define phpext_twig_ptr &twig_module_entry
|
|
|
|
#ifdef ZTS
|
|
#include "TSRM.h"
|
|
#endif
|
|
|
|
PHP_FUNCTION(twig_template_get_attributes);
|
|
|
|
#endif
|