alias querystring object to base object
authorMichael Wallner <mike@php.net>
Sun, 6 Nov 2011 15:27:02 +0000 (15:27 +0000)
committerMichael Wallner <mike@php.net>
Sun, 6 Nov 2011 15:27:02 +0000 (15:27 +0000)
php_http_querystring.h

index 1c2dbebca3646fc02fd5e1f8efd1803aaef76888..e586964a50031192028b8e444756fdb442841e98 100644 (file)
@@ -18,9 +18,7 @@ PHP_HTTP_API STATUS php_http_querystring_xlate(zval *dst, zval *src, const char
 #endif /* PHP_HTTP_HAVE_ICONV */
 PHP_HTTP_API STATUS php_http_querystring_update(zval *qarray, zval *params, zval *qstring TSRMLS_DC);
 
-typedef struct php_http_querystring_object {
-       zend_object zo;
-} php_http_querystring_object_t;
+typedef php_http_object_t php_http_querystring_object_t;
 
 #define PHP_HTTP_QUERYSTRING_TYPE_BOOL         IS_BOOL
 #define PHP_HTTP_QUERYSTRING_TYPE_INT          IS_LONG