diff options
author | Xabier Rodriguez Calvar <xrcalvar@igalia.com> | 2009-06-30 18:23:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-20 02:31:08 +0200 |
commit | 52e5d4b1d24db4f4f9ff6e70ddf8c9a6b80cdc6a (patch) | |
tree | f7b4f637b1c662c78948726c2c5b4cd68acd1a00 /src | |
parent | 65f86ef7d43983cdcea3211705866384404b20cc (diff) |
Modification of the thread-mainloop doc to ensure that nobody frees the api as it is owned by the loop.
Diffstat (limited to 'src')
-rw-r--r-- | src/pulse/thread-mainloop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulse/thread-mainloop.h b/src/pulse/thread-mainloop.h index e847070d..2cf496e1 100644 --- a/src/pulse/thread-mainloop.h +++ b/src/pulse/thread-mainloop.h @@ -299,7 +299,9 @@ void pa_threaded_mainloop_accept(pa_threaded_mainloop *m); /** Return the return value as specified with the main loop's quit() routine. */ int pa_threaded_mainloop_get_retval(pa_threaded_mainloop *m); -/** Return the abstract main loop abstraction layer vtable for this main loop. */ +/** Return the abstract main loop abstraction layer vtable for this + main loop. No need of freeing the API as it is owned by the loop + and it is destroyed when this dies */ pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop*m); /** Returns non-zero when called from withing the event loop thread. \since 0.9.7 */ |