Commit b6593b07 authored by Adrien Plazas's avatar Adrien Plazas Committed by Guido Gunther

doc: Document the unstability ack for Vala

parent 17f94652
......@@ -77,8 +77,13 @@
</para>
<para>
You can also acknoledge this with the definition option of your C compiler, like <literal>-DHANDY_USE_UNSTABLE_API</literal>.
This is required from Vala.
</para>
<para>
To use libhandy from Vala, you must define the acknowledgment in C via <literal>-X -DHANDY_USE_UNSTABLE_API</literal>.
If your build system uses a two pass compilation and hence your Vala compiler outputs C (Meson, Automake, or using the <literal>--ccode</literal> Vala compiler option trigger that) then you must add <literal>-DHANDY_USE_UNSTABLE_API</literal> to your C compiler argments instead.
</para>
</refsect2>
</refentry>
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