3 dnl $Id: value_basictypes.h.m4 2 2003-01-07 16:59:16Z murrayc $
5 dnl Glib::Value specializations for fundamental types
7 dnl Copyright 2002 The gtkmm Development Team
9 dnl This library is free software; you can redistribute it and/or
10 dnl modify it under the terms of the GNU Library General Public
11 dnl License as published by the Free Software Foundation; either
12 dnl version 2 of the License, or (at your option) any later version.
14 dnl This library is distributed in the hope that it will be useful,
15 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
16 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 dnl Library General Public License for more details.
19 dnl You should have received a copy of the GNU Library General Public
20 dnl License along with this library; if not, write to the Free
21 dnl Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 include(template.macros.m4)
26 dnl GLIB_VALUE_BASIC(bool, boolean)
28 define([GLIB_VALUE_BASIC],[dnl
32 * @ingroup glibmmValue
35 class Value<$1> : public ValueBase
41 static GType value_type() G_GNUC_CONST;
46 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47 GParamSpec* create_param_spec(const Glib::ustring& name) const;
54 // This is a generated file, do not edit. Generated from __file__
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 #ifndef _GLIBMM_VALUE_H_INCLUDE_VALUE_BASICTYPES_H
58 #error "glibmm/value_basictypes.h cannot be included directly"
62 /* Suppress warnings about `long long' when GCC is in -pedantic mode.
64 #if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
65 #pragma GCC system_header
70 GLIB_VALUE_BASIC(bool, boolean)
71 GLIB_VALUE_BASIC(char, char)
72 GLIB_VALUE_BASIC(unsigned char, uchar)
73 GLIB_VALUE_BASIC(int, int)
74 GLIB_VALUE_BASIC(unsigned int, uint)
75 GLIB_VALUE_BASIC(long, long)
76 GLIB_VALUE_BASIC(unsigned long, ulong)
77 GLIB_VALUE_BASIC(long long, int64)
78 GLIB_VALUE_BASIC(unsigned long long, uint64)
79 GLIB_VALUE_BASIC(float, float)
80 GLIB_VALUE_BASIC(double, double)
81 GLIB_VALUE_BASIC(void*, pointer)