From 93d52e994ccf5597413180c5a3c401286112891d Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 7 May 2001 23:02:25 +0000 Subject: mix_device_t: virtual destructor added --- mixlib/xmix_device.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mixlib/xmix_device.h') diff --git a/mixlib/xmix_device.h b/mixlib/xmix_device.h index 4c2866a..f44409f 100644 --- a/mixlib/xmix_device.h +++ b/mixlib/xmix_device.h @@ -1,7 +1,7 @@ /* -*-c-*- ---------------- xmix_device.h : * Protected declarations for mix_device_t * ------------------------------------------------------------------ - * Last change: Time-stamp: <2001-05-04 23:35:39 jao> + * Last change: Time-stamp: <2001-05-07 23:59:35 jao> * ------------------------------------------------------------------ * Copyright (C) 2001 Free Software Foundation, Inc. * @@ -33,6 +33,7 @@ typedef gboolean (*mix_dev_write_func_t) (mix_device_t *, const mix_word_t *); typedef gboolean (*mix_dev_read_func_t) (mix_device_t *, mix_word_t *); typedef gboolean (*mix_dev_ioc_func_t) (mix_device_t *, mix_short_t); typedef gboolean (*mix_dev_busy_func_t) (const mix_device_t *); +typedef void (*mix_dev_destroy_t) (mix_device_t *); typedef struct mix_device_vtable_t { @@ -40,6 +41,7 @@ typedef struct mix_device_vtable_t mix_dev_read_func_t read; mix_dev_ioc_func_t ioc; mix_dev_busy_func_t busy; + mix_dev_destroy_t destroy; } mix_device_vtable_t; /* default vtable */ -- cgit v1.2.3