/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * utils.h * Copyright (C) 2007 Akira TAGOH * * Authors: * Akira TAGOH * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef __HIEROGLYPH__UTILS_H__ #define __HIEROGLYPH__UTILS_H__ #include G_BEGIN_DECLS gchar *hg_get_stacktrace (void) G_GNUC_MALLOC; void hg_use_stacktrace (gboolean flag); gboolean hg_is_stacktrace_enabled (void) __attribute__ ((weak)); void hg_quiet_warning_messages(gboolean flag); gboolean hg_allow_warning_messages(void); G_END_DECLS #endif /* __HIEROGLYPH__UTILS_H__ */