mirror of
https://github.com/danog/ext-pq.git
synced 2024-12-13 09:57:21 +01:00
51 lines
1.3 KiB
C
51 lines
1.3 KiB
C
/*
|
|
+--------------------------------------------------------------------+
|
|
| PECL :: pq |
|
|
+--------------------------------------------------------------------+
|
|
| Redistribution and use in source and binary forms, with or without |
|
|
| modification, are permitted provided that the conditions mentioned |
|
|
| in the accompanying LICENSE file are met. |
|
|
+--------------------------------------------------------------------+
|
|
| Copyright (c) 2013, Michael Wallner <mike@php.net> |
|
|
+--------------------------------------------------------------------+
|
|
*/
|
|
|
|
|
|
#ifndef PHP_PQ_H
|
|
#define PHP_PQ_H
|
|
|
|
#define PHP_PQ_EXT_VERSION "0.2.0dev"
|
|
|
|
int pq_module_number;
|
|
zend_module_entry pq_module_entry;
|
|
#define phpext_pq_ptr &pq_module_entry
|
|
|
|
#ifdef PHP_WIN32
|
|
# define PHP_PQ_API __declspec(dllexport)
|
|
#elif defined(__GNUC__) && __GNUC__ >= 4
|
|
# define PHP_PQ_API __attribute__ ((visibility("default")))
|
|
#else
|
|
# define PHP_PQ_API
|
|
#endif
|
|
|
|
#ifdef ZTS
|
|
# include "TSRM.h"
|
|
# define TSRMLS_DF(d) TSRMLS_D = (d)->ts
|
|
# define TSRMLS_CF(d) (d)->ts = TSRMLS_C
|
|
#else
|
|
# define TSRMLS_DF(d)
|
|
# define TSRMLS_CF(d)
|
|
#endif
|
|
|
|
#endif /* PHP_PQ_H */
|
|
|
|
|
|
/*
|
|
* Local variables:
|
|
* tab-width: 4
|
|
* c-basic-offset: 4
|
|
* End:
|
|
* vim600: noet sw=4 ts=4 fdm=marker
|
|
* vim<600: noet sw=4 ts=4
|
|
*/
|