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 "0.1.0"
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")))
35 PHP_MINIT_FUNCTION(pq
);
36 PHP_MSHUTDOWN_FUNCTION(pq
);
37 PHP_RINIT_FUNCTION(pq
);
38 PHP_RSHUTDOWN_FUNCTION(pq
);
39 PHP_MINFO_FUNCTION(pq
);
43 ZEND_BEGIN_MODULE_GLOBALS(pq)
46 ZEND_END_MODULE_GLOBALS(pq)
49 #define PQ_G(v) TSRMG(pq_globals_id, zend_pq_globals *, v)
51 #define PQ_G(v) (pq_globals.v)
63 * vim600: noet sw=4 ts=4 fdm=marker
64 * vim<600: noet sw=4 ts=4