Merge pull request #33 from m6w6/fix-19
[m6w6/ext-pq] / src / php_pqexc.h
index c5847daaf11f84ac7d4b8d1408d9fed96481c0dd..2666dcf6a82991a0774e731686827f728c032f0c 100644 (file)
@@ -27,7 +27,7 @@ typedef enum php_pqexc_type {
 } php_pqexc_type_t;
 
 extern zend_class_entry *exce(php_pqexc_type_t type);
-extern zval *throw_exce(php_pqexc_type_t type TSRMLS_DC, const char *fmt, ...);
+extern zend_object *throw_exce(php_pqexc_type_t type, const char *fmt, ...);
 
 extern PHP_MINIT_FUNCTION(pqexc);