X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_request_api.h;h=d2172c5a8277fd170719f8d9abe8f505d941155c;hb=649aada485583ccac67928e0700cb5f1b963f4e8;hp=9608611ab00a33bd2c720cf38f0180e4513d59e5;hpb=4546a3572ba7944441f49136fec96c4afd490396;p=m6w6%2Fext-http diff --git a/php_http_request_api.h b/php_http_request_api.h index 9608611..d2172c5 100644 --- a/php_http_request_api.h +++ b/php_http_request_api.h @@ -50,9 +50,9 @@ typedef struct { } http_request; -#define http_request_init(r) _http_request_init_ex((r), NULL, 0, NULL TSRMLS_CC) -#define http_request_init_ex(r, c, m, u) _http_request_init_ex((r), (c), (m), (u) TSRMLS_CC) -PHP_HTTP_API http_request *_http_request_init_ex(http_request *request, CURL *ch, http_request_method meth, const char *url TSRMLS_DC); +#define http_request_init(r) _http_request_init_ex((r), NULL, 0, NULL ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC TSRMLS_CC) +#define http_request_init_ex(r, c, m, u) _http_request_init_ex((r), (c), (m), (u) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC TSRMLS_CC) +PHP_HTTP_API http_request *_http_request_init_ex(http_request *request, CURL *ch, http_request_method meth, const char *url ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC TSRMLS_DC); #define http_request_dtor(r) _http_request_dtor((r)) PHP_HTTP_API void _http_request_dtor(http_request *request);