forked from Imagick/imagick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
php_imagick_shared.h
40 lines (35 loc) · 1.79 KB
/
php_imagick_shared.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
+----------------------------------------------------------------------+
| PHP Version 5 / Imagick |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2013 Mikko Koppanen, Scott MacVicar |
| ImageMagick (c) ImageMagick Studio LLC |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| [email protected] so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Mikko Kopppanen <[email protected]> |
| Scott MacVicar <[email protected]> |
+----------------------------------------------------------------------+
*/
#ifndef _PHP_IMAGICK_SHARED_H_
# define _PHP_IMAGICK_SHARED_H_
/* Should work with ImageMagick 6.x for now */
#include "php.h"
#if defined(PHP_WIN32) && defined(IMAGICK_EXPORTS)
#define PHP_IMAGICK_API __declspec(dllexport)
#else
#define PHP_IMAGICK_API PHPAPI
#endif
/*
Allow extensions to use the class entries
*/
PHP_IMAGICK_API zend_class_entry *php_imagick_get_class_entry();
PHP_IMAGICK_API zend_class_entry *php_imagickdraw_get_class_entry();
PHP_IMAGICK_API zend_class_entry *php_imagickpixel_get_class_entry();
#endif