summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c_client.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c_client.py b/src/c_client.py
index dfb5864..fd256f0 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -2611,9 +2611,10 @@ def _c_reply_fds(self, name):
_h(' * @param c The connection')
_h(' * @param reply The reply')
_h(' *')
- _h(' * Returns the array of reply fds of the request asked by')
+ _h(' * Returns a pointer to the array of reply fds of the reply.')
_h(' *')
- _h(' * The returned value must be freed by the caller using free().')
+ _h(' * The returned value points into the reply and must not be free().')
+ _h(' * The fds are not managed by xcb. You must close() them before freeing the reply.')
_h(' */')
_c('')
_hc('int *')