diff options
Diffstat (limited to 'mixlib/mix_types.h')
-rw-r--r-- | mixlib/mix_types.h | 10 |
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 ------------------------------------------*/ |