mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Modification of the mainloop doc to ensure that nobody frees the api as it is owned by the loop.
This commit is contained in:
parent
30ba9030ef
commit
65f86ef7d4
1 changed files with 3 additions and 1 deletions
|
|
@ -108,7 +108,9 @@ int pa_mainloop_iterate(pa_mainloop *m, int block, int *retval);
|
||||||
/** Run unlimited iterations of the main loop object until the main loop's quit() routine is called. */
|
/** Run unlimited iterations of the main loop object until the main loop's quit() routine is called. */
|
||||||
int pa_mainloop_run(pa_mainloop *m, int *retval);
|
int pa_mainloop_run(pa_mainloop *m, int *retval);
|
||||||
|
|
||||||
/** 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_mainloop_get_api(pa_mainloop*m);
|
pa_mainloop_api* pa_mainloop_get_api(pa_mainloop*m);
|
||||||
|
|
||||||
/** Shutdown the main loop */
|
/** Shutdown the main loop */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue