summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-15 23:05:49 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-15 23:05:49 +0200
commit28e67e0c1496b7bb166a0acfb176690f219101ca (patch)
treeb30fcbc9fd72f4aed6135478113fcd6dadf37912 /src/proto
parent5dd143e22333a1c320fcf330f6c5061269bd1a17 (diff)
downloadvim-git-28e67e0c1496b7bb166a0acfb176690f219101ca.tar.gz
patch 8.1.1851: crash when sound_playfile() callback plays soundv8.1.1851
Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/sound.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proto/sound.pro b/src/proto/sound.pro
index cf8439ad4..ad1c2b530 100644
--- a/src/proto/sound.pro
+++ b/src/proto/sound.pro
@@ -1,4 +1,7 @@
/* sound.c */
+int has_any_sound_callback(void);
+int has_sound_callback_in_queue(void);
+void invoke_sound_callback(void);
void f_sound_playevent(typval_T *argvars, typval_T *rettv);
void f_sound_playfile(typval_T *argvars, typval_T *rettv);
void f_sound_stop(typval_T *argvars, typval_T *rettv);