Commit 01544c92 authored by Mikhail Zabaluev's avatar Mikhail Zabaluev Committed by Philip Withnall

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
parent 0ea004c6
......@@ -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
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment