Improve/fix docs for reply fds functions

Fixes: https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/56
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2021-05-22 21:43:22 +02:00 committed by Povilas Kanapickas
parent 3c76c0579f
commit a503167f75

View File

@ -2611,9 +2611,10 @@ def _c_reply_fds(self, name):
_h(' * @param c The connection') _h(' * @param c The connection')
_h(' * @param reply The reply') _h(' * @param reply The reply')
_h(' *') _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(' *')
_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(' */') _h(' */')
_c('') _c('')
_hc('int *') _hc('int *')