diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2004-06-23 10:46:17 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2004-06-23 10:46:17 +0000 |
commit | 12e37080a471c6add0b2d7ea8d9bbf31937a6c39 (patch) | |
tree | 95d0fc2c1e9fc6c9bc9f0fd29615ef5df0030a56 /mixlib/xmix_vm_command.h | |
parent | c54cc443b778738c72d11548746ee74a559c6df5 (diff) | |
download | mdk-12e37080a471c6add0b2d7ea8d9bbf31937a6c39.tar.gz mdk-12e37080a471c6add0b2d7ea8d9bbf31937a6c39.tar.bz2 |
update to glib 2.x
Diffstat (limited to 'mixlib/xmix_vm_command.h')
-rw-r--r-- | mixlib/xmix_vm_command.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/mixlib/xmix_vm_command.h b/mixlib/xmix_vm_command.h index ce3ca5b..8ea1a76 100644 --- a/mixlib/xmix_vm_command.h +++ b/mixlib/xmix_vm_command.h @@ -1,24 +1,24 @@ /* -*-c-*- ---------------- xmix_vm_command.h : * Private type declarations form mix_vm_command * ------------------------------------------------------------------ - * $Id: xmix_vm_command.h,v 1.3 2001/09/16 22:39:41 jao Exp $ + * $Id: xmix_vm_command.h,v 1.4 2004/06/23 10:46:17 jao Exp $ * ------------------------------------------------------------------ - * Copyright (C) 2001 Free Software Foundation, Inc. - * + * Copyright (C) 2001, 2004 Free Software Foundation, Inc. + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * + * */ @@ -31,6 +31,7 @@ #include <ctype.h> #include <errno.h> +#include "mix.h" #include "mix_device.h" #include "mix_vm.h" #include "mix_vm_dump.h" @@ -47,13 +48,13 @@ extern const gchar *ASM_KEY_; extern const gchar *LOGGING_KEY_; /* hooks */ -typedef struct +typedef struct { mix_vm_cmd_hook_t func; gpointer data; } hook_; -typedef struct +typedef struct { mix_vm_cmd_global_hook_t func; gpointer data; @@ -61,7 +62,7 @@ typedef struct enum {PRNO_ = MIX_PRED_MEM, HOOKNO_ = MIX_CMD_INVALID}; -struct mix_vm_cmd_dispatcher_t +struct mix_vm_cmd_dispatcher_t { mix_vm_t *vm; /* the virtual machine */ gboolean result; /* last command's outcome */ |