summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/source/index.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 4a7ec8c..53bd273 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -458,6 +458,10 @@ as ``dlopen()`` does dynamically in C.
For the optional ``flags`` argument, see ``man dlopen`` (ignored on
Windows). It defaults to ``ffi.RTLD_NOW``.
+This function returns a "library" object that gets closed when it goes
+out of scope. Make sure you keep the library object around as long as
+needed.
+
.. _below:
@@ -621,6 +625,10 @@ not recommended.
check. Be sure to have other means of clearing the ``tmpdir``
whenever you change your sources.
+This function returns a "library" object that gets closed when it goes
+out of scope. Make sure you keep the library object around as long as
+needed.
+
Working with pointers, structures and arrays
--------------------------------------------