Skip g_base64_decode_step() in introspection

The length of the caller-allocated (that flag was missing; added as well)
output array is calculated by a formula, so none of the usual array length
annotations apply. The state parameters need to be initialized with zero.

Just let them use the basic API.

https://bugzilla.gnome.org/show_bug.cgi?id=756103
This commit is contained in:
Mikhail Zabaluev 2015-10-06 02:22:58 +03:00 committed by Philip Withnall
parent 0ea004c6f9
commit 01544c9269

View File

@ -298,10 +298,10 @@ static const unsigned char mime_base64_rank[256] = {
};
/**
* g_base64_decode_step:
* g_base64_decode_step: (skip)
* @in: (array length=len) (element-type guint8): binary input data
* @len: max length of @in data to decode
* @out: (out) (array) (element-type guint8): output buffer
* @out: (out caller-allocates) (array) (element-type guint8): output buffer
* @state: (inout): Saved state between steps, initialize to 0
* @save: (inout): Saved state between steps, initialize to 0
*