From 67dae25cb73f9c6af330b69e015a2561e491d28f Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 6 Jun 2004 19:49:22 +0000 Subject: cosmetical changes. --- mixlib/mix_symbol_table.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'mixlib') diff --git a/mixlib/mix_symbol_table.h b/mixlib/mix_symbol_table.h index 4a22444..844a0ac 100644 --- a/mixlib/mix_symbol_table.h +++ b/mixlib/mix_symbol_table.h @@ -1,22 +1,22 @@ /* -*-c-*- ---------------- mix_symbol_table.h : * Type mix_symbol_table_t and functions to manipulate it. * ------------------------------------------------------------------ - * Copyright (C) 2000 Free Software Foundation, Inc. - * + * Copyright (C) 2000, 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. - * + * */ @@ -58,15 +58,15 @@ mix_symbol_table_substract_table (mix_symbol_table_t *table, /* Add/remove symbols one by one */ /* possible outcomes: */ -enum { +enum { MIX_SYM_FAIL, /* attempt failed */ - MIX_SYM_OK, + MIX_SYM_OK, MIX_SYM_DUP, /* duplicated symbol */ MIX_SYM_LONG /* symbol too long: only MIX_SYM_MAX_LEN chars used */ }; extern gint -mix_symbol_table_add (mix_symbol_table_t *table, +mix_symbol_table_add (mix_symbol_table_t *table, const gchar *sym, mix_word_t value); #define mix_symbol_table_remove(table, sym) \ @@ -75,10 +75,10 @@ mix_symbol_table_add (mix_symbol_table_t *table, /* Add or modify symbol if it exists */ extern gint -mix_symbol_table_insert (mix_symbol_table_t *table, +mix_symbol_table_insert (mix_symbol_table_t *table, const gchar *sym, mix_word_t new_value); -/* Add or modify symbol if it exists, without copiying sym */ +/* Add or modify symbol if it exists, without copying sym */ #define mix_symbol_table_insert_static(table,sym,value)\ g_hash_table_insert (table,(gpointer)sym,GUINT_TO_POINTER (value)) -- cgit v1.2.3