~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/gtk2/src/glib/gvaluetypes.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{ GObject - GLib Type, Object, Parameter and Signal Library
 
2
   Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
 
3
 
 
4
   This library is free software; you can redistribute it and/or
 
5
   modify it under the terms of the GNU Lesser General Public
 
6
   License as published by the Free Software Foundation; either
 
7
   version 2 of the License, or (at your option) any later version.
 
8
 
 
9
   This library is distributed in the hope that it will be useful,
 
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
   Lesser General Public License for more details.
 
13
 
 
14
   You should have received a copy of the GNU Lesser General
 
15
   Public License along with this library; if not, write to the
 
16
   Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 
17
   Boston, MA 02111-1307, USA.
 
18
 
 
19
   gvaluetypes.h: GLib default values
 
20
  }
 
21
 
 
22
 
 
23
{ --- type macros ---  }
 
24
 
 
25
function G_VALUE_HOLDS_CHAR(value : PGValue) : boolean;
 
26
 
 
27
function G_VALUE_HOLDS_UCHAR(value : PGValue) : boolean;
 
28
 
 
29
function G_VALUE_HOLDS_BOOLEAN(value : PGValue) : boolean;
 
30
 
 
31
function G_VALUE_HOLDS_INT(value : PGValue) : boolean;
 
32
 
 
33
function G_VALUE_HOLDS_UINT(value : PGValue) : boolean;
 
34
 
 
35
function G_VALUE_HOLDS_LONG(value : PGValue) : boolean;
 
36
 
 
37
function G_VALUE_HOLDS_ULONG(value : PGValue) : boolean;
 
38
 
 
39
function G_VALUE_HOLDS_INT64(value : PGValue) : boolean;
 
40
 
 
41
function G_VALUE_HOLDS_UINT64(value : PGValue) : boolean;
 
42
 
 
43
function G_VALUE_HOLDS_FLOAT(value : PGValue) : boolean;
 
44
 
 
45
function G_VALUE_HOLDS_DOUBLE(value : PGValue) : boolean;
 
46
 
 
47
function G_VALUE_HOLDS_STRING(value : PGValue) : boolean;
 
48
 
 
49
function G_VALUE_HOLDS_POINTER(value : PGValue) : boolean;
 
50
 
 
51
{ --- prototypes ---  }
 
52
procedure g_value_set_char(value:PGValue; v_char:gchar); cdecl; external gobjectlib;
 
53
 
 
54
function g_value_get_char(value:PGValue):gchar; cdecl; external gobjectlib;
 
55
procedure g_value_set_uchar(value:PGValue; v_uchar:guchar); cdecl; external gobjectlib;
 
56
 
 
57
function g_value_get_uchar(value:PGValue):guchar; cdecl; external gobjectlib;
 
58
procedure g_value_set_boolean(value:PGValue; v_boolean:gboolean); cdecl; external gobjectlib;
 
59
 
 
60
function g_value_get_boolean(value:PGValue):gboolean; cdecl; external gobjectlib;
 
61
procedure g_value_set_int(value:PGValue; v_int:gint); cdecl; external gobjectlib;
 
62
 
 
63
function g_value_get_int(value:PGValue):gint; cdecl; external gobjectlib;
 
64
procedure g_value_set_uint(value:PGValue; v_uint:guint); cdecl; external gobjectlib;
 
65
 
 
66
function g_value_get_uint(value:PGValue):guint; cdecl; external gobjectlib;
 
67
procedure g_value_set_long(value:PGValue; v_long:glong); cdecl; external gobjectlib;
 
68
 
 
69
function g_value_get_long(value:PGValue):glong; cdecl; external gobjectlib;
 
70
procedure g_value_set_ulong(value:PGValue; v_ulong:gulong); cdecl; external gobjectlib;
 
71
 
 
72
function g_value_get_ulong(value:PGValue):gulong; cdecl; external gobjectlib;
 
73
procedure g_value_set_int64(value:PGValue; v_int64:gint64); cdecl; external gobjectlib;
 
74
 
 
75
function g_value_get_int64(value:PGValue):gint64; cdecl; external gobjectlib;
 
76
procedure g_value_set_uint64(value:PGValue; v_uint64:guint64); cdecl; external gobjectlib;
 
77
 
 
78
function g_value_get_uint64(value:PGValue):guint64; cdecl; external gobjectlib;
 
79
procedure g_value_set_float(value:PGValue; v_float:gfloat); cdecl; external gobjectlib;
 
80
 
 
81
function g_value_get_float(value:PGValue):gfloat; cdecl; external gobjectlib;
 
82
procedure g_value_set_double(value:PGValue; v_double:gdouble); cdecl; external gobjectlib;
 
83
 
 
84
function g_value_get_double(value:PGValue):gdouble; cdecl; external gobjectlib;
 
85
 
 
86
procedure g_value_set_string(value:PGValue; v_string:Pgchar); cdecl; external gobjectlib;
 
87
 
 
88
procedure g_value_set_static_string(value:PGValue; v_string:Pgchar); cdecl; external gobjectlib;
 
89
 
 
90
function g_value_get_string(value:PGValue):Pgchar; cdecl; external gobjectlib;
 
91
 
 
92
function g_value_dup_string(value:PGValue):Pgchar; cdecl; external gobjectlib;
 
93
procedure g_value_set_pointer(value:PGValue; v_pointer:gpointer); cdecl; external gobjectlib;
 
94
 
 
95
function g_value_get_pointer(value:PGValue):gpointer; cdecl; external gobjectlib;
 
96
{ Convenience for registering new pointer types  }
 
97
 
 
98
function g_pointer_type_register_static(name:Pgchar):GType; cdecl; external gobjectlib;
 
99
{ debugging aid, describe value contents as string  }
 
100
 
 
101
function g_strdup_value_contents(value:PGValue):Pgchar; cdecl; external gobjectlib;
 
102
{ --- marshaller specific ---  }
 
103
procedure g_value_set_string_take_ownership(value:PGValue; v_string:Pgchar); cdecl; external gobjectlib;
 
104
{ humpf, need a C representable type name for G_TYPE_STRING  }
 
105
type
 
106
 
 
107
   Pgchararray = ^Tgchararray;
 
108
   Tgchararray = gchar;
 
109
 
 
110
 
 
111