File: php_imagick_shared.h

package info (click to toggle)
php-imagick 3.0.0~rc1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 756 kB
  • ctags: 671
  • sloc: ansic: 12,816; xml: 84; php: 82; makefile: 27; sh: 24
file content (40 lines) | stat: -rw-r--r-- 1,828 bytes parent folder | download
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-2009 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          |
   | license@php.net so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Author: Mikko Kopppanen <mkoppanen@php.net>                          |
   |         Scott MacVicar <scottmac@php.net>                            |
   +----------------------------------------------------------------------+
*/

#ifndef _PHP_IMAGICK_SHARED_H_
# define _PHP_IMAGICK_SHARED_H_

/* Only works with newer Imagick */
#ifndef IMAGICK_USE_NEW_HEADER
# define IMAGICK_USE_NEW_HEADER 1
#endif

#include "php_imagick_config.h"
#include "php_imagick.h"
#include "php_imagick_defs.h"

/*
	Allow extensions to use the class entries
*/
MY_IMAGICK_EXPORTS zend_class_entry *php_imagick_get_class_entry();
MY_IMAGICK_EXPORTS zend_class_entry *php_imagickdraw_get_class_entry();
MY_IMAGICK_EXPORTS zend_class_entry *php_imagickpixel_get_class_entry();

#endif