1 { This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. } 2 unit LazGLib2; 3 4 {$MODE OBJFPC}{$H+} 5 6 {$PACKRECORDS C} 7 {$MODESWITCH DUPLICATELOCALS+} 8 9 {$LINKLIB libgobject-2.0.so.0} 10 {$LINKLIB libglib-2.0.so.0} 11 interface 12 uses 13 CTypes; 14 15 const 16 GLib2_library = 'libgobject-2.0.so.0'; 17 18 G_ASCII_DTOSTR_BUF_SIZE = 39; 19 G_BIG_ENDIAN = 4321; 20 G_CAN_INLINE = 1; 21 G_CSET_A_2_Z = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; 22 G_CSET_DIGITS = '0123456789'; 23 G_CSET_a_2_z__0 = 'abcdefghijklmnopqrstuvwxyz'; 24 G_DATALIST_FLAGS_MASK = 3; 25 G_DATE_BAD_DAY = 0; 26 G_DATE_BAD_JULIAN = 0; 27 G_DATE_BAD_YEAR = 0; 28 G_DIR_SEPARATOR = 92; 29 G_DIR_SEPARATOR_S = '\'; 30 G_E = 2.718282; 31 G_GINT16_FORMAT = 'hi'; 32 G_GINT16_MODIFIER = 'h'; 33 G_GINT32_FORMAT = 'i'; 34 G_GINT32_MODIFIER = ''; 35 G_GINT64_FORMAT = 'li'; 36 G_GINT64_MODIFIER = 'l'; 37 G_GINTPTR_FORMAT = 'li'; 38 G_GINTPTR_MODIFIER = 'l'; 39 G_GNUC_FUNCTION = ''; 40 G_GNUC_PRETTY_FUNCTION = ''; 41 G_GSIZE_FORMAT = 'lu'; 42 G_GSIZE_MODIFIER = 'l'; 43 G_GSSIZE_FORMAT = 'li'; 44 G_GUINT16_FORMAT = 'hu'; 45 G_GUINT32_FORMAT = 'u'; 46 G_GUINT64_FORMAT = 'lu'; 47 G_GUINTPTR_FORMAT = 'lu'; 48 G_HAVE_GINT64 = 1; 49 G_HAVE_GNUC_VARARGS = 1; 50 G_HAVE_GNUC_VISIBILITY = 1; 51 G_HAVE_GROWING_STACK = 1; 52 G_HAVE_INLINE = 1; 53 G_HAVE_ISO_VARARGS = 1; 54 G_HAVE___INLINE = 1; 55 G_HAVE___INLINE__ = 1; 56 G_HOOK_FLAG_USER_SHIFT = 4; 57 G_IEEE754_DOUBLE_BIAS = 1023; 58 G_IEEE754_FLOAT_BIAS = 127; 59 G_KEY_FILE_DESKTOP_GROUP = 'Desktop Entry'; 60 G_KEY_FILE_DESKTOP_KEY_CATEGORIES = 'Categories'; 61 G_KEY_FILE_DESKTOP_KEY_COMMENT = 'Comment'; 62 G_KEY_FILE_DESKTOP_KEY_EXEC = 'Exec'; 63 G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME = 'GenericName'; 64 G_KEY_FILE_DESKTOP_KEY_HIDDEN = 'Hidden'; 65 G_KEY_FILE_DESKTOP_KEY_ICON = 'Icon'; 66 G_KEY_FILE_DESKTOP_KEY_MIME_TYPE = 'MimeType'; 67 G_KEY_FILE_DESKTOP_KEY_NAME = 'Name'; 68 G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN = 'NotShowIn'; 69 G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY = 'NoDisplay'; 70 G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN = 'OnlyShowIn'; 71 G_KEY_FILE_DESKTOP_KEY_PATH = 'Path'; 72 G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY = 'StartupNotify'; 73 G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS = 'StartupWMClass'; 74 G_KEY_FILE_DESKTOP_KEY_TERMINAL = 'Terminal'; 75 G_KEY_FILE_DESKTOP_KEY_TRY_EXEC = 'TryExec'; 76 G_KEY_FILE_DESKTOP_KEY_TYPE = 'Type'; 77 G_KEY_FILE_DESKTOP_KEY_URL = 'URL'; 78 G_KEY_FILE_DESKTOP_KEY_VERSION = 'Version'; 79 G_KEY_FILE_DESKTOP_TYPE_APPLICATION = 'Application'; 80 G_KEY_FILE_DESKTOP_TYPE_DIRECTORY = 'Directory'; 81 G_KEY_FILE_DESKTOP_TYPE_LINK = 'Link'; 82 G_LITTLE_ENDIAN = 1234; 83 G_LN10 = 2.302585; 84 G_LN2 = 0.693147; 85 G_LOG_2_BASE_10 = 0.301030; 86 G_LOG_DOMAIN = 0; 87 G_LOG_FATAL_MASK = 0; 88 G_LOG_LEVEL_USER_SHIFT = 8; 89 GLIB_MAJOR_VERSION = 2; 90 G_MAXINT16 = 32767; 91 G_MAXINT32 = 2147483647; 92 G_MAXINT64 = 9223372036854775807; 93 G_MAXINT8 = 127; 94 G_MAXUINT16 = 65535; 95 G_MAXUINT32 = 4294967295; 96 G_MAXUINT64 = 18446744073709551615; 97 G_MAXUINT8 = 255; 98 GLIB_MICRO_VERSION = 4; 99 G_MININT16 = 32768; 100 G_MININT32 = 2147483648; 101 G_MININT64 = -9223372036854775808; 102 G_MININT8 = 128; 103 GLIB_MINOR_VERSION = 36; 104 G_MODULE_SUFFIX = 'so'; 105 G_OPTION_REMAINING = ''; 106 G_PDP_ENDIAN = 3412; 107 G_PI = 3.141593; 108 G_PI_2 = 1.570796; 109 G_PI_4 = 0.785398; 110 G_POLLFD_FORMAT = '%#I64x'; 111 G_PRIORITY_DEFAULT = 0; 112 G_PRIORITY_DEFAULT_IDLE = 200; 113 G_PRIORITY_HIGH = -100; 114 G_PRIORITY_HIGH_IDLE = 100; 115 G_PRIORITY_LOW = 300; 116 G_SEARCHPATH_SEPARATOR = 59; 117 G_SEARCHPATH_SEPARATOR_S = ';'; 118 GLIB_SIZEOF_LONG = 8; 119 GLIB_SIZEOF_SIZE_T = 8; 120 GLIB_SIZEOF_VOID_P = 8; 121 G_SQRT2 = 1.414214; 122 G_STR_DELIMITERS = '_-|> <.'; 123 GLIB_SYSDEF_AF_INET = 2; 124 GLIB_SYSDEF_AF_INET6 = 10; 125 GLIB_SYSDEF_AF_UNIX = 1; 126 GLIB_SYSDEF_MSG_DONTROUTE = 4; 127 GLIB_SYSDEF_MSG_OOB = 1; 128 GLIB_SYSDEF_MSG_PEEK = 2; 129 G_TIME_SPAN_DAY = 86400000000; 130 G_TIME_SPAN_HOUR = 3600000000; 131 G_TIME_SPAN_MILLISECOND = 1000; 132 G_TIME_SPAN_MINUTE = 60000000; 133 G_TIME_SPAN_SECOND = 1000000; 134 G_UNICHAR_MAX_DECOMPOSITION_LENGTH = 18; 135 G_URI_RESERVED_CHARS_GENERIC_DELIMITERS = ':/?#[]@'; 136 G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS = '!$&''()*+,;='; 137 G_USEC_PER_SEC = 1000000; 138 G_VA_COPY_AS_ARRAY = 1; 139 GLIB_VERSION_MIN_REQUIRED = 2; 140 G_WIN32_MSG_HANDLE = 19981206; 141 142 type 143 TGAsciiType = Integer; 144 const 145 { GAsciiType } 146 G_ASCII_ALNUM: TGAsciiType = 1; 147 G_ASCII_ALPHA: TGAsciiType = 2; 148 G_ASCII_CNTRL: TGAsciiType = 4; 149 G_ASCII_DIGIT: TGAsciiType = 8; 150 G_ASCII_GRAPH: TGAsciiType = 16; 151 G_ASCII_LOWER: TGAsciiType = 32; 152 G_ASCII_PRINT: TGAsciiType = 64; 153 G_ASCII_PUNCT: TGAsciiType = 128; 154 G_ASCII_SPACE: TGAsciiType = 256; 155 G_ASCII_UPPER: TGAsciiType = 512; 156 G_ASCII_XDIGIT: TGAsciiType = 1024; 157 158 type 159 TGBookmarkFileError = Integer; 160 const 161 { GBookmarkFileError } 162 G_BOOKMARK_FILE_ERROR_INVALID_URI: TGBookmarkFileError = 0; 163 G_BOOKMARK_FILE_ERROR_INVALID_VALUE: TGBookmarkFileError = 1; 164 G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED: TGBookmarkFileError = 2; 165 G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND: TGBookmarkFileError = 3; 166 G_BOOKMARK_FILE_ERROR_READ: TGBookmarkFileError = 4; 167 G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING: TGBookmarkFileError = 5; 168 G_BOOKMARK_FILE_ERROR_WRITE: TGBookmarkFileError = 6; 169 G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND: TGBookmarkFileError = 7; 170 171 type 172 TGChecksumType = Integer; 173 const 174 { GChecksumType } 175 G_CHECKSUM_MD5: TGChecksumType = 0; 176 G_CHECKSUM_SHA1: TGChecksumType = 1; 177 G_CHECKSUM_SHA256: TGChecksumType = 2; 178 G_CHECKSUM_SHA512: TGChecksumType = 3; 179 180 type 181 TGConvertError = Integer; 182 const 183 { GConvertError } 184 G_CONVERT_ERROR_NO_CONVERSION: TGConvertError = 0; 185 G_CONVERT_ERROR_ILLEGAL_SEQUENCE: TGConvertError = 1; 186 G_CONVERT_ERROR_FAILED: TGConvertError = 2; 187 G_CONVERT_ERROR_PARTIAL_INPUT: TGConvertError = 3; 188 G_CONVERT_ERROR_BAD_URI: TGConvertError = 4; 189 G_CONVERT_ERROR_NOT_ABSOLUTE_PATH: TGConvertError = 5; 190 191 type 192 TGDateMonth = Integer; 193 const 194 { GDateMonth } 195 G_DATE_BAD_MONTH: TGDateMonth = 0; 196 G_DATE_JANUARY: TGDateMonth = 1; 197 G_DATE_FEBRUARY: TGDateMonth = 2; 198 G_DATE_MARCH: TGDateMonth = 3; 199 G_DATE_APRIL: TGDateMonth = 4; 200 G_DATE_MAY: TGDateMonth = 5; 201 G_DATE_JUNE: TGDateMonth = 6; 202 G_DATE_JULY: TGDateMonth = 7; 203 G_DATE_AUGUST: TGDateMonth = 8; 204 G_DATE_SEPTEMBER: TGDateMonth = 9; 205 G_DATE_OCTOBER: TGDateMonth = 10; 206 G_DATE_NOVEMBER: TGDateMonth = 11; 207 G_DATE_DECEMBER: TGDateMonth = 12; 208 209 type 210 TGDateWeekday = Integer; 211 const 212 { GDateWeekday } 213 G_DATE_BAD_WEEKDAY: TGDateWeekday = 0; 214 G_DATE_MONDAY: TGDateWeekday = 1; 215 G_DATE_TUESDAY: TGDateWeekday = 2; 216 G_DATE_WEDNESDAY: TGDateWeekday = 3; 217 G_DATE_THURSDAY: TGDateWeekday = 4; 218 G_DATE_FRIDAY: TGDateWeekday = 5; 219 G_DATE_SATURDAY: TGDateWeekday = 6; 220 G_DATE_SUNDAY: TGDateWeekday = 7; 221 222 type 223 TGDateDMY = Integer; 224 const 225 { GDateDMY } 226 G_DATE_DAY: TGDateDMY = 0; 227 G_DATE_MONTH: TGDateDMY = 1; 228 G_DATE_YEAR: TGDateDMY = 2; 229 230 type 231 TGTimeType = Integer; 232 const 233 { GTimeType } 234 G_TIME_TYPE_STANDARD: TGTimeType = 0; 235 G_TIME_TYPE_DAYLIGHT: TGTimeType = 1; 236 G_TIME_TYPE_UNIVERSAL: TGTimeType = 2; 237 238 type 239 TGErrorType = Integer; 240 const 241 { GErrorType } 242 G_ERR_UNKNOWN: TGErrorType = 0; 243 G_ERR_UNEXP_EOF: TGErrorType = 1; 244 G_ERR_UNEXP_EOF_IN_STRING: TGErrorType = 2; 245 G_ERR_UNEXP_EOF_IN_COMMENT: TGErrorType = 3; 246 G_ERR_NON_DIGIT_IN_CONST: TGErrorType = 4; 247 G_ERR_DIGIT_RADIX: TGErrorType = 5; 248 G_ERR_FLOAT_RADIX: TGErrorType = 6; 249 G_ERR_FLOAT_MALFORMED: TGErrorType = 7; 250 251 type 252 TGFileError = Integer; 253 const 254 { GFileError } 255 G_FILE_ERROR_EXIST: TGFileError = 0; 256 G_FILE_ERROR_ISDIR: TGFileError = 1; 257 G_FILE_ERROR_ACCES: TGFileError = 2; 258 G_FILE_ERROR_NAMETOOLONG: TGFileError = 3; 259 G_FILE_ERROR_NOENT: TGFileError = 4; 260 G_FILE_ERROR_NOTDIR: TGFileError = 5; 261 G_FILE_ERROR_NXIO: TGFileError = 6; 262 G_FILE_ERROR_NODEV: TGFileError = 7; 263 G_FILE_ERROR_ROFS: TGFileError = 8; 264 G_FILE_ERROR_TXTBSY: TGFileError = 9; 265 G_FILE_ERROR_FAULT: TGFileError = 10; 266 G_FILE_ERROR_LOOP: TGFileError = 11; 267 G_FILE_ERROR_NOSPC: TGFileError = 12; 268 G_FILE_ERROR_NOMEM: TGFileError = 13; 269 G_FILE_ERROR_MFILE: TGFileError = 14; 270 G_FILE_ERROR_NFILE: TGFileError = 15; 271 G_FILE_ERROR_BADF: TGFileError = 16; 272 G_FILE_ERROR_INVAL: TGFileError = 17; 273 G_FILE_ERROR_PIPE: TGFileError = 18; 274 G_FILE_ERROR_AGAIN: TGFileError = 19; 275 G_FILE_ERROR_INTR: TGFileError = 20; 276 G_FILE_ERROR_IO: TGFileError = 21; 277 G_FILE_ERROR_PERM: TGFileError = 22; 278 G_FILE_ERROR_NOSYS: TGFileError = 23; 279 G_FILE_ERROR_FAILED: TGFileError = 24; 280 281 type 282 TGFileTest = Integer; 283 const 284 { GFileTest } 285 G_FILE_TEST_IS_REGULAR: TGFileTest = 1; 286 G_FILE_TEST_IS_SYMLINK: TGFileTest = 2; 287 G_FILE_TEST_IS_DIR: TGFileTest = 4; 288 G_FILE_TEST_IS_EXECUTABLE: TGFileTest = 8; 289 G_FILE_TEST_EXISTS: TGFileTest = 16; 290 291 type 292 TGFormatSizeFlags = Integer; 293 const 294 { GFormatSizeFlags } 295 G_FORMAT_SIZE_DEFAULT: TGFormatSizeFlags = 0; 296 G_FORMAT_SIZE_LONG_FORMAT: TGFormatSizeFlags = 1; 297 G_FORMAT_SIZE_IEC_UNITS: TGFormatSizeFlags = 2; 298 299 type 300 TGHookFlagMask = Integer; 301 const 302 { GHookFlagMask } 303 G_HOOK_FLAG_ACTIVE: TGHookFlagMask = 1; 304 G_HOOK_FLAG_IN_CALL: TGHookFlagMask = 2; 305 G_HOOK_FLAG_MASK: TGHookFlagMask = 15; 306 307 type 308 TGSeekType = Integer; 309 const 310 { GSeekType } 311 G_SEEK_CUR: TGSeekType = 0; 312 G_SEEK_SET: TGSeekType = 1; 313 G_SEEK_END: TGSeekType = 2; 314 315 type 316 TGIOCondition = Integer; 317 const 318 { GIOCondition } 319 G_IO_IN: TGIOCondition = 1; 320 G_IO_OUT: TGIOCondition = 4; 321 G_IO_PRI: TGIOCondition = 2; 322 G_IO_ERR: TGIOCondition = 8; 323 G_IO_HUP: TGIOCondition = 16; 324 G_IO_NVAL: TGIOCondition = 32; 325 326 type 327 TGIOFlags = Integer; 328 const 329 { GIOFlags } 330 G_IO_FLAG_APPEND: TGIOFlags = 1; 331 G_IO_FLAG_NONBLOCK: TGIOFlags = 2; 332 G_IO_FLAG_IS_READABLE: TGIOFlags = 4; 333 G_IO_FLAG_IS_WRITABLE: TGIOFlags = 8; 334 G_IO_FLAG_IS_WRITEABLE: TGIOFlags = 8; 335 G_IO_FLAG_IS_SEEKABLE: TGIOFlags = 16; 336 G_IO_FLAG_MASK: TGIOFlags = 31; 337 G_IO_FLAG_GET_MASK: TGIOFlags = 31; 338 G_IO_FLAG_SET_MASK: TGIOFlags = 3; 339 340 type 341 TGIOStatus = Integer; 342 const 343 { GIOStatus } 344 G_IO_STATUS_ERROR: TGIOStatus = 0; 345 G_IO_STATUS_NORMAL: TGIOStatus = 1; 346 G_IO_STATUS_EOF: TGIOStatus = 2; 347 G_IO_STATUS_AGAIN: TGIOStatus = 3; 348 349 type 350 TGIOError = Integer; 351 const 352 { GIOError } 353 G_IO_ERROR_NONE: TGIOError = 0; 354 G_IO_ERROR_AGAIN: TGIOError = 1; 355 G_IO_ERROR_INVAL: TGIOError = 2; 356 G_IO_ERROR_UNKNOWN: TGIOError = 3; 357 358 type 359 TGIOChannelError = Integer; 360 const 361 { GIOChannelError } 362 G_IO_CHANNEL_ERROR_FBIG: TGIOChannelError = 0; 363 G_IO_CHANNEL_ERROR_INVAL: TGIOChannelError = 1; 364 G_IO_CHANNEL_ERROR_IO: TGIOChannelError = 2; 365 G_IO_CHANNEL_ERROR_ISDIR: TGIOChannelError = 3; 366 G_IO_CHANNEL_ERROR_NOSPC: TGIOChannelError = 4; 367 G_IO_CHANNEL_ERROR_NXIO: TGIOChannelError = 5; 368 G_IO_CHANNEL_ERROR_OVERFLOW: TGIOChannelError = 6; 369 G_IO_CHANNEL_ERROR_PIPE: TGIOChannelError = 7; 370 G_IO_CHANNEL_ERROR_FAILED: TGIOChannelError = 8; 371 372 type 373 TGKeyFileFlags = Integer; 374 const 375 { GKeyFileFlags } 376 G_KEY_FILE_NONE: TGKeyFileFlags = 0; 377 G_KEY_FILE_KEEP_COMMENTS: TGKeyFileFlags = 1; 378 G_KEY_FILE_KEEP_TRANSLATIONS: TGKeyFileFlags = 2; 379 380 type 381 TGKeyFileError = Integer; 382 const 383 { GKeyFileError } 384 G_KEY_FILE_ERROR_UNKNOWN_ENCODING: TGKeyFileError = 0; 385 G_KEY_FILE_ERROR_PARSE: TGKeyFileError = 1; 386 G_KEY_FILE_ERROR_NOT_FOUND: TGKeyFileError = 2; 387 G_KEY_FILE_ERROR_KEY_NOT_FOUND: TGKeyFileError = 3; 388 G_KEY_FILE_ERROR_GROUP_NOT_FOUND: TGKeyFileError = 4; 389 G_KEY_FILE_ERROR_INVALID_VALUE: TGKeyFileError = 5; 390 391 type 392 TGLogLevelFlags = Integer; 393 const 394 { GLogLevelFlags } 395 G_LOG_FLAG_RECURSION: TGLogLevelFlags = 1; 396 G_LOG_FLAG_FATAL: TGLogLevelFlags = 2; 397 G_LOG_LEVEL_ERROR: TGLogLevelFlags = 4; 398 G_LOG_LEVEL_CRITICAL: TGLogLevelFlags = 8; 399 G_LOG_LEVEL_WARNING: TGLogLevelFlags = 16; 400 G_LOG_LEVEL_MESSAGE: TGLogLevelFlags = 32; 401 G_LOG_LEVEL_INFO: TGLogLevelFlags = 64; 402 G_LOG_LEVEL_DEBUG: TGLogLevelFlags = 128; 403 G_LOG_LEVEL_MASK: TGLogLevelFlags = -4; 404 405 type 406 TGMarkupCollectType = Integer; 407 const 408 { GMarkupCollectType } 409 G_MARKUP_COLLECT_INVALID: TGMarkupCollectType = 0; 410 G_MARKUP_COLLECT_STRING: TGMarkupCollectType = 1; 411 G_MARKUP_COLLECT_STRDUP: TGMarkupCollectType = 2; 412 G_MARKUP_COLLECT_BOOLEAN: TGMarkupCollectType = 3; 413 G_MARKUP_COLLECT_TRISTATE: TGMarkupCollectType = 4; 414 G_MARKUP_COLLECT_OPTIONAL: TGMarkupCollectType = 65536; 415 416 type 417 TGMarkupError = Integer; 418 const 419 { GMarkupError } 420 G_MARKUP_ERROR_BAD_UTF8: TGMarkupError = 0; 421 G_MARKUP_ERROR_EMPTY: TGMarkupError = 1; 422 G_MARKUP_ERROR_PARSE: TGMarkupError = 2; 423 G_MARKUP_ERROR_UNKNOWN_ELEMENT: TGMarkupError = 3; 424 G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE: TGMarkupError = 4; 425 G_MARKUP_ERROR_INVALID_CONTENT: TGMarkupError = 5; 426 G_MARKUP_ERROR_MISSING_ATTRIBUTE: TGMarkupError = 6; 427 428 type 429 TGMarkupParseFlags = Integer; 430 const 431 { GMarkupParseFlags } 432 G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG: TGMarkupParseFlags = 1; 433 G_MARKUP_TREAT_CDATA_AS_TEXT: TGMarkupParseFlags = 2; 434 G_MARKUP_PREFIX_ERROR_POSITION: TGMarkupParseFlags = 4; 435 436 type 437 TGRegexCompileFlags = Integer; 438 const 439 { GRegexCompileFlags } 440 G_REGEX_CASELESS: TGRegexCompileFlags = 1; 441 G_REGEX_MULTILINE: TGRegexCompileFlags = 2; 442 G_REGEX_DOTALL: TGRegexCompileFlags = 4; 443 G_REGEX_EXTENDED: TGRegexCompileFlags = 8; 444 G_REGEX_ANCHORED: TGRegexCompileFlags = 16; 445 G_REGEX_DOLLAR_ENDONLY: TGRegexCompileFlags = 32; 446 G_REGEX_UNGREEDY: TGRegexCompileFlags = 512; 447 G_REGEX_RAW: TGRegexCompileFlags = 2048; 448 G_REGEX_NO_AUTO_CAPTURE: TGRegexCompileFlags = 4096; 449 G_REGEX_OPTIMIZE: TGRegexCompileFlags = 8192; 450 G_REGEX_FIRSTLINE: TGRegexCompileFlags = 262144; 451 G_REGEX_DUPNAMES: TGRegexCompileFlags = 524288; 452 G_REGEX_NEWLINE_CR: TGRegexCompileFlags = 1048576; 453 G_REGEX_NEWLINE_LF: TGRegexCompileFlags = 2097152; 454 G_REGEX_NEWLINE_CRLF: TGRegexCompileFlags = 3145728; 455 G_REGEX_NEWLINE_ANYCRLF: TGRegexCompileFlags = 5242880; 456 G_REGEX_BSR_ANYCRLF: TGRegexCompileFlags = 8388608; 457 G_REGEX_JAVASCRIPT_COMPAT: TGRegexCompileFlags = 33554432; 458 459 type 460 TGRegexMatchFlags = Integer; 461 const 462 { GRegexMatchFlags } 463 G_REGEX_MATCH_ANCHORED: TGRegexMatchFlags = 16; 464 G_REGEX_MATCH_NOTBOL: TGRegexMatchFlags = 128; 465 G_REGEX_MATCH_NOTEOL: TGRegexMatchFlags = 256; 466 G_REGEX_MATCH_NOTEMPTY: TGRegexMatchFlags = 1024; 467 G_REGEX_MATCH_PARTIAL: TGRegexMatchFlags = 32768; 468 G_REGEX_MATCH_NEWLINE_CR: TGRegexMatchFlags = 1048576; 469 G_REGEX_MATCH_NEWLINE_LF: TGRegexMatchFlags = 2097152; 470 G_REGEX_MATCH_NEWLINE_CRLF: TGRegexMatchFlags = 3145728; 471 G_REGEX_MATCH_NEWLINE_ANY: TGRegexMatchFlags = 4194304; 472 G_REGEX_MATCH_NEWLINE_ANYCRLF: TGRegexMatchFlags = 5242880; 473 G_REGEX_MATCH_BSR_ANYCRLF: TGRegexMatchFlags = 8388608; 474 G_REGEX_MATCH_BSR_ANY: TGRegexMatchFlags = 16777216; 475 G_REGEX_MATCH_PARTIAL_SOFT: TGRegexMatchFlags = 32768; 476 G_REGEX_MATCH_PARTIAL_HARD: TGRegexMatchFlags = 134217728; 477 G_REGEX_MATCH_NOTEMPTY_ATSTART: TGRegexMatchFlags = 268435456; 478 479 type 480 TGTraverseFlags = Integer; 481 const 482 { GTraverseFlags } 483 G_TRAVERSE_LEAVES: TGTraverseFlags = 1; 484 G_TRAVERSE_NON_LEAVES: TGTraverseFlags = 2; 485 G_TRAVERSE_ALL: TGTraverseFlags = 3; 486 G_TRAVERSE_MASK: TGTraverseFlags = 3; 487 G_TRAVERSE_LEAFS: TGTraverseFlags = 1; 488 G_TRAVERSE_NON_LEAFS: TGTraverseFlags = 2; 489 490 type 491 TGTraverseType = Integer; 492 const 493 { GTraverseType } 494 G_IN_ORDER: TGTraverseType = 0; 495 G_PRE_ORDER: TGTraverseType = 1; 496 G_POST_ORDER: TGTraverseType = 2; 497 G_LEVEL_ORDER: TGTraverseType = 3; 498 499 type 500 TGNormalizeMode = Integer; 501 const 502 { GNormalizeMode } 503 G_NORMALIZE_DEFAULT: TGNormalizeMode = 0; 504 G_NORMALIZE_NFD: TGNormalizeMode = 0; 505 G_NORMALIZE_DEFAULT_COMPOSE: TGNormalizeMode = 1; 506 G_NORMALIZE_NFC: TGNormalizeMode = 1; 507 G_NORMALIZE_ALL: TGNormalizeMode = 2; 508 G_NORMALIZE_NFKD: TGNormalizeMode = 2; 509 G_NORMALIZE_ALL_COMPOSE: TGNormalizeMode = 3; 510 G_NORMALIZE_NFKC: TGNormalizeMode = 3; 511 512 type 513 TGOnceStatus = Integer; 514 const 515 { GOnceStatus } 516 G_ONCE_STATUS_NOTCALLED: TGOnceStatus = 0; 517 G_ONCE_STATUS_PROGRESS: TGOnceStatus = 1; 518 G_ONCE_STATUS_READY: TGOnceStatus = 2; 519 520 type 521 TGOptionArg = Integer; 522 const 523 { GOptionArg } 524 G_OPTION_ARG_NONE: TGOptionArg = 0; 525 G_OPTION_ARG_STRING: TGOptionArg = 1; 526 G_OPTION_ARG_INT: TGOptionArg = 2; 527 G_OPTION_ARG_CALLBACK: TGOptionArg = 3; 528 G_OPTION_ARG_FILENAME: TGOptionArg = 4; 529 G_OPTION_ARG_STRING_ARRAY: TGOptionArg = 5; 530 G_OPTION_ARG_FILENAME_ARRAY: TGOptionArg = 6; 531 G_OPTION_ARG_DOUBLE: TGOptionArg = 7; 532 G_OPTION_ARG_INT64: TGOptionArg = 8; 533 534 type 535 TGOptionError = Integer; 536 const 537 { GOptionError } 538 G_OPTION_ERROR_UNKNOWN_OPTION: TGOptionError = 0; 539 G_OPTION_ERROR_BAD_VALUE: TGOptionError = 1; 540 G_OPTION_ERROR_FAILED: TGOptionError = 2; 541 542 type 543 TGOptionFlags = Integer; 544 const 545 { GOptionFlags } 546 G_OPTION_FLAG_HIDDEN: TGOptionFlags = 1; 547 G_OPTION_FLAG_IN_MAIN: TGOptionFlags = 2; 548 G_OPTION_FLAG_REVERSE: TGOptionFlags = 4; 549 G_OPTION_FLAG_NO_ARG: TGOptionFlags = 8; 550 G_OPTION_FLAG_FILENAME: TGOptionFlags = 16; 551 G_OPTION_FLAG_OPTIONAL_ARG: TGOptionFlags = 32; 552 G_OPTION_FLAG_NOALIAS: TGOptionFlags = 64; 553 554 type 555 TGRegexError = Integer; 556 const 557 { GRegexError } 558 G_REGEX_ERROR_COMPILE: TGRegexError = 0; 559 G_REGEX_ERROR_OPTIMIZE: TGRegexError = 1; 560 G_REGEX_ERROR_REPLACE: TGRegexError = 2; 561 G_REGEX_ERROR_MATCH: TGRegexError = 3; 562 G_REGEX_ERROR_INTERNAL: TGRegexError = 4; 563 G_REGEX_ERROR_STRAY_BACKSLASH: TGRegexError = 101; 564 G_REGEX_ERROR_MISSING_CONTROL_CHAR: TGRegexError = 102; 565 G_REGEX_ERROR_UNRECOGNIZED_ESCAPE: TGRegexError = 103; 566 G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER: TGRegexError = 104; 567 G_REGEX_ERROR_QUANTIFIER_TOO_BIG: TGRegexError = 105; 568 G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS: TGRegexError = 106; 569 G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS: TGRegexError = 107; 570 G_REGEX_ERROR_RANGE_OUT_OF_ORDER: TGRegexError = 108; 571 G_REGEX_ERROR_NOTHING_TO_REPEAT: TGRegexError = 109; 572 G_REGEX_ERROR_UNRECOGNIZED_CHARACTER: TGRegexError = 112; 573 G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS: TGRegexError = 113; 574 G_REGEX_ERROR_UNMATCHED_PARENTHESIS: TGRegexError = 114; 575 G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE: TGRegexError = 115; 576 G_REGEX_ERROR_UNTERMINATED_COMMENT: TGRegexError = 118; 577 G_REGEX_ERROR_EXPRESSION_TOO_LARGE: TGRegexError = 120; 578 G_REGEX_ERROR_MEMORY_ERROR: TGRegexError = 121; 579 G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND: TGRegexError = 125; 580 G_REGEX_ERROR_MALFORMED_CONDITION: TGRegexError = 126; 581 G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES: TGRegexError = 127; 582 G_REGEX_ERROR_ASSERTION_EXPECTED: TGRegexError = 128; 583 G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME: TGRegexError = 130; 584 G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED: TGRegexError = 131; 585 G_REGEX_ERROR_HEX_CODE_TOO_LARGE: TGRegexError = 134; 586 G_REGEX_ERROR_INVALID_CONDITION: TGRegexError = 135; 587 G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND: TGRegexError = 136; 588 G_REGEX_ERROR_INFINITE_LOOP: TGRegexError = 140; 589 G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR: TGRegexError = 142; 590 G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME: TGRegexError = 143; 591 G_REGEX_ERROR_MALFORMED_PROPERTY: TGRegexError = 146; 592 G_REGEX_ERROR_UNKNOWN_PROPERTY: TGRegexError = 147; 593 G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG: TGRegexError = 148; 594 G_REGEX_ERROR_TOO_MANY_SUBPATTERNS: TGRegexError = 149; 595 G_REGEX_ERROR_INVALID_OCTAL_VALUE: TGRegexError = 151; 596 G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE: TGRegexError = 154; 597 G_REGEX_ERROR_DEFINE_REPETION: TGRegexError = 155; 598 G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS: TGRegexError = 156; 599 G_REGEX_ERROR_MISSING_BACK_REFERENCE: TGRegexError = 157; 600 G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE: TGRegexError = 158; 601 G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN: TGRegexError = 159; 602 G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB: TGRegexError = 160; 603 G_REGEX_ERROR_NUMBER_TOO_BIG: TGRegexError = 161; 604 G_REGEX_ERROR_MISSING_SUBPATTERN_NAME: TGRegexError = 162; 605 G_REGEX_ERROR_MISSING_DIGIT: TGRegexError = 163; 606 G_REGEX_ERROR_INVALID_DATA_CHARACTER: TGRegexError = 164; 607 G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME: TGRegexError = 165; 608 G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED: TGRegexError = 166; 609 G_REGEX_ERROR_INVALID_CONTROL_CHAR: TGRegexError = 168; 610 G_REGEX_ERROR_MISSING_NAME: TGRegexError = 169; 611 G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS: TGRegexError = 171; 612 G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES: TGRegexError = 172; 613 G_REGEX_ERROR_NAME_TOO_LONG: TGRegexError = 175; 614 G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE: TGRegexError = 176; 615 616 type 617 TGTokenType = Integer; 618 const 619 { GTokenType } 620 G_TOKEN_EOF: TGTokenType = 0; 621 G_TOKEN_LEFT_PAREN: TGTokenType = 40; 622 G_TOKEN_RIGHT_PAREN: TGTokenType = 41; 623 G_TOKEN_LEFT_CURLY: TGTokenType = 123; 624 G_TOKEN_RIGHT_CURLY: TGTokenType = 125; 625 G_TOKEN_LEFT_BRACE: TGTokenType = 91; 626 G_TOKEN_RIGHT_BRACE: TGTokenType = 93; 627 G_TOKEN_EQUAL_SIGN: TGTokenType = 61; 628 G_TOKEN_COMMA: TGTokenType = 44; 629 G_TOKEN_NONE: TGTokenType = 256; 630 G_TOKEN_ERROR: TGTokenType = 257; 631 G_TOKEN_CHAR: TGTokenType = 258; 632 G_TOKEN_BINARY: TGTokenType = 259; 633 G_TOKEN_OCTAL: TGTokenType = 260; 634 G_TOKEN_INT: TGTokenType = 261; 635 G_TOKEN_HEX: TGTokenType = 262; 636 G_TOKEN_FLOAT: TGTokenType = 263; 637 G_TOKEN_STRING: TGTokenType = 264; 638 G_TOKEN_SYMBOL: TGTokenType = 265; 639 G_TOKEN_IDENTIFIER: TGTokenType = 266; 640 G_TOKEN_IDENTIFIER_NULL: TGTokenType = 267; 641 G_TOKEN_COMMENT_SINGLE: TGTokenType = 268; 642 G_TOKEN_COMMENT_MULTI: TGTokenType = 269; 643 644 type 645 TGShellError = Integer; 646 const 647 { GShellError } 648 G_SHELL_ERROR_BAD_QUOTING: TGShellError = 0; 649 G_SHELL_ERROR_EMPTY_STRING: TGShellError = 1; 650 G_SHELL_ERROR_FAILED: TGShellError = 2; 651 652 type 653 TGSliceConfig = Integer; 654 const 655 { GSliceConfig } 656 G_SLICE_CONFIG_ALWAYS_MALLOC: TGSliceConfig = 1; 657 G_SLICE_CONFIG_BYPASS_MAGAZINES: TGSliceConfig = 2; 658 G_SLICE_CONFIG_WORKING_SET_MSECS: TGSliceConfig = 3; 659 G_SLICE_CONFIG_COLOR_INCREMENT: TGSliceConfig = 4; 660 G_SLICE_CONFIG_CHUNK_SIZES: TGSliceConfig = 5; 661 G_SLICE_CONFIG_CONTENTION_COUNTER: TGSliceConfig = 6; 662 663 type 664 TGSpawnError = Integer; 665 const 666 { GSpawnError } 667 G_SPAWN_ERROR_FORK: TGSpawnError = 0; 668 G_SPAWN_ERROR_READ: TGSpawnError = 1; 669 G_SPAWN_ERROR_CHDIR: TGSpawnError = 2; 670 G_SPAWN_ERROR_ACCES: TGSpawnError = 3; 671 G_SPAWN_ERROR_PERM: TGSpawnError = 4; 672 G_SPAWN_ERROR_TOO_BIG: TGSpawnError = 5; 673 G_SPAWN_ERROR_2BIG: TGSpawnError = 5; 674 G_SPAWN_ERROR_NOEXEC: TGSpawnError = 6; 675 G_SPAWN_ERROR_NAMETOOLONG: TGSpawnError = 7; 676 G_SPAWN_ERROR_NOENT: TGSpawnError = 8; 677 G_SPAWN_ERROR_NOMEM: TGSpawnError = 9; 678 G_SPAWN_ERROR_NOTDIR: TGSpawnError = 10; 679 G_SPAWN_ERROR_LOOP: TGSpawnError = 11; 680 G_SPAWN_ERROR_TXTBUSY: TGSpawnError = 12; 681 G_SPAWN_ERROR_IO: TGSpawnError = 13; 682 G_SPAWN_ERROR_NFILE: TGSpawnError = 14; 683 G_SPAWN_ERROR_MFILE: TGSpawnError = 15; 684 G_SPAWN_ERROR_INVAL: TGSpawnError = 16; 685 G_SPAWN_ERROR_ISDIR: TGSpawnError = 17; 686 G_SPAWN_ERROR_LIBBAD: TGSpawnError = 18; 687 G_SPAWN_ERROR_FAILED: TGSpawnError = 19; 688 689 type 690 TGSpawnFlags = Integer; 691 const 692 { GSpawnFlags } 693 G_SPAWN_LEAVE_DESCRIPTORS_OPEN: TGSpawnFlags = 1; 694 G_SPAWN_DO_NOT_REAP_CHILD: TGSpawnFlags = 2; 695 G_SPAWN_SEARCH_PATH: TGSpawnFlags = 4; 696 G_SPAWN_STDOUT_TO_DEV_NULL: TGSpawnFlags = 8; 697 G_SPAWN_STDERR_TO_DEV_NULL: TGSpawnFlags = 16; 698 G_SPAWN_CHILD_INHERITS_STDIN: TGSpawnFlags = 32; 699 G_SPAWN_FILE_AND_ARGV_ZERO: TGSpawnFlags = 64; 700 G_SPAWN_SEARCH_PATH_FROM_ENVP: TGSpawnFlags = 128; 701 702 type 703 TGTestLogType = Integer; 704 const 705 { GTestLogType } 706 G_TEST_LOG_NONE: TGTestLogType = 0; 707 G_TEST_LOG_ERROR: TGTestLogType = 1; 708 G_TEST_LOG_START_BINARY: TGTestLogType = 2; 709 G_TEST_LOG_LIST_CASE: TGTestLogType = 3; 710 G_TEST_LOG_SKIP_CASE: TGTestLogType = 4; 711 G_TEST_LOG_START_CASE: TGTestLogType = 5; 712 G_TEST_LOG_STOP_CASE: TGTestLogType = 6; 713 G_TEST_LOG_MIN_RESULT: TGTestLogType = 7; 714 G_TEST_LOG_MAX_RESULT: TGTestLogType = 8; 715 G_TEST_LOG_MESSAGE: TGTestLogType = 9; 716 717 type 718 TGTestTrapFlags = Integer; 719 const 720 { GTestTrapFlags } 721 G_TEST_TRAP_SILENCE_STDOUT: TGTestTrapFlags = 128; 722 G_TEST_TRAP_SILENCE_STDERR: TGTestTrapFlags = 256; 723 G_TEST_TRAP_INHERIT_STDIN: TGTestTrapFlags = 512; 724 725 type 726 TGThreadError = Integer; 727 const 728 { GThreadError } 729 G_THREAD_ERROR_AGAIN: TGThreadError = 0; 730 731 type 732 TGUnicodeBreakType = Integer; 733 const 734 { GUnicodeBreakType } 735 G_UNICODE_BREAK_MANDATORY: TGUnicodeBreakType = 0; 736 G_UNICODE_BREAK_CARRIAGE_RETURN: TGUnicodeBreakType = 1; 737 G_UNICODE_BREAK_LINE_FEED: TGUnicodeBreakType = 2; 738 G_UNICODE_BREAK_COMBINING_MARK: TGUnicodeBreakType = 3; 739 G_UNICODE_BREAK_SURROGATE: TGUnicodeBreakType = 4; 740 G_UNICODE_BREAK_ZERO_WIDTH_SPACE: TGUnicodeBreakType = 5; 741 G_UNICODE_BREAK_INSEPARABLE: TGUnicodeBreakType = 6; 742 G_UNICODE_BREAK_NON_BREAKING_GLUE: TGUnicodeBreakType = 7; 743 G_UNICODE_BREAK_CONTINGENT: TGUnicodeBreakType = 8; 744 G_UNICODE_BREAK_SPACE: TGUnicodeBreakType = 9; 745 G_UNICODE_BREAK_AFTER: TGUnicodeBreakType = 10; 746 G_UNICODE_BREAK_BEFORE: TGUnicodeBreakType = 11; 747 G_UNICODE_BREAK_BEFORE_AND_AFTER: TGUnicodeBreakType = 12; 748 G_UNICODE_BREAK_HYPHEN: TGUnicodeBreakType = 13; 749 G_UNICODE_BREAK_NON_STARTER: TGUnicodeBreakType = 14; 750 G_UNICODE_BREAK_OPEN_PUNCTUATION: TGUnicodeBreakType = 15; 751 G_UNICODE_BREAK_CLOSE_PUNCTUATION: TGUnicodeBreakType = 16; 752 G_UNICODE_BREAK_QUOTATION: TGUnicodeBreakType = 17; 753 G_UNICODE_BREAK_EXCLAMATION: TGUnicodeBreakType = 18; 754 G_UNICODE_BREAK_IDEOGRAPHIC: TGUnicodeBreakType = 19; 755 G_UNICODE_BREAK_NUMERIC: TGUnicodeBreakType = 20; 756 G_UNICODE_BREAK_INFIX_SEPARATOR: TGUnicodeBreakType = 21; 757 G_UNICODE_BREAK_SYMBOL: TGUnicodeBreakType = 22; 758 G_UNICODE_BREAK_ALPHABETIC: TGUnicodeBreakType = 23; 759 G_UNICODE_BREAK_PREFIX: TGUnicodeBreakType = 24; 760 G_UNICODE_BREAK_POSTFIX: TGUnicodeBreakType = 25; 761 G_UNICODE_BREAK_COMPLEX_CONTEXT: TGUnicodeBreakType = 26; 762 G_UNICODE_BREAK_AMBIGUOUS: TGUnicodeBreakType = 27; 763 G_UNICODE_BREAK_UNKNOWN: TGUnicodeBreakType = 28; 764 G_UNICODE_BREAK_NEXT_LINE: TGUnicodeBreakType = 29; 765 G_UNICODE_BREAK_WORD_JOINER: TGUnicodeBreakType = 30; 766 G_UNICODE_BREAK_HANGUL_L_JAMO: TGUnicodeBreakType = 31; 767 G_UNICODE_BREAK_HANGUL_V_JAMO: TGUnicodeBreakType = 32; 768 G_UNICODE_BREAK_HANGUL_T_JAMO: TGUnicodeBreakType = 33; 769 G_UNICODE_BREAK_HANGUL_LV_SYLLABLE: TGUnicodeBreakType = 34; 770 G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE: TGUnicodeBreakType = 35; 771 G_UNICODE_BREAK_CLOSE_PARANTHESIS: TGUnicodeBreakType = 36; 772 G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER: TGUnicodeBreakType = 37; 773 G_UNICODE_BREAK_HEBREW_LETTER: TGUnicodeBreakType = 38; 774 G_UNICODE_BREAK_REGIONAL_INDICATOR: TGUnicodeBreakType = 39; 775 776 type 777 TGUnicodeScript = Integer; 778 const 779 { GUnicodeScript } 780 G_UNICODE_SCRIPT_INVALID_CODE: TGUnicodeScript = -1; 781 G_UNICODE_SCRIPT_COMMON: TGUnicodeScript = 0; 782 G_UNICODE_SCRIPT_INHERITED: TGUnicodeScript = 1; 783 G_UNICODE_SCRIPT_ARABIC: TGUnicodeScript = 2; 784 G_UNICODE_SCRIPT_ARMENIAN: TGUnicodeScript = 3; 785 G_UNICODE_SCRIPT_BENGALI: TGUnicodeScript = 4; 786 G_UNICODE_SCRIPT_BOPOMOFO: TGUnicodeScript = 5; 787 G_UNICODE_SCRIPT_CHEROKEE: TGUnicodeScript = 6; 788 G_UNICODE_SCRIPT_COPTIC: TGUnicodeScript = 7; 789 G_UNICODE_SCRIPT_CYRILLIC: TGUnicodeScript = 8; 790 G_UNICODE_SCRIPT_DESERET: TGUnicodeScript = 9; 791 G_UNICODE_SCRIPT_DEVANAGARI: TGUnicodeScript = 10; 792 G_UNICODE_SCRIPT_ETHIOPIC: TGUnicodeScript = 11; 793 G_UNICODE_SCRIPT_GEORGIAN: TGUnicodeScript = 12; 794 G_UNICODE_SCRIPT_GOTHIC: TGUnicodeScript = 13; 795 G_UNICODE_SCRIPT_GREEK: TGUnicodeScript = 14; 796 G_UNICODE_SCRIPT_GUJARATI: TGUnicodeScript = 15; 797 G_UNICODE_SCRIPT_GURMUKHI: TGUnicodeScript = 16; 798 G_UNICODE_SCRIPT_HAN: TGUnicodeScript = 17; 799 G_UNICODE_SCRIPT_HANGUL: TGUnicodeScript = 18; 800 G_UNICODE_SCRIPT_HEBREW: TGUnicodeScript = 19; 801 G_UNICODE_SCRIPT_HIRAGANA: TGUnicodeScript = 20; 802 G_UNICODE_SCRIPT_KANNADA: TGUnicodeScript = 21; 803 G_UNICODE_SCRIPT_KATAKANA: TGUnicodeScript = 22; 804 G_UNICODE_SCRIPT_KHMER: TGUnicodeScript = 23; 805 G_UNICODE_SCRIPT_LAO: TGUnicodeScript = 24; 806 G_UNICODE_SCRIPT_LATIN: TGUnicodeScript = 25; 807 G_UNICODE_SCRIPT_MALAYALAM: TGUnicodeScript = 26; 808 G_UNICODE_SCRIPT_MONGOLIAN: TGUnicodeScript = 27; 809 G_UNICODE_SCRIPT_MYANMAR: TGUnicodeScript = 28; 810 G_UNICODE_SCRIPT_OGHAM: TGUnicodeScript = 29; 811 G_UNICODE_SCRIPT_OLD_ITALIC: TGUnicodeScript = 30; 812 G_UNICODE_SCRIPT_ORIYA: TGUnicodeScript = 31; 813 G_UNICODE_SCRIPT_RUNIC: TGUnicodeScript = 32; 814 G_UNICODE_SCRIPT_SINHALA: TGUnicodeScript = 33; 815 G_UNICODE_SCRIPT_SYRIAC: TGUnicodeScript = 34; 816 G_UNICODE_SCRIPT_TAMIL: TGUnicodeScript = 35; 817 G_UNICODE_SCRIPT_TELUGU: TGUnicodeScript = 36; 818 G_UNICODE_SCRIPT_THAANA: TGUnicodeScript = 37; 819 G_UNICODE_SCRIPT_THAI: TGUnicodeScript = 38; 820 G_UNICODE_SCRIPT_TIBETAN: TGUnicodeScript = 39; 821 G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL: TGUnicodeScript = 40; 822 G_UNICODE_SCRIPT_YI: TGUnicodeScript = 41; 823 G_UNICODE_SCRIPT_TAGALOG: TGUnicodeScript = 42; 824 G_UNICODE_SCRIPT_HANUNOO: TGUnicodeScript = 43; 825 G_UNICODE_SCRIPT_BUHID: TGUnicodeScript = 44; 826 G_UNICODE_SCRIPT_TAGBANWA: TGUnicodeScript = 45; 827 G_UNICODE_SCRIPT_BRAILLE: TGUnicodeScript = 46; 828 G_UNICODE_SCRIPT_CYPRIOT: TGUnicodeScript = 47; 829 G_UNICODE_SCRIPT_LIMBU: TGUnicodeScript = 48; 830 G_UNICODE_SCRIPT_OSMANYA: TGUnicodeScript = 49; 831 G_UNICODE_SCRIPT_SHAVIAN: TGUnicodeScript = 50; 832 G_UNICODE_SCRIPT_LINEAR_B: TGUnicodeScript = 51; 833 G_UNICODE_SCRIPT_TAI_LE: TGUnicodeScript = 52; 834 G_UNICODE_SCRIPT_UGARITIC: TGUnicodeScript = 53; 835 G_UNICODE_SCRIPT_NEW_TAI_LUE: TGUnicodeScript = 54; 836 G_UNICODE_SCRIPT_BUGINESE: TGUnicodeScript = 55; 837 G_UNICODE_SCRIPT_GLAGOLITIC: TGUnicodeScript = 56; 838 G_UNICODE_SCRIPT_TIFINAGH: TGUnicodeScript = 57; 839 G_UNICODE_SCRIPT_SYLOTI_NAGRI: TGUnicodeScript = 58; 840 G_UNICODE_SCRIPT_OLD_PERSIAN: TGUnicodeScript = 59; 841 G_UNICODE_SCRIPT_KHAROSHTHI: TGUnicodeScript = 60; 842 G_UNICODE_SCRIPT_UNKNOWN: TGUnicodeScript = 61; 843 G_UNICODE_SCRIPT_BALINESE: TGUnicodeScript = 62; 844 G_UNICODE_SCRIPT_CUNEIFORM: TGUnicodeScript = 63; 845 G_UNICODE_SCRIPT_PHOENICIAN: TGUnicodeScript = 64; 846 G_UNICODE_SCRIPT_PHAGS_PA: TGUnicodeScript = 65; 847 G_UNICODE_SCRIPT_NKO: TGUnicodeScript = 66; 848 G_UNICODE_SCRIPT_KAYAH_LI: TGUnicodeScript = 67; 849 G_UNICODE_SCRIPT_LEPCHA: TGUnicodeScript = 68; 850 G_UNICODE_SCRIPT_REJANG: TGUnicodeScript = 69; 851 G_UNICODE_SCRIPT_SUNDANESE: TGUnicodeScript = 70; 852 G_UNICODE_SCRIPT_SAURASHTRA: TGUnicodeScript = 71; 853 G_UNICODE_SCRIPT_CHAM: TGUnicodeScript = 72; 854 G_UNICODE_SCRIPT_OL_CHIKI: TGUnicodeScript = 73; 855 G_UNICODE_SCRIPT_VAI: TGUnicodeScript = 74; 856 G_UNICODE_SCRIPT_CARIAN: TGUnicodeScript = 75; 857 G_UNICODE_SCRIPT_LYCIAN: TGUnicodeScript = 76; 858 G_UNICODE_SCRIPT_LYDIAN: TGUnicodeScript = 77; 859 G_UNICODE_SCRIPT_AVESTAN: TGUnicodeScript = 78; 860 G_UNICODE_SCRIPT_BAMUM: TGUnicodeScript = 79; 861 G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS: TGUnicodeScript = 80; 862 G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC: TGUnicodeScript = 81; 863 G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI: TGUnicodeScript = 82; 864 G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN: TGUnicodeScript = 83; 865 G_UNICODE_SCRIPT_JAVANESE: TGUnicodeScript = 84; 866 G_UNICODE_SCRIPT_KAITHI: TGUnicodeScript = 85; 867 G_UNICODE_SCRIPT_LISU: TGUnicodeScript = 86; 868 G_UNICODE_SCRIPT_MEETEI_MAYEK: TGUnicodeScript = 87; 869 G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN: TGUnicodeScript = 88; 870 G_UNICODE_SCRIPT_OLD_TURKIC: TGUnicodeScript = 89; 871 G_UNICODE_SCRIPT_SAMARITAN: TGUnicodeScript = 90; 872 G_UNICODE_SCRIPT_TAI_THAM: TGUnicodeScript = 91; 873 G_UNICODE_SCRIPT_TAI_VIET: TGUnicodeScript = 92; 874 G_UNICODE_SCRIPT_BATAK: TGUnicodeScript = 93; 875 G_UNICODE_SCRIPT_BRAHMI: TGUnicodeScript = 94; 876 G_UNICODE_SCRIPT_MANDAIC: TGUnicodeScript = 95; 877 G_UNICODE_SCRIPT_CHAKMA: TGUnicodeScript = 96; 878 G_UNICODE_SCRIPT_MEROITIC_CURSIVE: TGUnicodeScript = 97; 879 G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS: TGUnicodeScript = 98; 880 G_UNICODE_SCRIPT_MIAO: TGUnicodeScript = 99; 881 G_UNICODE_SCRIPT_SHARADA: TGUnicodeScript = 100; 882 G_UNICODE_SCRIPT_SORA_SOMPENG: TGUnicodeScript = 101; 883 G_UNICODE_SCRIPT_TAKRI: TGUnicodeScript = 102; 884 885 type 886 TGUnicodeType = Integer; 887 const 888 { GUnicodeType } 889 G_UNICODE_CONTROL: TGUnicodeType = 0; 890 G_UNICODE_FORMAT: TGUnicodeType = 1; 891 G_UNICODE_UNASSIGNED: TGUnicodeType = 2; 892 G_UNICODE_PRIVATE_USE: TGUnicodeType = 3; 893 G_UNICODE_SURROGATE: TGUnicodeType = 4; 894 G_UNICODE_LOWERCASE_LETTER: TGUnicodeType = 5; 895 G_UNICODE_MODIFIER_LETTER: TGUnicodeType = 6; 896 G_UNICODE_OTHER_LETTER: TGUnicodeType = 7; 897 G_UNICODE_TITLECASE_LETTER: TGUnicodeType = 8; 898 G_UNICODE_UPPERCASE_LETTER: TGUnicodeType = 9; 899 G_UNICODE_SPACING_MARK: TGUnicodeType = 10; 900 G_UNICODE_ENCLOSING_MARK: TGUnicodeType = 11; 901 G_UNICODE_NON_SPACING_MARK: TGUnicodeType = 12; 902 G_UNICODE_DECIMAL_NUMBER: TGUnicodeType = 13; 903 G_UNICODE_LETTER_NUMBER: TGUnicodeType = 14; 904 G_UNICODE_OTHER_NUMBER: TGUnicodeType = 15; 905 G_UNICODE_CONNECT_PUNCTUATION: TGUnicodeType = 16; 906 G_UNICODE_DASH_PUNCTUATION: TGUnicodeType = 17; 907 G_UNICODE_CLOSE_PUNCTUATION: TGUnicodeType = 18; 908 G_UNICODE_FINAL_PUNCTUATION: TGUnicodeType = 19; 909 G_UNICODE_INITIAL_PUNCTUATION: TGUnicodeType = 20; 910 G_UNICODE_OTHER_PUNCTUATION: TGUnicodeType = 21; 911 G_UNICODE_OPEN_PUNCTUATION: TGUnicodeType = 22; 912 G_UNICODE_CURRENCY_SYMBOL: TGUnicodeType = 23; 913 G_UNICODE_MODIFIER_SYMBOL: TGUnicodeType = 24; 914 G_UNICODE_MATH_SYMBOL: TGUnicodeType = 25; 915 G_UNICODE_OTHER_SYMBOL: TGUnicodeType = 26; 916 G_UNICODE_LINE_SEPARATOR: TGUnicodeType = 27; 917 G_UNICODE_PARAGRAPH_SEPARATOR: TGUnicodeType = 28; 918 G_UNICODE_SPACE_SEPARATOR: TGUnicodeType = 29; 919 920 type 921 TGUserDirectory = Integer; 922 const 923 { GUserDirectory } 924 G_USER_DIRECTORY_DESKTOP: TGUserDirectory = 0; 925 G_USER_DIRECTORY_DOCUMENTS: TGUserDirectory = 1; 926 G_USER_DIRECTORY_DOWNLOAD: TGUserDirectory = 2; 927 G_USER_DIRECTORY_MUSIC: TGUserDirectory = 3; 928 G_USER_DIRECTORY_PICTURES: TGUserDirectory = 4; 929 G_USER_DIRECTORY_PUBLIC_SHARE: TGUserDirectory = 5; 930 G_USER_DIRECTORY_TEMPLATES: TGUserDirectory = 6; 931 G_USER_DIRECTORY_VIDEOS: TGUserDirectory = 7; 932 G_USER_N_DIRECTORIES: TGUserDirectory = 8; 933 934 type 935 TGVariantClass = Integer; 936 const 937 { GVariantClass } 938 G_VARIANT_CLASS_BOOLEAN: TGVariantClass = 98; 939 G_VARIANT_CLASS_BYTE: TGVariantClass = 121; 940 G_VARIANT_CLASS_INT16: TGVariantClass = 110; 941 G_VARIANT_CLASS_UINT16: TGVariantClass = 113; 942 G_VARIANT_CLASS_INT32: TGVariantClass = 105; 943 G_VARIANT_CLASS_UINT32: TGVariantClass = 117; 944 G_VARIANT_CLASS_INT64: TGVariantClass = 120; 945 G_VARIANT_CLASS_UINT64: TGVariantClass = 116; 946 G_VARIANT_CLASS_HANDLE: TGVariantClass = 104; 947 G_VARIANT_CLASS_DOUBLE: TGVariantClass = 100; 948 G_VARIANT_CLASS_STRING: TGVariantClass = 115; 949 G_VARIANT_CLASS_OBJECT_PATH: TGVariantClass = 111; 950 G_VARIANT_CLASS_SIGNATURE: TGVariantClass = 103; 951 G_VARIANT_CLASS_VARIANT: TGVariantClass = 118; 952 G_VARIANT_CLASS_MAYBE: TGVariantClass = 109; 953 G_VARIANT_CLASS_ARRAY: TGVariantClass = 97; 954 G_VARIANT_CLASS_TUPLE: TGVariantClass = 40; 955 G_VARIANT_CLASS_DICT_ENTRY: TGVariantClass = 123; 956 957 type 958 TGVariantParseError = Integer; 959 const 960 { GVariantParseError } 961 G_VARIANT_PARSE_ERROR_FAILED: TGVariantParseError = 0; 962 G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED: TGVariantParseError = 1; 963 G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE: TGVariantParseError = 2; 964 G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED: TGVariantParseError = 3; 965 G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END: TGVariantParseError = 4; 966 G_VARIANT_PARSE_ERROR_INVALID_CHARACTER: TGVariantParseError = 5; 967 G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING: TGVariantParseError = 6; 968 G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH: TGVariantParseError = 7; 969 G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE: TGVariantParseError = 8; 970 G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING: TGVariantParseError = 9; 971 G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE: TGVariantParseError = 10; 972 G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE: TGVariantParseError = 11; 973 G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG: TGVariantParseError = 12; 974 G_VARIANT_PARSE_ERROR_TYPE_ERROR: TGVariantParseError = 13; 975 G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN: TGVariantParseError = 14; 976 G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD: TGVariantParseError = 15; 977 G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT: TGVariantParseError = 16; 978 G_VARIANT_PARSE_ERROR_VALUE_EXPECTED: TGVariantParseError = 17; 979 type 980 guint1 = 0..(1 shl 1-1); 981 guint2 = 0..(1 shl 2-1); 982 guint3 = 0..(1 shl 3-1); 983 guint4 = 0..(1 shl 4-1); 984 guint5 = 0..(1 shl 5-1); 985 guint6 = 0..(1 shl 6-1); 986 guint7 = 0..(1 shl 7-1); 987 guint9 = 0..(1 shl 9-1); 988 guint10 = 0..(1 shl 10-1); 989 guint11 = 0..(1 shl 11-1); 990 guint12 = 0..(1 shl 12-1); 991 guint13 = 0..(1 shl 13-1); 992 guint14 = 0..(1 shl 14-1); 993 guint15 = 0..(1 shl 15-1); 994 guint17 = 0..(1 shl 17-1); 995 guint18 = 0..(1 shl 18-1); 996 guint19 = 0..(1 shl 19-1); 997 guint20 = 0..(1 shl 20-1); 998 guint21 = 0..(1 shl 21-1); 999 guint22 = 0..(1 shl 22-1); 1000 guint23 = 0..(1 shl 23-1); 1001 guint24 = 0..(1 shl 24-1); 1002 guint25 = 0..(1 shl 25-1); 1003 guint26 = 0..(1 shl 26-1); 1004 guint27 = 0..(1 shl 27-1); 1005 guint28 = 0..(1 shl 28-1); 1006 guint29 = 0..(1 shl 29-1); 1007 guint30 = 0..(1 shl 30-1); 1008 guint31 = 0..(1 shl 31-1); 1009 gpointer = pointer; 1010 int = cint; 1011 gint = cint; 1012 guint = cuint; 1013 guint8 = cuint8; 1014 guint16 = cuint16; 1015 guint32 = cuint32; 1016 guint64 = cuint64; 1017 gint8 = cint8; 1018 gint16 = cint16; 1019 gint32 = cint32; 1020 gint64 = cint64; 1021 gsize = csize_t; 1022 glong = clong; 1023 gulong = culong; 1024 gushort = cushort; 1025 gshort = cshort; 1026 gchar = char; 1027 guchar = byte; 1028 gboolean = Boolean32; 1029 gssize = PtrInt; 1030 size_t = csize_t; 1031 gconstpointer = gpointer; 1032 gfloat = cfloat; 1033 gdouble = cdouble; 1034 double = cdouble; 1035 goffset = Int64; 1036 long_double = Extended; 1037 gunichar = guint32; 1038 gunichar2 = guint32; 1039 unsigned_long_long = qword; 1040 1041 PPGDateDay = ^PGDateDay; 1042 PGDateDay = ^TGDateDay; 1043 TGDateDay = guint8; 1044 1045 PPGDateYear = ^PGDateYear; 1046 PGDateYear = ^TGDateYear; 1047 TGDateYear = guint16; 1048 1049 PPGPid = ^PGPid; 1050 PGPid = ^TGPid; 1051 TGPid = gint; 1052 1053 PPGQuark = ^PGQuark; 1054 PGQuark = ^TGQuark; 1055 TGQuark = guint32; 1056 1057 PPGStrv = ^PGStrv; 1058 PGStrv = ^TGStrv; 1059 TGStrv = gpointer; 1060 1061 PPGTime = ^PGTime; 1062 PGTime = ^TGTime; 1063 TGTime = gint32; 1064 1065 PPGTimeSpan = ^PGTimeSpan; 1066 PGTimeSpan = ^TGTimeSpan; 1067 TGTimeSpan = gint64; 1068 1069 PPPGType = ^PPGType; 1070 PPGType = ^PGType; 1071 PGType = ^TGType; 1072 TGType = gsize; 1073 1074 PPPgpointer = ^PPgpointer; 1075 PPgpointer = ^Pgpointer; 1076 Pgpointer = ^gpointer; 1077 TGDestroyNotify = procedure(data: gpointer); cdecl; 1078 1079 PPPgint = ^PPgint; 1080 PPgint = ^Pgint; 1081 Pgint = ^gint; 1082 TGCompareFunc = function(a: Pgpointer; b: Pgpointer): gint; cdecl; 1083 TGCompareDataFunc = function(a: Pgpointer; b: Pgpointer; user_data: gpointer): gint; cdecl; 1084 1085 PPGArray = ^PGArray; 1086 PGArray = ^TGArray; 1087 1088 PPPguint = ^PPguint; 1089 PPguint = ^Pguint; 1090 Pguint = ^guint; 1091 1092 PPPgchar = ^PPgchar; 1093 PPgchar = ^Pgchar; 1094 Pgchar = ^gchar; 1095 1096 PPPgboolean = ^PPgboolean; 1097 PPgboolean = ^Pgboolean; 1098 Pgboolean = ^gboolean; 1099 1100 PPGDestroyNotify = ^PGDestroyNotify; 1101 PGDestroyNotify = ^TGDestroyNotify; 1102 1103 PPGCompareFunc = ^PGCompareFunc; 1104 PGCompareFunc = ^TGCompareFunc; 1105 1106 PPGCompareDataFunc = ^PGCompareDataFunc; 1107 PGCompareDataFunc = ^TGCompareDataFunc; 1108 TGArray = object 1109 data: Pgchar; 1110 len: guint; append_valsnull1111 function append_vals(array_: Pgpointer; data: Pgpointer; len: guint): Pgpointer; cdecl; inline; static; freenull1112 function free(array_: Pgpointer; free_segment: gboolean): Pgchar; cdecl; inline; static; get_element_sizenull1113 function get_element_size(array_: Pgpointer): guint; cdecl; inline; static; insert_valsnull1114 function insert_vals(array_: Pgpointer; index_: guint; data: Pgpointer; len: guint): Pgpointer; cdecl; inline; static; newnull1115 function new(zero_terminated: gboolean; clear_: gboolean; element_size: guint): Pgpointer; cdecl; inline; static; prepend_valsnull1116 function prepend_vals(array_: Pgpointer; data: Pgpointer; len: guint): Pgpointer; cdecl; inline; static; refnull1117 function ref(array_: Pgpointer): Pgpointer; cdecl; inline; static; remove_indexnull1118 function remove_index(array_: Pgpointer; index_: guint): Pgpointer; cdecl; inline; static; remove_index_fastnull1119 function remove_index_fast(array_: Pgpointer; index_: guint): Pgpointer; cdecl; inline; static; remove_rangenull1120 function remove_range(array_: Pgpointer; index_: guint; length: guint): Pgpointer; cdecl; inline; static; 1121 procedure set_clear_func(array_: Pgpointer; clear_func: TGDestroyNotify); cdecl; inline; static; set_sizenull1122 function set_size(array_: Pgpointer; length: guint): Pgpointer; cdecl; inline; static; sized_newnull1123 function sized_new(zero_terminated: gboolean; clear_: gboolean; element_size: guint; reserved_size: guint): Pgpointer; cdecl; inline; static; 1124 procedure sort(array_: Pgpointer; compare_func: TGCompareFunc); cdecl; inline; static; 1125 procedure sort_with_data(array_: Pgpointer; compare_func: TGCompareDataFunc; user_data: gpointer); cdecl; inline; static; 1126 procedure unref(array_: Pgpointer); cdecl; inline; static; 1127 end; 1128 1129 PPGAsciiType = ^PGAsciiType; 1130 PGAsciiType = ^TGAsciiType; 1131 1132 PPGAsyncQueue = ^PGAsyncQueue; 1133 PGAsyncQueue = ^TGAsyncQueue; 1134 1135 PPPguint64 = ^PPguint64; 1136 PPguint64 = ^Pguint64; 1137 Pguint64 = ^guint64; 1138 TGAsyncQueue = object lengthnull1139 function length: gint; cdecl; inline; length_unlockednull1140 function length_unlocked: gint; cdecl; inline; 1141 procedure lock; cdecl; inline; popnull1142 function pop: gpointer; cdecl; inline; pop_unlockednull1143 function pop_unlocked: gpointer; cdecl; inline; 1144 procedure push(data: gpointer); cdecl; inline; 1145 procedure push_sorted(data: gpointer; func: TGCompareDataFunc; user_data: gpointer); cdecl; inline; 1146 procedure push_sorted_unlocked(data: gpointer; func: TGCompareDataFunc; user_data: gpointer); cdecl; inline; 1147 procedure push_unlocked(data: gpointer); cdecl; inline; refnull1148 function ref: PGAsyncQueue; cdecl; inline; 1149 procedure sort(func: TGCompareDataFunc; user_data: gpointer); cdecl; inline; 1150 procedure sort_unlocked(func: TGCompareDataFunc; user_data: gpointer); cdecl; inline; timeout_popnull1151 function timeout_pop(timeout: guint64): gpointer; cdecl; inline; timeout_pop_unlockednull1152 function timeout_pop_unlocked(timeout: guint64): gpointer; cdecl; inline; try_popnull1153 function try_pop: gpointer; cdecl; inline; try_pop_unlockednull1154 function try_pop_unlocked: gpointer; cdecl; inline; 1155 procedure unlock; cdecl; inline; 1156 procedure unref; cdecl; inline; newnull1157 function new: PGAsyncQueue; cdecl; inline; static; new_fullnull1158 function new_full(item_free_func: TGDestroyNotify): PGAsyncQueue; cdecl; inline; static; 1159 end; 1160 1161 PPGTimeVal = ^PGTimeVal; 1162 PGTimeVal = ^TGTimeVal; 1163 1164 PPPglong = ^PPglong; 1165 PPglong = ^Pglong; 1166 Pglong = ^glong; 1167 TGTimeVal = object 1168 tv_sec: glong; 1169 tv_usec: glong; 1170 procedure add(microseconds: glong); cdecl; inline; to_iso8601null1171 function to_iso8601: Pgchar; cdecl; inline; from_iso8601null1172 function from_iso8601(iso_date: Pgchar; time_: PGTimeVal): gboolean; cdecl; inline; static; 1173 end; 1174 1175 PPGBookmarkFile = ^PGBookmarkFile; 1176 PGBookmarkFile = ^TGBookmarkFile; 1177 1178 PPGError = ^PGError; 1179 PGError = ^TGError; 1180 1181 PPPgsize = ^PPgsize; 1182 PPgsize = ^Pgsize; 1183 Pgsize = ^gsize; 1184 TGBookmarkFile = object 1185 procedure add_application(uri: Pgchar; name: Pgchar; exec: Pgchar); cdecl; inline; 1186 procedure add_group(uri: Pgchar; group: Pgchar); cdecl; inline; 1187 procedure free; cdecl; inline; get_addednull1188 function get_added(uri: Pgchar; error: PPGError): glong; cdecl; inline; get_app_infonull1189 function get_app_info(uri: Pgchar; name: Pgchar; exec: PPgchar; count: Pguint; stamp: Pglong; error: PPGError): gboolean; cdecl; inline; get_applicationsnull1190 function get_applications(uri: Pgchar; length: Pgsize; error: PPGError): PPgchar; cdecl; inline; get_descriptionnull1191 function get_description(uri: Pgchar; error: PPGError): Pgchar; cdecl; inline; get_groupsnull1192 function get_groups(uri: Pgchar; length: Pgsize; error: PPGError): PPgchar; cdecl; inline; get_iconnull1193 function get_icon(uri: Pgchar; href: PPgchar; mime_type: PPgchar; error: PPGError): gboolean; cdecl; inline; get_is_privatenull1194 function get_is_private(uri: Pgchar; error: PPGError): gboolean; cdecl; inline; get_mime_typenull1195 function get_mime_type(uri: Pgchar; error: PPGError): Pgchar; cdecl; inline; get_modifiednull1196 function get_modified(uri: Pgchar; error: PPGError): glong; cdecl; inline; get_sizenull1197 function get_size: gint; cdecl; inline; get_titlenull1198 function get_title(uri: Pgchar; error: PPGError): Pgchar; cdecl; inline; get_urisnull1199 function get_uris(length: Pgsize): PPgchar; cdecl; inline; get_visitednull1200 function get_visited(uri: Pgchar; error: PPGError): glong; cdecl; inline; has_applicationnull1201 function has_application(uri: Pgchar; name: Pgchar; error: PPGError): gboolean; cdecl; inline; has_groupnull1202 function has_group(uri: Pgchar; group: Pgchar; error: PPGError): gboolean; cdecl; inline; has_itemnull1203 function has_item(uri: Pgchar): gboolean; cdecl; inline; load_from_datanull1204 function load_from_data(data: Pgchar; length: gsize; error: PPGError): gboolean; cdecl; inline; load_from_data_dirsnull1205 function load_from_data_dirs(file_: Pgchar; full_path: PPgchar; error: PPGError): gboolean; cdecl; inline; load_from_filenull1206 function load_from_file(filename: Pgchar; error: PPGError): gboolean; cdecl; inline; move_itemnull1207 function move_item(old_uri: Pgchar; new_uri: Pgchar; error: PPGError): gboolean; cdecl; inline; remove_applicationnull1208 function remove_application(uri: Pgchar; name: Pgchar; error: PPGError): gboolean; cdecl; inline; remove_groupnull1209 function remove_group(uri: Pgchar; group: Pgchar; error: PPGError): gboolean; cdecl; inline; remove_itemnull1210 function remove_item(uri: Pgchar; error: PPGError): gboolean; cdecl; inline; 1211 procedure set_added(uri: Pgchar; added: glong); cdecl; inline; set_app_infonull1212 function set_app_info(uri: Pgchar; name: Pgchar; exec: Pgchar; count: gint; stamp: glong; error: PPGError): gboolean; cdecl; inline; 1213 procedure set_description(uri: Pgchar; description: Pgchar); cdecl; inline; 1214 procedure set_groups(uri: Pgchar; groups: PPgchar; length: gsize); cdecl; inline; 1215 procedure set_icon(uri: Pgchar; href: Pgchar; mime_type: Pgchar); cdecl; inline; 1216 procedure set_is_private(uri: Pgchar; is_private: gboolean); cdecl; inline; 1217 procedure set_mime_type(uri: Pgchar; mime_type: Pgchar); cdecl; inline; 1218 procedure set_modified(uri: Pgchar; modified: glong); cdecl; inline; 1219 procedure set_title(uri: Pgchar; title: Pgchar); cdecl; inline; 1220 procedure set_visited(uri: Pgchar; visited: glong); cdecl; inline; to_datanull1221 function to_data(length: Pgsize; error: PPGError): Pgchar; cdecl; inline; to_filenull1222 function to_file(filename: Pgchar; error: PPGError): gboolean; cdecl; inline; error_quarknull1223 function error_quark: TGQuark; cdecl; inline; static; newnull1224 function new: PGBookmarkFile; cdecl; inline; static; 1225 end; 1226 1227 Pva_list = ^Tva_list; 1228 1229 { va_list } 1230 Tva_list = record 1231 { opaque type } 1232 Unknown: Pointer; 1233 end; 1234 1235 TGError = object 1236 domain: TGQuark; 1237 code: gint; 1238 message: Pgchar; newnull1239 //function new(domain: TGQuark; code: gint; format: Pgchar; args: array of const): PGError; cdecl; inline; static; 1240 function new_literal(domain: TGQuark; code: gint; message: Pgchar): PGError; cdecl; inline; static; new_valistnull1241 //function new_valist(domain: TGQuark; code: gint; format: Pgchar; args: Tva_list): PGError; cdecl; inline; static; 1242 function copy: PGError; cdecl; inline; 1243 procedure free; cdecl; inline; matchesnull1244 function matches(domain: TGQuark; code: gint): gboolean; cdecl; inline; 1245 end; 1246 1247 PPGBookmarkFileError = ^PGBookmarkFileError; 1248 PGBookmarkFileError = ^TGBookmarkFileError; 1249 1250 PPGBytes = ^PGBytes; 1251 PGBytes = ^TGBytes; 1252 1253 PPPguint8 = ^PPguint8; 1254 PPguint8 = ^Pguint8; 1255 Pguint8 = ^guint8; 1256 TGBytes = object newnull1257 function new(data: guint8; size: gsize): PGBytes; cdecl; inline; static; new_staticnull1258 function new_static(data: guint8; size: gsize): PGBytes; cdecl; inline; static; new_takenull1259 function new_take(data: guint8; size: gsize): PGBytes; cdecl; inline; static; new_with_free_funcnull1260 function new_with_free_func(data: gpointer; size: gsize; free_func: TGDestroyNotify; user_data: gpointer): PGBytes; cdecl; inline; static; comparenull1261 function compare(bytes2: PGBytes): gint; cdecl; inline; equalnull1262 function equal(bytes2: PGBytes): gboolean; cdecl; inline; get_datanull1263 function get_data(size: Pgsize): guint8; cdecl; inline; get_sizenull1264 function get_size: gsize; cdecl; inline; hashnull1265 function hash: guint; cdecl; inline; new_from_bytesnull1266 function new_from_bytes(offset: gsize; length: gsize): PGBytes; cdecl; inline; refnull1267 function ref: PGBytes; cdecl; inline; 1268 procedure unref; cdecl; inline; unref_to_arraynull1269 function unref_to_array: Pguint8; cdecl; inline; unref_to_datanull1270 function unref_to_data(size: Pgsize): gpointer; cdecl; inline; 1271 end; 1272 1273 PPGByteArray = ^PGByteArray; 1274 PGByteArray = ^TGByteArray; 1275 TGByteArray = object 1276 data: Pguint8; 1277 len: guint; appendnull1278 function append(array_: Pguint8; data: Pguint8; len: guint): Pguint8; cdecl; inline; static; freenull1279 function free(array_: Pguint8; free_segment: gboolean): Pguint8; cdecl; inline; static; free_to_bytesnull1280 function free_to_bytes(array_: Pguint8): PGBytes; cdecl; inline; static; newnull1281 function new: Pguint8; cdecl; inline; static; new_takenull1282 function new_take(data: Pguint8; len: gsize): Pguint8; cdecl; inline; static; prependnull1283 function prepend(array_: Pguint8; data: Pguint8; len: guint): Pguint8; cdecl; inline; static; refnull1284 function ref(array_: Pguint8): Pguint8; cdecl; inline; static; remove_indexnull1285 function remove_index(array_: Pguint8; index_: guint): Pguint8; cdecl; inline; static; remove_index_fastnull1286 function remove_index_fast(array_: Pguint8; index_: guint): Pguint8; cdecl; inline; static; remove_rangenull1287 function remove_range(array_: Pguint8; index_: guint; length: guint): Pguint8; cdecl; inline; static; set_sizenull1288 function set_size(array_: Pguint8; length: guint): Pguint8; cdecl; inline; static; sized_newnull1289 function sized_new(reserved_size: guint): Pguint8; cdecl; inline; static; 1290 procedure sort(array_: Pguint8; compare_func: TGCompareFunc); cdecl; inline; static; 1291 procedure sort_with_data(array_: Pguint8; compare_func: TGCompareDataFunc; user_data: gpointer); cdecl; inline; static; 1292 procedure unref(array_: Pguint8); cdecl; inline; static; 1293 end; 1294 1295 PPGChecksum = ^PGChecksum; 1296 PGChecksum = ^TGChecksum; 1297 1298 PPGChecksumType = ^PGChecksumType; 1299 PGChecksumType = ^TGChecksumType; 1300 1301 PPPgssize = ^PPgssize; 1302 PPgssize = ^Pgssize; 1303 Pgssize = ^gssize; 1304 TGChecksum = object newnull1305 function new(checksum_type: TGChecksumType): PGChecksum; cdecl; inline; static; copynull1306 function copy: PGChecksum; cdecl; inline; 1307 procedure free; cdecl; inline; 1308 procedure get_digest(buffer: Pguint8; digest_len: Pgsize); cdecl; inline; get_stringnull1309 function get_string: Pgchar; cdecl; inline; 1310 procedure reset; cdecl; inline; 1311 procedure update(data: Pguint8; length: gssize); cdecl; inline; type_get_lengthnull1312 function type_get_length(checksum_type: TGChecksumType): gssize; cdecl; inline; static; 1313 end; 1314 TGChildWatchFunc = procedure(pid: TGPid; status: gint; user_data: gpointer); cdecl; 1315 1316 PPGCond = ^PGCond; 1317 PGCond = ^TGCond; 1318 1319 PPGMutex = ^PGMutex; 1320 PGMutex = ^TGMutex; 1321 1322 PPPgint64 = ^PPgint64; 1323 PPgint64 = ^Pgint64; 1324 Pgint64 = ^gint64; 1325 TGCond = object 1326 p: gpointer; 1327 i: array [0..1] of guint; 1328 procedure broadcast; cdecl; inline; 1329 procedure clear; cdecl; inline; 1330 procedure init; cdecl; inline; 1331 procedure signal; cdecl; inline; 1332 procedure wait(mutex: PGMutex); cdecl; inline; wait_untilnull1333 function wait_until(mutex: PGMutex; end_time: gint64): gboolean; cdecl; inline; 1334 end; 1335 TGMutex = record 1336 case longint of 1337 0 : (p: gpointer); 1338 1 : (i: array [0..1] of guint); 1339 //procedure clear; cdecl; 1340 //procedure init; cdecl; 1341 //procedure lock; cdecl; trylocknull1342 //function trylock: gboolean; cdecl; 1343 //procedure unlock; cdecl; 1344 end; 1345 1346 1347 1348 PPGConvertError = ^PGConvertError; 1349 PGConvertError = ^TGConvertError; rcnull1350 TGCopyFunc = function(src: Pgpointer; data: gpointer): gpointer; cdecl; 1351 1352 PPGData = ^PGData; 1353 PGData = ^TGData; 1354 1355 TGData = record 1356 end; 1357 1358 1359 TGDataForeachFunc = procedure(key_id: TGQuark; data: gpointer; user_data: gpointer); cdecl; 1360 1361 PPGDate = ^PGDate; 1362 PGDate = ^TGDate; 1363 1364 PPGDateMonth = ^PGDateMonth; 1365 PGDateMonth = ^TGDateMonth; 1366 1367 PPPguint32 = ^PPguint32; 1368 PPguint32 = ^Pguint32; 1369 Pguint32 = ^guint32; 1370 1371 PPGDateWeekday = ^PGDateWeekday; 1372 PGDateWeekday = ^TGDateWeekday; 1373 TGDateBitfield0 = bitpacked record 1374 julian_days: guint32 { changed from guint to accomodate 32 bitsize requirement }; 1375 julian: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1376 dmy: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1377 day: guint6 { changed from guint to accomodate 6 bitsize requirement }; 1378 month: guint4 { changed from guint to accomodate 4 bitsize requirement }; 1379 year: guint16 { changed from guint to accomodate 16 bitsize requirement }; 1380 end; 1381 1382 TGDate = object 1383 Bitfield0 : TGDateBitfield0; { auto generated type } newnull1384 function new: PGDate; cdecl; inline; static; new_dmynull1385 function new_dmy(day: TGDateDay; month: TGDateMonth; year: TGDateYear): PGDate; cdecl; inline; static; new_juliannull1386 function new_julian(julian_day: guint32): PGDate; cdecl; inline; static; 1387 procedure add_days(n_days: guint); cdecl; inline; 1388 procedure add_months(n_months: guint); cdecl; inline; 1389 procedure add_years(n_years: guint); cdecl; inline; 1390 procedure clamp(min_date: PGDate; max_date: PGDate); cdecl; inline; 1391 procedure clear(n_dates: guint); cdecl; inline; comparenull1392 function compare(rhs: PGDate): gint; cdecl; inline; days_betweennull1393 function days_between(date2: PGDate): gint; cdecl; inline; 1394 procedure free; cdecl; inline; get_daynull1395 function get_day: TGDateDay; cdecl; inline; get_day_of_yearnull1396 function get_day_of_year: guint; cdecl; inline; get_iso8601_week_of_yearnull1397 function get_iso8601_week_of_year: guint; cdecl; inline; get_juliannull1398 function get_julian: guint32; cdecl; inline; get_monday_week_of_yearnull1399 function get_monday_week_of_year: guint; cdecl; inline; get_monthnull1400 function get_month: TGDateMonth; cdecl; inline; get_sunday_week_of_yearnull1401 function get_sunday_week_of_year: guint; cdecl; inline; get_weekdaynull1402 function get_weekday: TGDateWeekday; cdecl; inline; get_yearnull1403 function get_year: TGDateYear; cdecl; inline; is_first_of_monthnull1404 function is_first_of_month: gboolean; cdecl; inline; is_last_of_monthnull1405 function is_last_of_month: gboolean; cdecl; inline; 1406 procedure order(date2: PGDate); cdecl; inline; 1407 procedure set_day(day: TGDateDay); cdecl; inline; 1408 procedure set_dmy(day: TGDateDay; month: TGDateMonth; y: TGDateYear); cdecl; inline; 1409 procedure set_julian(julian_date: guint32); cdecl; inline; 1410 procedure set_month(month: TGDateMonth); cdecl; inline; 1411 procedure set_parse(str: Pgchar); cdecl; inline; 1412 procedure set_time_t(timet: glong); cdecl; inline; 1413 procedure set_time_val(timeval: PGTimeVal); cdecl; inline; 1414 procedure set_year(year: TGDateYear); cdecl; inline; 1415 procedure subtract_days(n_days: guint); cdecl; inline; 1416 procedure subtract_months(n_months: guint); cdecl; inline; 1417 procedure subtract_years(n_years: guint); cdecl; inline; 1418 procedure to_struct_tm(tm: Pgpointer); cdecl; inline; validnull1419 function valid: gboolean; cdecl; inline; get_days_in_monthnull1420 function get_days_in_month(month: TGDateMonth; year: TGDateYear): guint8; cdecl; inline; static; get_monday_weeks_in_yearnull1421 function get_monday_weeks_in_year(year: TGDateYear): guint8; cdecl; inline; static; get_sunday_weeks_in_yearnull1422 function get_sunday_weeks_in_year(year: TGDateYear): guint8; cdecl; inline; static; is_leap_yearnull1423 function is_leap_year(year: TGDateYear): gboolean; cdecl; inline; static; strftimenull1424 function strftime(s: Pgchar; slen: gsize; format: Pgchar; date: PGDate): gsize; cdecl; inline; static; valid_daynull1425 function valid_day(day: TGDateDay): gboolean; cdecl; inline; static; valid_dmynull1426 function valid_dmy(day: TGDateDay; month: TGDateMonth; year: TGDateYear): gboolean; cdecl; inline; static; valid_juliannull1427 function valid_julian(julian_date: guint32): gboolean; cdecl; inline; static; valid_monthnull1428 function valid_month(month: TGDateMonth): gboolean; cdecl; inline; static; valid_weekdaynull1429 function valid_weekday(weekday: TGDateWeekday): gboolean; cdecl; inline; static; valid_yearnull1430 function valid_year(year: TGDateYear): gboolean; cdecl; inline; static; 1431 end; 1432 1433 PPGDateDMY = ^PGDateDMY; 1434 PGDateDMY = ^TGDateDMY; 1435 1436 PPGDateTime = ^PGDateTime; 1437 PGDateTime = ^TGDateTime; 1438 1439 PPGTimeZone = ^PGTimeZone; 1440 PGTimeZone = ^TGTimeZone; 1441 1442 PPPgdouble = ^PPgdouble; 1443 PPgdouble = ^Pgdouble; 1444 Pgdouble = ^gdouble; 1445 TGDateTime = object newnull1446 function new(tz: PGTimeZone; year: gint; month: gint; day: gint; hour: gint; minute: gint; seconds: gdouble): PGDateTime; cdecl; inline; static; new_from_timeval_localnull1447 function new_from_timeval_local(tv: PGTimeVal): PGDateTime; cdecl; inline; static; new_from_timeval_utcnull1448 function new_from_timeval_utc(tv: PGTimeVal): PGDateTime; cdecl; inline; static; new_from_unix_localnull1449 function new_from_unix_local(t: gint64): PGDateTime; cdecl; inline; static; new_from_unix_utcnull1450 function new_from_unix_utc(t: gint64): PGDateTime; cdecl; inline; static; new_localnull1451 function new_local(year: gint; month: gint; day: gint; hour: gint; minute: gint; seconds: gdouble): PGDateTime; cdecl; inline; static; new_nownull1452 function new_now(tz: PGTimeZone): PGDateTime; cdecl; inline; static; new_now_localnull1453 function new_now_local: PGDateTime; cdecl; inline; static; new_now_utcnull1454 function new_now_utc: PGDateTime; cdecl; inline; static; new_utcnull1455 function new_utc(year: gint; month: gint; day: gint; hour: gint; minute: gint; seconds: gdouble): PGDateTime; cdecl; inline; static; addnull1456 function add(timespan: TGTimeSpan): PGDateTime; cdecl; inline; add_daysnull1457 function add_days(days: gint): PGDateTime; cdecl; inline; add_fullnull1458 function add_full(years: gint; months: gint; days: gint; hours: gint; minutes: gint; seconds: gdouble): PGDateTime; cdecl; inline; add_hoursnull1459 function add_hours(hours: gint): PGDateTime; cdecl; inline; add_minutesnull1460 function add_minutes(minutes: gint): PGDateTime; cdecl; inline; add_monthsnull1461 function add_months(months: gint): PGDateTime; cdecl; inline; add_secondsnull1462 function add_seconds(seconds: gdouble): PGDateTime; cdecl; inline; add_weeksnull1463 function add_weeks(weeks: gint): PGDateTime; cdecl; inline; add_yearsnull1464 function add_years(years: gint): PGDateTime; cdecl; inline; differencenull1465 function difference(begin_: PGDateTime): TGTimeSpan; cdecl; inline; formatnull1466 function format(format: Pgchar): Pgchar; cdecl; inline; get_day_of_monthnull1467 function get_day_of_month: gint; cdecl; inline; get_day_of_weeknull1468 function get_day_of_week: gint; cdecl; inline; get_day_of_yearnull1469 function get_day_of_year: gint; cdecl; inline; get_hournull1470 function get_hour: gint; cdecl; inline; get_microsecondnull1471 function get_microsecond: gint; cdecl; inline; get_minutenull1472 function get_minute: gint; cdecl; inline; get_monthnull1473 function get_month: gint; cdecl; inline; get_secondnull1474 function get_second: gint; cdecl; inline; get_secondsnull1475 function get_seconds: gdouble; cdecl; inline; get_timezone_abbreviationnull1476 function get_timezone_abbreviation: Pgchar; cdecl; inline; get_utc_offsetnull1477 function get_utc_offset: TGTimeSpan; cdecl; inline; get_week_numbering_yearnull1478 function get_week_numbering_year: gint; cdecl; inline; get_week_of_yearnull1479 function get_week_of_year: gint; cdecl; inline; get_yearnull1480 function get_year: gint; cdecl; inline; 1481 procedure get_ymd(year: Pgint; month: Pgint; day: Pgint); cdecl; inline; is_daylight_savingsnull1482 function is_daylight_savings: gboolean; cdecl; inline; refnull1483 function ref: PGDateTime; cdecl; inline; to_localnull1484 function to_local: PGDateTime; cdecl; inline; to_timevalnull1485 function to_timeval(tv: PGTimeVal): gboolean; cdecl; inline; to_timezonenull1486 function to_timezone(tz: PGTimeZone): PGDateTime; cdecl; inline; to_unixnull1487 function to_unix: gint64; cdecl; inline; to_utcnull1488 function to_utc: PGDateTime; cdecl; inline; 1489 procedure unref; cdecl; inline; comparenull1490 function compare(dt1: Pgpointer; dt2: Pgpointer): gint; cdecl; inline; static; equalnull1491 function equal(dt1: Pgpointer; dt2: Pgpointer): gboolean; cdecl; inline; static; hashnull1492 function hash(datetime: Pgpointer): guint; cdecl; inline; static; 1493 end; 1494 1495 PPGTimeType = ^PGTimeType; 1496 PGTimeType = ^TGTimeType; 1497 1498 PPPgint32 = ^PPgint32; 1499 PPgint32 = ^Pgint32; 1500 Pgint32 = ^gint32; 1501 TGTimeZone = object newnull1502 function new(identifier: Pgchar): PGTimeZone; cdecl; inline; static; new_localnull1503 function new_local: PGTimeZone; cdecl; inline; static; new_utcnull1504 function new_utc: PGTimeZone; cdecl; inline; static; adjust_timenull1505 function adjust_time(type_: TGTimeType; time_: Pgint64): gint; cdecl; inline; find_intervalnull1506 function find_interval(type_: TGTimeType; time_: gint64): gint; cdecl; inline; get_abbreviationnull1507 function get_abbreviation(interval: gint): Pgchar; cdecl; inline; get_offsetnull1508 function get_offset(interval: gint): gint32; cdecl; inline; is_dstnull1509 function is_dst(interval: gint): gboolean; cdecl; inline; refnull1510 function ref: PGTimeZone; cdecl; inline; 1511 procedure unref; cdecl; inline; 1512 end; 1513 1514 PPGDebugKey = ^PGDebugKey; 1515 PGDebugKey = ^TGDebugKey; 1516 1517 TGDebugKey = record 1518 key: Pgchar; 1519 value: guint; 1520 end; 1521 1522 1523 1524 PPGDir = ^PGDir; 1525 PGDir = ^TGDir; 1526 TGDir = object 1527 procedure close; cdecl; inline; read_namenull1528 function read_name: Pgchar; cdecl; inline; 1529 procedure rewind; cdecl; inline; make_tmpnull1530 function make_tmp(tmpl: Pgchar; error: PPGError): Pgchar; cdecl; inline; static; opennull1531 function open(path: Pgchar; flags: guint; error: PPGError): PGDir; cdecl; inline; static; 1532 end; 1533 TGDoubleIEEE754 = record 1534 case longint of 1535 0 : (v_double: gdouble); 1536 1 : ( 1537 mpn : record 1538 mantissa_low: guint32 { changed from guint to accomodate 32 bitsize requirement }; 1539 mantissa_high: guint20 { changed from guint to accomodate 20 bitsize requirement }; 1540 biased_exponent: guint11 { changed from guint to accomodate 11 bitsize requirement }; 1541 sign: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1542 end; 1543 1544 ); 1545 end; 1546 1547 atanull1548 TGDuplicateFunc = function(data: gpointer; user_data: gpointer): gpointer; cdecl; 1549 TGEqualFunc = function(a: Pgpointer; b: Pgpointer): gboolean; cdecl; 1550 1551 PPGErrorType = ^PGErrorType; 1552 PGErrorType = ^TGErrorType; 1553 1554 PPGFileError = ^PGFileError; 1555 PGFileError = ^TGFileError; 1556 1557 PPGFileTest = ^PGFileTest; 1558 PGFileTest = ^TGFileTest; 1559 1560 PPPgfloat = ^PPgfloat; 1561 PPgfloat = ^Pgfloat; 1562 Pgfloat = ^gfloat; 1563 TGFloatIEEE754 = record 1564 case longint of 1565 0 : (v_float: gfloat); 1566 1 : ( 1567 mpn : record 1568 mantissa: guint23 { changed from guint to accomodate 23 bitsize requirement }; 1569 biased_exponent: guint8 { changed from guint to accomodate 8 bitsize requirement }; 1570 sign: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1571 end; 1572 1573 ); 1574 end; 1575 1576 1577 1578 PPGFormatSizeFlags = ^PGFormatSizeFlags; 1579 PGFormatSizeFlags = ^TGFormatSizeFlags; 1580 TGFreeFunc = procedure(data: gpointer); cdecl; 1581 TGFunc = procedure(data: gpointer; user_data: gpointer); cdecl; 1582 TGHFunc = procedure(key: gpointer; value: gpointer; user_data: gpointer); cdecl; eynull1583 TGHRFunc = function(key: gpointer; value: gpointer; user_data: gpointer): gboolean; cdecl; eynull1584 TGHashFunc = function(key: Pgpointer): guint; cdecl; 1585 1586 PPGHashTable = ^PGHashTable; 1587 PGHashTable = ^TGHashTable; 1588 1589 PPGHRFunc = ^PGHRFunc; 1590 PGHRFunc = ^TGHRFunc; 1591 1592 PPGHFunc = ^PGHFunc; 1593 PGHFunc = ^TGHFunc; 1594 1595 PPGList = ^PGList; 1596 PGList = ^TGList; 1597 1598 PPGHashFunc = ^PGHashFunc; 1599 PGHashFunc = ^TGHashFunc; 1600 1601 PPGEqualFunc = ^PGEqualFunc; 1602 PGEqualFunc = ^TGEqualFunc; 1603 TGHashTable = object 1604 procedure add(hash_table: PGHashTable; key: gpointer); cdecl; inline; static; containsnull1605 function contains(hash_table: PGHashTable; key: Pgpointer): gboolean; cdecl; inline; static; 1606 procedure destroy_(hash_table: PGHashTable); cdecl; inline; static; findnull1607 function find(hash_table: PGHashTable; predicate: TGHRFunc; user_data: gpointer): gpointer; cdecl; inline; static; 1608 procedure foreach(hash_table: PGHashTable; func: TGHFunc; user_data: gpointer); cdecl; inline; static; foreach_removenull1609 function foreach_remove(hash_table: PGHashTable; func: TGHRFunc; user_data: gpointer): guint; cdecl; inline; static; foreach_stealnull1610 function foreach_steal(hash_table: PGHashTable; func: TGHRFunc; user_data: gpointer): guint; cdecl; inline; static; get_keysnull1611 function get_keys(hash_table: PGHashTable): PGList; cdecl; inline; static; get_valuesnull1612 function get_values(hash_table: PGHashTable): PGList; cdecl; inline; static; 1613 procedure insert(hash_table: PGHashTable; key: gpointer; value: gpointer); cdecl; inline; static; lookupnull1614 function lookup(hash_table: PGHashTable; key: Pgpointer): gpointer; cdecl; inline; static; lookup_extendednull1615 function lookup_extended(hash_table: PGHashTable; lookup_key: Pgpointer; orig_key: Pgpointer; value: Pgpointer): gboolean; cdecl; inline; static; newnull1616 function new(hash_func: TGHashFunc; key_equal_func: TGEqualFunc): PGHashTable; cdecl; inline; static; new_fullnull1617 function new_full(hash_func: TGHashFunc; key_equal_func: TGEqualFunc; key_destroy_func: TGDestroyNotify; value_destroy_func: TGDestroyNotify): PGHashTable; cdecl; inline; static; refnull1618 function ref(hash_table: PGHashTable): PGHashTable; cdecl; inline; static; removenull1619 function remove(hash_table: PGHashTable; key: Pgpointer): gboolean; cdecl; inline; static; 1620 procedure remove_all(hash_table: PGHashTable); cdecl; inline; static; 1621 procedure replace(hash_table: PGHashTable; key: gpointer; value: gpointer); cdecl; inline; static; sizenull1622 function size(hash_table: PGHashTable): guint; cdecl; inline; static; stealnull1623 function steal(hash_table: PGHashTable; key: Pgpointer): gboolean; cdecl; inline; static; 1624 procedure steal_all(hash_table: PGHashTable); cdecl; inline; static; 1625 procedure unref(hash_table: PGHashTable); cdecl; inline; static; 1626 end; 1627 1628 PPGCopyFunc = ^PGCopyFunc; 1629 PGCopyFunc = ^TGCopyFunc; 1630 1631 PPGFunc = ^PGFunc; 1632 PGFunc = ^TGFunc; 1633 TGList = object 1634 data: gpointer; 1635 next: PGList; 1636 prev: PGList; allocnull1637 function alloc: PGList; cdecl; inline; static; appendnull1638 function append(list: PGList; data: gpointer): PGList; cdecl; inline; static; concatnull1639 function concat(list1: PGList; list2: PGList): PGList; cdecl; inline; static; copynull1640 function copy(list: PGList): PGList; cdecl; inline; static; copy_deepnull1641 function copy_deep(list: PGList; func: TGCopyFunc; user_data: gpointer): PGList; cdecl; inline; static; delete_linknull1642 function delete_link(list: PGList; link_: PGList): PGList; cdecl; inline; static; findnull1643 function find(list: PGList; data: Pgpointer): PGList; cdecl; inline; static; find_customnull1644 function find_custom(list: PGList; data: Pgpointer; func: TGCompareFunc): PGList; cdecl; inline; static; firstnull1645 function first(list: PGList): PGList; cdecl; inline; static; 1646 procedure foreach(list: PGList; func: TGFunc; user_data: gpointer); cdecl; inline; static; 1647 procedure free(list: PGList); cdecl; inline; static; 1648 procedure free_1(list: PGList); cdecl; inline; static; 1649 procedure free_full(list: PGList; free_func: TGDestroyNotify); cdecl; inline; static; indexnull1650 function index(list: PGList; data: Pgpointer): gint; cdecl; inline; static; insertnull1651 function insert(list: PGList; data: gpointer; position: gint): PGList; cdecl; inline; static; insert_beforenull1652 function insert_before(list: PGList; sibling: PGList; data: gpointer): PGList; cdecl; inline; static; insert_sortednull1653 function insert_sorted(list: PGList; data: gpointer; func: TGCompareFunc): PGList; cdecl; inline; static; insert_sorted_with_datanull1654 function insert_sorted_with_data(list: PGList; data: gpointer; func: TGCompareDataFunc; user_data: gpointer): PGList; cdecl; inline; static; lastnull1655 function last(list: PGList): PGList; cdecl; inline; static; lengthnull1656 function length(list: PGList): guint; cdecl; inline; static; nthnull1657 function nth(list: PGList; n: guint): PGList; cdecl; inline; static; nth_datanull1658 function nth_data(list: PGList; n: guint): gpointer; cdecl; inline; static; nth_prevnull1659 function nth_prev(list: PGList; n: guint): PGList; cdecl; inline; static; positionnull1660 function position(list: PGList; llink: PGList): gint; cdecl; inline; static; prependnull1661 function prepend(list: PGList; data: gpointer): PGList; cdecl; inline; static; removenull1662 function remove(list: PGList; data: Pgpointer): PGList; cdecl; inline; static; remove_allnull1663 function remove_all(list: PGList; data: Pgpointer): PGList; cdecl; inline; static; remove_linknull1664 function remove_link(list: PGList; llink: PGList): PGList; cdecl; inline; static; reversenull1665 function reverse(list: PGList): PGList; cdecl; inline; static; sortnull1666 function sort(list: PGList; compare_func: TGCompareFunc): PGList; cdecl; inline; static; sort_with_datanull1667 function sort_with_data(list: PGList; compare_func: TGCompareDataFunc; user_data: gpointer): PGList; cdecl; inline; static; 1668 end; 1669 1670 PPGHashTableIter = ^PGHashTableIter; 1671 PGHashTableIter = ^TGHashTableIter; 1672 TGHashTableIter = object 1673 dummy1: gpointer; 1674 dummy2: gpointer; 1675 dummy3: gpointer; 1676 dummy4: gint; 1677 dummy5: gboolean; 1678 dummy6: gpointer; get_hash_tablenull1679 function get_hash_table: PGHashTable; cdecl; inline; 1680 procedure init(hash_table: PGHashTable); cdecl; inline; nextnull1681 function next(key: Pgpointer; value: Pgpointer): gboolean; cdecl; inline; 1682 procedure remove; cdecl; inline; 1683 procedure replace(value: gpointer); cdecl; inline; 1684 procedure steal; cdecl; inline; 1685 end; 1686 1687 PPGHmac = ^PGHmac; 1688 PGHmac = ^TGHmac; 1689 TGHmac = object copynull1690 function copy: PGHmac; cdecl; inline; 1691 procedure get_digest(buffer: Pguint8; digest_len: Pgsize); cdecl; inline; get_stringnull1692 function get_string: Pgchar; cdecl; inline; refnull1693 function ref: PGHmac; cdecl; inline; 1694 procedure unref; cdecl; inline; 1695 procedure update(data: Pguint8; length: gssize); cdecl; inline; newnull1696 function new(digest_type: TGChecksumType; key: Pguint8; key_len: gsize): PGHmac; cdecl; inline; static; 1697 end; 1698 1699 PPGHook = ^PGHook; 1700 PGHook = ^TGHook; 1701 1702 PPGHookList = ^PGHookList; 1703 PGHookList = ^TGHookList; 1704 1705 PPPgulong = ^PPgulong; 1706 PPgulong = ^Pgulong; 1707 Pgulong = ^gulong; 1708 1709 PPGHookFindFunc = ^PGHookFindFunc; 1710 PGHookFindFunc = ^TGHookFindFunc; ooknull1711 TGHookFindFunc = function(hook: PGHook; data: gpointer): gboolean; cdecl; 1712 1713 PPGHookCompareFunc = ^PGHookCompareFunc; 1714 PGHookCompareFunc = ^TGHookCompareFunc; ew_hooknull1715 TGHookCompareFunc = function(new_hook: PGHook; sibling: PGHook): gint; cdecl; 1716 TGHook = object 1717 data: gpointer; 1718 next: PGHook; 1719 prev: PGHook; 1720 ref_count: guint; 1721 hook_id: gulong; 1722 flags: guint; 1723 func: gpointer; 1724 destroy_1: TGDestroyNotify; compare_idsnull1725 function compare_ids(sibling: PGHook): gint; cdecl; inline; allocnull1726 function alloc(hook_list: PGHookList): PGHook; cdecl; inline; static; destroy_null1727 function destroy_(hook_list: PGHookList; hook_id: gulong): gboolean; cdecl; inline; static; 1728 procedure destroy_link(hook_list: PGHookList; hook: PGHook); cdecl; inline; static; findnull1729 function find(hook_list: PGHookList; need_valids: gboolean; func: TGHookFindFunc; data: gpointer): PGHook; cdecl; inline; static; find_datanull1730 function find_data(hook_list: PGHookList; need_valids: gboolean; data: gpointer): PGHook; cdecl; inline; static; find_funcnull1731 function find_func(hook_list: PGHookList; need_valids: gboolean; func: gpointer): PGHook; cdecl; inline; static; find_func_datanull1732 function find_func_data(hook_list: PGHookList; need_valids: gboolean; func: gpointer; data: gpointer): PGHook; cdecl; inline; static; first_validnull1733 function first_valid(hook_list: PGHookList; may_be_in_call: gboolean): PGHook; cdecl; inline; static; 1734 procedure free(hook_list: PGHookList; hook: PGHook); cdecl; inline; static; getnull1735 function get(hook_list: PGHookList; hook_id: gulong): PGHook; cdecl; inline; static; 1736 procedure insert_before(hook_list: PGHookList; sibling: PGHook; hook: PGHook); cdecl; inline; static; 1737 procedure insert_sorted(hook_list: PGHookList; hook: PGHook; func: TGHookCompareFunc); cdecl; inline; static; next_validnull1738 function next_valid(hook_list: PGHookList; hook: PGHook; may_be_in_call: gboolean): PGHook; cdecl; inline; static; 1739 procedure prepend(hook_list: PGHookList; hook: PGHook); cdecl; inline; static; refnull1740 function ref(hook_list: PGHookList; hook: PGHook): PGHook; cdecl; inline; static; 1741 procedure unref(hook_list: PGHookList; hook: PGHook); cdecl; inline; static; 1742 end; 1743 1744 PPGHookMarshaller = ^PGHookMarshaller; 1745 PGHookMarshaller = ^TGHookMarshaller; 1746 TGHookMarshaller = procedure(hook: PGHook; marshal_data: gpointer); cdecl; 1747 1748 PPGHookCheckMarshaller = ^PGHookCheckMarshaller; 1749 PGHookCheckMarshaller = ^TGHookCheckMarshaller; ooknull1750 TGHookCheckMarshaller = function(hook: PGHook; marshal_data: gpointer): gboolean; cdecl; 1751 TGHookListBitfield0 = bitpacked record 1752 hook_size: guint16 { changed from guint to accomodate 16 bitsize requirement }; 1753 is_setup: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1754 end; 1755 1756 1757 PPGHookFinalizeFunc = ^PGHookFinalizeFunc; 1758 PGHookFinalizeFunc = ^TGHookFinalizeFunc; 1759 TGHookFinalizeFunc = procedure(hook_list: PGHookList; hook: PGHook); cdecl; 1760 TGHookList = object 1761 seq_id: gulong; 1762 Bitfield0 : TGHookListBitfield0; { auto generated type } 1763 hooks: PGHook; 1764 dummy3: gpointer; 1765 finalize_hook: TGHookFinalizeFunc; 1766 dummy: array [0..1] of gpointer; 1767 procedure clear; cdecl; inline; 1768 procedure init(hook_size: guint); cdecl; inline; 1769 procedure invoke(may_recurse: gboolean); cdecl; inline; 1770 procedure invoke_check(may_recurse: gboolean); cdecl; inline; 1771 procedure marshal(may_recurse: gboolean; marshaller: TGHookMarshaller; marshal_data: gpointer); cdecl; inline; 1772 procedure marshal_check(may_recurse: gboolean; marshaller: TGHookCheckMarshaller; marshal_data: gpointer); cdecl; inline; 1773 end; atanull1774 TGHookCheckFunc = function(data: gpointer): gboolean; cdecl; 1775 1776 PPGHookFlagMask = ^PGHookFlagMask; 1777 PGHookFlagMask = ^TGHookFlagMask; 1778 TGHookFunc = procedure(data: gpointer); cdecl; 1779 1780 PPGIConv = ^PGIConv; 1781 PGIConv = ^TGIConv; 1782 TGIConv = object g_iconvnull1783 function g_iconv(inbuf: PPgchar; inbytes_left: Pgsize; outbuf: PPgchar; outbytes_left: Pgsize): gsize; cdecl; inline; closenull1784 function close: gint; cdecl; inline; opennull1785 function open(to_codeset: Pgchar; from_codeset: Pgchar): TGIConv; cdecl; inline; static; 1786 end; 1787 1788 PPGIOFuncs = ^PGIOFuncs; 1789 PGIOFuncs = ^TGIOFuncs; 1790 1791 PPGIOStatus = ^PGIOStatus; 1792 PGIOStatus = ^TGIOStatus; 1793 1794 PPGIOChannel = ^PGIOChannel; 1795 PGIOChannel = ^TGIOChannel; 1796 1797 PPGSeekType = ^PGSeekType; 1798 PGSeekType = ^TGSeekType; 1799 1800 PPGSource = ^PGSource; 1801 PGSource = ^TGSource; 1802 1803 PPGIOCondition = ^PGIOCondition; 1804 PGIOCondition = ^TGIOCondition; 1805 1806 PPGIOFlags = ^PGIOFlags; 1807 PGIOFlags = ^TGIOFlags; 1808 1809 TGIOFuncs = record hannelnull1810 io_read: function(channel: PGIOChannel; buf: Pgchar; count: gsize; bytes_read: Pgsize; error: PPGError): TGIOStatus; cdecl; hannelnull1811 io_write: function(channel: PGIOChannel; buf: Pgchar; count: gsize; bytes_written: Pgsize; error: PPGError): TGIOStatus; cdecl; hannelnull1812 io_seek: function(channel: PGIOChannel; offset: gint64; type_: TGSeekType; error: PPGError): TGIOStatus; cdecl; hannelnull1813 io_close: function(channel: PGIOChannel; error: PPGError): TGIOStatus; cdecl; hannelnull1814 io_create_watch: function(channel: PGIOChannel; condition: TGIOCondition): PGSource; cdecl; 1815 io_free: procedure(channel: PGIOChannel); cdecl; hannelnull1816 io_set_flags: function(channel: PGIOChannel; flags: TGIOFlags; error: PPGError): TGIOStatus; cdecl; hannelnull1817 io_get_flags: function(channel: PGIOChannel): TGIOFlags; cdecl; 1818 end; 1819 1820 1821 1822 PPGString = ^PGString; 1823 PGString = ^TGString; 1824 1825 PPPgunichar = ^PPgunichar; 1826 PPgunichar = ^Pgunichar; 1827 Pgunichar = ^gunichar; 1828 TGString = object 1829 str: Pgchar; 1830 len: gsize; 1831 allocated_len: gsize; appendnull1832 function append(val: Pgchar): PGString; cdecl; inline; append_cnull1833 function append_c(c: gchar): PGString; cdecl; inline; append_lennull1834 function append_len(val: Pgchar; len: gssize): PGString; cdecl; inline; 1835 //procedure append_printf(format: Pgchar; args: array of const); cdecl; inline; append_unicharnull1836 function append_unichar(wc: gunichar): PGString; cdecl; inline; append_uri_escapednull1837 function append_uri_escaped(unescaped: Pgchar; reserved_chars_allowed: Pgchar; allow_utf8: gboolean): PGString; cdecl; inline; 1838 //procedure append_vprintf(format: Pgchar; args: Tva_list); cdecl; inline; ascii_downnull1839 function ascii_down: PGString; cdecl; inline; ascii_upnull1840 function ascii_up: PGString; cdecl; inline; assignnull1841 function assign(rval: Pgchar): PGString; cdecl; inline; equalnull1842 function equal(v2: PGString): gboolean; cdecl; inline; erasenull1843 function erase(pos: gssize; len: gssize): PGString; cdecl; inline; freenull1844 function free(free_segment: gboolean): Pgchar; cdecl; inline; free_to_bytesnull1845 function free_to_bytes: PGBytes; cdecl; inline; hashnull1846 function hash: guint; cdecl; inline; insertnull1847 function insert(pos: gssize; val: Pgchar): PGString; cdecl; inline; insert_cnull1848 function insert_c(pos: gssize; c: gchar): PGString; cdecl; inline; insert_lennull1849 function insert_len(pos: gssize; val: Pgchar; len: gssize): PGString; cdecl; inline; insert_unicharnull1850 function insert_unichar(pos: gssize; wc: gunichar): PGString; cdecl; inline; overwritenull1851 function overwrite(pos: gsize; val: Pgchar): PGString; cdecl; inline; overwrite_lennull1852 function overwrite_len(pos: gsize; val: Pgchar; len: gssize): PGString; cdecl; inline; prependnull1853 function prepend(val: Pgchar): PGString; cdecl; inline; prepend_cnull1854 function prepend_c(c: gchar): PGString; cdecl; inline; prepend_lennull1855 function prepend_len(val: Pgchar; len: gssize): PGString; cdecl; inline; prepend_unicharnull1856 function prepend_unichar(wc: gunichar): PGString; cdecl; inline; 1857 //procedure printf(format: Pgchar; args: array of const); cdecl; inline; set_sizenull1858 function set_size(len: gsize): PGString; cdecl; inline; truncatenull1859 function truncate(len: gsize): PGString; cdecl; inline; 1860 //procedure vprintf(format: Pgchar; args: Tva_list); cdecl; inline; 1861 end; 1862 1863 PPGIOChannelError = ^PGIOChannelError; 1864 PGIOChannelError = ^TGIOChannelError; 1865 TGIOChannelBitfield0 = bitpacked record 1866 use_buffer: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1867 do_encode: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1868 close_on_unref: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1869 is_readable: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1870 is_writeable: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1871 is_seekable: guint1 { changed from guint to accomodate 1 bitsize requirement }; 1872 end; 1873 1874 TGIOChannel = object 1875 ref_count: gint; 1876 funcs: PGIOFuncs; 1877 encoding: Pgchar; 1878 read_cd: TGIConv; 1879 write_cd: TGIConv; 1880 line_term: Pgchar; 1881 line_term_len: guint; 1882 buf_size: gsize; 1883 read_buf: PGString; 1884 encoded_read_buf: PGString; 1885 write_buf: PGString; 1886 partial_write_buf: array [0..5] of gchar; 1887 Bitfield0 : TGIOChannelBitfield0; { auto generated type } 1888 reserved1: gpointer; 1889 reserved2: gpointer; new_filenull1890 function new_file(filename: Pgchar; mode: Pgchar; error: PPGError): PGIOChannel; cdecl; inline; static; unix_newnull1891 function unix_new(fd: gint): PGIOChannel; cdecl; inline; static; flushnull1892 function flush(error: PPGError): TGIOStatus; cdecl; inline; get_buffer_conditionnull1893 function get_buffer_condition: TGIOCondition; cdecl; inline; get_buffer_sizenull1894 function get_buffer_size: gsize; cdecl; inline; get_bufferednull1895 function get_buffered: gboolean; cdecl; inline; get_close_on_unrefnull1896 function get_close_on_unref: gboolean; cdecl; inline; get_encodingnull1897 function get_encoding: Pgchar; cdecl; inline; get_flagsnull1898 function get_flags: TGIOFlags; cdecl; inline; get_line_termnull1899 function get_line_term(length: Pgint): Pgchar; cdecl; inline; 1900 procedure init; cdecl; inline; read_charsnull1901 function read_chars(buf: Pgchar; count: gsize; bytes_read: Pgsize; error: PPGError): TGIOStatus; cdecl; inline; read_linenull1902 function read_line(str_return: PPgchar; length: Pgsize; terminator_pos: Pgsize; error: PPGError): TGIOStatus; cdecl; inline; read_line_stringnull1903 function read_line_string(buffer: PGString; terminator_pos: Pgsize; error: PPGError): TGIOStatus; cdecl; inline; read_to_endnull1904 function read_to_end(str_return: PPgchar; length: Pgsize; error: PPGError): TGIOStatus; cdecl; inline; read_unicharnull1905 function read_unichar(thechar: Pgunichar; error: PPGError): TGIOStatus; cdecl; inline; refnull1906 function ref: PGIOChannel; cdecl; inline; seek_positionnull1907 function seek_position(offset: gint64; type_: TGSeekType; error: PPGError): TGIOStatus; cdecl; inline; 1908 procedure set_buffer_size(size: gsize); cdecl; inline; 1909 procedure set_buffered(buffered: gboolean); cdecl; inline; 1910 procedure set_close_on_unref(do_close: gboolean); cdecl; inline; set_encodingnull1911 function set_encoding(encoding: Pgchar; error: PPGError): TGIOStatus; cdecl; inline; set_flagsnull1912 function set_flags(flags: TGIOFlags; error: PPGError): TGIOStatus; cdecl; inline; 1913 procedure set_line_term(line_term: Pgchar; length: gint); cdecl; inline; shutdownnull1914 function shutdown(flush: gboolean; error: PPGError): TGIOStatus; cdecl; inline; unix_get_fdnull1915 function unix_get_fd: gint; cdecl; inline; 1916 procedure unref; cdecl; inline; write_charsnull1917 function write_chars(buf: Pgchar; count: gssize; bytes_written: Pgsize; error: PPGError): TGIOStatus; cdecl; inline; write_unicharnull1918 function write_unichar(thechar: gunichar; error: PPGError): TGIOStatus; cdecl; inline; error_from_errnonull1919 function error_from_errno(en: gint): TGIOChannelError; cdecl; inline; static; error_quarknull1920 function error_quark: TGQuark; cdecl; inline; static; 1921 end; 1922 1923 PPGIOError = ^PGIOError; 1924 PGIOError = ^TGIOError; ourcenull1925 TGIOFunc = function(source: PGIOChannel; condition: TGIOCondition; data: gpointer): gboolean; cdecl; 1926 1927 PPGSourceFuncs = ^PGSourceFuncs; 1928 PGSourceFuncs = ^TGSourceFuncs; 1929 1930 PPPGPollFD = ^PPGPollFD; 1931 PPGPollFD = ^PGPollFD; 1932 PGPollFD = ^TGPollFD; 1933 1934 PPGMainContext = ^PGMainContext; 1935 PGMainContext = ^TGMainContext; 1936 1937 PPGSourceFunc = ^PGSourceFunc; 1938 PGSourceFunc = ^TGSourceFunc; ser_datanull1939 TGSourceFunc = function(user_data: gpointer): gboolean; cdecl; 1940 1941 PPGSourceCallbackFuncs = ^PGSourceCallbackFuncs; 1942 PGSourceCallbackFuncs = ^TGSourceCallbackFuncs; 1943 1944 PPGSList = ^PGSList; 1945 PGSList = ^TGSList; 1946 1947 PPGSourcePrivate = ^PGSourcePrivate; 1948 PGSourcePrivate = ^TGSourcePrivate; 1949 TGSource = object 1950 callback_data: gpointer; 1951 callback_funcs: PGSourceCallbackFuncs; 1952 source_funcs: PGSourceFuncs; 1953 ref_count: guint; 1954 context: PGMainContext; 1955 priority: gint; 1956 flags: guint; 1957 source_id: guint; 1958 poll_fds: PGSList; 1959 prev: PGSource; 1960 next: PGSource; 1961 name: Pgchar; 1962 priv: PGSourcePrivate; newnull1963 function new(source_funcs: PGSourceFuncs; struct_size: guint): PGSource; cdecl; inline; static; 1964 procedure add_child_source(child_source: PGSource); cdecl; inline; 1965 procedure add_poll(fd: PGPollFD); cdecl; inline; add_unix_fdnull1966 function add_unix_fd(fd: gint; events: TGIOCondition): gpointer; cdecl; inline; attachnull1967 function attach(context: PGMainContext): guint; cdecl; inline; 1968 procedure destroy_; cdecl; inline; get_can_recursenull1969 function get_can_recurse: gboolean; cdecl; inline; get_contextnull1970 function get_context: PGMainContext; cdecl; inline; get_idnull1971 function get_id: guint; cdecl; inline; get_namenull1972 function get_name: Pgchar; cdecl; inline; get_prioritynull1973 function get_priority: gint; cdecl; inline; get_ready_timenull1974 function get_ready_time: gint64; cdecl; inline; get_timenull1975 function get_time: gint64; cdecl; inline; is_destroyednull1976 function is_destroyed: gboolean; cdecl; inline; 1977 procedure modify_unix_fd(tag: gpointer; new_events: TGIOCondition); cdecl; inline; query_unix_fdnull1978 function query_unix_fd(tag: gpointer): TGIOCondition; cdecl; inline; refnull1979 function ref: PGSource; cdecl; inline; 1980 procedure remove_child_source(child_source: PGSource); cdecl; inline; 1981 procedure remove_poll(fd: PGPollFD); cdecl; inline; 1982 procedure remove_unix_fd(tag: gpointer); cdecl; inline; 1983 procedure set_callback(func: TGSourceFunc; data: gpointer; notify: TGDestroyNotify); cdecl; inline; 1984 procedure set_callback_indirect(callback_data: gpointer; callback_funcs: PGSourceCallbackFuncs); cdecl; inline; 1985 procedure set_can_recurse(can_recurse: gboolean); cdecl; inline; 1986 procedure set_funcs(funcs: PGSourceFuncs); cdecl; inline; 1987 procedure set_name(name: Pgchar); cdecl; inline; 1988 procedure set_priority(priority: gint); cdecl; inline; 1989 procedure set_ready_time(ready_time: gint64); cdecl; inline; 1990 procedure unref; cdecl; inline; removenull1991 function remove(tag: guint): gboolean; cdecl; inline; static; remove_by_funcs_user_datanull1992 function remove_by_funcs_user_data(funcs: PGSourceFuncs; user_data: gpointer): gboolean; cdecl; inline; static; remove_by_user_datanull1993 function remove_by_user_data(user_data: gpointer): gboolean; cdecl; inline; static; 1994 procedure set_name_by_id(tag: guint; name: Pgchar); cdecl; inline; static; 1995 end; 1996 1997 PPGKeyFile = ^PGKeyFile; 1998 PGKeyFile = ^TGKeyFile; 1999 2000 PPGKeyFileFlags = ^PGKeyFileFlags; 2001 PGKeyFileFlags = ^TGKeyFileFlags; 2002 TGKeyFile = object newnull2003 function new: PGKeyFile; cdecl; inline; static; 2004 procedure free; cdecl; inline; get_booleannull2005 function get_boolean(group_name: Pgchar; key: Pgchar; error: PPGError): gboolean; cdecl; inline; get_boolean_listnull2006 function get_boolean_list(group_name: Pgchar; key: Pgchar; length: Pgsize; error: PPGError): Pgboolean; cdecl; inline; get_commentnull2007 function get_comment(group_name: Pgchar; key: Pgchar; error: PPGError): Pgchar; cdecl; inline; get_doublenull2008 function get_double(group_name: Pgchar; key: Pgchar; error: PPGError): gdouble; cdecl; inline; get_double_listnull2009 function get_double_list(group_name: Pgchar; key: Pgchar; length: Pgsize; error: PPGError): Pgdouble; cdecl; inline; get_groupsnull2010 function get_groups(length: Pgsize): PPgchar; cdecl; inline; get_int64null2011 function get_int64(group_name: Pgchar; key: Pgchar; error: PPGError): gint64; cdecl; inline; get_integernull2012