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 21 #ifndef _PHP_IMAGICK_SHARED_H_ 22 # define _PHP_IMAGICK_SHARED_H_ 23 24 /* Should work with ImageMagick 6.x for now */ 25 #include "php.h" 26 27 #if defined(PHP_WIN32) && defined(IMAGICK_EXPORTS) 28 #define PHP_IMAGICK_API __declspec(dllexport) 29 #else 30 #define PHP_IMAGICK_API PHPAPI 31 #endif 32 33 /* 34 Allow extensions to use the class entries 35 */ 36 PHP_IMAGICK_API zend_class_entry *php_imagick_get_class_entry(); 37 PHP_IMAGICK_API zend_class_entry *php_imagickdraw_get_class_entry(); 38 PHP_IMAGICK_API zend_class_entry *php_imagickpixel_get_class_entry(); 39 40 #endif 41