summaryrefslogtreecommitdiff
path: root/docs/website/writingbindings/libgirepository.rst
blob: 408956fdb51f290cbc2e0b8488c6fb58faa6c6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
===============
libgirepository
===============

libgirepository is a C library which provides a C API for accessing the
typelib data and for interacting with the corresponding GObject based
libraries.

For more information about libgirepository see the `API documentation
<https://developer-old.gnome.org/gi/stable>`__.

The following example shows how to call the ``g_assertion_message()`` function
from libglib-2.0:

.. literalinclude:: ../../../examples/girepository/glib-print.c
    :language: c