From f270b847a817582f60f6371293fade65fe9afb9f Mon Sep 17 00:00:00 2001 From: jaortega Date: Mon, 26 Feb 2001 23:21:17 +0000 Subject: mix vm command dispatch refactoring --- mixlib/mix_types.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mixlib/mix_types.h') diff --git a/mixlib/mix_types.h b/mixlib/mix_types.h index d706de1..dae6ff8 100644 --- a/mixlib/mix_types.h +++ b/mixlib/mix_types.h @@ -2,7 +2,7 @@ * This file contains declarations for the basic types used in MIX: * mix_byte_t, mix_char_t, mix_short_t and mix_word_t. * ------------------------------------------------------------------ - * Copyright (C) 2000 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001 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 @@ -24,6 +24,7 @@ #ifndef MIX_TYPES_H #define MIX_TYPES_H +#include #include /* Initialisation function to be called before using the other @@ -212,8 +213,11 @@ mix_word_store_field(mix_fspec_t f, mix_word_t from, mix_word_t to); /* Printable representation */ -extern void -mix_word_print(mix_word_t word, const char *message); +#define mix_word_print(word,message) \ + mix_word_print_to_file (word, message, stdout) + +extern void +mix_word_print_to_file (mix_word_t word, const char *message, FILE *f); /*----------------- mix_short_t ------------------------------------------*/ -- cgit v1.2.3