Mercurial > vim
annotate src/proto/sound.pro @ 33627:41c64cb748c1 v9.0.2055
patch 9.0.2055: Vim9: non-consistent error messages
Commit: https://github.com/vim/vim/commit/d4802ec48560b30d5a2fea243b05bd0f70364f7b
Author: Ernie Rael <errael@raelity.com>
Date: Fri Oct 20 11:59:00 2023 +0200
patch 9.0.2055: Vim9: non-consistent error messages
Problem: Vim9: non-consistent error messages
Solution: make error messages more consistent with common structure
Adjust vim9class messages to follow common pattern.
[Variable|Method] "var-or-meth-name" ... class "class-name"
closes: #13391
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 20 Oct 2023 12:15:02 +0200 |
parents | 71137f73c94d |
children |
rev | line source |
---|---|
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* sound.c */ |
30719
71137f73c94d
patch 9.0.0694: no native sound support on Mac OS
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
2 typedef struct soundcb_S soundcb_T; |
71137f73c94d
patch 9.0.0694: no native sound support on Mac OS
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
3 |
17708
10696f279e20
patch 8.1.1851: crash when sound_playfile() callback plays sound
Bram Moolenaar <Bram@vim.org>
parents:
17026
diff
changeset
|
4 int has_any_sound_callback(void); |
10696f279e20
patch 8.1.1851: crash when sound_playfile() callback plays sound
Bram Moolenaar <Bram@vim.org>
parents:
17026
diff
changeset
|
5 int has_sound_callback_in_queue(void); |
30719
71137f73c94d
patch 9.0.0694: no native sound support on Mac OS
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
6 void call_sound_callback(soundcb_T *soundcb, long sound_id, int result); |
71137f73c94d
patch 9.0.0694: no native sound support on Mac OS
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
7 void delete_sound_callback(soundcb_T *soundcb); |
17708
10696f279e20
patch 8.1.1851: crash when sound_playfile() callback plays sound
Bram Moolenaar <Bram@vim.org>
parents:
17026
diff
changeset
|
8 void invoke_sound_callback(void); |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void f_sound_playevent(typval_T *argvars, typval_T *rettv); |
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void f_sound_playfile(typval_T *argvars, typval_T *rettv); |
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void f_sound_stop(typval_T *argvars, typval_T *rettv); |
17026
905e1b154058
patch 8.1.1513: all popup functionality is in functions, except :popupclear
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
12 void f_sound_clear(typval_T *argvars, typval_T *rettv); |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void sound_free(void); |
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 /* vim: set ft=c : */ |