summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_types.h
diff options
context:
space:
mode:
authorjaortega <jaortega>2001-02-26 23:21:17 +0000
committerjaortega <jaortega>2001-02-26 23:21:17 +0000
commitf270b847a817582f60f6371293fade65fe9afb9f (patch)
treefcd080b39e8f811905a7e194949aa1d55cbdffd8 /mixlib/mix_types.h
parent119a5240f57ded266447b485e5a7c0eec6dd67f8 (diff)
downloadmdk-f270b847a817582f60f6371293fade65fe9afb9f.tar.gz
mdk-f270b847a817582f60f6371293fade65fe9afb9f.tar.bz2
mix vm command dispatch refactoring
Diffstat (limited to 'mixlib/mix_types.h')
-rw-r--r--mixlib/mix_types.h10
1 files changed, 7 insertions, 3 deletions
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 <stdio.h>
#include <glib.h>
/* 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 ------------------------------------------*/