diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-01-20 16:58:54 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-01-20 16:58:54 +0100 |
| commit | 86bad92b26e6c7af7deb7dfcdd25e70ce1ce5a85 (patch) | |
| tree | 46fab368bc402c53ff7973e64b35b84ceae0339b | |
| parent | 074ecc0a9157027d7dbeff4fe70f0668eb5b93cb (diff) | |
| download | python-apt-86bad92b26e6c7af7deb7dfcdd25e70ce1ce5a85.tar.gz | |
doc/source/c++/embedding.rst: Add compile command.
| -rw-r--r-- | doc/source/c++/embedding.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/c++/embedding.rst b/doc/source/c++/embedding.rst index b04e0d78..754ad398 100644 --- a/doc/source/c++/embedding.rst +++ b/doc/source/c++/embedding.rst @@ -25,3 +25,10 @@ module ``client`` with the attribute ``hash`` which stores an object of the type :class:`apt_pkg.HashString`: .. literalinclude:: ../../client-example.cc + + +.. highlightlang:: sh + +If this file were called client-example.cc, you could compile it using:: + + g++ -lapt-pkg -lpython2.5 -I/usr/include/python2.5 -o client client-example.cc |
