diff options
Diffstat (limited to 'facebook/facebook-util.h')
-rw-r--r-- | facebook/facebook-util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/facebook/facebook-util.h b/facebook/facebook-util.h index f1eb84a..6c71dce 100644 --- a/facebook/facebook-util.h +++ b/facebook/facebook-util.h @@ -224,6 +224,7 @@ fb_util_zcompressed(const GByteArray *bytes); /** * fb_util_zcompress: * @bytes: The #GByteArray. + * @error: The return location for the #GError, or #NULL. * * Compresses a #GByteArray with zlib. The returned #GByteArray should * be freed with #g_byte_array_free() when no longer needed. @@ -231,11 +232,12 @@ fb_util_zcompressed(const GByteArray *bytes); * Returns: The compressed #GByteArray. */ GByteArray * -fb_util_zcompress(const GByteArray *bytes); +fb_util_zcompress(const GByteArray *bytes, GError **error); /** * fb_util_zuncompress: * @bytes: The #GByteArray. + * @error: The return location for the #GError, or #NULL. * * Uncompresses a #GByteArray with zlib. The returned #GByteArray * should be freed with #g_byte_array_free() when no longer needed. @@ -243,6 +245,6 @@ fb_util_zcompress(const GByteArray *bytes); * Returns: The uncompressed #GByteArray, or #NULL on error. */ GByteArray * -fb_util_zuncompress(const GByteArray *bytes); +fb_util_zuncompress(const GByteArray *bytes, GError **error); #endif /* _FACEBOOK_UTIL_H_ */ |