From ffc2f73816d9331db37fbd773b65b7ec17ce4780 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 23 Jun 2004 10:46:17 +0000 Subject: update to glib 2.x --- mixlib/xmix_vm_command.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'mixlib/xmix_vm_command.h') 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 #include +#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 */ -- cgit v1.2.3