xref: /imagick/php_imagick.h (revision 8e794550)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5 / Imagick	                                          |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 2006-2013 Mikko Koppanen, Scott MacVicar               |
6    | ImageMagick (c) ImageMagick Studio LLC                               |
7    +----------------------------------------------------------------------+
8    | This source file is subject to version 3.01 of the PHP license,      |
9    | that is bundled with this package in the file LICENSE, and is        |
10    | available through the world-wide-web at the following url:           |
11    | http://www.php.net/license/3_01.txt                                  |
12    | If you did not receive a copy of the PHP license and are unable to   |
13    | obtain it through the world-wide-web, please send a note to          |
14    | license@php.net so we can mail you a copy immediately.               |
15    +----------------------------------------------------------------------+
16    | Author: Mikko Kopppanen <mkoppanen@php.net>                          |
17    |         Scott MacVicar <scottmac@php.net>                            |
18    +----------------------------------------------------------------------+
19 */
20 #ifndef PHP_IMAGICK_H
21 /* Prevent double inclusion */
22 #define PHP_IMAGICK_H
23 
24 /* Define Extension Properties */
25 #define PHP_IMAGICK_EXTNAME    "imagick"
26 // The version is deliberately left as 'PACKAGE_VERSION' in source code.
27 // It is only replaced with the actual version number that packaged through pecl.php.net
28 #define PHP_IMAGICK_VERSION    "@PACKAGE_VERSION@"
29 #define PHP_IMAGICK_EXTNUM     30500
30 
31 /* Import configure options when building
32    outside of the PHP source tree */
33 #ifdef HAVE_CONFIG_H
34 # include "config.h"
35 #endif
36 
37 #ifdef ZTS
38 # include "TSRM.h"
39 #endif
40 
41 /* Include PHP Standard Headers */
42 #include "php.h"
43 
44 /* Define the entry point symbol
45  * ZE will use when loading this module
46  */
47 extern zend_module_entry imagick_module_entry;
48 #define phpext_imagick_ptr &imagick_module_entry
49 
50 #endif /* PHP_IMAGICK_H */
51 
52