Mercurial > vim
view src/proto/sound.pro @ 31750:13cecb002fe6 v9.0.1207
patch 9.0.1207: error when object type is expected but getting "any"
Commit: https://github.com/vim/vim/commit/450c7a97d1a28f715acaf562298112b9b932adc3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 16 16:39:37 2023 +0000
patch 9.0.1207: error when object type is expected but getting "any"
Problem: Error when object type is expected but getting "any".
Solution: When actual type is "any" use a runtime type check.
(closes #11826)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Jan 2023 17:45:02 +0100 |
parents | 71137f73c94d |
children |
line wrap: on
line source
/* sound.c */ typedef struct soundcb_S soundcb_T; int has_any_sound_callback(void); int has_sound_callback_in_queue(void); void call_sound_callback(soundcb_T *soundcb, long sound_id, int result); void delete_sound_callback(soundcb_T *soundcb); 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); void f_sound_clear(typval_T *argvars, typval_T *rettv); void sound_free(void); /* vim: set ft=c : */