/***************************************************************************** * * rbgconf-util.h: Ruby GConf interface utility functions. * * Copyright (C) 2002,2003 Nikolai :: lone-star :: Weibull . * * 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.1 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 * * $Author: mutoh $ * * $Date: 2003/07/22 15:05:22 $ * *****************************************************************************/ /* Multiple Inclusion Guard and extern "C" specifiers for C++ ****************/ #ifndef RBGCONF_UTIL_H #define RBGCONF_UTIL_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* Includes ******************************************************************/ /* Defines *******************************************************************/ #define RVAL2GCVAL(val) (rb_value_to_gconf_value(val)) #define GCVAL2RVAL(val) (gconf_value_to_rb_value(val)) /* Type Definitions **********************************************************/ /* Function Declarations *****************************************************/ GConfValue *rb_value_to_gconf_value(VALUE val); VALUE gconf_value_to_rb_value(GConfValue *gval); /* Global Variables **********************************************************/ /* End of Multiple Inclusion Guard and extern "C" specifiers for C++ *********/ #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* RBGCONF_UTIL_H */ /* vim: set sts=0 sw=8 ts=8: *************************************************/