summaryrefslogtreecommitdiff
path: root/doc/source/c++/embedding.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/c++/embedding.rst')
-rw-r--r--doc/source/c++/embedding.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/c++/embedding.rst b/doc/source/c++/embedding.rst
index 754ad398..445e9c6f 100644
--- a/doc/source/c++/embedding.rst
+++ b/doc/source/c++/embedding.rst
@@ -12,7 +12,7 @@ To use the python-apt C++ bindings, first include the
#include <python-apt/python-apt.h>
Now, the module needs to be initialized. This is done by calling the function
-:cfunc:`import_apt_pkg`. This function returns 0 on success and a negative
+:c:func:`import_apt_pkg`. This function returns 0 on success and a negative
value in case of failure::
if (import_apt_pkg() < 0)