X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_object.c;h=db357c682f97f29380372656394f4606e6d19d09;hp=637ee06aea7f868df37f20e5e2309b5a9599b394;hb=acc6833d4edb16c0fc4b82c1b47ab00aedec62ce;hpb=18415c72d3b9f92b74dab623a88d5abf054c7bd0 diff --git a/http_message_object.c b/http_message_object.c index 637ee06..db357c6 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -30,6 +30,7 @@ #include "php_http_exception_object.h" #include "phpstr/phpstr.h" +#include "missing.h" ZEND_EXTERN_MODULE_GLOBALS(http); @@ -129,7 +130,7 @@ static zend_object_handlers http_message_object_handlers; void _http_message_object_init(INIT_FUNC_ARGS) { zval constants; - + HTTP_REGISTER_CLASS_EX(HttpMessage, http_message_object, NULL, 0); HTTP_LONG_CONSTANT("HTTP_MSG_NONE", HTTP_MSG_NONE);