2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2013, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
17 #define PHP_PQ_EXT_VERSION "1.0.0dev"
20 zend_module_entry pq_module_entry
;
21 #define phpext_pq_ptr &pq_module_entry
24 # define PHP_PQ_API __declspec(dllexport)
25 #elif defined(__GNUC__) && __GNUC__ >= 4
26 # define PHP_PQ_API __attribute__ ((visibility("default")))
36 ZEND_BEGIN_MODULE_GLOBALS(pq)
39 ZEND_END_MODULE_GLOBALS(pq)
42 #define PQ_G(v) TSRMG(pq_globals_id, zend_pq_globals *, v)
44 #define PQ_G(v) (pq_globals.v)
56 * vim600: noet sw=4 ts=4 fdm=marker
57 * vim<600: noet sw=4 ts=4