view src/proto/sound.pro @ 31435:8fe720031437 v9.0.1050

patch 9.0.1050: using freed memory when assigning to variable twice Commit: https://github.com/vim/vim/commit/6342e2c5a6570231aefabd8e34c2f2cb22f6927a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 12 18:56:32 2022 +0000 patch 9.0.1050: using freed memory when assigning to variable twice Problem: Using freed memory when assigning to variable twice. Solution: Make copy of the list type. (closes https://github.com/vim/vim/issues/11691)
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Dec 2022 20:00:04 +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 : */