summaryrefslogtreecommitdiffhomepage
path: root/php_imlib.h
diff options
context:
space:
mode:
authorPiotr Pawłow <pp@siedziba.pl>2016-09-08 23:16:32 +0200
committerPiotr Pawłow <pp@siedziba.pl>2016-09-08 23:16:32 +0200
commit3b3b3b3a4bdbf6162378e860aff772f1f3604b5c (patch)
tree2e75256e697af126f42f2a6cb90bc70301520f64 /php_imlib.h
parent87380c76cb1eb3644da7291d842281caaae63f2d (diff)
Remove useless include and defines.
Diffstat (limited to 'php_imlib.h')
-rw-r--r--php_imlib.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/php_imlib.h b/php_imlib.h
index 7df29c5..30c7e58 100644
--- a/php_imlib.h
+++ b/php_imlib.h
@@ -158,7 +158,6 @@ typedef PHP_Imlib_Color_Modifier_struct *PHP_Imlib_Color_Modifier;
#if PHP_VERSION_ID >= 70000
typedef zval imlib_zval;
typedef zend_resource imlib_resource;
-# define IMLIB_TO_ZVAL(v) v
# define Z_LVAL_PP(v) Z_LVAL_P(v)
# define Z_DVAL_PP(v) Z_DVAL_P(v)
# define STR_VAL(k) (k)->val
@@ -173,7 +172,6 @@ typedef PHP_Imlib_Color_Modifier_struct *PHP_Imlib_Color_Modifier;
typedef zval* imlib_zval;
typedef imlib_zval imlib_resource;
typedef char zend_string;
-# define IMLIB_TO_ZVAL(v) *v
# define STR_VAL(k) (k)
# define IMLIB_DELETE_RESOURCE(v) zend_list_delete(Z_LVAL_PP(v))
# define IMLIB_RETURN_STRING(v) RETURN_STRING(v, 1)