prepare for v1.0
[m6w6/ext-pq] / php_pq.h
deleted file mode 120000 (symlink)
index 6b88c69688cd5e3f8c33099a69d6176a043bf749..0000000000000000000000000000000000000000
--- a/php_pq.h
+++ /dev/null
@@ -1 +0,0 @@
-src/php_pq.h
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..afcb16550a53ff97e7449420a7a0f36407063cc8
--- /dev/null
+++ b/php_pq.h
@@ -0,0 +1,51 @@
+/*
+    +--------------------------------------------------------------------+
+    | 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_VERSION "1.0.0RC1"
+
+#ifdef PHP_WIN32
+#      define PHP_PQ_API __declspec(dllexport)
+#elif defined(__GNUC__) && __GNUC__ >= 4
+#      define PHP_PQ_API extern __attribute__ ((visibility("default")))
+#else
+#      define PHP_PQ_API extern
+#endif
+
+extern int pq_module_number;
+extern zend_module_entry pq_module_entry;
+#define phpext_pq_ptr &pq_module_entry
+
+
+#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
+ */