Gir: Run copygir
- commit
- 048deed5532b14af05720af7741f4e657cd59bd9
- author
- Jeroen Wijenbergh · · 2025-10-22 07:49 UTC
- parent
- 48cc5ec
- signature
- SSH Unverified
SHA256:8N5EoON8reSTMm461SyWlzRhib6IymBjUHb1p62kwywThe key is unknown
13 files · +23804 -22294
this diff holds invisible characters (direction controls, zero-width characters). They are shown as <U+XXXX> markers, never applied.
M internal/gir/spec/Adw-1.gir +2109 -967 large diff (3076 lines changed): collapsed
M internal/gir/spec/GLib-2.0.gir +5033 -4066
| @@ -5,9 +5,11 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <package name="glib-2.0"/> | |
| 10 | 11 | <c:include name="glib.h"/> | |
| 12 | + | <doc:format name="gi-docgen"/> | |
| 11 | 13 | <namespace name="GLib" | |
| 12 | 14 | version="2.0" | |
| 13 | 15 | shared-library="libgobject-2.0.so.0,libglib-2.0.so.0" | |
| @@ -38,8 +40,8 @@ The year is represented with four digits.</doc> | |||
| 38 | 40 | <alias name="MainContextPusher" c:type="GMainContextPusher"> | |
| 39 | 41 | <doc xml:space="preserve" | |
| 40 | 42 | filename="glib/gmain.h" | |
| 41 | - | line="582">Opaque type. See g_main_context_pusher_new() for details.</doc> | |
| 42 | - | <source-position filename="glib/gmain.h" line="589"/> | |
| 43 | + | line="583">Opaque type. See g_main_context_pusher_new() for details.</doc> | |
| 44 | + | <source-position filename="glib/gmain.h" line="590"/> | |
| 43 | 45 | <type name="none" c:type="void"/> | |
| 44 | 46 | </alias> | |
| 45 | 47 | <alias name="MutexLocker" c:type="GMutexLocker"> | |
| @@ -52,7 +54,7 @@ The year is represented with four digits.</doc> | |||
| 52 | 54 | <alias name="Pid" c:type="GPid"> | |
| 53 | 55 | <doc xml:space="preserve" | |
| 54 | 56 | filename="glib/gmain.h" | |
| 55 | - | line="159">A type which is used to hold a process identification. | |
| 57 | + | line="160">A type which is used to hold a process identification. | |
| 56 | 58 | ||
| 57 | 59 | On UNIX, processes are identified by a process id (an integer), | |
| 58 | 60 | while Windows uses process handles (which are pointers). | |
| @@ -131,7 +133,7 @@ g_autofree(), so that the reference counting metadata is also freed.</doc> | |||
| 131 | 133 | <alias name="Strv" c:type="GStrv"> | |
| 132 | 134 | <doc xml:space="preserve" | |
| 133 | 135 | filename="glib/gstrfuncs.c" | |
| 134 | - | line="2535">A typedef alias for gchar**. This is mostly useful when used together with | |
| 136 | + | line="2539">A typedef alias for gchar**. This is mostly useful when used together with | |
| 135 | 137 | `g_auto()`.</doc> | |
| 136 | 138 | <source-position filename="glib/gstrfuncs.h" line="354"/> | |
| 137 | 139 | <type name="utf8" c:type="gchar**"/> | |
| @@ -196,23 +198,43 @@ alignment.</doc> | |||
| 196 | 198 | </parameter> | |
| 197 | 199 | </parameters> | |
| 198 | 200 | </function-macro> | |
| 199 | - | <constant name="ALLOCATOR_LIST" value="1" c:type="G_ALLOCATOR_LIST"> | |
| 201 | + | <constant name="ALLOCATOR_LIST" | |
| 202 | + | value="1" | |
| 203 | + | c:type="G_ALLOCATOR_LIST" | |
| 204 | + | deprecated="1" | |
| 205 | + | deprecated-version="2.10"> | |
| 200 | 206 | <source-position filename="glib/deprecated/gallocator.h" line="32"/> | |
| 201 | 207 | <type name="gint" c:type="gint"/> | |
| 202 | 208 | </constant> | |
| 203 | - | <constant name="ALLOCATOR_NODE" value="3" c:type="G_ALLOCATOR_NODE"> | |
| 209 | + | <constant name="ALLOCATOR_NODE" | |
| 210 | + | value="3" | |
| 211 | + | c:type="G_ALLOCATOR_NODE" | |
| 212 | + | deprecated="1" | |
| 213 | + | deprecated-version="2.10"> | |
| 204 | 214 | <source-position filename="glib/deprecated/gallocator.h" line="34"/> | |
| 205 | 215 | <type name="gint" c:type="gint"/> | |
| 206 | 216 | </constant> | |
| 207 | - | <constant name="ALLOCATOR_SLIST" value="2" c:type="G_ALLOCATOR_SLIST"> | |
| 217 | + | <constant name="ALLOCATOR_SLIST" | |
| 218 | + | value="2" | |
| 219 | + | c:type="G_ALLOCATOR_SLIST" | |
| 220 | + | deprecated="1" | |
| 221 | + | deprecated-version="2.10"> | |
| 208 | 222 | <source-position filename="glib/deprecated/gallocator.h" line="33"/> | |
| 209 | 223 | <type name="gint" c:type="gint"/> | |
| 210 | 224 | </constant> | |
| 211 | - | <constant name="ALLOC_AND_FREE" value="2" c:type="G_ALLOC_AND_FREE"> | |
| 225 | + | <constant name="ALLOC_AND_FREE" | |
| 226 | + | value="2" | |
| 227 | + | c:type="G_ALLOC_AND_FREE" | |
| 228 | + | deprecated="1" | |
| 229 | + | deprecated-version="2.10"> | |
| 212 | 230 | <source-position filename="glib/deprecated/gallocator.h" line="31"/> | |
| 213 | 231 | <type name="gint" c:type="gint"/> | |
| 214 | 232 | </constant> | |
| 215 | - | <constant name="ALLOC_ONLY" value="1" c:type="G_ALLOC_ONLY"> | |
| 233 | + | <constant name="ALLOC_ONLY" | |
| 234 | + | value="1" | |
| 235 | + | c:type="G_ALLOC_ONLY" | |
| 236 | + | deprecated="1" | |
| 237 | + | deprecated-version="2.10"> | |
| 216 | 238 | <source-position filename="glib/deprecated/gallocator.h" line="30"/> | |
| 217 | 239 | <type name="gint" c:type="gint"/> | |
| 218 | 240 | </constant> | |
| @@ -328,9 +350,17 @@ portable to those compilers.</doc> | |||
| 328 | 350 | </parameter> | |
| 329 | 351 | </parameters> | |
| 330 | 352 | </function-macro> | |
| 331 | - | <record name="Allocator" c:type="GAllocator" disguised="1" opaque="1"> | |
| 353 | + | <record name="Allocator" | |
| 354 | + | c:type="GAllocator" | |
| 355 | + | disguised="1" | |
| 356 | + | opaque="1" | |
| 357 | + | deprecated="1" | |
| 358 | + | deprecated-version="2.10"> | |
| 332 | 359 | <source-position filename="glib/deprecated/gallocator.h" line="27"/> | |
| 333 | - | <method name="free" c:identifier="g_allocator_free"> | |
| 360 | + | <method name="free" | |
| 361 | + | c:identifier="g_allocator_free" | |
| 362 | + | deprecated="1" | |
| 363 | + | deprecated-version="2.10"> | |
| 334 | 364 | <source-position filename="glib/deprecated/gallocator.h" line="72"/> | |
| 335 | 365 | <return-value transfer-ownership="none"> | |
| 336 | 366 | <type name="none" c:type="void"/> | |
| @@ -341,7 +371,11 @@ portable to those compilers.</doc> | |||
| 341 | 371 | </instance-parameter> | |
| 342 | 372 | </parameters> | |
| 343 | 373 | </method> | |
| 344 | - | <function name="new" c:identifier="g_allocator_new" introspectable="0"> | |
| 374 | + | <function name="new" | |
| 375 | + | c:identifier="g_allocator_new" | |
| 376 | + | introspectable="0" | |
| 377 | + | deprecated="1" | |
| 378 | + | deprecated-version="2.10"> | |
| 345 | 379 | <source-position filename="glib/deprecated/gallocator.h" line="69"/> | |
| 346 | 380 | <return-value> | |
| 347 | 381 | <type name="Allocator" c:type="GAllocator*"/> | |
| @@ -358,25 +392,27 @@ portable to those compilers.</doc> | |||
| 358 | 392 | </record> | |
| 359 | 393 | <record name="Array" | |
| 360 | 394 | c:type="GArray" | |
| 395 | + | copy-function="g_array_ref" | |
| 396 | + | free-function="g_array_unref" | |
| 361 | 397 | glib:type-name="GArray" | |
| 362 | 398 | glib:get-type="g_array_get_type" | |
| 363 | 399 | c:symbol-prefix="array"> | |
| 364 | 400 | <doc xml:space="preserve" | |
| 365 | 401 | filename="glib/garray.c" | |
| 366 | - | line="54">Contains the public fields of a GArray.</doc> | |
| 402 | + | line="54">Contains the public fields of a `GArray`.</doc> | |
| 367 | 403 | <source-position filename="glib/garray.h" line="47"/> | |
| 368 | 404 | <field name="data" writable="1"> | |
| 369 | 405 | <doc xml:space="preserve" | |
| 370 | 406 | filename="glib/garray.c" | |
| 371 | 407 | line="56">a pointer to the element data. The data may be moved as | |
| 372 | - | elements are added to the #GArray.</doc> | |
| 408 | + | elements are added to the `GArray`.</doc> | |
| 373 | 409 | <type name="utf8" c:type="gchar*"/> | |
| 374 | 410 | </field> | |
| 375 | 411 | <field name="len" writable="1"> | |
| 376 | 412 | <doc xml:space="preserve" | |
| 377 | 413 | filename="glib/garray.c" | |
| 378 | - | line="58">the number of elements in the #GArray not including the | |
| 379 | - | possible terminating zero element.</doc> | |
| 414 | + | line="58">the number of elements in the `GArray` not including the | |
| 415 | + | possible terminating zero element</doc> | |
| 380 | 416 | <type name="guint" c:type="guint"/> | |
| 381 | 417 | </field> | |
| 382 | 418 | <function name="append_vals" | |
| @@ -384,12 +420,15 @@ portable to those compilers.</doc> | |||
| 384 | 420 | introspectable="0"> | |
| 385 | 421 | <doc xml:space="preserve" | |
| 386 | 422 | filename="glib/garray.c" | |
| 387 | - | line="564">Adds @len elements onto the end of the array.</doc> | |
| 423 | + | line="569">Adds @len elements onto the end of the array. | |
| 424 | + | ||
| 425 | + | @data may be `NULL` if (and only if) @len is zero. If @len is zero, this | |
| 426 | + | function is a no-op.</doc> | |
| 388 | 427 | <source-position filename="glib/garray.h" line="104"/> | |
| 389 | - | <return-value> | |
| 428 | + | <return-value transfer-ownership="none"> | |
| 390 | 429 | <doc xml:space="preserve" | |
| 391 | 430 | filename="glib/garray.c" | |
| 392 | - | line="572">the #GArray</doc> | |
| 431 | + | line="580">The `GArray`</doc> | |
| 393 | 432 | <array name="GLib.Array" c:type="GArray*"> | |
| 394 | 433 | <type name="gpointer" c:type="gpointer"/> | |
| 395 | 434 | </array> | |
| @@ -398,21 +437,24 @@ portable to those compilers.</doc> | |||
| 398 | 437 | <parameter name="array" transfer-ownership="none"> | |
| 399 | 438 | <doc xml:space="preserve" | |
| 400 | 439 | filename="glib/garray.c" | |
| 401 | - | line="566">a #GArray</doc> | |
| 440 | + | line="571">an array</doc> | |
| 402 | 441 | <array name="GLib.Array" c:type="GArray*"> | |
| 403 | 442 | <type name="gpointer" c:type="gpointer"/> | |
| 404 | 443 | </array> | |
| 405 | 444 | </parameter> | |
| 406 | - | <parameter name="data" transfer-ownership="none"> | |
| 445 | + | <parameter name="data" | |
| 446 | + | transfer-ownership="none" | |
| 447 | + | nullable="1" | |
| 448 | + | allow-none="1"> | |
| 407 | 449 | <doc xml:space="preserve" | |
| 408 | 450 | filename="glib/garray.c" | |
| 409 | - | line="567">a pointer to the elements to append to the end of the array</doc> | |
| 451 | + | line="572">a pointer to the elements to append to the end of the array</doc> | |
| 410 | 452 | <type name="gpointer" c:type="gconstpointer"/> | |
| 411 | 453 | </parameter> | |
| 412 | 454 | <parameter name="len" transfer-ownership="none"> | |
| 413 | 455 | <doc xml:space="preserve" | |
| 414 | 456 | filename="glib/garray.c" | |
| 415 | - | line="568">the number of elements to append</doc> | |
| 457 | + | line="573">the number of elements to append</doc> | |
| 416 | 458 | <type name="guint" c:type="guint"/> | |
| 417 | 459 | </parameter> | |
| 418 | 460 | </parameters> | |
| @@ -423,18 +465,18 @@ portable to those compilers.</doc> | |||
| 423 | 465 | introspectable="0"> | |
| 424 | 466 | <doc xml:space="preserve" | |
| 425 | 467 | filename="glib/garray.c" | |
| 426 | - | line="967">Checks whether @target exists in @array by performing a binary | |
| 468 | + | line="979">Checks whether @target exists in @array by performing a binary | |
| 427 | 469 | search based on the given comparison function @compare_func which | |
| 428 | - | get pointers to items as arguments. If the element is found, %TRUE | |
| 470 | + | gets pointers to items as arguments. If the element is found, true | |
| 429 | 471 | is returned and the element’s index is returned in @out_match_index | |
| 430 | - | (if non-%NULL). Otherwise, %FALSE is returned and @out_match_index | |
| 431 | - | is undefined. If @target exists multiple times in @array, the index | |
| 432 | - | of the first instance is returned. This search is using a binary | |
| 433 | - | search, so the @array must absolutely be sorted to return a correct | |
| 434 | - | result (if not, the function may produce false-negative). | |
| 472 | + | (if non-`NULL`). Otherwise, false is returned and @out_match_index | |
| 473 | + | is undefined. This search is using a binary search, so the @array must | |
| 474 | + | absolutely be sorted to return a correct result (if not, the function may | |
| 475 | + | produce false-negative). | |
| 435 | 476 | ||
| 436 | - | This example defines a comparison function and search an element in a #GArray: | |
| 437 | - | |[<!-- language="C" --> | |
| 477 | + | This example defines a comparison function and searches an element in a | |
| 478 | + | `GArray`: | |
| 479 | + | ```c | |
| 438 | 480 | static gint | |
| 439 | 481 | cmpint (gconstpointer a, gconstpointer b) | |
| 440 | 482 | { | |
| @@ -448,19 +490,19 @@ gint i = 424242; | |||
| 448 | 490 | guint matched_index; | |
| 449 | 491 | gboolean result = g_array_binary_search (garray, &i, cmpint, &matched_index); | |
| 450 | 492 | ... | |
| 451 | - | ]|</doc> | |
| 493 | + | ```</doc> | |
| 452 | 494 | <source-position filename="glib/garray.h" line="137"/> | |
| 453 | 495 | <return-value transfer-ownership="none"> | |
| 454 | 496 | <doc xml:space="preserve" | |
| 455 | 497 | filename="glib/garray.c" | |
| 456 | - | line="1002">%TRUE if @target is one of the elements of @array, %FALSE otherwise.</doc> | |
| 498 | + | line="1014">true if @target is one of the elements of @array; false otherwise</doc> | |
| 457 | 499 | <type name="gboolean" c:type="gboolean"/> | |
| 458 | 500 | </return-value> | |
| 459 | 501 | <parameters> | |
| 460 | 502 | <parameter name="array" transfer-ownership="none"> | |
| 461 | 503 | <doc xml:space="preserve" | |
| 462 | 504 | filename="glib/garray.c" | |
| 463 | - | line="969">a #GArray.</doc> | |
| 505 | + | line="981">an array</doc> | |
| 464 | 506 | <array name="GLib.Array" c:type="GArray*"> | |
| 465 | 507 | <type name="gpointer" c:type="gpointer"/> | |
| 466 | 508 | </array> | |
| @@ -471,13 +513,15 @@ gboolean result = g_array_binary_search (garray, &i, cmpint, &matched_in | |||
| 471 | 513 | allow-none="1"> | |
| 472 | 514 | <doc xml:space="preserve" | |
| 473 | 515 | filename="glib/garray.c" | |
| 474 | - | line="970">a pointer to the item to look up.</doc> | |
| 516 | + | line="982">a pointer to the item to look up</doc> | |
| 475 | 517 | <type name="gpointer" c:type="gconstpointer"/> | |
| 476 | 518 | </parameter> | |
| 477 | - | <parameter name="compare_func" transfer-ownership="none"> | |
| 519 | + | <parameter name="compare_func" | |
| 520 | + | transfer-ownership="none" | |
| 521 | + | scope="call"> | |
| 478 | 522 | <doc xml:space="preserve" | |
| 479 | 523 | filename="glib/garray.c" | |
| 480 | - | line="971">A #GCompareFunc used to locate @target.</doc> | |
| 524 | + | line="983">a comparison function to locate @target</doc> | |
| 481 | 525 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 482 | 526 | </parameter> | |
| 483 | 527 | <parameter name="out_match_index" | |
| @@ -488,8 +532,8 @@ gboolean result = g_array_binary_search (garray, &i, cmpint, &matched_in | |||
| 488 | 532 | allow-none="1"> | |
| 489 | 533 | <doc xml:space="preserve" | |
| 490 | 534 | filename="glib/garray.c" | |
| 491 | - | line="972">return location | |
| 492 | - | for the index of the element, if found.</doc> | |
| 535 | + | line="984">the return location | |
| 536 | + | for the index of the element, if found</doc> | |
| 493 | 537 | <type name="guint" c:type="guint*"/> | |
| 494 | 538 | </parameter> | |
| 495 | 539 | </parameters> | |
| @@ -500,13 +544,13 @@ gboolean result = g_array_binary_search (garray, &i, cmpint, &matched_in | |||
| 500 | 544 | introspectable="0"> | |
| 501 | 545 | <doc xml:space="preserve" | |
| 502 | 546 | filename="glib/garray.c" | |
| 503 | - | line="1569">Create a shallow copy of a #GArray. If the array elements consist of | |
| 547 | + | line="1584">Creates a shallow copy of a #GArray. If the array elements consist of | |
| 504 | 548 | pointers to data, the pointers are copied but the actual data is not.</doc> | |
| 505 | 549 | <source-position filename="glib/garray.h" line="93"/> | |
| 506 | 550 | <return-value transfer-ownership="container"> | |
| 507 | 551 | <doc xml:space="preserve" | |
| 508 | 552 | filename="glib/garray.c" | |
| 509 | - | line="1576">A copy of @array.</doc> | |
| 553 | + | line="1591">The copy of @array</doc> | |
| 510 | 554 | <array name="GLib.Array" c:type="GArray*"> | |
| 511 | 555 | <type name="gpointer" c:type="gpointer"/> | |
| 512 | 556 | </array> | |
| @@ -515,7 +559,7 @@ pointers to data, the pointers are copied but the actual data is not.</doc> | |||
| 515 | 559 | <parameter name="array" transfer-ownership="none"> | |
| 516 | 560 | <doc xml:space="preserve" | |
| 517 | 561 | filename="glib/garray.c" | |
| 518 | - | line="1571">A #GArray.</doc> | |
| 562 | + | line="1586">an array</doc> | |
| 519 | 563 | <array name="GLib.Array" c:type="GArray*"> | |
| 520 | 564 | <type name="gpointer" c:type="gpointer"/> | |
| 521 | 565 | </array> | |
| @@ -525,33 +569,33 @@ pointers to data, the pointers are copied but the actual data is not.</doc> | |||
| 525 | 569 | <function name="free" c:identifier="g_array_free" introspectable="0"> | |
| 526 | 570 | <doc xml:space="preserve" | |
| 527 | 571 | filename="glib/garray.c" | |
| 528 | - | line="487">Frees the memory allocated for the #GArray. If @free_segment is | |
| 529 | - | %TRUE it frees the memory block holding the elements as well. Pass | |
| 530 | - | %FALSE if you want to free the #GArray wrapper but preserve the | |
| 572 | + | line="492">Frees the memory allocated for the `GArray`. If @free_segment is | |
| 573 | + | true it frees the memory block holding the elements as well. Pass | |
| 574 | + | false if you want to free the `GArray` wrapper but preserve the | |
| 531 | 575 | underlying array for use elsewhere. If the reference count of | |
| 532 | - | @array is greater than one, the #GArray wrapper is preserved but | |
| 533 | - | the size of @array will be set to zero. | |
| 576 | + | @array is greater than one, the `GArray` wrapper is preserved but | |
| 577 | + | the size of @array will be set to zero. | |
| 534 | 578 | ||
| 535 | 579 | If array contents point to dynamically-allocated memory, they should | |
| 536 | - | be freed separately if @free_segment is %TRUE and no @clear_func | |
| 580 | + | be freed separately if @free_segment is true and no @clear_func | |
| 537 | 581 | function has been set for @array. | |
| 538 | 582 | ||
| 539 | - | This function is not thread-safe. If using a #GArray from multiple | |
| 540 | - | threads, use only the atomic g_array_ref() and g_array_unref() | |
| 541 | - | functions.</doc> | |
| 583 | + | This function is not thread-safe. If using a `GArray` from multiple | |
| 584 | + | threads, use only the atomic [func@GLib.Array.ref] and | |
| 585 | + | [func@GLib.Array.unref] functions.</doc> | |
| 542 | 586 | <source-position filename="glib/garray.h" line="95"/> | |
| 543 | 587 | <return-value transfer-ownership="full"> | |
| 544 | 588 | <doc xml:space="preserve" | |
| 545 | 589 | filename="glib/garray.c" | |
| 546 | - | line="507">the element data if @free_segment is %FALSE, otherwise | |
| 547 | - | %NULL. The element data should be freed using g_free().</doc> | |
| 590 | + | line="512">The allocated element data if @free_segment is false, otherwise | |
| 591 | + | `NULL`</doc> | |
| 548 | 592 | <type name="utf8" c:type="gchar*"/> | |
| 549 | 593 | </return-value> | |
| 550 | 594 | <parameters> | |
| 551 | - | <parameter name="array" transfer-ownership="none"> | |
| 595 | + | <parameter name="array" transfer-ownership="full"> | |
| 552 | 596 | <doc xml:space="preserve" | |
| 553 | 597 | filename="glib/garray.c" | |
| 554 | - | line="489">a #GArray</doc> | |
| 598 | + | line="494">an array</doc> | |
| 555 | 599 | <array name="GLib.Array" c:type="GArray*"> | |
| 556 | 600 | <type name="gpointer" c:type="gpointer"/> | |
| 557 | 601 | </array> | |
| @@ -559,7 +603,7 @@ functions.</doc> | |||
| 559 | 603 | <parameter name="free_segment" transfer-ownership="none"> | |
| 560 | 604 | <doc xml:space="preserve" | |
| 561 | 605 | filename="glib/garray.c" | |
| 562 | - | line="490">if %TRUE the actual element data is freed as well</doc> | |
| 606 | + | line="495">if true, the actual element data is freed as well</doc> | |
| 563 | 607 | <type name="gboolean" c:type="gboolean"/> | |
| 564 | 608 | </parameter> | |
| 565 | 609 | </parameters> | |
| @@ -570,19 +614,19 @@ functions.</doc> | |||
| 570 | 614 | introspectable="0"> | |
| 571 | 615 | <doc xml:space="preserve" | |
| 572 | 616 | filename="glib/garray.c" | |
| 573 | - | line="467">Gets the size of the elements in @array.</doc> | |
| 617 | + | line="472">Gets the size of the elements in @array.</doc> | |
| 574 | 618 | <source-position filename="glib/garray.h" line="102"/> | |
| 575 | 619 | <return-value transfer-ownership="none"> | |
| 576 | 620 | <doc xml:space="preserve" | |
| 577 | 621 | filename="glib/garray.c" | |
| 578 | - | line="473">Size of each element, in bytes</doc> | |
| 622 | + | line="478">The size of each element, in bytes</doc> | |
| 579 | 623 | <type name="guint" c:type="guint"/> | |
| 580 | 624 | </return-value> | |
| 581 | 625 | <parameters> | |
| 582 | 626 | <parameter name="array" transfer-ownership="none"> | |
| 583 | 627 | <doc xml:space="preserve" | |
| 584 | 628 | filename="glib/garray.c" | |
| 585 | - | line="469">A #GArray</doc> | |
| 629 | + | line="474">an array</doc> | |
| 586 | 630 | <array name="GLib.Array" c:type="GArray*"> | |
| 587 | 631 | <type name="gpointer" c:type="gpointer"/> | |
| 588 | 632 | </array> | |
| @@ -594,7 +638,7 @@ functions.</doc> | |||
| 594 | 638 | introspectable="0"> | |
| 595 | 639 | <doc xml:space="preserve" | |
| 596 | 640 | filename="glib/garray.c" | |
| 597 | - | line="673">Inserts @len elements into a #GArray at the given index. | |
| 641 | + | line="681">Inserts @len elements into a `GArray` at the given index. | |
| 598 | 642 | ||
| 599 | 643 | If @index_ is greater than the array’s current length, the array is expanded. | |
| 600 | 644 | The elements between the old end of the array and the newly inserted elements | |
| @@ -605,13 +649,13 @@ If @index_ is less than the array’s current length, new entries will be | |||
| 605 | 649 | inserted into the array, and the existing entries above @index_ will be moved | |
| 606 | 650 | upwards. | |
| 607 | 651 | ||
| 608 | - | @data may be %NULL if (and only if) @len is zero. If @len is zero, this | |
| 652 | + | @data may be `NULL` if (and only if) @len is zero. If @len is zero, this | |
| 609 | 653 | function is a no-op.</doc> | |
| 610 | 654 | <source-position filename="glib/garray.h" line="112"/> | |
| 611 | 655 | <return-value> | |
| 612 | 656 | <doc xml:space="preserve" | |
| 613 | 657 | filename="glib/garray.c" | |
| 614 | - | line="694">the #GArray</doc> | |
| 658 | + | line="702">The `GArray`</doc> | |
| 615 | 659 | <array name="GLib.Array" c:type="GArray*"> | |
| 616 | 660 | <type name="gpointer" c:type="gpointer"/> | |
| 617 | 661 | </array> | |
| @@ -620,7 +664,7 @@ function is a no-op.</doc> | |||
| 620 | 664 | <parameter name="array" transfer-ownership="none"> | |
| 621 | 665 | <doc xml:space="preserve" | |
| 622 | 666 | filename="glib/garray.c" | |
| 623 | - | line="675">a #GArray</doc> | |
| 667 | + | line="683">an array</doc> | |
| 624 | 668 | <array name="GLib.Array" c:type="GArray*"> | |
| 625 | 669 | <type name="gpointer" c:type="gpointer"/> | |
| 626 | 670 | </array> | |
| @@ -628,7 +672,7 @@ function is a no-op.</doc> | |||
| 628 | 672 | <parameter name="index_" transfer-ownership="none"> | |
| 629 | 673 | <doc xml:space="preserve" | |
| 630 | 674 | filename="glib/garray.c" | |
| 631 | - | line="676">the index to place the elements at</doc> | |
| 675 | + | line="684">the index to place the elements at</doc> | |
| 632 | 676 | <type name="guint" c:type="guint"/> | |
| 633 | 677 | </parameter> | |
| 634 | 678 | <parameter name="data" | |
| @@ -637,13 +681,13 @@ function is a no-op.</doc> | |||
| 637 | 681 | allow-none="1"> | |
| 638 | 682 | <doc xml:space="preserve" | |
| 639 | 683 | filename="glib/garray.c" | |
| 640 | - | line="677">a pointer to the elements to insert</doc> | |
| 684 | + | line="685">a pointer to the elements to insert</doc> | |
| 641 | 685 | <type name="gpointer" c:type="gconstpointer"/> | |
| 642 | 686 | </parameter> | |
| 643 | 687 | <parameter name="len" transfer-ownership="none"> | |
| 644 | 688 | <doc xml:space="preserve" | |
| 645 | 689 | filename="glib/garray.c" | |
| 646 | - | line="678">the number of elements to insert</doc> | |
| 690 | + | line="686">the number of elements to insert</doc> | |
| 647 | 691 | <type name="guint" c:type="guint"/> | |
| 648 | 692 | </parameter> | |
| 649 | 693 | </parameters> | |
| @@ -651,12 +695,12 @@ function is a no-op.</doc> | |||
| 651 | 695 | <function name="new" c:identifier="g_array_new" introspectable="0"> | |
| 652 | 696 | <doc xml:space="preserve" | |
| 653 | 697 | filename="glib/garray.c" | |
| 654 | - | line="122">Creates a new #GArray with a reference count of 1.</doc> | |
| 698 | + | line="122">Creates a new `GArray` with a reference count of 1.</doc> | |
| 655 | 699 | <source-position filename="glib/garray.h" line="72"/> | |
| 656 | - | <return-value> | |
| 700 | + | <return-value transfer-ownership="full"> | |
| 657 | 701 | <doc xml:space="preserve" | |
| 658 | 702 | filename="glib/garray.c" | |
| 659 | - | line="132">the new #GArray</doc> | |
| 703 | + | line="132">The new `GArray`</doc> | |
| 660 | 704 | <array name="GLib.Array" c:type="GArray*"> | |
| 661 | 705 | <type name="gpointer" c:type="gpointer"/> | |
| 662 | 706 | </array> | |
| @@ -665,14 +709,14 @@ function is a no-op.</doc> | |||
| 665 | 709 | <parameter name="zero_terminated" transfer-ownership="none"> | |
| 666 | 710 | <doc xml:space="preserve" | |
| 667 | 711 | filename="glib/garray.c" | |
| 668 | - | line="124">%TRUE if the array should have an extra element at | |
| 712 | + | line="124">if true, the array should have an extra element at | |
| 669 | 713 | the end which is set to 0</doc> | |
| 670 | 714 | <type name="gboolean" c:type="gboolean"/> | |
| 671 | 715 | </parameter> | |
| 672 | 716 | <parameter name="clear_" transfer-ownership="none"> | |
| 673 | 717 | <doc xml:space="preserve" | |
| 674 | 718 | filename="glib/garray.c" | |
| 675 | - | line="126">%TRUE if #GArray elements should be automatically cleared | |
| 719 | + | line="126">if true, `GArray` elements should be automatically cleared | |
| 676 | 720 | to 0 when they are allocated</doc> | |
| 677 | 721 | <type name="gboolean" c:type="gboolean"/> | |
| 678 | 722 | </parameter> | |
| @@ -690,27 +734,27 @@ function is a no-op.</doc> | |||
| 690 | 734 | introspectable="0"> | |
| 691 | 735 | <doc xml:space="preserve" | |
| 692 | 736 | filename="glib/garray.c" | |
| 693 | - | line="147">Creates a new #GArray with @data as array data, @len as length and a | |
| 737 | + | line="147">Creates a new `GArray` with @data as array data, @len as length and a | |
| 694 | 738 | reference count of 1. | |
| 695 | 739 | ||
| 696 | 740 | This avoids having to copy the data manually, when it can just be | |
| 697 | 741 | inherited. | |
| 698 | - | After this call, @data belongs to the #GArray and may no longer be | |
| 742 | + | After this call, @data belongs to the `GArray` and may no longer be | |
| 699 | 743 | modified by the caller. The memory of @data has to be dynamically | |
| 700 | - | allocated and will eventually be freed with g_free(). | |
| 744 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 701 | 745 | ||
| 702 | 746 | In case the elements need to be cleared when the array is freed, use | |
| 703 | - | g_array_set_clear_func() to set a #GDestroyNotify function to perform | |
| 704 | - | such task. | |
| 747 | + | [func@GLib.Array.set_clear_func] to set a [callback@GLib.DestroyNotify] | |
| 748 | + | function to perform such task. | |
| 705 | 749 | ||
| 706 | - | Do not use it if @len or @element_size are greater than %G_MAXUINT. | |
| 707 | - | #GArray stores the length of its data in #guint, which may be shorter | |
| 708 | - | than #gsize.</doc> | |
| 750 | + | Do not use it if @len or @element_size are greater than | |
| 751 | + | [`G_MAXUINT`](types.html#guint). `GArray` stores the length of its data in | |
| 752 | + | `guint`, which may be shorter than `gsize`.</doc> | |
| 709 | 753 | <source-position filename="glib/garray.h" line="76"/> | |
| 710 | 754 | <return-value transfer-ownership="full"> | |
| 711 | 755 | <doc xml:space="preserve" | |
| 712 | 756 | filename="glib/garray.c" | |
| 713 | - | line="173">A new #GArray</doc> | |
| 757 | + | line="173">The new #GArray</doc> | |
| 714 | 758 | <array name="GLib.Array" c:type="GArray*"> | |
| 715 | 759 | <type name="gpointer" c:type="gpointer"/> | |
| 716 | 760 | </array> | |
| @@ -723,7 +767,7 @@ than #gsize.</doc> | |||
| 723 | 767 | <doc xml:space="preserve" | |
| 724 | 768 | filename="glib/garray.c" | |
| 725 | 769 | line="149">an array of | |
| 726 | - | elements of @element_size, or %NULL for an empty array</doc> | |
| 770 | + | elements of @element_size</doc> | |
| 727 | 771 | <array length="1" zero-terminated="0" c:type="gpointer"> | |
| 728 | 772 | <type name="gpointer" c:type="gpointer"/> | |
| 729 | 773 | </array> | |
| @@ -737,7 +781,7 @@ than #gsize.</doc> | |||
| 737 | 781 | <parameter name="clear" transfer-ownership="none"> | |
| 738 | 782 | <doc xml:space="preserve" | |
| 739 | 783 | filename="glib/garray.c" | |
| 740 | - | line="152">%TRUE if #GArray elements should be automatically cleared | |
| 784 | + | line="152">if true, `GArray` elements should be automatically cleared | |
| 741 | 785 | to 0 when they are allocated</doc> | |
| 742 | 786 | <type name="gboolean" c:type="gboolean"/> | |
| 743 | 787 | </parameter> | |
| @@ -755,39 +799,43 @@ than #gsize.</doc> | |||
| 755 | 799 | introspectable="0"> | |
| 756 | 800 | <doc xml:space="preserve" | |
| 757 | 801 | filename="glib/garray.c" | |
| 758 | - | line="199">Creates a new #GArray with @data as array data, computing the length of it | |
| 802 | + | line="199">Creates a new `GArray` with @data as array data, computing the length of it | |
| 759 | 803 | and setting the reference count to 1. | |
| 760 | 804 | ||
| 761 | 805 | This avoids having to copy the data manually, when it can just be | |
| 762 | 806 | inherited. | |
| 763 | - | After this call, @data belongs to the #GArray and may no longer be | |
| 807 | + | After this call, @data belongs to the `GArray` and may no longer be | |
| 764 | 808 | modified by the caller. The memory of @data has to be dynamically | |
| 765 | - | allocated and will eventually be freed with g_free(). | |
| 809 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 766 | 810 | ||
| 767 | - | The length is calculated by iterating through @data until the first %NULL | |
| 811 | + | The length is calculated by iterating through @data until the first `NULL` | |
| 768 | 812 | element is found. | |
| 769 | 813 | ||
| 770 | 814 | In case the elements need to be cleared when the array is freed, use | |
| 771 | - | g_array_set_clear_func() to set a #GDestroyNotify function to perform | |
| 772 | - | such task. | |
| 815 | + | [func@GLib.Array.set_clear_func] to set a [callback@GLib.DestroyNotify] | |
| 816 | + | function to perform such task. | |
| 773 | 817 | ||
| 774 | - | Do not use it if @data length or @element_size are greater than %G_MAXUINT. | |
| 775 | - | #GArray stores the length of its data in #guint, which may be shorter | |
| 776 | - | than #gsize.</doc> | |
| 818 | + | Do not use it if @data length or @element_size are greater than | |
| 819 | + | [`G_MAXUINT`](types.html#guint). `GArray` stores the length of its data in | |
| 820 | + | `guint`, which may be shorter than `gsize`.</doc> | |
| 777 | 821 | <source-position filename="glib/garray.h" line="81"/> | |
| 778 | 822 | <return-value transfer-ownership="full"> | |
| 779 | 823 | <doc xml:space="preserve" | |
| 780 | 824 | filename="glib/garray.c" | |
| 781 | - | line="226">A new #GArray</doc> | |
| 825 | + | line="227">The new `GArray`</doc> | |
| 782 | 826 | <array name="GLib.Array" c:type="GArray*"> | |
| 783 | 827 | <type name="gpointer" c:type="gpointer"/> | |
| 784 | 828 | </array> | |
| 785 | 829 | </return-value> | |
| 786 | 830 | <parameters> | |
| 787 | - | <parameter name="data" transfer-ownership="none"> | |
| 831 | + | <parameter name="data" | |
| 832 | + | transfer-ownership="full" | |
| 833 | + | nullable="1" | |
| 834 | + | allow-none="1"> | |
| 788 | 835 | <doc xml:space="preserve" | |
| 789 | 836 | filename="glib/garray.c" | |
| 790 | - | line="201">an array of elements of @element_size</doc> | |
| 837 | + | line="201">an array | |
| 838 | + | of elements of @element_size, `NULL` terminated</doc> | |
| 791 | 839 | <array c:type="gpointer"> | |
| 792 | 840 | <type name="gpointer" c:type="gpointer"/> | |
| 793 | 841 | </array> | |
| @@ -795,14 +843,14 @@ than #gsize.</doc> | |||
| 795 | 843 | <parameter name="clear" transfer-ownership="none"> | |
| 796 | 844 | <doc xml:space="preserve" | |
| 797 | 845 | filename="glib/garray.c" | |
| 798 | - | line="202">%TRUE if #GArray elements should be automatically cleared | |
| 846 | + | line="203">if true, `GArray` elements should be automatically cleared | |
| 799 | 847 | to 0 when they are allocated</doc> | |
| 800 | 848 | <type name="gboolean" c:type="gboolean"/> | |
| 801 | 849 | </parameter> | |
| 802 | 850 | <parameter name="element_size" transfer-ownership="none"> | |
| 803 | 851 | <doc xml:space="preserve" | |
| 804 | 852 | filename="glib/garray.c" | |
| 805 | - | line="204">the size of each element in bytes</doc> | |
| 853 | + | line="205">the size of each element in bytes</doc> | |
| 806 | 854 | <type name="gsize" c:type="gsize"/> | |
| 807 | 855 | </parameter> | |
| 808 | 856 | </parameters> | |
| @@ -812,19 +860,19 @@ than #gsize.</doc> | |||
| 812 | 860 | introspectable="0"> | |
| 813 | 861 | <doc xml:space="preserve" | |
| 814 | 862 | filename="glib/garray.c" | |
| 815 | - | line="612">Adds @len elements onto the start of the array. | |
| 863 | + | line="620">Adds @len elements onto the start of the array. | |
| 816 | 864 | ||
| 817 | - | @data may be %NULL if (and only if) @len is zero. If @len is zero, this | |
| 865 | + | @data may be `NULL` if (and only if) @len is zero. If @len is zero, this | |
| 818 | 866 | function is a no-op. | |
| 819 | 867 | ||
| 820 | - | This operation is slower than g_array_append_vals() since the | |
| 868 | + | This operation is slower than [func@GLib.Array.append_vals] since the | |
| 821 | 869 | existing elements in the array have to be moved to make space for | |
| 822 | 870 | the new elements.</doc> | |
| 823 | 871 | <source-position filename="glib/garray.h" line="108"/> | |
| 824 | - | <return-value> | |
| 872 | + | <return-value transfer-ownership="none"> | |
| 825 | 873 | <doc xml:space="preserve" | |
| 826 | 874 | filename="glib/garray.c" | |
| 827 | - | line="627">the #GArray</doc> | |
| 875 | + | line="635">The `GArray`</doc> | |
| 828 | 876 | <array name="GLib.Array" c:type="GArray*"> | |
| 829 | 877 | <type name="gpointer" c:type="gpointer"/> | |
| 830 | 878 | </array> | |
| @@ -833,7 +881,7 @@ the new elements.</doc> | |||
| 833 | 881 | <parameter name="array" transfer-ownership="none"> | |
| 834 | 882 | <doc xml:space="preserve" | |
| 835 | 883 | filename="glib/garray.c" | |
| 836 | - | line="614">a #GArray</doc> | |
| 884 | + | line="622">an array</doc> | |
| 837 | 885 | <array name="GLib.Array" c:type="GArray*"> | |
| 838 | 886 | <type name="gpointer" c:type="gpointer"/> | |
| 839 | 887 | </array> | |
| @@ -844,13 +892,13 @@ the new elements.</doc> | |||
| 844 | 892 | allow-none="1"> | |
| 845 | 893 | <doc xml:space="preserve" | |
| 846 | 894 | filename="glib/garray.c" | |
| 847 | - | line="615">a pointer to the elements to prepend to the start of the array</doc> | |
| 895 | + | line="623">a pointer to the elements to prepend to the start of the array</doc> | |
| 848 | 896 | <type name="gpointer" c:type="gconstpointer"/> | |
| 849 | 897 | </parameter> | |
| 850 | 898 | <parameter name="len" transfer-ownership="none"> | |
| 851 | 899 | <doc xml:space="preserve" | |
| 852 | 900 | filename="glib/garray.c" | |
| 853 | - | line="616">the number of elements to prepend, which may be zero</doc> | |
| 901 | + | line="624">the number of elements to prepend, which may be zero</doc> | |
| 854 | 902 | <type name="guint" c:type="guint"/> | |
| 855 | 903 | </parameter> | |
| 856 | 904 | </parameters> | |
| @@ -861,13 +909,13 @@ the new elements.</doc> | |||
| 861 | 909 | introspectable="0"> | |
| 862 | 910 | <doc xml:space="preserve" | |
| 863 | 911 | filename="glib/garray.c" | |
| 864 | - | line="416">Atomically increments the reference count of @array by one. | |
| 912 | + | line="421">Atomically increments the reference count of @array by one. | |
| 865 | 913 | This function is thread-safe and may be called from any thread.</doc> | |
| 866 | 914 | <source-position filename="glib/garray.h" line="98"/> | |
| 867 | - | <return-value> | |
| 915 | + | <return-value transfer-ownership="full"> | |
| 868 | 916 | <doc xml:space="preserve" | |
| 869 | 917 | filename="glib/garray.c" | |
| 870 | - | line="423">The passed in #GArray</doc> | |
| 918 | + | line="428">The passed in `GArray`</doc> | |
| 871 | 919 | <array name="GLib.Array" c:type="GArray*"> | |
| 872 | 920 | <type name="gpointer" c:type="gpointer"/> | |
| 873 | 921 | </array> | |
| @@ -876,7 +924,7 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 876 | 924 | <parameter name="array" transfer-ownership="none"> | |
| 877 | 925 | <doc xml:space="preserve" | |
| 878 | 926 | filename="glib/garray.c" | |
| 879 | - | line="418">A #GArray</doc> | |
| 927 | + | line="423">an array</doc> | |
| 880 | 928 | <array name="GLib.Array" c:type="GArray*"> | |
| 881 | 929 | <type name="gpointer" c:type="gpointer"/> | |
| 882 | 930 | </array> | |
| @@ -888,13 +936,13 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 888 | 936 | introspectable="0"> | |
| 889 | 937 | <doc xml:space="preserve" | |
| 890 | 938 | filename="glib/garray.c" | |
| 891 | - | line="781">Removes the element at the given index from a #GArray. The following | |
| 939 | + | line="790">Removes the element at the given index from a `GArray`. The following | |
| 892 | 940 | elements are moved down one place.</doc> | |
| 893 | 941 | <source-position filename="glib/garray.h" line="120"/> | |
| 894 | - | <return-value> | |
| 942 | + | <return-value transfer-ownership="none"> | |
| 895 | 943 | <doc xml:space="preserve" | |
| 896 | 944 | filename="glib/garray.c" | |
| 897 | - | line="789">the #GArray</doc> | |
| 945 | + | line="798">The `GArray`</doc> | |
| 898 | 946 | <array name="GLib.Array" c:type="GArray*"> | |
| 899 | 947 | <type name="gpointer" c:type="gpointer"/> | |
| 900 | 948 | </array> | |
| @@ -903,7 +951,7 @@ elements are moved down one place.</doc> | |||
| 903 | 951 | <parameter name="array" transfer-ownership="none"> | |
| 904 | 952 | <doc xml:space="preserve" | |
| 905 | 953 | filename="glib/garray.c" | |
| 906 | - | line="783">a #GArray</doc> | |
| 954 | + | line="792">an array</doc> | |
| 907 | 955 | <array name="GLib.Array" c:type="GArray*"> | |
| 908 | 956 | <type name="gpointer" c:type="gpointer"/> | |
| 909 | 957 | </array> | |
| @@ -911,7 +959,7 @@ elements are moved down one place.</doc> | |||
| 911 | 959 | <parameter name="index_" transfer-ownership="none"> | |
| 912 | 960 | <doc xml:space="preserve" | |
| 913 | 961 | filename="glib/garray.c" | |
| 914 | - | line="784">the index of the element to remove</doc> | |
| 962 | + | line="793">the index of the element to remove</doc> | |
| 915 | 963 | <type name="guint" c:type="guint"/> | |
| 916 | 964 | </parameter> | |
| 917 | 965 | </parameters> | |
| @@ -921,15 +969,15 @@ elements are moved down one place.</doc> | |||
| 921 | 969 | introspectable="0"> | |
| 922 | 970 | <doc xml:space="preserve" | |
| 923 | 971 | filename="glib/garray.c" | |
| 924 | - | line="819">Removes the element at the given index from a #GArray. The last | |
| 972 | + | line="828">Removes the element at the given index from a `GArray`. The last | |
| 925 | 973 | element in the array is used to fill in the space, so this function | |
| 926 | - | does not preserve the order of the #GArray. But it is faster than | |
| 927 | - | g_array_remove_index().</doc> | |
| 974 | + | does not preserve the order of the `GArray`. But it is faster than | |
| 975 | + | [func@GLib.Array.remove_index].</doc> | |
| 928 | 976 | <source-position filename="glib/garray.h" line="123"/> | |
| 929 | - | <return-value> | |
| 977 | + | <return-value transfer-ownership="none"> | |
| 930 | 978 | <doc xml:space="preserve" | |
| 931 | 979 | filename="glib/garray.c" | |
| 932 | - | line="829">the #GArray</doc> | |
| 980 | + | line="838">The `GArray`</doc> | |
| 933 | 981 | <array name="GLib.Array" c:type="GArray*"> | |
| 934 | 982 | <type name="gpointer" c:type="gpointer"/> | |
| 935 | 983 | </array> | |
| @@ -938,7 +986,7 @@ g_array_remove_index().</doc> | |||
| 938 | 986 | <parameter name="array" transfer-ownership="none"> | |
| 939 | 987 | <doc xml:space="preserve" | |
| 940 | 988 | filename="glib/garray.c" | |
| 941 | - | line="821">a @GArray</doc> | |
| 989 | + | line="830">an array</doc> | |
| 942 | 990 | <array name="GLib.Array" c:type="GArray*"> | |
| 943 | 991 | <type name="gpointer" c:type="gpointer"/> | |
| 944 | 992 | </array> | |
| @@ -946,7 +994,7 @@ g_array_remove_index().</doc> | |||
| 946 | 994 | <parameter name="index_" transfer-ownership="none"> | |
| 947 | 995 | <doc xml:space="preserve" | |
| 948 | 996 | filename="glib/garray.c" | |
| 949 | - | line="822">the index of the element to remove</doc> | |
| 997 | + | line="831">the index of the element to remove</doc> | |
| 950 | 998 | <type name="guint" c:type="guint"/> | |
| 951 | 999 | </parameter> | |
| 952 | 1000 | </parameters> | |
| @@ -957,13 +1005,13 @@ g_array_remove_index().</doc> | |||
| 957 | 1005 | introspectable="0"> | |
| 958 | 1006 | <doc xml:space="preserve" | |
| 959 | 1007 | filename="glib/garray.c" | |
| 960 | - | line="859">Removes the given number of elements starting at the given index | |
| 961 | - | from a #GArray. The following elements are moved to close the gap.</doc> | |
| 1008 | + | line="868">Removes the given number of elements starting at the given index | |
| 1009 | + | from a `GArray`. The following elements are moved to close the gap.</doc> | |
| 962 | 1010 | <source-position filename="glib/garray.h" line="126"/> | |
| 963 | - | <return-value> | |
| 1011 | + | <return-value transfer-ownership="none"> | |
| 964 | 1012 | <doc xml:space="preserve" | |
| 965 | 1013 | filename="glib/garray.c" | |
| 966 | - | line="868">the #GArray</doc> | |
| 1014 | + | line="877">The `GArray`</doc> | |
| 967 | 1015 | <array name="GLib.Array" c:type="GArray*"> | |
| 968 | 1016 | <type name="gpointer" c:type="gpointer"/> | |
| 969 | 1017 | </array> | |
| @@ -972,7 +1020,7 @@ from a #GArray. The following elements are moved to close the gap.</doc> | |||
| 972 | 1020 | <parameter name="array" transfer-ownership="none"> | |
| 973 | 1021 | <doc xml:space="preserve" | |
| 974 | 1022 | filename="glib/garray.c" | |
| 975 | - | line="861">a @GArray</doc> | |
| 1023 | + | line="870">an array</doc> | |
| 976 | 1024 | <array name="GLib.Array" c:type="GArray*"> | |
| 977 | 1025 | <type name="gpointer" c:type="gpointer"/> | |
| 978 | 1026 | </array> | |
| @@ -980,13 +1028,13 @@ from a #GArray. The following elements are moved to close the gap.</doc> | |||
| 980 | 1028 | <parameter name="index_" transfer-ownership="none"> | |
| 981 | 1029 | <doc xml:space="preserve" | |
| 982 | 1030 | filename="glib/garray.c" | |
| 983 | - | line="862">the index of the first element to remove</doc> | |
| 1031 | + | line="871">the index of the first element to remove</doc> | |
| 984 | 1032 | <type name="guint" c:type="guint"/> | |
| 985 | 1033 | </parameter> | |
| 986 | 1034 | <parameter name="length" transfer-ownership="none"> | |
| 987 | 1035 | <doc xml:space="preserve" | |
| 988 | 1036 | filename="glib/garray.c" | |
| 989 | - | line="863">the number of elements to remove</doc> | |
| 1037 | + | line="872">the number of elements to remove</doc> | |
| 990 | 1038 | <type name="guint" c:type="guint"/> | |
| 991 | 1039 | </parameter> | |
| 992 | 1040 | </parameters> | |
| @@ -997,18 +1045,18 @@ from a #GArray. The following elements are moved to close the gap.</doc> | |||
| 997 | 1045 | introspectable="0"> | |
| 998 | 1046 | <doc xml:space="preserve" | |
| 999 | 1047 | filename="glib/garray.c" | |
| 1000 | - | line="366">Sets a function to clear an element of @array. | |
| 1048 | + | line="371">Sets a function to clear an element of @array. | |
| 1001 | 1049 | ||
| 1002 | 1050 | The @clear_func will be called when an element in the array | |
| 1003 | 1051 | data segment is removed and when the array is freed and data | |
| 1004 | 1052 | segment is deallocated as well. @clear_func will be passed a | |
| 1005 | 1053 | pointer to the element to clear, rather than the element itself. | |
| 1006 | 1054 | ||
| 1007 | - | Note that in contrast with other uses of #GDestroyNotify | |
| 1055 | + | Note that in contrast with other uses of [callback@GLib.DestroyNotify] | |
| 1008 | 1056 | functions, @clear_func is expected to clear the contents of | |
| 1009 | 1057 | the array element it is given, but not free the element itself. | |
| 1010 | 1058 | ||
| 1011 | - | |[<!-- language="C" --> | |
| 1059 | + | ```c | |
| 1012 | 1060 | typedef struct | |
| 1013 | 1061 | { | |
| 1014 | 1062 | gchar *str; | |
| @@ -1027,7 +1075,7 @@ GArray *garray = g_array_new (FALSE, FALSE, sizeof (ArrayElement)); | |||
| 1027 | 1075 | g_array_set_clear_func (garray, (GDestroyNotify) array_element_clear); | |
| 1028 | 1076 | // assign data to the structure | |
| 1029 | 1077 | g_array_free (garray, TRUE); | |
| 1030 | - | ]|</doc> | |
| 1078 | + | ```</doc> | |
| 1031 | 1079 | <source-position filename="glib/garray.h" line="142"/> | |
| 1032 | 1080 | <return-value transfer-ownership="none"> | |
| 1033 | 1081 | <type name="none" c:type="void"/> | |
| @@ -1036,15 +1084,19 @@ g_array_free (garray, TRUE); | |||
| 1036 | 1084 | <parameter name="array" transfer-ownership="none"> | |
| 1037 | 1085 | <doc xml:space="preserve" | |
| 1038 | 1086 | filename="glib/garray.c" | |
| 1039 | - | line="368">A #GArray</doc> | |
| 1087 | + | line="373">an array</doc> | |
| 1040 | 1088 | <array name="GLib.Array" c:type="GArray*"> | |
| 1041 | 1089 | <type name="gpointer" c:type="gpointer"/> | |
| 1042 | 1090 | </array> | |
| 1043 | 1091 | </parameter> | |
| 1044 | - | <parameter name="clear_func" transfer-ownership="none" scope="async"> | |
| 1092 | + | <parameter name="clear_func" | |
| 1093 | + | transfer-ownership="none" | |
| 1094 | + | nullable="1" | |
| 1095 | + | allow-none="1" | |
| 1096 | + | scope="async"> | |
| 1045 | 1097 | <doc xml:space="preserve" | |
| 1046 | 1098 | filename="glib/garray.c" | |
| 1047 | - | line="369">a function to clear an element of @array</doc> | |
| 1099 | + | line="374">a function to clear an element of @array</doc> | |
| 1048 | 1100 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 1049 | 1101 | </parameter> | |
| 1050 | 1102 | </parameters> | |
| @@ -1054,13 +1106,13 @@ g_array_free (garray, TRUE); | |||
| 1054 | 1106 | introspectable="0"> | |
| 1055 | 1107 | <doc xml:space="preserve" | |
| 1056 | 1108 | filename="glib/garray.c" | |
| 1057 | - | line="746">Sets the size of the array, expanding it if necessary. If the array | |
| 1058 | - | was created with @clear_ set to %TRUE, the new elements are set to 0.</doc> | |
| 1109 | + | line="754">Sets the size of the array, expanding it if necessary. If the array | |
| 1110 | + | was created with @clear_ set to true, the new elements are set to 0.</doc> | |
| 1059 | 1111 | <source-position filename="glib/garray.h" line="117"/> | |
| 1060 | - | <return-value> | |
| 1112 | + | <return-value transfer-ownership="none"> | |
| 1061 | 1113 | <doc xml:space="preserve" | |
| 1062 | 1114 | filename="glib/garray.c" | |
| 1063 | - | line="754">the #GArray</doc> | |
| 1115 | + | line="762">The `GArray`</doc> | |
| 1064 | 1116 | <array name="GLib.Array" c:type="GArray*"> | |
| 1065 | 1117 | <type name="gpointer" c:type="gpointer"/> | |
| 1066 | 1118 | </array> | |
| @@ -1069,7 +1121,7 @@ was created with @clear_ set to %TRUE, the new elements are set to 0.</doc> | |||
| 1069 | 1121 | <parameter name="array" transfer-ownership="none"> | |
| 1070 | 1122 | <doc xml:space="preserve" | |
| 1071 | 1123 | filename="glib/garray.c" | |
| 1072 | - | line="748">a #GArray</doc> | |
| 1124 | + | line="756">an array</doc> | |
| 1073 | 1125 | <array name="GLib.Array" c:type="GArray*"> | |
| 1074 | 1126 | <type name="gpointer" c:type="gpointer"/> | |
| 1075 | 1127 | </array> | |
| @@ -1077,7 +1129,7 @@ was created with @clear_ set to %TRUE, the new elements are set to 0.</doc> | |||
| 1077 | 1129 | <parameter name="length" transfer-ownership="none"> | |
| 1078 | 1130 | <doc xml:space="preserve" | |
| 1079 | 1131 | filename="glib/garray.c" | |
| 1080 | - | line="749">the new size of the #GArray</doc> | |
| 1132 | + | line="757">the new size of the #GArray</doc> | |
| 1081 | 1133 | <type name="guint" c:type="guint"/> | |
| 1082 | 1134 | </parameter> | |
| 1083 | 1135 | </parameters> | |
| @@ -1087,15 +1139,15 @@ was created with @clear_ set to %TRUE, the new elements are set to 0.</doc> | |||
| 1087 | 1139 | introspectable="0"> | |
| 1088 | 1140 | <doc xml:space="preserve" | |
| 1089 | 1141 | filename="glib/garray.c" | |
| 1090 | - | line="315">Creates a new #GArray with @reserved_size elements preallocated and | |
| 1142 | + | line="320">Creates a new `GArray` with @reserved_size elements preallocated and | |
| 1091 | 1143 | a reference count of 1. This avoids frequent reallocation, if you | |
| 1092 | 1144 | are going to add many elements to the array. Note however that the | |
| 1093 | 1145 | size of the array is still 0.</doc> | |
| 1094 | 1146 | <source-position filename="glib/garray.h" line="88"/> | |
| 1095 | - | <return-value> | |
| 1147 | + | <return-value transfer-ownership="full"> | |
| 1096 | 1148 | <doc xml:space="preserve" | |
| 1097 | 1149 | filename="glib/garray.c" | |
| 1098 | - | line="329">the new #GArray</doc> | |
| 1150 | + | line="334">The new `GArray`</doc> | |
| 1099 | 1151 | <array name="GLib.Array" c:type="GArray*"> | |
| 1100 | 1152 | <type name="gpointer" c:type="gpointer"/> | |
| 1101 | 1153 | </array> | |
| @@ -1104,27 +1156,27 @@ size of the array is still 0.</doc> | |||
| 1104 | 1156 | <parameter name="zero_terminated" transfer-ownership="none"> | |
| 1105 | 1157 | <doc xml:space="preserve" | |
| 1106 | 1158 | filename="glib/garray.c" | |
| 1107 | - | line="317">%TRUE if the array should have an extra element at | |
| 1159 | + | line="322">if true, the array should have an extra element at | |
| 1108 | 1160 | the end with all bits cleared</doc> | |
| 1109 | 1161 | <type name="gboolean" c:type="gboolean"/> | |
| 1110 | 1162 | </parameter> | |
| 1111 | 1163 | <parameter name="clear_" transfer-ownership="none"> | |
| 1112 | 1164 | <doc xml:space="preserve" | |
| 1113 | 1165 | filename="glib/garray.c" | |
| 1114 | - | line="319">%TRUE if all bits in the array should be cleared to 0 on | |
| 1166 | + | line="324">if true, all bits in the array should be cleared to 0 on | |
| 1115 | 1167 | allocation</doc> | |
| 1116 | 1168 | <type name="gboolean" c:type="gboolean"/> | |
| 1117 | 1169 | </parameter> | |
| 1118 | 1170 | <parameter name="element_size" transfer-ownership="none"> | |
| 1119 | 1171 | <doc xml:space="preserve" | |
| 1120 | 1172 | filename="glib/garray.c" | |
| 1121 | - | line="321">size of each element in the array</doc> | |
| 1173 | + | line="326">the size of each element in the array</doc> | |
| 1122 | 1174 | <type name="guint" c:type="guint"/> | |
| 1123 | 1175 | </parameter> | |
| 1124 | 1176 | <parameter name="reserved_size" transfer-ownership="none"> | |
| 1125 | 1177 | <doc xml:space="preserve" | |
| 1126 | 1178 | filename="glib/garray.c" | |
| 1127 | - | line="322">number of elements preallocated</doc> | |
| 1179 | + | line="327">the number of elements preallocated</doc> | |
| 1128 | 1180 | <type name="guint" c:type="guint"/> | |
| 1129 | 1181 | </parameter> | |
| 1130 | 1182 | </parameters> | |
| @@ -1132,7 +1184,7 @@ size of the array is still 0.</doc> | |||
| 1132 | 1184 | <function name="sort" c:identifier="g_array_sort" introspectable="0"> | |
| 1133 | 1185 | <doc xml:space="preserve" | |
| 1134 | 1186 | filename="glib/garray.c" | |
| 1135 | - | line="906">Sorts a #GArray using @compare_func which should be a qsort()-style | |
| 1187 | + | line="918">Sorts a `GArray` using @compare_func which should be a `qsort()`-style | |
| 1136 | 1188 | comparison function (returns less than zero for first arg is less | |
| 1137 | 1189 | than second arg, zero for equal, greater zero if first arg is | |
| 1138 | 1190 | greater than second arg). | |
| @@ -1146,15 +1198,17 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 1146 | 1198 | <parameter name="array" transfer-ownership="none"> | |
| 1147 | 1199 | <doc xml:space="preserve" | |
| 1148 | 1200 | filename="glib/garray.c" | |
| 1149 | - | line="908">a #GArray</doc> | |
| 1201 | + | line="920">an array</doc> | |
| 1150 | 1202 | <array name="GLib.Array" c:type="GArray*"> | |
| 1151 | 1203 | <type name="gpointer" c:type="gpointer"/> | |
| 1152 | 1204 | </array> | |
| 1153 | 1205 | </parameter> | |
| 1154 | - | <parameter name="compare_func" transfer-ownership="none"> | |
| 1206 | + | <parameter name="compare_func" | |
| 1207 | + | transfer-ownership="none" | |
| 1208 | + | scope="call"> | |
| 1155 | 1209 | <doc xml:space="preserve" | |
| 1156 | 1210 | filename="glib/garray.c" | |
| 1157 | - | line="909">comparison function</doc> | |
| 1211 | + | line="921">a comparison function</doc> | |
| 1158 | 1212 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 1159 | 1213 | </parameter> | |
| 1160 | 1214 | </parameters> | |
| @@ -1164,7 +1218,7 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 1164 | 1218 | introspectable="0"> | |
| 1165 | 1219 | <doc xml:space="preserve" | |
| 1166 | 1220 | filename="glib/garray.c" | |
| 1167 | - | line="935">Like g_array_sort(), but the comparison function receives an extra | |
| 1221 | + | line="947">Like [func@GLib.Array.sort], but the comparison function receives an extra | |
| 1168 | 1222 | user data argument. | |
| 1169 | 1223 | ||
| 1170 | 1224 | This is guaranteed to be a stable sort since version 2.32. | |
| @@ -1180,15 +1234,18 @@ This did not actually work, so any such code should be removed.</doc> | |||
| 1180 | 1234 | <parameter name="array" transfer-ownership="none"> | |
| 1181 | 1235 | <doc xml:space="preserve" | |
| 1182 | 1236 | filename="glib/garray.c" | |
| 1183 | - | line="937">a #GArray</doc> | |
| 1237 | + | line="949">an array</doc> | |
| 1184 | 1238 | <array name="GLib.Array" c:type="GArray*"> | |
| 1185 | 1239 | <type name="gpointer" c:type="gpointer"/> | |
| 1186 | 1240 | </array> | |
| 1187 | 1241 | </parameter> | |
| 1188 | - | <parameter name="compare_func" transfer-ownership="none" closure="2"> | |
| 1242 | + | <parameter name="compare_func" | |
| 1243 | + | transfer-ownership="none" | |
| 1244 | + | scope="call" | |
| 1245 | + | closure="2"> | |
| 1189 | 1246 | <doc xml:space="preserve" | |
| 1190 | 1247 | filename="glib/garray.c" | |
| 1191 | - | line="938">comparison function</doc> | |
| 1248 | + | line="950">a comparison function</doc> | |
| 1192 | 1249 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 1193 | 1250 | </parameter> | |
| 1194 | 1251 | <parameter name="user_data" | |
| @@ -1197,7 +1254,7 @@ This did not actually work, so any such code should be removed.</doc> | |||
| 1197 | 1254 | allow-none="1"> | |
| 1198 | 1255 | <doc xml:space="preserve" | |
| 1199 | 1256 | filename="glib/garray.c" | |
| 1200 | - | line="939">data to pass to @compare_func</doc> | |
| 1257 | + | line="951">the data to pass to @compare_func</doc> | |
| 1201 | 1258 | <type name="gpointer" c:type="gpointer"/> | |
| 1202 | 1259 | </parameter> | |
| 1203 | 1260 | </parameters> | |
| @@ -1208,37 +1265,37 @@ This did not actually work, so any such code should be removed.</doc> | |||
| 1208 | 1265 | introspectable="0"> | |
| 1209 | 1266 | <doc xml:space="preserve" | |
| 1210 | 1267 | filename="glib/garray.c" | |
| 1211 | - | line="264">Frees the data in the array and resets the size to zero, while | |
| 1268 | + | line="269">Frees the data in the array and resets the size to zero, while | |
| 1212 | 1269 | the underlying array is preserved for use elsewhere and returned | |
| 1213 | 1270 | to the caller. | |
| 1214 | 1271 | ||
| 1215 | - | If the array was created with the @zero_terminate property | |
| 1216 | - | set to %TRUE, the returned data is zero terminated too. | |
| 1272 | + | Note that if the array was created with the @zero_terminate | |
| 1273 | + | property set to true, this may still return `NULL` if the length | |
| 1274 | + | of the array was zero and data was not yet allocated. | |
| 1217 | 1275 | ||
| 1218 | 1276 | If array elements contain dynamically-allocated memory, | |
| 1219 | 1277 | the array elements should also be freed by the caller. | |
| 1220 | 1278 | ||
| 1221 | 1279 | A short example of use: | |
| 1222 | - | |[<!-- language="C" --> | |
| 1280 | + | ```c | |
| 1223 | 1281 | ... | |
| 1224 | 1282 | gpointer data; | |
| 1225 | 1283 | gsize data_len; | |
| 1226 | 1284 | data = g_array_steal (some_array, &data_len); | |
| 1227 | 1285 | ... | |
| 1228 | - | ]|</doc> | |
| 1286 | + | ```</doc> | |
| 1229 | 1287 | <source-position filename="glib/garray.h" line="85"/> | |
| 1230 | 1288 | <return-value transfer-ownership="full" nullable="1"> | |
| 1231 | 1289 | <doc xml:space="preserve" | |
| 1232 | 1290 | filename="glib/garray.c" | |
| 1233 | - | line="289">the element data, which should be | |
| 1234 | - | freed using g_free().</doc> | |
| 1291 | + | line="295">The allocated element data</doc> | |
| 1235 | 1292 | <type name="gpointer" c:type="gpointer"/> | |
| 1236 | 1293 | </return-value> | |
| 1237 | 1294 | <parameters> | |
| 1238 | 1295 | <parameter name="array" transfer-ownership="none"> | |
| 1239 | 1296 | <doc xml:space="preserve" | |
| 1240 | 1297 | filename="glib/garray.c" | |
| 1241 | - | line="266">a #GArray.</doc> | |
| 1298 | + | line="271">an array</doc> | |
| 1242 | 1299 | <array name="GLib.Array" c:type="GArray*"> | |
| 1243 | 1300 | <type name="gpointer" c:type="gpointer"/> | |
| 1244 | 1301 | </array> | |
| @@ -1251,7 +1308,7 @@ data = g_array_steal (some_array, &data_len); | |||
| 1251 | 1308 | allow-none="1"> | |
| 1252 | 1309 | <doc xml:space="preserve" | |
| 1253 | 1310 | filename="glib/garray.c" | |
| 1254 | - | line="267">pointer to retrieve the number of | |
| 1311 | + | line="272">a pointer to retrieve the number of | |
| 1255 | 1312 | elements of the original array</doc> | |
| 1256 | 1313 | <type name="gsize" c:type="gsize*"/> | |
| 1257 | 1314 | </parameter> | |
| @@ -1263,19 +1320,19 @@ data = g_array_steal (some_array, &data_len); | |||
| 1263 | 1320 | introspectable="0"> | |
| 1264 | 1321 | <doc xml:space="preserve" | |
| 1265 | 1322 | filename="glib/garray.c" | |
| 1266 | - | line="446">Atomically decrements the reference count of @array by one. If the | |
| 1323 | + | line="451">Atomically decrements the reference count of @array by one. If the | |
| 1267 | 1324 | reference count drops to 0, the effect is the same as calling | |
| 1268 | - | g_array_free() with @free_segment set to %TRUE. This function is | |
| 1325 | + | [func@GLib.Array.free] with @free_segment set to true. This function is | |
| 1269 | 1326 | thread-safe and may be called from any thread.</doc> | |
| 1270 | 1327 | <source-position filename="glib/garray.h" line="100"/> | |
| 1271 | 1328 | <return-value transfer-ownership="none"> | |
| 1272 | 1329 | <type name="none" c:type="void"/> | |
| 1273 | 1330 | </return-value> | |
| 1274 | 1331 | <parameters> | |
| 1275 | - | <parameter name="array" transfer-ownership="none"> | |
| 1332 | + | <parameter name="array" transfer-ownership="full"> | |
| 1276 | 1333 | <doc xml:space="preserve" | |
| 1277 | 1334 | filename="glib/garray.c" | |
| 1278 | - | line="448">A #GArray</doc> | |
| 1335 | + | line="453">an array</doc> | |
| 1279 | 1336 | <array name="GLib.Array" c:type="GArray*"> | |
| 1280 | 1337 | <type name="gpointer" c:type="gpointer"/> | |
| 1281 | 1338 | </array> | |
| @@ -1323,7 +1380,7 @@ It should only be accessed through the `g_async_queue_*` functions.</doc> | |||
| 1323 | 1380 | <method name="length" c:identifier="g_async_queue_length"> | |
| 1324 | 1381 | <doc xml:space="preserve" | |
| 1325 | 1382 | filename="glib/gasyncqueue.c" | |
| 1326 | - | line="618">Returns the length of the queue. | |
| 1383 | + | line="619">Returns the length of the queue. | |
| 1327 | 1384 | ||
| 1328 | 1385 | Actually this function returns the number of data items in | |
| 1329 | 1386 | the queue minus the number of waiting threads, so a negative | |
| @@ -1335,14 +1392,14 @@ of the queue or due to scheduling.</doc> | |||
| 1335 | 1392 | <return-value transfer-ownership="none"> | |
| 1336 | 1393 | <doc xml:space="preserve" | |
| 1337 | 1394 | filename="glib/gasyncqueue.c" | |
| 1338 | - | line="631">the length of the @queue</doc> | |
| 1395 | + | line="632">the length of the @queue</doc> | |
| 1339 | 1396 | <type name="gint" c:type="gint"/> | |
| 1340 | 1397 | </return-value> | |
| 1341 | 1398 | <parameters> | |
| 1342 | 1399 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1343 | 1400 | <doc xml:space="preserve" | |
| 1344 | 1401 | filename="glib/gasyncqueue.c" | |
| 1345 | - | line="620">a #GAsyncQueue.</doc> | |
| 1402 | + | line="621">a #GAsyncQueue.</doc> | |
| 1346 | 1403 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1347 | 1404 | </instance-parameter> | |
| 1348 | 1405 | </parameters> | |
| @@ -1351,7 +1408,7 @@ of the queue or due to scheduling.</doc> | |||
| 1351 | 1408 | c:identifier="g_async_queue_length_unlocked"> | |
| 1352 | 1409 | <doc xml:space="preserve" | |
| 1353 | 1410 | filename="glib/gasyncqueue.c" | |
| 1354 | - | line="647">Returns the length of the queue. | |
| 1411 | + | line="648">Returns the length of the queue. | |
| 1355 | 1412 | ||
| 1356 | 1413 | Actually this function returns the number of data items in | |
| 1357 | 1414 | the queue minus the number of waiting threads, so a negative | |
| @@ -1365,14 +1422,14 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1365 | 1422 | <return-value transfer-ownership="none"> | |
| 1366 | 1423 | <doc xml:space="preserve" | |
| 1367 | 1424 | filename="glib/gasyncqueue.c" | |
| 1368 | - | line="662">the length of the @queue.</doc> | |
| 1425 | + | line="663">the length of the @queue.</doc> | |
| 1369 | 1426 | <type name="gint" c:type="gint"/> | |
| 1370 | 1427 | </return-value> | |
| 1371 | 1428 | <parameters> | |
| 1372 | 1429 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1373 | 1430 | <doc xml:space="preserve" | |
| 1374 | 1431 | filename="glib/gasyncqueue.c" | |
| 1375 | - | line="649">a #GAsyncQueue</doc> | |
| 1432 | + | line="650">a #GAsyncQueue</doc> | |
| 1376 | 1433 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1377 | 1434 | </instance-parameter> | |
| 1378 | 1435 | </parameters> | |
| @@ -1405,20 +1462,20 @@ deadlock may occur.</doc> | |||
| 1405 | 1462 | <method name="pop" c:identifier="g_async_queue_pop"> | |
| 1406 | 1463 | <doc xml:space="preserve" | |
| 1407 | 1464 | filename="glib/gasyncqueue.c" | |
| 1408 | - | line="392">Pops data from the @queue. If @queue is empty, this function | |
| 1465 | + | line="393">Pops data from the @queue. If @queue is empty, this function | |
| 1409 | 1466 | blocks until data becomes available.</doc> | |
| 1410 | 1467 | <source-position filename="glib/gasyncqueue.h" line="76"/> | |
| 1411 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 1468 | + | <return-value transfer-ownership="full"> | |
| 1412 | 1469 | <doc xml:space="preserve" | |
| 1413 | 1470 | filename="glib/gasyncqueue.c" | |
| 1414 | - | line="399">data from the queue</doc> | |
| 1471 | + | line="400">data from the queue</doc> | |
| 1415 | 1472 | <type name="gpointer" c:type="gpointer"/> | |
| 1416 | 1473 | </return-value> | |
| 1417 | 1474 | <parameters> | |
| 1418 | 1475 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1419 | 1476 | <doc xml:space="preserve" | |
| 1420 | 1477 | filename="glib/gasyncqueue.c" | |
| 1421 | - | line="394">a #GAsyncQueue</doc> | |
| 1478 | + | line="395">a #GAsyncQueue</doc> | |
| 1422 | 1479 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1423 | 1480 | </instance-parameter> | |
| 1424 | 1481 | </parameters> | |
| @@ -1426,22 +1483,22 @@ blocks until data becomes available.</doc> | |||
| 1426 | 1483 | <method name="pop_unlocked" c:identifier="g_async_queue_pop_unlocked"> | |
| 1427 | 1484 | <doc xml:space="preserve" | |
| 1428 | 1485 | filename="glib/gasyncqueue.c" | |
| 1429 | - | line="415">Pops data from the @queue. If @queue is empty, this function | |
| 1486 | + | line="416">Pops data from the @queue. If @queue is empty, this function | |
| 1430 | 1487 | blocks until data becomes available. | |
| 1431 | 1488 | ||
| 1432 | 1489 | This function must be called while holding the @queue's lock.</doc> | |
| 1433 | 1490 | <source-position filename="glib/gasyncqueue.h" line="78"/> | |
| 1434 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 1491 | + | <return-value transfer-ownership="full"> | |
| 1435 | 1492 | <doc xml:space="preserve" | |
| 1436 | 1493 | filename="glib/gasyncqueue.c" | |
| 1437 | - | line="424">data from the queue.</doc> | |
| 1494 | + | line="425">data from the queue.</doc> | |
| 1438 | 1495 | <type name="gpointer" c:type="gpointer"/> | |
| 1439 | 1496 | </return-value> | |
| 1440 | 1497 | <parameters> | |
| 1441 | 1498 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1442 | 1499 | <doc xml:space="preserve" | |
| 1443 | 1500 | filename="glib/gasyncqueue.c" | |
| 1444 | - | line="417">a #GAsyncQueue</doc> | |
| 1501 | + | line="418">a #GAsyncQueue</doc> | |
| 1445 | 1502 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1446 | 1503 | </instance-parameter> | |
| 1447 | 1504 | </parameters> | |
| @@ -1463,7 +1520,7 @@ The @data parameter must not be %NULL.</doc> | |||
| 1463 | 1520 | line="233">a #GAsyncQueue</doc> | |
| 1464 | 1521 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1465 | 1522 | </instance-parameter> | |
| 1466 | - | <parameter name="data" transfer-ownership="none"> | |
| 1523 | + | <parameter name="data" transfer-ownership="full"> | |
| 1467 | 1524 | <doc xml:space="preserve" | |
| 1468 | 1525 | filename="glib/gasyncqueue.c" | |
| 1469 | 1526 | line="234">data to push onto the @queue</doc> | |
| @@ -1476,7 +1533,7 @@ The @data parameter must not be %NULL.</doc> | |||
| 1476 | 1533 | version="2.46"> | |
| 1477 | 1534 | <doc xml:space="preserve" | |
| 1478 | 1535 | filename="glib/gasyncqueue.c" | |
| 1479 | - | line="802">Pushes the @item into the @queue. @item must not be %NULL. | |
| 1536 | + | line="803">Pushes the @item into the @queue. @item must not be %NULL. | |
| 1480 | 1537 | In contrast to g_async_queue_push(), this function | |
| 1481 | 1538 | pushes the new item ahead of the items already in the queue, | |
| 1482 | 1539 | so that it will be the next one to be popped off the queue.</doc> | |
| @@ -1488,13 +1545,13 @@ so that it will be the next one to be popped off the queue.</doc> | |||
| 1488 | 1545 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1489 | 1546 | <doc xml:space="preserve" | |
| 1490 | 1547 | filename="glib/gasyncqueue.c" | |
| 1491 | - | line="804">a #GAsyncQueue</doc> | |
| 1548 | + | line="805">a #GAsyncQueue</doc> | |
| 1492 | 1549 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1493 | 1550 | </instance-parameter> | |
| 1494 | - | <parameter name="item" transfer-ownership="none"> | |
| 1551 | + | <parameter name="item" transfer-ownership="full"> | |
| 1495 | 1552 | <doc xml:space="preserve" | |
| 1496 | 1553 | filename="glib/gasyncqueue.c" | |
| 1497 | - | line="805">data to push into the @queue</doc> | |
| 1554 | + | line="806">data to push into the @queue</doc> | |
| 1498 | 1555 | <type name="gpointer" c:type="gpointer"/> | |
| 1499 | 1556 | </parameter> | |
| 1500 | 1557 | </parameters> | |
| @@ -1504,7 +1561,7 @@ so that it will be the next one to be popped off the queue.</doc> | |||
| 1504 | 1561 | version="2.46"> | |
| 1505 | 1562 | <doc xml:space="preserve" | |
| 1506 | 1563 | filename="glib/gasyncqueue.c" | |
| 1507 | - | line="826">Pushes the @item into the @queue. @item must not be %NULL. | |
| 1564 | + | line="827">Pushes the @item into the @queue. @item must not be %NULL. | |
| 1508 | 1565 | In contrast to g_async_queue_push_unlocked(), this function | |
| 1509 | 1566 | pushes the new item ahead of the items already in the queue, | |
| 1510 | 1567 | so that it will be the next one to be popped off the queue. | |
| @@ -1518,13 +1575,13 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1518 | 1575 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1519 | 1576 | <doc xml:space="preserve" | |
| 1520 | 1577 | filename="glib/gasyncqueue.c" | |
| 1521 | - | line="828">a #GAsyncQueue</doc> | |
| 1578 | + | line="829">a #GAsyncQueue</doc> | |
| 1522 | 1579 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1523 | 1580 | </instance-parameter> | |
| 1524 | - | <parameter name="item" transfer-ownership="none"> | |
| 1581 | + | <parameter name="item" transfer-ownership="full"> | |
| 1525 | 1582 | <doc xml:space="preserve" | |
| 1526 | 1583 | filename="glib/gasyncqueue.c" | |
| 1527 | - | line="829">data to push into the @queue</doc> | |
| 1584 | + | line="830">data to push into the @queue</doc> | |
| 1528 | 1585 | <type name="gpointer" c:type="gpointer"/> | |
| 1529 | 1586 | </parameter> | |
| 1530 | 1587 | </parameters> | |
| @@ -1555,7 +1612,7 @@ For an example of @func see g_async_queue_sort().</doc> | |||
| 1555 | 1612 | line="277">a #GAsyncQueue</doc> | |
| 1556 | 1613 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1557 | 1614 | </instance-parameter> | |
| 1558 | - | <parameter name="data" transfer-ownership="none"> | |
| 1615 | + | <parameter name="data" transfer-ownership="full"> | |
| 1559 | 1616 | <doc xml:space="preserve" | |
| 1560 | 1617 | filename="glib/gasyncqueue.c" | |
| 1561 | 1618 | line="278">the @data to push into the @queue</doc> | |
| @@ -1612,10 +1669,7 @@ For an example of @func see g_async_queue_sort().</doc> | |||
| 1612 | 1669 | line="318">a #GAsyncQueue</doc> | |
| 1613 | 1670 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1614 | 1671 | </instance-parameter> | |
| 1615 | - | <parameter name="data" | |
| 1616 | - | transfer-ownership="none" | |
| 1617 | - | nullable="1" | |
| 1618 | - | allow-none="1"> | |
| 1672 | + | <parameter name="data" transfer-ownership="full"> | |
| 1619 | 1673 | <doc xml:space="preserve" | |
| 1620 | 1674 | filename="glib/gasyncqueue.c" | |
| 1621 | 1675 | line="319">the data to push into the @queue</doc> | |
| @@ -1660,7 +1714,7 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1660 | 1714 | line="254">a #GAsyncQueue</doc> | |
| 1661 | 1715 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1662 | 1716 | </instance-parameter> | |
| 1663 | - | <parameter name="data" transfer-ownership="none"> | |
| 1717 | + | <parameter name="data" transfer-ownership="full"> | |
| 1664 | 1718 | <doc xml:space="preserve" | |
| 1665 | 1719 | filename="glib/gasyncqueue.c" | |
| 1666 | 1720 | line="255">data to push onto the @queue</doc> | |
| @@ -1715,25 +1769,25 @@ lock.</doc-deprecated> | |||
| 1715 | 1769 | <method name="remove" c:identifier="g_async_queue_remove" version="2.46"> | |
| 1716 | 1770 | <doc xml:space="preserve" | |
| 1717 | 1771 | filename="glib/gasyncqueue.c" | |
| 1718 | - | line="752">Remove an item from the queue.</doc> | |
| 1772 | + | line="753">Remove an item from the queue.</doc> | |
| 1719 | 1773 | <source-position filename="glib/gasyncqueue.h" line="103"/> | |
| 1720 | 1774 | <return-value transfer-ownership="none"> | |
| 1721 | 1775 | <doc xml:space="preserve" | |
| 1722 | 1776 | filename="glib/gasyncqueue.c" | |
| 1723 | - | line="759">%TRUE if the item was removed</doc> | |
| 1777 | + | line="760">%TRUE if the item was removed</doc> | |
| 1724 | 1778 | <type name="gboolean" c:type="gboolean"/> | |
| 1725 | 1779 | </return-value> | |
| 1726 | 1780 | <parameters> | |
| 1727 | 1781 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1728 | 1782 | <doc xml:space="preserve" | |
| 1729 | 1783 | filename="glib/gasyncqueue.c" | |
| 1730 | - | line="754">a #GAsyncQueue</doc> | |
| 1784 | + | line="755">a #GAsyncQueue</doc> | |
| 1731 | 1785 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1732 | 1786 | </instance-parameter> | |
| 1733 | 1787 | <parameter name="item" transfer-ownership="none"> | |
| 1734 | 1788 | <doc xml:space="preserve" | |
| 1735 | 1789 | filename="glib/gasyncqueue.c" | |
| 1736 | - | line="755">the data to remove from the @queue</doc> | |
| 1790 | + | line="756">the data to remove from the @queue</doc> | |
| 1737 | 1791 | <type name="gpointer" c:type="gpointer"/> | |
| 1738 | 1792 | </parameter> | |
| 1739 | 1793 | </parameters> | |
| @@ -1743,30 +1797,27 @@ lock.</doc-deprecated> | |||
| 1743 | 1797 | version="2.46"> | |
| 1744 | 1798 | <doc xml:space="preserve" | |
| 1745 | 1799 | filename="glib/gasyncqueue.c" | |
| 1746 | - | line="779">Remove an item from the queue. | |
| 1800 | + | line="780">Remove an item from the queue. | |
| 1747 | 1801 | ||
| 1748 | 1802 | This function must be called while holding the @queue's lock.</doc> | |
| 1749 | 1803 | <source-position filename="glib/gasyncqueue.h" line="106"/> | |
| 1750 | 1804 | <return-value transfer-ownership="none"> | |
| 1751 | 1805 | <doc xml:space="preserve" | |
| 1752 | 1806 | filename="glib/gasyncqueue.c" | |
| 1753 | - | line="788">%TRUE if the item was removed</doc> | |
| 1807 | + | line="789">%TRUE if the item was removed</doc> | |
| 1754 | 1808 | <type name="gboolean" c:type="gboolean"/> | |
| 1755 | 1809 | </return-value> | |
| 1756 | 1810 | <parameters> | |
| 1757 | 1811 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1758 | 1812 | <doc xml:space="preserve" | |
| 1759 | 1813 | filename="glib/gasyncqueue.c" | |
| 1760 | - | line="781">a #GAsyncQueue</doc> | |
| 1814 | + | line="782">a #GAsyncQueue</doc> | |
| 1761 | 1815 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1762 | 1816 | </instance-parameter> | |
| 1763 | - | <parameter name="item" | |
| 1764 | - | transfer-ownership="none" | |
| 1765 | - | nullable="1" | |
| 1766 | - | allow-none="1"> | |
| 1817 | + | <parameter name="item" transfer-ownership="none"> | |
| 1767 | 1818 | <doc xml:space="preserve" | |
| 1768 | 1819 | filename="glib/gasyncqueue.c" | |
| 1769 | - | line="782">the data to remove from the @queue</doc> | |
| 1820 | + | line="783">the data to remove from the @queue</doc> | |
| 1770 | 1821 | <type name="gpointer" c:type="gpointer"/> | |
| 1771 | 1822 | </parameter> | |
| 1772 | 1823 | </parameters> | |
| @@ -1774,7 +1825,7 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1774 | 1825 | <method name="sort" c:identifier="g_async_queue_sort" version="2.10"> | |
| 1775 | 1826 | <doc xml:space="preserve" | |
| 1776 | 1827 | filename="glib/gasyncqueue.c" | |
| 1777 | - | line="672">Sorts @queue using @func. | |
| 1828 | + | line="673">Sorts @queue using @func. | |
| 1778 | 1829 | ||
| 1779 | 1830 | The sort function @func is passed two elements of the @queue. | |
| 1780 | 1831 | It should return 0 if they are equal, a negative value if the | |
| @@ -1804,7 +1855,7 @@ lowest priority would be at the top of the queue, you could use: | |||
| 1804 | 1855 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1805 | 1856 | <doc xml:space="preserve" | |
| 1806 | 1857 | filename="glib/gasyncqueue.c" | |
| 1807 | - | line="674">a #GAsyncQueue</doc> | |
| 1858 | + | line="675">a #GAsyncQueue</doc> | |
| 1808 | 1859 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1809 | 1860 | </instance-parameter> | |
| 1810 | 1861 | <parameter name="func" | |
| @@ -1813,7 +1864,7 @@ lowest priority would be at the top of the queue, you could use: | |||
| 1813 | 1864 | closure="1"> | |
| 1814 | 1865 | <doc xml:space="preserve" | |
| 1815 | 1866 | filename="glib/gasyncqueue.c" | |
| 1816 | - | line="675">the #GCompareDataFunc is used to sort @queue</doc> | |
| 1867 | + | line="676">the #GCompareDataFunc is used to sort @queue</doc> | |
| 1817 | 1868 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 1818 | 1869 | </parameter> | |
| 1819 | 1870 | <parameter name="user_data" | |
| @@ -1822,7 +1873,7 @@ lowest priority would be at the top of the queue, you could use: | |||
| 1822 | 1873 | allow-none="1"> | |
| 1823 | 1874 | <doc xml:space="preserve" | |
| 1824 | 1875 | filename="glib/gasyncqueue.c" | |
| 1825 | - | line="676">user data passed to @func</doc> | |
| 1876 | + | line="677">user data passed to @func</doc> | |
| 1826 | 1877 | <type name="gpointer" c:type="gpointer"/> | |
| 1827 | 1878 | </parameter> | |
| 1828 | 1879 | </parameters> | |
| @@ -1832,7 +1883,7 @@ lowest priority would be at the top of the queue, you could use: | |||
| 1832 | 1883 | version="2.10"> | |
| 1833 | 1884 | <doc xml:space="preserve" | |
| 1834 | 1885 | filename="glib/gasyncqueue.c" | |
| 1835 | - | line="716">Sorts @queue using @func. | |
| 1886 | + | line="717">Sorts @queue using @func. | |
| 1836 | 1887 | ||
| 1837 | 1888 | The sort function @func is passed two elements of the @queue. | |
| 1838 | 1889 | It should return 0 if they are equal, a negative value if the | |
| @@ -1849,7 +1900,7 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1849 | 1900 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1850 | 1901 | <doc xml:space="preserve" | |
| 1851 | 1902 | filename="glib/gasyncqueue.c" | |
| 1852 | - | line="718">a #GAsyncQueue</doc> | |
| 1903 | + | line="719">a #GAsyncQueue</doc> | |
| 1853 | 1904 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1854 | 1905 | </instance-parameter> | |
| 1855 | 1906 | <parameter name="func" | |
| @@ -1858,7 +1909,7 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1858 | 1909 | closure="1"> | |
| 1859 | 1910 | <doc xml:space="preserve" | |
| 1860 | 1911 | filename="glib/gasyncqueue.c" | |
| 1861 | - | line="719">the #GCompareDataFunc is used to sort @queue</doc> | |
| 1912 | + | line="720">the #GCompareDataFunc is used to sort @queue</doc> | |
| 1862 | 1913 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 1863 | 1914 | </parameter> | |
| 1864 | 1915 | <parameter name="user_data" | |
| @@ -1867,7 +1918,7 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1867 | 1918 | allow-none="1"> | |
| 1868 | 1919 | <doc xml:space="preserve" | |
| 1869 | 1920 | filename="glib/gasyncqueue.c" | |
| 1870 | - | line="720">user data passed to @func</doc> | |
| 1921 | + | line="721">user data passed to @func</doc> | |
| 1871 | 1922 | <type name="gpointer" c:type="gpointer"/> | |
| 1872 | 1923 | </parameter> | |
| 1873 | 1924 | </parameters> | |
| @@ -1877,7 +1928,7 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1877 | 1928 | deprecated="1"> | |
| 1878 | 1929 | <doc xml:space="preserve" | |
| 1879 | 1930 | filename="glib/gasyncqueue.c" | |
| 1880 | - | line="533">Pops data from the @queue. If the queue is empty, blocks until | |
| 1931 | + | line="534">Pops data from the @queue. If the queue is empty, blocks until | |
| 1881 | 1932 | @end_time or until data becomes available. | |
| 1882 | 1933 | ||
| 1883 | 1934 | If no data is received before @end_time, %NULL is returned. | |
| @@ -1886,24 +1937,24 @@ To easily calculate @end_time, a combination of g_get_real_time() | |||
| 1886 | 1937 | and g_time_val_add() can be used.</doc> | |
| 1887 | 1938 | <doc-deprecated xml:space="preserve">use g_async_queue_timeout_pop().</doc-deprecated> | |
| 1888 | 1939 | <source-position filename="glib/gasyncqueue.h" line="117"/> | |
| 1889 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 1940 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1890 | 1941 | <doc xml:space="preserve" | |
| 1891 | 1942 | filename="glib/gasyncqueue.c" | |
| 1892 | - | line="546">data from the queue or %NULL, when no data is | |
| 1893 | - | received before @end_time.</doc> | |
| 1943 | + | line="547">data from the queue or %NULL, when no | |
| 1944 | + | data is received before @end_time.</doc> | |
| 1894 | 1945 | <type name="gpointer" c:type="gpointer"/> | |
| 1895 | 1946 | </return-value> | |
| 1896 | 1947 | <parameters> | |
| 1897 | 1948 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1898 | 1949 | <doc xml:space="preserve" | |
| 1899 | 1950 | filename="glib/gasyncqueue.c" | |
| 1900 | - | line="535">a #GAsyncQueue</doc> | |
| 1951 | + | line="536">a #GAsyncQueue</doc> | |
| 1901 | 1952 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1902 | 1953 | </instance-parameter> | |
| 1903 | 1954 | <parameter name="end_time" transfer-ownership="none"> | |
| 1904 | 1955 | <doc xml:space="preserve" | |
| 1905 | 1956 | filename="glib/gasyncqueue.c" | |
| 1906 | - | line="536">a #GTimeVal, determining the final time</doc> | |
| 1957 | + | line="537">a #GTimeVal, determining the final time</doc> | |
| 1907 | 1958 | <type name="TimeVal" c:type="GTimeVal*"/> | |
| 1908 | 1959 | </parameter> | |
| 1909 | 1960 | </parameters> | |
| @@ -1913,7 +1964,7 @@ and g_time_val_add() can be used.</doc> | |||
| 1913 | 1964 | deprecated="1"> | |
| 1914 | 1965 | <doc xml:space="preserve" | |
| 1915 | 1966 | filename="glib/gasyncqueue.c" | |
| 1916 | - | line="577">Pops data from the @queue. If the queue is empty, blocks until | |
| 1967 | + | line="578">Pops data from the @queue. If the queue is empty, blocks until | |
| 1917 | 1968 | @end_time or until data becomes available. | |
| 1918 | 1969 | ||
| 1919 | 1970 | If no data is received before @end_time, %NULL is returned. | |
| @@ -1924,24 +1975,24 @@ and g_time_val_add() can be used. | |||
| 1924 | 1975 | This function must be called while holding the @queue's lock.</doc> | |
| 1925 | 1976 | <doc-deprecated xml:space="preserve">use g_async_queue_timeout_pop_unlocked().</doc-deprecated> | |
| 1926 | 1977 | <source-position filename="glib/gasyncqueue.h" line="120"/> | |
| 1927 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 1978 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1928 | 1979 | <doc xml:space="preserve" | |
| 1929 | 1980 | filename="glib/gasyncqueue.c" | |
| 1930 | - | line="592">data from the queue or %NULL, when no data is | |
| 1931 | - | received before @end_time.</doc> | |
| 1981 | + | line="593">data from the queue or %NULL, when no | |
| 1982 | + | data is received before @end_time.</doc> | |
| 1932 | 1983 | <type name="gpointer" c:type="gpointer"/> | |
| 1933 | 1984 | </return-value> | |
| 1934 | 1985 | <parameters> | |
| 1935 | 1986 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1936 | 1987 | <doc xml:space="preserve" | |
| 1937 | 1988 | filename="glib/gasyncqueue.c" | |
| 1938 | - | line="579">a #GAsyncQueue</doc> | |
| 1989 | + | line="580">a #GAsyncQueue</doc> | |
| 1939 | 1990 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1940 | 1991 | </instance-parameter> | |
| 1941 | 1992 | <parameter name="end_time" transfer-ownership="none"> | |
| 1942 | 1993 | <doc xml:space="preserve" | |
| 1943 | 1994 | filename="glib/gasyncqueue.c" | |
| 1944 | - | line="580">a #GTimeVal, determining the final time</doc> | |
| 1995 | + | line="581">a #GTimeVal, determining the final time</doc> | |
| 1945 | 1996 | <type name="TimeVal" c:type="GTimeVal*"/> | |
| 1946 | 1997 | </parameter> | |
| 1947 | 1998 | </parameters> | |
| @@ -1949,29 +2000,29 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 1949 | 2000 | <method name="timeout_pop" c:identifier="g_async_queue_timeout_pop"> | |
| 1950 | 2001 | <doc xml:space="preserve" | |
| 1951 | 2002 | filename="glib/gasyncqueue.c" | |
| 1952 | - | line="478">Pops data from the @queue. If the queue is empty, blocks for | |
| 2003 | + | line="479">Pops data from the @queue. If the queue is empty, blocks for | |
| 1953 | 2004 | @timeout microseconds, or until data becomes available. | |
| 1954 | 2005 | ||
| 1955 | 2006 | If no data is received before the timeout, %NULL is returned.</doc> | |
| 1956 | 2007 | <source-position filename="glib/gasyncqueue.h" line="84"/> | |
| 1957 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 2008 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1958 | 2009 | <doc xml:space="preserve" | |
| 1959 | 2010 | filename="glib/gasyncqueue.c" | |
| 1960 | - | line="488">data from the queue or %NULL, when no data is | |
| 1961 | - | received before the timeout.</doc> | |
| 2011 | + | line="489">data from the queue or %NULL, when no | |
| 2012 | + | data is received before the timeout.</doc> | |
| 1962 | 2013 | <type name="gpointer" c:type="gpointer"/> | |
| 1963 | 2014 | </return-value> | |
| 1964 | 2015 | <parameters> | |
| 1965 | 2016 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1966 | 2017 | <doc xml:space="preserve" | |
| 1967 | 2018 | filename="glib/gasyncqueue.c" | |
| 1968 | - | line="480">a #GAsyncQueue</doc> | |
| 2019 | + | line="481">a #GAsyncQueue</doc> | |
| 1969 | 2020 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 1970 | 2021 | </instance-parameter> | |
| 1971 | 2022 | <parameter name="timeout" transfer-ownership="none"> | |
| 1972 | 2023 | <doc xml:space="preserve" | |
| 1973 | 2024 | filename="glib/gasyncqueue.c" | |
| 1974 | - | line="481">the number of microseconds to wait</doc> | |
| 2025 | + | line="482">the number of microseconds to wait</doc> | |
| 1975 | 2026 | <type name="guint64" c:type="guint64"/> | |
| 1976 | 2027 | </parameter> | |
| 1977 | 2028 | </parameters> | |
| @@ -1980,31 +2031,31 @@ If no data is received before the timeout, %NULL is returned.</doc> | |||
| 1980 | 2031 | c:identifier="g_async_queue_timeout_pop_unlocked"> | |
| 1981 | 2032 | <doc xml:space="preserve" | |
| 1982 | 2033 | filename="glib/gasyncqueue.c" | |
| 1983 | - | line="507">Pops data from the @queue. If the queue is empty, blocks for | |
| 2034 | + | line="508">Pops data from the @queue. If the queue is empty, blocks for | |
| 1984 | 2035 | @timeout microseconds, or until data becomes available. | |
| 1985 | 2036 | ||
| 1986 | 2037 | If no data is received before the timeout, %NULL is returned. | |
| 1987 | 2038 | ||
| 1988 | 2039 | This function must be called while holding the @queue's lock.</doc> | |
| 1989 | 2040 | <source-position filename="glib/gasyncqueue.h" line="87"/> | |
| 1990 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 2041 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1991 | 2042 | <doc xml:space="preserve" | |
| 1992 | 2043 | filename="glib/gasyncqueue.c" | |
| 1993 | - | line="519">data from the queue or %NULL, when no data is | |
| 1994 | - | received before the timeout.</doc> | |
| 2044 | + | line="520">data from the queue or %NULL, when no | |
| 2045 | + | data is received before the timeout.</doc> | |
| 1995 | 2046 | <type name="gpointer" c:type="gpointer"/> | |
| 1996 | 2047 | </return-value> | |
| 1997 | 2048 | <parameters> | |
| 1998 | 2049 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 1999 | 2050 | <doc xml:space="preserve" | |
| 2000 | 2051 | filename="glib/gasyncqueue.c" | |
| 2001 | - | line="509">a #GAsyncQueue</doc> | |
| 2052 | + | line="510">a #GAsyncQueue</doc> | |
| 2002 | 2053 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 2003 | 2054 | </instance-parameter> | |
| 2004 | 2055 | <parameter name="timeout" transfer-ownership="none"> | |
| 2005 | 2056 | <doc xml:space="preserve" | |
| 2006 | 2057 | filename="glib/gasyncqueue.c" | |
| 2007 | - | line="510">the number of microseconds to wait</doc> | |
| 2058 | + | line="511">the number of microseconds to wait</doc> | |
| 2008 | 2059 | <type name="guint64" c:type="guint64"/> | |
| 2009 | 2060 | </parameter> | |
| 2010 | 2061 | </parameters> | |
| @@ -2012,21 +2063,21 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 2012 | 2063 | <method name="try_pop" c:identifier="g_async_queue_try_pop"> | |
| 2013 | 2064 | <doc xml:space="preserve" | |
| 2014 | 2065 | filename="glib/gasyncqueue.c" | |
| 2015 | - | line="434">Tries to pop data from the @queue. If no data is available, | |
| 2066 | + | line="435">Tries to pop data from the @queue. If no data is available, | |
| 2016 | 2067 | %NULL is returned.</doc> | |
| 2017 | 2068 | <source-position filename="glib/gasyncqueue.h" line="80"/> | |
| 2018 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 2069 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 2019 | 2070 | <doc xml:space="preserve" | |
| 2020 | 2071 | filename="glib/gasyncqueue.c" | |
| 2021 | - | line="441">data from the queue or %NULL, when no data is | |
| 2022 | - | available immediately.</doc> | |
| 2072 | + | line="442">data from the queue or %NULL, when no | |
| 2073 | + | data is available immediately.</doc> | |
| 2023 | 2074 | <type name="gpointer" c:type="gpointer"/> | |
| 2024 | 2075 | </return-value> | |
| 2025 | 2076 | <parameters> | |
| 2026 | 2077 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 2027 | 2078 | <doc xml:space="preserve" | |
| 2028 | 2079 | filename="glib/gasyncqueue.c" | |
| 2029 | - | line="436">a #GAsyncQueue</doc> | |
| 2080 | + | line="437">a #GAsyncQueue</doc> | |
| 2030 | 2081 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 2031 | 2082 | </instance-parameter> | |
| 2032 | 2083 | </parameters> | |
| @@ -2035,23 +2086,23 @@ This function must be called while holding the @queue's lock.</doc> | |||
| 2035 | 2086 | c:identifier="g_async_queue_try_pop_unlocked"> | |
| 2036 | 2087 | <doc xml:space="preserve" | |
| 2037 | 2088 | filename="glib/gasyncqueue.c" | |
| 2038 | - | line="458">Tries to pop data from the @queue. If no data is available, | |
| 2089 | + | line="459">Tries to pop data from the @queue. If no data is available, | |
| 2039 | 2090 | %NULL is returned. | |
| 2040 | 2091 | ||
| 2041 | 2092 | This function must be called while holding the @queue's lock.</doc> | |
| 2042 | 2093 | <source-position filename="glib/gasyncqueue.h" line="82"/> | |
| 2043 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 2094 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 2044 | 2095 | <doc xml:space="preserve" | |
| 2045 | 2096 | filename="glib/gasyncqueue.c" | |
| 2046 | - | line="467">data from the queue or %NULL, when no data is | |
| 2047 | - | available immediately.</doc> | |
| 2097 | + | line="468">data from the queue or %NULL, when no | |
| 2098 | + | data is available immediately.</doc> | |
| 2048 | 2099 | <type name="gpointer" c:type="gpointer"/> | |
| 2049 | 2100 | </return-value> | |
| 2050 | 2101 | <parameters> | |
| 2051 | 2102 | <instance-parameter name="queue" transfer-ownership="none"> | |
| 2052 | 2103 | <doc xml:space="preserve" | |
| 2053 | 2104 | filename="glib/gasyncqueue.c" | |
| 2054 | - | line="460">a #GAsyncQueue</doc> | |
| 2105 | + | line="461">a #GAsyncQueue</doc> | |
| 2055 | 2106 | <type name="AsyncQueue" c:type="GAsyncQueue*"/> | |
| 2056 | 2107 | </instance-parameter> | |
| 2057 | 2108 | </parameters> | |
| @@ -2117,7 +2168,7 @@ lock.</doc-deprecated> | |||
| 2117 | 2168 | <type name="none" c:type="void"/> | |
| 2118 | 2169 | </return-value> | |
| 2119 | 2170 | <parameters> | |
| 2120 | - | <instance-parameter name="queue" transfer-ownership="none"> | |
| 2171 | + | <instance-parameter name="queue" transfer-ownership="full"> | |
| 2121 | 2172 | <doc xml:space="preserve" | |
| 2122 | 2173 | filename="glib/gasyncqueue.c" | |
| 2123 | 2174 | line="143">a #GAsyncQueue</doc> | |
| @@ -4260,36 +4311,38 @@ guaranteed to be atomic by using g_file_set_contents() internally.</doc> | |||
| 4260 | 4311 | </enumeration> | |
| 4261 | 4312 | <record name="ByteArray" | |
| 4262 | 4313 | c:type="GByteArray" | |
| 4314 | + | copy-function="g_byte_array_ref" | |
| 4315 | + | free-function="g_byte_array_unref" | |
| 4263 | 4316 | glib:type-name="GByteArray" | |
| 4264 | 4317 | glib:get-type="g_byte_array_get_type" | |
| 4265 | 4318 | c:symbol-prefix="byte_array"> | |
| 4266 | 4319 | <doc xml:space="preserve" | |
| 4267 | 4320 | filename="glib/garray.c" | |
| 4268 | - | line="2676">Contains the public fields of a GByteArray.</doc> | |
| 4321 | + | line="2696">Contains the public fields of a `GByteArray`.</doc> | |
| 4269 | 4322 | <source-position filename="glib/garray.h" line="53"/> | |
| 4270 | 4323 | <field name="data" writable="1"> | |
| 4271 | 4324 | <doc xml:space="preserve" | |
| 4272 | 4325 | filename="glib/garray.c" | |
| 4273 | - | line="2678">a pointer to the element data. The data may be moved as | |
| 4274 | - | elements are added to the #GByteArray</doc> | |
| 4326 | + | line="2698">a pointer to the element data. The data may be moved as | |
| 4327 | + | elements are added to the `GByteArray`</doc> | |
| 4275 | 4328 | <type name="guint8" c:type="guint8*"/> | |
| 4276 | 4329 | </field> | |
| 4277 | 4330 | <field name="len" writable="1"> | |
| 4278 | 4331 | <doc xml:space="preserve" | |
| 4279 | 4332 | filename="glib/garray.c" | |
| 4280 | - | line="2680">the number of elements in the #GByteArray</doc> | |
| 4333 | + | line="2700">the number of elements in the `GByteArray`</doc> | |
| 4281 | 4334 | <type name="guint" c:type="guint"/> | |
| 4282 | 4335 | </field> | |
| 4283 | 4336 | <function name="append" c:identifier="g_byte_array_append"> | |
| 4284 | 4337 | <doc xml:space="preserve" | |
| 4285 | 4338 | filename="glib/garray.c" | |
| 4286 | - | line="2858">Adds the given bytes to the end of the #GByteArray. | |
| 4339 | + | line="2878">Adds the given bytes to the end of the `GByteArray`. | |
| 4287 | 4340 | The array will grow in size automatically if necessary.</doc> | |
| 4288 | 4341 | <source-position filename="glib/garray.h" line="293"/> | |
| 4289 | 4342 | <return-value transfer-ownership="none"> | |
| 4290 | 4343 | <doc xml:space="preserve" | |
| 4291 | 4344 | filename="glib/garray.c" | |
| 4292 | - | line="2867">the #GByteArray</doc> | |
| 4345 | + | line="2887">The `GByteArray`</doc> | |
| 4293 | 4346 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4294 | 4347 | <type name="guint8" c:type="guint8"/> | |
| 4295 | 4348 | </array> | |
| @@ -4298,7 +4351,7 @@ The array will grow in size automatically if necessary.</doc> | |||
| 4298 | 4351 | <parameter name="array" transfer-ownership="none"> | |
| 4299 | 4352 | <doc xml:space="preserve" | |
| 4300 | 4353 | filename="glib/garray.c" | |
| 4301 | - | line="2860">a #GByteArray</doc> | |
| 4354 | + | line="2880">a byte array</doc> | |
| 4302 | 4355 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4303 | 4356 | <type name="guint8" c:type="guint8"/> | |
| 4304 | 4357 | </array> | |
| @@ -4306,13 +4359,15 @@ The array will grow in size automatically if necessary.</doc> | |||
| 4306 | 4359 | <parameter name="data" transfer-ownership="none"> | |
| 4307 | 4360 | <doc xml:space="preserve" | |
| 4308 | 4361 | filename="glib/garray.c" | |
| 4309 | - | line="2861">the byte data to be added</doc> | |
| 4310 | - | <type name="guint8" c:type="const guint8*"/> | |
| 4362 | + | line="2881">the byte data to be added</doc> | |
| 4363 | + | <array length="2" zero-terminated="0" c:type="const guint8*"> | |
| 4364 | + | <type name="guint8" c:type="guint8"/> | |
| 4365 | + | </array> | |
| 4311 | 4366 | </parameter> | |
| 4312 | 4367 | <parameter name="len" transfer-ownership="none"> | |
| 4313 | 4368 | <doc xml:space="preserve" | |
| 4314 | 4369 | filename="glib/garray.c" | |
| 4315 | - | line="2862">the number of bytes to add</doc> | |
| 4370 | + | line="2882">the number of bytes to add</doc> | |
| 4316 | 4371 | <type name="guint" c:type="guint"/> | |
| 4317 | 4372 | </parameter> | |
| 4318 | 4373 | </parameters> | |
| @@ -4320,23 +4375,25 @@ The array will grow in size automatically if necessary.</doc> | |||
| 4320 | 4375 | <function name="free" c:identifier="g_byte_array_free"> | |
| 4321 | 4376 | <doc xml:space="preserve" | |
| 4322 | 4377 | filename="glib/garray.c" | |
| 4323 | - | line="2775">Frees the memory allocated by the #GByteArray. If @free_segment is | |
| 4324 | - | %TRUE it frees the actual byte data. If the reference count of | |
| 4325 | - | @array is greater than one, the #GByteArray wrapper is preserved but | |
| 4378 | + | line="2794">Frees the memory allocated by the `GByteArray`. If @free_segment is | |
| 4379 | + | true it frees the actual byte data. If the reference count of | |
| 4380 | + | @array is greater than one, the `GByteArray` wrapper is preserved but | |
| 4326 | 4381 | the size of @array will be set to zero.</doc> | |
| 4327 | 4382 | <source-position filename="glib/garray.h" line="284"/> | |
| 4328 | - | <return-value transfer-ownership="none"> | |
| 4383 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 4329 | 4384 | <doc xml:space="preserve" | |
| 4330 | 4385 | filename="glib/garray.c" | |
| 4331 | - | line="2785">the element data if @free_segment is %FALSE, otherwise | |
| 4332 | - | %NULL. The element data should be freed using g_free().</doc> | |
| 4333 | - | <type name="guint8" c:type="guint8*"/> | |
| 4386 | + | line="2804">The allocated element data if | |
| 4387 | + | @free_segment is false, otherwise `NULL`.</doc> | |
| 4388 | + | <array zero-terminated="0" c:type="guint8*"> | |
| 4389 | + | <type name="guint8" c:type="guint8"/> | |
| 4390 | + | </array> | |
| 4334 | 4391 | </return-value> | |
| 4335 | 4392 | <parameters> | |
| 4336 | - | <parameter name="array" transfer-ownership="none"> | |
| 4393 | + | <parameter name="array" transfer-ownership="full"> | |
| 4337 | 4394 | <doc xml:space="preserve" | |
| 4338 | 4395 | filename="glib/garray.c" | |
| 4339 | - | line="2777">a #GByteArray</doc> | |
| 4396 | + | line="2796">a byte array</doc> | |
| 4340 | 4397 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4341 | 4398 | <type name="guint8" c:type="guint8"/> | |
| 4342 | 4399 | </array> | |
| @@ -4344,7 +4401,7 @@ the size of @array will be set to zero.</doc> | |||
| 4344 | 4401 | <parameter name="free_segment" transfer-ownership="none"> | |
| 4345 | 4402 | <doc xml:space="preserve" | |
| 4346 | 4403 | filename="glib/garray.c" | |
| 4347 | - | line="2778">if %TRUE the actual byte data is freed as well</doc> | |
| 4404 | + | line="2797">if true, the actual byte data is freed as well</doc> | |
| 4348 | 4405 | <type name="gboolean" c:type="gboolean"/> | |
| 4349 | 4406 | </parameter> | |
| 4350 | 4407 | </parameters> | |
| @@ -4354,27 +4411,28 @@ the size of @array will be set to zero.</doc> | |||
| 4354 | 4411 | version="2.32"> | |
| 4355 | 4412 | <doc xml:space="preserve" | |
| 4356 | 4413 | filename="glib/garray.c" | |
| 4357 | - | line="2795">Transfers the data from the #GByteArray into a new immutable #GBytes. | |
| 4414 | + | line="2814">Transfers the data from the `GByteArray` into a new immutable | |
| 4415 | + | [struct@GLib.Bytes]. | |
| 4358 | 4416 | ||
| 4359 | - | The #GByteArray is freed unless the reference count of @array is greater | |
| 4360 | - | than one, the #GByteArray wrapper is preserved but the size of @array | |
| 4361 | - | will be set to zero. | |
| 4417 | + | The `GByteArray` is freed unless the reference count of @array is greater | |
| 4418 | + | than one, in which the `GByteArray` wrapper is preserved but the size of | |
| 4419 | + | @array will be set to zero. | |
| 4362 | 4420 | ||
| 4363 | - | This is identical to using g_bytes_new_take() and g_byte_array_free() | |
| 4364 | - | together.</doc> | |
| 4421 | + | This is identical to using [ctor@GLib.Bytes.new_take] and | |
| 4422 | + | [func@GLib.ByteArray.free] together.</doc> | |
| 4365 | 4423 | <source-position filename="glib/garray.h" line="287"/> | |
| 4366 | 4424 | <return-value transfer-ownership="full"> | |
| 4367 | 4425 | <doc xml:space="preserve" | |
| 4368 | 4426 | filename="glib/garray.c" | |
| 4369 | - | line="2810">a new immutable #GBytes representing same | |
| 4370 | - | byte data that was in the array</doc> | |
| 4427 | + | line="2830">The new immutable [struct@GLib.Bytes] representing | |
| 4428 | + | same byte data that was in the array</doc> | |
| 4371 | 4429 | <type name="Bytes" c:type="GBytes*"/> | |
| 4372 | 4430 | </return-value> | |
| 4373 | 4431 | <parameters> | |
| 4374 | 4432 | <parameter name="array" transfer-ownership="full"> | |
| 4375 | 4433 | <doc xml:space="preserve" | |
| 4376 | 4434 | filename="glib/garray.c" | |
| 4377 | - | line="2797">a #GByteArray</doc> | |
| 4435 | + | line="2816">a byte array</doc> | |
| 4378 | 4436 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4379 | 4437 | <type name="guint8" c:type="guint8"/> | |
| 4380 | 4438 | </array> | |
| @@ -4384,12 +4442,12 @@ together.</doc> | |||
| 4384 | 4442 | <function name="new" c:identifier="g_byte_array_new"> | |
| 4385 | 4443 | <doc xml:space="preserve" | |
| 4386 | 4444 | filename="glib/garray.c" | |
| 4387 | - | line="2685">Creates a new #GByteArray with a reference count of 1.</doc> | |
| 4445 | + | line="2705">Creates a new `GByteArray` with a reference count of 1.</doc> | |
| 4388 | 4446 | <source-position filename="glib/garray.h" line="274"/> | |
| 4389 | 4447 | <return-value transfer-ownership="full"> | |
| 4390 | 4448 | <doc xml:space="preserve" | |
| 4391 | 4449 | filename="glib/garray.c" | |
| 4392 | - | line="2690">the new #GByteArray</doc> | |
| 4450 | + | line="2710">The new `GByteArray`</doc> | |
| 4393 | 4451 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4394 | 4452 | <type name="guint8" c:type="guint8"/> | |
| 4395 | 4453 | </array> | |
| @@ -4400,19 +4458,19 @@ together.</doc> | |||
| 4400 | 4458 | version="2.32"> | |
| 4401 | 4459 | <doc xml:space="preserve" | |
| 4402 | 4460 | filename="glib/garray.c" | |
| 4403 | - | line="2720">Creates a byte array containing the @data. | |
| 4404 | - | After this call, @data belongs to the #GByteArray and may no longer be | |
| 4461 | + | line="2739">Creates a byte array containing the @data. | |
| 4462 | + | After this call, @data belongs to the `GByteArray` and may no longer be | |
| 4405 | 4463 | modified by the caller. The memory of @data has to be dynamically | |
| 4406 | - | allocated and will eventually be freed with g_free(). | |
| 4464 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 4407 | 4465 | ||
| 4408 | - | Do not use it if @len is greater than %G_MAXUINT. #GByteArray | |
| 4409 | - | stores the length of its data in #guint, which may be shorter than | |
| 4410 | - | #gsize.</doc> | |
| 4466 | + | Do not use it if @len is greater than [`G_MAXUINT`](types.html#guint). | |
| 4467 | + | `GByteArray` stores the length of its data in `guint`, which may be shorter | |
| 4468 | + | than `gsize`.</doc> | |
| 4411 | 4469 | <source-position filename="glib/garray.h" line="276"/> | |
| 4412 | 4470 | <return-value transfer-ownership="full"> | |
| 4413 | 4471 | <doc xml:space="preserve" | |
| 4414 | 4472 | filename="glib/garray.c" | |
| 4415 | - | line="2736">a new #GByteArray</doc> | |
| 4473 | + | line="2755">The new `GByteArray`</doc> | |
| 4416 | 4474 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4417 | 4475 | <type name="guint8" c:type="guint8"/> | |
| 4418 | 4476 | </array> | |
| @@ -4421,7 +4479,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 4421 | 4479 | <parameter name="data" transfer-ownership="full"> | |
| 4422 | 4480 | <doc xml:space="preserve" | |
| 4423 | 4481 | filename="glib/garray.c" | |
| 4424 | - | line="2722">byte data for the array</doc> | |
| 4482 | + | line="2741">the byte data for the array</doc> | |
| 4425 | 4483 | <array length="1" zero-terminated="0" c:type="guint8*"> | |
| 4426 | 4484 | <type name="guint8" c:type="guint8"/> | |
| 4427 | 4485 | </array> | |
| @@ -4429,7 +4487,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 4429 | 4487 | <parameter name="len" transfer-ownership="none"> | |
| 4430 | 4488 | <doc xml:space="preserve" | |
| 4431 | 4489 | filename="glib/garray.c" | |
| 4432 | - | line="2723">length of @data</doc> | |
| 4490 | + | line="2742">the length of @data</doc> | |
| 4433 | 4491 | <type name="gsize" c:type="gsize"/> | |
| 4434 | 4492 | </parameter> | |
| 4435 | 4493 | </parameters> | |
| @@ -4437,13 +4495,13 @@ stores the length of its data in #guint, which may be shorter than | |||
| 4437 | 4495 | <function name="prepend" c:identifier="g_byte_array_prepend"> | |
| 4438 | 4496 | <doc xml:space="preserve" | |
| 4439 | 4497 | filename="glib/garray.c" | |
| 4440 | - | line="2879">Adds the given data to the start of the #GByteArray. | |
| 4498 | + | line="2897">Adds the given data to the start of the `GByteArray`. | |
| 4441 | 4499 | The array will grow in size automatically if necessary.</doc> | |
| 4442 | 4500 | <source-position filename="glib/garray.h" line="297"/> | |
| 4443 | 4501 | <return-value transfer-ownership="none"> | |
| 4444 | 4502 | <doc xml:space="preserve" | |
| 4445 | 4503 | filename="glib/garray.c" | |
| 4446 | - | line="2888">the #GByteArray</doc> | |
| 4504 | + | line="2906">The `GByteArray`</doc> | |
| 4447 | 4505 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4448 | 4506 | <type name="guint8" c:type="guint8"/> | |
| 4449 | 4507 | </array> | |
| @@ -4452,7 +4510,7 @@ The array will grow in size automatically if necessary.</doc> | |||
| 4452 | 4510 | <parameter name="array" transfer-ownership="none"> | |
| 4453 | 4511 | <doc xml:space="preserve" | |
| 4454 | 4512 | filename="glib/garray.c" | |
| 4455 | - | line="2881">a #GByteArray</doc> | |
| 4513 | + | line="2899">a byte array</doc> | |
| 4456 | 4514 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4457 | 4515 | <type name="guint8" c:type="guint8"/> | |
| 4458 | 4516 | </array> | |
| @@ -4460,13 +4518,15 @@ The array will grow in size automatically if necessary.</doc> | |||
| 4460 | 4518 | <parameter name="data" transfer-ownership="none"> | |
| 4461 | 4519 | <doc xml:space="preserve" | |
| 4462 | 4520 | filename="glib/garray.c" | |
| 4463 | - | line="2882">the byte data to be added</doc> | |
| 4464 | - | <type name="guint8" c:type="const guint8*"/> | |
| 4521 | + | line="2900">the byte data to be added</doc> | |
| 4522 | + | <array length="2" zero-terminated="0" c:type="const guint8*"> | |
| 4523 | + | <type name="guint8" c:type="guint8"/> | |
| 4524 | + | </array> | |
| 4465 | 4525 | </parameter> | |
| 4466 | 4526 | <parameter name="len" transfer-ownership="none"> | |
| 4467 | 4527 | <doc xml:space="preserve" | |
| 4468 | 4528 | filename="glib/garray.c" | |
| 4469 | - | line="2883">the number of bytes to add</doc> | |
| 4529 | + | line="2901">the number of bytes to add</doc> | |
| 4470 | 4530 | <type name="guint" c:type="guint"/> | |
| 4471 | 4531 | </parameter> | |
| 4472 | 4532 | </parameters> | |
| @@ -4474,13 +4534,13 @@ The array will grow in size automatically if necessary.</doc> | |||
| 4474 | 4534 | <function name="ref" c:identifier="g_byte_array_ref" version="2.22"> | |
| 4475 | 4535 | <doc xml:space="preserve" | |
| 4476 | 4536 | filename="glib/garray.c" | |
| 4477 | - | line="2824">Atomically increments the reference count of @array by one. | |
| 4537 | + | line="2844">Atomically increments the reference count of @array by one. | |
| 4478 | 4538 | This function is thread-safe and may be called from any thread.</doc> | |
| 4479 | 4539 | <source-position filename="glib/garray.h" line="289"/> | |
| 4480 | 4540 | <return-value transfer-ownership="full"> | |
| 4481 | 4541 | <doc xml:space="preserve" | |
| 4482 | 4542 | filename="glib/garray.c" | |
| 4483 | - | line="2831">The passed in #GByteArray</doc> | |
| 4543 | + | line="2851">The passed in `GByteArray`</doc> | |
| 4484 | 4544 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4485 | 4545 | <type name="guint8" c:type="guint8"/> | |
| 4486 | 4546 | </array> | |
| @@ -4489,7 +4549,7 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 4489 | 4549 | <parameter name="array" transfer-ownership="none"> | |
| 4490 | 4550 | <doc xml:space="preserve" | |
| 4491 | 4551 | filename="glib/garray.c" | |
| 4492 | - | line="2826">A #GByteArray</doc> | |
| 4552 | + | line="2846">a byte array</doc> | |
| 4493 | 4553 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4494 | 4554 | <type name="guint8" c:type="guint8"/> | |
| 4495 | 4555 | </array> | |
| @@ -4499,13 +4559,13 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 4499 | 4559 | <function name="remove_index" c:identifier="g_byte_array_remove_index"> | |
| 4500 | 4560 | <doc xml:space="preserve" | |
| 4501 | 4561 | filename="glib/garray.c" | |
| 4502 | - | line="2918">Removes the byte at the given index from a #GByteArray. | |
| 4562 | + | line="2932">Removes the byte at the given index from a `GByteArray`. | |
| 4503 | 4563 | The following bytes are moved down one place.</doc> | |
| 4504 | 4564 | <source-position filename="glib/garray.h" line="304"/> | |
| 4505 | 4565 | <return-value transfer-ownership="none"> | |
| 4506 | 4566 | <doc xml:space="preserve" | |
| 4507 | 4567 | filename="glib/garray.c" | |
| 4508 | - | line="2926">the #GByteArray</doc> | |
| 4568 | + | line="2940">The `GByteArray`</doc> | |
| 4509 | 4569 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4510 | 4570 | <type name="guint8" c:type="guint8"/> | |
| 4511 | 4571 | </array> | |
| @@ -4514,7 +4574,7 @@ The following bytes are moved down one place.</doc> | |||
| 4514 | 4574 | <parameter name="array" transfer-ownership="none"> | |
| 4515 | 4575 | <doc xml:space="preserve" | |
| 4516 | 4576 | filename="glib/garray.c" | |
| 4517 | - | line="2920">a #GByteArray</doc> | |
| 4577 | + | line="2934">a byte array</doc> | |
| 4518 | 4578 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4519 | 4579 | <type name="guint8" c:type="guint8"/> | |
| 4520 | 4580 | </array> | |
| @@ -4522,7 +4582,7 @@ The following bytes are moved down one place.</doc> | |||
| 4522 | 4582 | <parameter name="index_" transfer-ownership="none"> | |
| 4523 | 4583 | <doc xml:space="preserve" | |
| 4524 | 4584 | filename="glib/garray.c" | |
| 4525 | - | line="2921">the index of the byte to remove</doc> | |
| 4585 | + | line="2935">the index of the byte to remove</doc> | |
| 4526 | 4586 | <type name="guint" c:type="guint"/> | |
| 4527 | 4587 | </parameter> | |
| 4528 | 4588 | </parameters> | |
| @@ -4531,15 +4591,15 @@ The following bytes are moved down one place.</doc> | |||
| 4531 | 4591 | c:identifier="g_byte_array_remove_index_fast"> | |
| 4532 | 4592 | <doc xml:space="preserve" | |
| 4533 | 4593 | filename="glib/garray.c" | |
| 4534 | - | line="2937">Removes the byte at the given index from a #GByteArray. The last | |
| 4594 | + | line="2949">Removes the byte at the given index from a `GByteArray`. The last | |
| 4535 | 4595 | element in the array is used to fill in the space, so this function | |
| 4536 | - | does not preserve the order of the #GByteArray. But it is faster | |
| 4537 | - | than g_byte_array_remove_index().</doc> | |
| 4596 | + | does not preserve the order of the `GByteArray`. But it is faster | |
| 4597 | + | than [func@GLib.ByteArray.remove_index].</doc> | |
| 4538 | 4598 | <source-position filename="glib/garray.h" line="307"/> | |
| 4539 | 4599 | <return-value transfer-ownership="none"> | |
| 4540 | 4600 | <doc xml:space="preserve" | |
| 4541 | 4601 | filename="glib/garray.c" | |
| 4542 | - | line="2947">the #GByteArray</doc> | |
| 4602 | + | line="2959">The `GByteArray`</doc> | |
| 4543 | 4603 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4544 | 4604 | <type name="guint8" c:type="guint8"/> | |
| 4545 | 4605 | </array> | |
| @@ -4548,7 +4608,7 @@ than g_byte_array_remove_index().</doc> | |||
| 4548 | 4608 | <parameter name="array" transfer-ownership="none"> | |
| 4549 | 4609 | <doc xml:space="preserve" | |
| 4550 | 4610 | filename="glib/garray.c" | |
| 4551 | - | line="2939">a #GByteArray</doc> | |
| 4611 | + | line="2951">a byte array</doc> | |
| 4552 | 4612 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4553 | 4613 | <type name="guint8" c:type="guint8"/> | |
| 4554 | 4614 | </array> | |
| @@ -4556,7 +4616,7 @@ than g_byte_array_remove_index().</doc> | |||
| 4556 | 4616 | <parameter name="index_" transfer-ownership="none"> | |
| 4557 | 4617 | <doc xml:space="preserve" | |
| 4558 | 4618 | filename="glib/garray.c" | |
| 4559 | - | line="2940">the index of the byte to remove</doc> | |
| 4619 | + | line="2952">the index of the byte to remove</doc> | |
| 4560 | 4620 | <type name="guint" c:type="guint"/> | |
| 4561 | 4621 | </parameter> | |
| 4562 | 4622 | </parameters> | |
| @@ -4566,13 +4626,13 @@ than g_byte_array_remove_index().</doc> | |||
| 4566 | 4626 | version="2.4"> | |
| 4567 | 4627 | <doc xml:space="preserve" | |
| 4568 | 4628 | filename="glib/garray.c" | |
| 4569 | - | line="2958">Removes the given number of bytes starting at the given index from a | |
| 4570 | - | #GByteArray. The following elements are moved to close the gap.</doc> | |
| 4629 | + | line="2968">Removes the given number of bytes starting at the given index from a | |
| 4630 | + | `GByteArray`. The following elements are moved to close the gap.</doc> | |
| 4571 | 4631 | <source-position filename="glib/garray.h" line="310"/> | |
| 4572 | 4632 | <return-value transfer-ownership="none"> | |
| 4573 | 4633 | <doc xml:space="preserve" | |
| 4574 | 4634 | filename="glib/garray.c" | |
| 4575 | - | line="2967">the #GByteArray</doc> | |
| 4635 | + | line="2977">The `GByteArray`</doc> | |
| 4576 | 4636 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4577 | 4637 | <type name="guint8" c:type="guint8"/> | |
| 4578 | 4638 | </array> | |
| @@ -4581,7 +4641,7 @@ than g_byte_array_remove_index().</doc> | |||
| 4581 | 4641 | <parameter name="array" transfer-ownership="none"> | |
| 4582 | 4642 | <doc xml:space="preserve" | |
| 4583 | 4643 | filename="glib/garray.c" | |
| 4584 | - | line="2960">a @GByteArray</doc> | |
| 4644 | + | line="2970">a byte array</doc> | |
| 4585 | 4645 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4586 | 4646 | <type name="guint8" c:type="guint8"/> | |
| 4587 | 4647 | </array> | |
| @@ -4589,13 +4649,13 @@ than g_byte_array_remove_index().</doc> | |||
| 4589 | 4649 | <parameter name="index_" transfer-ownership="none"> | |
| 4590 | 4650 | <doc xml:space="preserve" | |
| 4591 | 4651 | filename="glib/garray.c" | |
| 4592 | - | line="2961">the index of the first byte to remove</doc> | |
| 4652 | + | line="2971">the index of the first byte to remove</doc> | |
| 4593 | 4653 | <type name="guint" c:type="guint"/> | |
| 4594 | 4654 | </parameter> | |
| 4595 | 4655 | <parameter name="length" transfer-ownership="none"> | |
| 4596 | 4656 | <doc xml:space="preserve" | |
| 4597 | 4657 | filename="glib/garray.c" | |
| 4598 | - | line="2962">the number of bytes to remove</doc> | |
| 4658 | + | line="2972">the number of bytes to remove</doc> | |
| 4599 | 4659 | <type name="guint" c:type="guint"/> | |
| 4600 | 4660 | </parameter> | |
| 4601 | 4661 | </parameters> | |
| @@ -4603,12 +4663,12 @@ than g_byte_array_remove_index().</doc> | |||
| 4603 | 4663 | <function name="set_size" c:identifier="g_byte_array_set_size"> | |
| 4604 | 4664 | <doc xml:space="preserve" | |
| 4605 | 4665 | filename="glib/garray.c" | |
| 4606 | - | line="2900">Sets the size of the #GByteArray, expanding it if necessary.</doc> | |
| 4666 | + | line="2916">Sets the size of the `GByteArray`, expanding it if necessary.</doc> | |
| 4607 | 4667 | <source-position filename="glib/garray.h" line="301"/> | |
| 4608 | 4668 | <return-value transfer-ownership="none"> | |
| 4609 | 4669 | <doc xml:space="preserve" | |
| 4610 | 4670 | filename="glib/garray.c" | |
| 4611 | - | line="2907">the #GByteArray</doc> | |
| 4671 | + | line="2923">The `GByteArray`</doc> | |
| 4612 | 4672 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4613 | 4673 | <type name="guint8" c:type="guint8"/> | |
| 4614 | 4674 | </array> | |
| @@ -4617,7 +4677,7 @@ than g_byte_array_remove_index().</doc> | |||
| 4617 | 4677 | <parameter name="array" transfer-ownership="none"> | |
| 4618 | 4678 | <doc xml:space="preserve" | |
| 4619 | 4679 | filename="glib/garray.c" | |
| 4620 | - | line="2902">a #GByteArray</doc> | |
| 4680 | + | line="2918">a byte array</doc> | |
| 4621 | 4681 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4622 | 4682 | <type name="guint8" c:type="guint8"/> | |
| 4623 | 4683 | </array> | |
| @@ -4625,7 +4685,7 @@ than g_byte_array_remove_index().</doc> | |||
| 4625 | 4685 | <parameter name="length" transfer-ownership="none"> | |
| 4626 | 4686 | <doc xml:space="preserve" | |
| 4627 | 4687 | filename="glib/garray.c" | |
| 4628 | - | line="2903">the new size of the #GByteArray</doc> | |
| 4688 | + | line="2919">the new size of the `GByteArray`</doc> | |
| 4629 | 4689 | <type name="guint" c:type="guint"/> | |
| 4630 | 4690 | </parameter> | |
| 4631 | 4691 | </parameters> | |
| @@ -4633,7 +4693,7 @@ than g_byte_array_remove_index().</doc> | |||
| 4633 | 4693 | <function name="sized_new" c:identifier="g_byte_array_sized_new"> | |
| 4634 | 4694 | <doc xml:space="preserve" | |
| 4635 | 4695 | filename="glib/garray.c" | |
| 4636 | - | line="2758">Creates a new #GByteArray with @reserved_size bytes preallocated. | |
| 4696 | + | line="2777">Creates a new `GByteArray` with @reserved_size bytes preallocated. | |
| 4637 | 4697 | This avoids frequent reallocation, if you are going to add many | |
| 4638 | 4698 | bytes to the array. Note however that the size of the array is still | |
| 4639 | 4699 | 0.</doc> | |
| @@ -4641,7 +4701,7 @@ bytes to the array. Note however that the size of the array is still | |||
| 4641 | 4701 | <return-value transfer-ownership="full"> | |
| 4642 | 4702 | <doc xml:space="preserve" | |
| 4643 | 4703 | filename="glib/garray.c" | |
| 4644 | - | line="2767">the new #GByteArray</doc> | |
| 4704 | + | line="2786">The new `GByteArray`</doc> | |
| 4645 | 4705 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4646 | 4706 | <type name="guint8" c:type="guint8"/> | |
| 4647 | 4707 | </array> | |
| @@ -4650,7 +4710,7 @@ bytes to the array. Note however that the size of the array is still | |||
| 4650 | 4710 | <parameter name="reserved_size" transfer-ownership="none"> | |
| 4651 | 4711 | <doc xml:space="preserve" | |
| 4652 | 4712 | filename="glib/garray.c" | |
| 4653 | - | line="2760">number of bytes preallocated</doc> | |
| 4713 | + | line="2779">the number of bytes preallocated</doc> | |
| 4654 | 4714 | <type name="guint" c:type="guint"/> | |
| 4655 | 4715 | </parameter> | |
| 4656 | 4716 | </parameters> | |
| @@ -4658,8 +4718,8 @@ bytes to the array. Note however that the size of the array is still | |||
| 4658 | 4718 | <function name="sort" c:identifier="g_byte_array_sort"> | |
| 4659 | 4719 | <doc xml:space="preserve" | |
| 4660 | 4720 | filename="glib/garray.c" | |
| 4661 | - | line="2984">Sorts a byte array, using @compare_func which should be a | |
| 4662 | - | qsort()-style comparison function (returns less than zero for first | |
| 4721 | + | line="2994">Sorts a byte array, using @compare_func which should be a | |
| 4722 | + | `qsort()`-style comparison function (returns less than zero for first | |
| 4663 | 4723 | arg is less than second arg, zero for equal, greater than zero if | |
| 4664 | 4724 | first arg is greater than second arg). | |
| 4665 | 4725 | ||
| @@ -4676,7 +4736,7 @@ their addresses.</doc> | |||
| 4676 | 4736 | <parameter name="array" transfer-ownership="none"> | |
| 4677 | 4737 | <doc xml:space="preserve" | |
| 4678 | 4738 | filename="glib/garray.c" | |
| 4679 | - | line="2986">a #GByteArray</doc> | |
| 4739 | + | line="2996">a byte array</doc> | |
| 4680 | 4740 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4681 | 4741 | <type name="guint8" c:type="guint8"/> | |
| 4682 | 4742 | </array> | |
| @@ -4686,7 +4746,7 @@ their addresses.</doc> | |||
| 4686 | 4746 | scope="call"> | |
| 4687 | 4747 | <doc xml:space="preserve" | |
| 4688 | 4748 | filename="glib/garray.c" | |
| 4689 | - | line="2987">comparison function</doc> | |
| 4749 | + | line="2997">the comparison function</doc> | |
| 4690 | 4750 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 4691 | 4751 | </parameter> | |
| 4692 | 4752 | </parameters> | |
| @@ -4695,7 +4755,7 @@ their addresses.</doc> | |||
| 4695 | 4755 | c:identifier="g_byte_array_sort_with_data"> | |
| 4696 | 4756 | <doc xml:space="preserve" | |
| 4697 | 4757 | filename="glib/garray.c" | |
| 4698 | - | line="3007">Like g_byte_array_sort(), but the comparison function takes an extra | |
| 4758 | + | line="3017">Like [func@GLib.ByteArray.sort], but the comparison function takes an extra | |
| 4699 | 4759 | user data argument.</doc> | |
| 4700 | 4760 | <source-position filename="glib/garray.h" line="317"/> | |
| 4701 | 4761 | <return-value transfer-ownership="none"> | |
| @@ -4705,7 +4765,7 @@ user data argument.</doc> | |||
| 4705 | 4765 | <parameter name="array" transfer-ownership="none"> | |
| 4706 | 4766 | <doc xml:space="preserve" | |
| 4707 | 4767 | filename="glib/garray.c" | |
| 4708 | - | line="3009">a #GByteArray</doc> | |
| 4768 | + | line="3019">a byte array</doc> | |
| 4709 | 4769 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4710 | 4770 | <type name="guint8" c:type="guint8"/> | |
| 4711 | 4771 | </array> | |
| @@ -4716,7 +4776,7 @@ user data argument.</doc> | |||
| 4716 | 4776 | closure="2"> | |
| 4717 | 4777 | <doc xml:space="preserve" | |
| 4718 | 4778 | filename="glib/garray.c" | |
| 4719 | - | line="3010">comparison function</doc> | |
| 4779 | + | line="3020">the comparison function</doc> | |
| 4720 | 4780 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 4721 | 4781 | </parameter> | |
| 4722 | 4782 | <parameter name="user_data" | |
| @@ -4725,7 +4785,7 @@ user data argument.</doc> | |||
| 4725 | 4785 | allow-none="1"> | |
| 4726 | 4786 | <doc xml:space="preserve" | |
| 4727 | 4787 | filename="glib/garray.c" | |
| 4728 | - | line="3011">data to pass to @compare_func</doc> | |
| 4788 | + | line="3021">the data to pass to @compare_func</doc> | |
| 4729 | 4789 | <type name="gpointer" c:type="gpointer"/> | |
| 4730 | 4790 | </parameter> | |
| 4731 | 4791 | </parameters> | |
| @@ -4733,22 +4793,23 @@ user data argument.</doc> | |||
| 4733 | 4793 | <function name="steal" c:identifier="g_byte_array_steal" version="2.64"> | |
| 4734 | 4794 | <doc xml:space="preserve" | |
| 4735 | 4795 | filename="glib/garray.c" | |
| 4736 | - | line="2698">Frees the data in the array and resets the size to zero, while | |
| 4796 | + | line="2718">Frees the data in the array and resets the size to zero, while | |
| 4737 | 4797 | the underlying array is preserved for use elsewhere and returned | |
| 4738 | 4798 | to the caller.</doc> | |
| 4739 | 4799 | <source-position filename="glib/garray.h" line="279"/> | |
| 4740 | 4800 | <return-value transfer-ownership="full"> | |
| 4741 | 4801 | <doc xml:space="preserve" | |
| 4742 | 4802 | filename="glib/garray.c" | |
| 4743 | - | line="2708">the element data, which should be | |
| 4744 | - | freed using g_free().</doc> | |
| 4745 | - | <type name="guint8" c:type="guint8*"/> | |
| 4803 | + | line="2728">The allocated element data</doc> | |
| 4804 | + | <array length="1" zero-terminated="0" c:type="guint8*"> | |
| 4805 | + | <type name="guint8" c:type="guint8"/> | |
| 4806 | + | </array> | |
| 4746 | 4807 | </return-value> | |
| 4747 | 4808 | <parameters> | |
| 4748 | 4809 | <parameter name="array" transfer-ownership="none"> | |
| 4749 | 4810 | <doc xml:space="preserve" | |
| 4750 | 4811 | filename="glib/garray.c" | |
| 4751 | - | line="2700">a #GByteArray.</doc> | |
| 4812 | + | line="2720">a byte array</doc> | |
| 4752 | 4813 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4753 | 4814 | <type name="guint8" c:type="guint8"/> | |
| 4754 | 4815 | </array> | |
| @@ -4761,7 +4822,7 @@ to the caller.</doc> | |||
| 4761 | 4822 | allow-none="1"> | |
| 4762 | 4823 | <doc xml:space="preserve" | |
| 4763 | 4824 | filename="glib/garray.c" | |
| 4764 | - | line="2701">pointer to retrieve the number of | |
| 4825 | + | line="2721">the pointer to retrieve the number of | |
| 4765 | 4826 | elements of the original array</doc> | |
| 4766 | 4827 | <type name="gsize" c:type="gsize*"/> | |
| 4767 | 4828 | </parameter> | |
| @@ -4770,7 +4831,7 @@ to the caller.</doc> | |||
| 4770 | 4831 | <function name="unref" c:identifier="g_byte_array_unref" version="2.22"> | |
| 4771 | 4832 | <doc xml:space="preserve" | |
| 4772 | 4833 | filename="glib/garray.c" | |
| 4773 | - | line="2841">Atomically decrements the reference count of @array by one. If the | |
| 4834 | + | line="2861">Atomically decrements the reference count of @array by one. If the | |
| 4774 | 4835 | reference count drops to 0, all memory allocated by the array is | |
| 4775 | 4836 | released. This function is thread-safe and may be called from any | |
| 4776 | 4837 | thread.</doc> | |
| @@ -4779,10 +4840,10 @@ thread.</doc> | |||
| 4779 | 4840 | <type name="none" c:type="void"/> | |
| 4780 | 4841 | </return-value> | |
| 4781 | 4842 | <parameters> | |
| 4782 | - | <parameter name="array" transfer-ownership="none"> | |
| 4843 | + | <parameter name="array" transfer-ownership="full"> | |
| 4783 | 4844 | <doc xml:space="preserve" | |
| 4784 | 4845 | filename="glib/garray.c" | |
| 4785 | - | line="2843">A #GByteArray</doc> | |
| 4846 | + | line="2863">a byte array</doc> | |
| 4786 | 4847 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 4787 | 4848 | <type name="guint8" c:type="guint8"/> | |
| 4788 | 4849 | </array> | |
| @@ -5911,7 +5972,7 @@ and [func@GLib.compute_checksum_for_string], respectively.</doc> | |||
| 5911 | 5972 | <constructor name="new" c:identifier="g_checksum_new" version="2.16"> | |
| 5912 | 5973 | <doc xml:space="preserve" | |
| 5913 | 5974 | filename="glib/gchecksum.c" | |
| 5914 | - | line="1449">Creates a new #GChecksum, using the checksum algorithm @checksum_type. | |
| 5975 | + | line="1450">Creates a new #GChecksum, using the checksum algorithm @checksum_type. | |
| 5915 | 5976 | If the @checksum_type is not known, %NULL is returned. | |
| 5916 | 5977 | A #GChecksum can be used to compute the checksum, or digest, of an | |
| 5917 | 5978 | arbitrary binary blob, using different hashing algorithms. | |
| @@ -5928,7 +5989,7 @@ on it anymore.</doc> | |||
| 5928 | 5989 | <return-value transfer-ownership="full" nullable="1"> | |
| 5929 | 5990 | <doc xml:space="preserve" | |
| 5930 | 5991 | filename="glib/gchecksum.c" | |
| 5931 | - | line="1467">the newly created #GChecksum, or %NULL. | |
| 5992 | + | line="1468">the newly created #GChecksum, or %NULL. | |
| 5932 | 5993 | Use g_checksum_free() to free the memory allocated by it.</doc> | |
| 5933 | 5994 | <type name="Checksum" c:type="GChecksum*"/> | |
| 5934 | 5995 | </return-value> | |
| @@ -5936,7 +5997,7 @@ on it anymore.</doc> | |||
| 5936 | 5997 | <parameter name="checksum_type" transfer-ownership="none"> | |
| 5937 | 5998 | <doc xml:space="preserve" | |
| 5938 | 5999 | filename="glib/gchecksum.c" | |
| 5939 | - | line="1451">the desired type of checksum</doc> | |
| 6000 | + | line="1452">the desired type of checksum</doc> | |
| 5940 | 6001 | <type name="ChecksumType" c:type="GChecksumType"/> | |
| 5941 | 6002 | </parameter> | |
| 5942 | 6003 | </parameters> | |
| @@ -5944,14 +6005,14 @@ on it anymore.</doc> | |||
| 5944 | 6005 | <method name="copy" c:identifier="g_checksum_copy" version="2.16"> | |
| 5945 | 6006 | <doc xml:space="preserve" | |
| 5946 | 6007 | filename="glib/gchecksum.c" | |
| 5947 | - | line="1527">Copies a #GChecksum. If @checksum has been closed, by calling | |
| 6008 | + | line="1528">Copies a #GChecksum. If @checksum has been closed, by calling | |
| 5948 | 6009 | g_checksum_get_string() or g_checksum_get_digest(), the copied | |
| 5949 | 6010 | checksum will be closed as well.</doc> | |
| 5950 | 6011 | <source-position filename="glib/gchecksum.h" line="67"/> | |
| 5951 | 6012 | <return-value transfer-ownership="full"> | |
| 5952 | 6013 | <doc xml:space="preserve" | |
| 5953 | 6014 | filename="glib/gchecksum.c" | |
| 5954 | - | line="1535">the copy of the passed #GChecksum. Use | |
| 6015 | + | line="1536">the copy of the passed #GChecksum. Use | |
| 5955 | 6016 | g_checksum_free() when finished using it.</doc> | |
| 5956 | 6017 | <type name="Checksum" c:type="GChecksum*"/> | |
| 5957 | 6018 | </return-value> | |
| @@ -5959,7 +6020,7 @@ checksum will be closed as well.</doc> | |||
| 5959 | 6020 | <instance-parameter name="checksum" transfer-ownership="none"> | |
| 5960 | 6021 | <doc xml:space="preserve" | |
| 5961 | 6022 | filename="glib/gchecksum.c" | |
| 5962 | - | line="1529">the #GChecksum to copy</doc> | |
| 6023 | + | line="1530">the #GChecksum to copy</doc> | |
| 5963 | 6024 | <type name="Checksum" c:type="const GChecksum*"/> | |
| 5964 | 6025 | </instance-parameter> | |
| 5965 | 6026 | </parameters> | |
| @@ -5967,7 +6028,7 @@ checksum will be closed as well.</doc> | |||
| 5967 | 6028 | <method name="free" c:identifier="g_checksum_free" version="2.16"> | |
| 5968 | 6029 | <doc xml:space="preserve" | |
| 5969 | 6030 | filename="glib/gchecksum.c" | |
| 5970 | - | line="1555">Frees the memory allocated for @checksum.</doc> | |
| 6031 | + | line="1556">Frees the memory allocated for @checksum.</doc> | |
| 5971 | 6032 | <source-position filename="glib/gchecksum.h" line="69"/> | |
| 5972 | 6033 | <return-value transfer-ownership="none"> | |
| 5973 | 6034 | <type name="none" c:type="void"/> | |
| @@ -5976,7 +6037,7 @@ checksum will be closed as well.</doc> | |||
| 5976 | 6037 | <instance-parameter name="checksum" transfer-ownership="none"> | |
| 5977 | 6038 | <doc xml:space="preserve" | |
| 5978 | 6039 | filename="glib/gchecksum.c" | |
| 5979 | - | line="1557">a #GChecksum</doc> | |
| 6040 | + | line="1558">a #GChecksum</doc> | |
| 5980 | 6041 | <type name="Checksum" c:type="GChecksum*"/> | |
| 5981 | 6042 | </instance-parameter> | |
| 5982 | 6043 | </parameters> | |
| @@ -5987,7 +6048,7 @@ checksum will be closed as well.</doc> | |||
| 5987 | 6048 | introspectable="0"> | |
| 5988 | 6049 | <doc xml:space="preserve" | |
| 5989 | 6050 | filename="glib/gchecksum.c" | |
| 5990 | - | line="1685">Gets the digest from @checksum as a raw binary vector and places it | |
| 6051 | + | line="1703">Gets the digest from @checksum as a raw binary vector and places it | |
| 5991 | 6052 | into @buffer. The size of the digest depends on the type of checksum. | |
| 5992 | 6053 | ||
| 5993 | 6054 | Once this function has been called, the #GChecksum is closed and can | |
| @@ -6000,13 +6061,13 @@ no longer be updated with g_checksum_update().</doc> | |||
| 6000 | 6061 | <instance-parameter name="checksum" transfer-ownership="none"> | |
| 6001 | 6062 | <doc xml:space="preserve" | |
| 6002 | 6063 | filename="glib/gchecksum.c" | |
| 6003 | - | line="1687">a #GChecksum</doc> | |
| 6064 | + | line="1705">a #GChecksum</doc> | |
| 6004 | 6065 | <type name="Checksum" c:type="GChecksum*"/> | |
| 6005 | 6066 | </instance-parameter> | |
| 6006 | 6067 | <parameter name="buffer" transfer-ownership="none"> | |
| 6007 | 6068 | <doc xml:space="preserve" | |
| 6008 | 6069 | filename="glib/gchecksum.c" | |
| 6009 | - | line="1688">output buffer</doc> | |
| 6070 | + | line="1706">output buffer</doc> | |
| 6010 | 6071 | <array length="1" zero-terminated="0" c:type="guint8*"> | |
| 6011 | 6072 | <type name="guint8" c:type="guint8"/> | |
| 6012 | 6073 | </array> | |
| @@ -6017,7 +6078,7 @@ no longer be updated with g_checksum_update().</doc> | |||
| 6017 | 6078 | transfer-ownership="full"> | |
| 6018 | 6079 | <doc xml:space="preserve" | |
| 6019 | 6080 | filename="glib/gchecksum.c" | |
| 6020 | - | line="1689">an inout parameter. The caller initializes it to the size of @buffer. | |
| 6081 | + | line="1707">an inout parameter. The caller initializes it to the size of @buffer. | |
| 6021 | 6082 | After the call it contains the length of the digest.</doc> | |
| 6022 | 6083 | <type name="gsize" c:type="gsize*"/> | |
| 6023 | 6084 | </parameter> | |
| @@ -6028,7 +6089,7 @@ no longer be updated with g_checksum_update().</doc> | |||
| 6028 | 6089 | version="2.16"> | |
| 6029 | 6090 | <doc xml:space="preserve" | |
| 6030 | 6091 | filename="glib/gchecksum.c" | |
| 6031 | - | line="1626">Gets the digest as a hexadecimal string. | |
| 6092 | + | line="1644">Gets the digest as a hexadecimal string. | |
| 6032 | 6093 | ||
| 6033 | 6094 | Once this function has been called the #GChecksum can no longer be | |
| 6034 | 6095 | updated with g_checksum_update(). | |
| @@ -6038,7 +6099,7 @@ The hexadecimal characters will be lower case.</doc> | |||
| 6038 | 6099 | <return-value transfer-ownership="none"> | |
| 6039 | 6100 | <doc xml:space="preserve" | |
| 6040 | 6101 | filename="glib/gchecksum.c" | |
| 6041 | - | line="1637">the hexadecimal representation of the checksum. The | |
| 6102 | + | line="1655">the hexadecimal representation of the checksum. The | |
| 6042 | 6103 | returned string is owned by the checksum and should not be modified | |
| 6043 | 6104 | or freed.</doc> | |
| 6044 | 6105 | <type name="utf8" c:type="const gchar*"/> | |
| @@ -6047,7 +6108,7 @@ The hexadecimal characters will be lower case.</doc> | |||
| 6047 | 6108 | <instance-parameter name="checksum" transfer-ownership="none"> | |
| 6048 | 6109 | <doc xml:space="preserve" | |
| 6049 | 6110 | filename="glib/gchecksum.c" | |
| 6050 | - | line="1628">a #GChecksum</doc> | |
| 6111 | + | line="1646">a #GChecksum</doc> | |
| 6051 | 6112 | <type name="Checksum" c:type="GChecksum*"/> | |
| 6052 | 6113 | </instance-parameter> | |
| 6053 | 6114 | </parameters> | |
| @@ -6055,7 +6116,7 @@ The hexadecimal characters will be lower case.</doc> | |||
| 6055 | 6116 | <method name="reset" c:identifier="g_checksum_reset" version="2.18"> | |
| 6056 | 6117 | <doc xml:space="preserve" | |
| 6057 | 6118 | filename="glib/gchecksum.c" | |
| 6058 | - | line="1488">Resets the state of the @checksum back to its initial state.</doc> | |
| 6119 | + | line="1489">Resets the state of the @checksum back to its initial state.</doc> | |
| 6059 | 6120 | <source-position filename="glib/gchecksum.h" line="65"/> | |
| 6060 | 6121 | <return-value transfer-ownership="none"> | |
| 6061 | 6122 | <type name="none" c:type="void"/> | |
| @@ -6064,7 +6125,7 @@ The hexadecimal characters will be lower case.</doc> | |||
| 6064 | 6125 | <instance-parameter name="checksum" transfer-ownership="none"> | |
| 6065 | 6126 | <doc xml:space="preserve" | |
| 6066 | 6127 | filename="glib/gchecksum.c" | |
| 6067 | - | line="1490">the #GChecksum to reset</doc> | |
| 6128 | + | line="1491">the #GChecksum to reset</doc> | |
| 6068 | 6129 | <type name="Checksum" c:type="GChecksum*"/> | |
| 6069 | 6130 | </instance-parameter> | |
| 6070 | 6131 | </parameters> | |
| @@ -6072,7 +6133,7 @@ The hexadecimal characters will be lower case.</doc> | |||
| 6072 | 6133 | <method name="update" c:identifier="g_checksum_update" version="2.16"> | |
| 6073 | 6134 | <doc xml:space="preserve" | |
| 6074 | 6135 | filename="glib/gchecksum.c" | |
| 6075 | - | line="1574">Feeds @data into an existing #GChecksum. The checksum must still be | |
| 6136 | + | line="1614">Feeds @data into an existing #GChecksum. The checksum must still be | |
| 6076 | 6137 | open, that is g_checksum_get_string() or g_checksum_get_digest() must | |
| 6077 | 6138 | not have been called on @checksum.</doc> | |
| 6078 | 6139 | <source-position filename="glib/gchecksum.h" line="71"/> | |
| @@ -6083,13 +6144,13 @@ not have been called on @checksum.</doc> | |||
| 6083 | 6144 | <instance-parameter name="checksum" transfer-ownership="none"> | |
| 6084 | 6145 | <doc xml:space="preserve" | |
| 6085 | 6146 | filename="glib/gchecksum.c" | |
| 6086 | - | line="1576">a #GChecksum</doc> | |
| 6147 | + | line="1616">a #GChecksum</doc> | |
| 6087 | 6148 | <type name="Checksum" c:type="GChecksum*"/> | |
| 6088 | 6149 | </instance-parameter> | |
| 6089 | 6150 | <parameter name="data" transfer-ownership="none"> | |
| 6090 | 6151 | <doc xml:space="preserve" | |
| 6091 | 6152 | filename="glib/gchecksum.c" | |
| 6092 | - | line="1577">buffer used to compute the checksum</doc> | |
| 6153 | + | line="1617">buffer used to compute the checksum</doc> | |
| 6093 | 6154 | <array length="1" zero-terminated="0" c:type="const guchar*"> | |
| 6094 | 6155 | <type name="guint8"/> | |
| 6095 | 6156 | </array> | |
| @@ -6097,7 +6158,7 @@ not have been called on @checksum.</doc> | |||
| 6097 | 6158 | <parameter name="length" transfer-ownership="none"> | |
| 6098 | 6159 | <doc xml:space="preserve" | |
| 6099 | 6160 | filename="glib/gchecksum.c" | |
| 6100 | - | line="1578">size of the buffer, or -1 if it is a null-terminated string.</doc> | |
| 6161 | + | line="1618">size of the buffer, or -1 if it is a null-terminated string.</doc> | |
| 6101 | 6162 | <type name="gssize" c:type="gssize"/> | |
| 6102 | 6163 | </parameter> | |
| 6103 | 6164 | </parameters> | |
| @@ -6107,12 +6168,12 @@ not have been called on @checksum.</doc> | |||
| 6107 | 6168 | version="2.16"> | |
| 6108 | 6169 | <doc xml:space="preserve" | |
| 6109 | 6170 | filename="glib/gchecksum.c" | |
| 6110 | - | line="1408">Gets the length in bytes of digests of type @checksum_type</doc> | |
| 6171 | + | line="1409">Gets the length in bytes of digests of type @checksum_type</doc> | |
| 6111 | 6172 | <source-position filename="glib/gchecksum.h" line="60"/> | |
| 6112 | 6173 | <return-value transfer-ownership="none"> | |
| 6113 | 6174 | <doc xml:space="preserve" | |
| 6114 | 6175 | filename="glib/gchecksum.c" | |
| 6115 | - | line="1414">the checksum length, or -1 if @checksum_type is | |
| 6176 | + | line="1415">the checksum length, or -1 if @checksum_type is | |
| 6116 | 6177 | not supported.</doc> | |
| 6117 | 6178 | <type name="gssize" c:type="gssize"/> | |
| 6118 | 6179 | </return-value> | |
| @@ -6120,7 +6181,7 @@ not supported.</doc> | |||
| 6120 | 6181 | <parameter name="checksum_type" transfer-ownership="none"> | |
| 6121 | 6182 | <doc xml:space="preserve" | |
| 6122 | 6183 | filename="glib/gchecksum.c" | |
| 6123 | - | line="1410">a #GChecksumType</doc> | |
| 6184 | + | line="1411">a #GChecksumType</doc> | |
| 6124 | 6185 | <type name="ChecksumType" c:type="GChecksumType"/> | |
| 6125 | 6186 | </parameter> | |
| 6126 | 6187 | </parameters> | |
| @@ -6164,14 +6225,14 @@ date to include new hashing algorithm types.</doc> | |||
| 6164 | 6225 | <callback name="ChildWatchFunc" c:type="GChildWatchFunc"> | |
| 6165 | 6226 | <doc xml:space="preserve" | |
| 6166 | 6227 | filename="glib/gmain.h" | |
| 6167 | - | line="234">Prototype of a #GChildWatchSource callback, called when a child | |
| 6228 | + | line="235">Prototype of a #GChildWatchSource callback, called when a child | |
| 6168 | 6229 | process has exited. | |
| 6169 | 6230 | ||
| 6170 | 6231 | To interpret @wait_status, see the documentation for | |
| 6171 | 6232 | [func@GLib.spawn_check_wait_status]. In particular, | |
| 6172 | 6233 | on Unix platforms, note that it is usually not equal | |
| 6173 | 6234 | to the integer passed to `exit()` or returned from `main()`.</doc> | |
| 6174 | - | <source-position filename="glib/gmain.h" line="249"/> | |
| 6235 | + | <source-position filename="glib/gmain.h" line="250"/> | |
| 6175 | 6236 | <return-value transfer-ownership="none"> | |
| 6176 | 6237 | <type name="none" c:type="void"/> | |
| 6177 | 6238 | </return-value> | |
| @@ -6179,13 +6240,13 @@ to the integer passed to `exit()` or returned from `main()`.</doc> | |||
| 6179 | 6240 | <parameter name="pid" transfer-ownership="none"> | |
| 6180 | 6241 | <doc xml:space="preserve" | |
| 6181 | 6242 | filename="glib/gmain.h" | |
| 6182 | - | line="236">the process id of the child process</doc> | |
| 6243 | + | line="237">the process id of the child process</doc> | |
| 6183 | 6244 | <type name="Pid" c:type="GPid"/> | |
| 6184 | 6245 | </parameter> | |
| 6185 | 6246 | <parameter name="wait_status" transfer-ownership="none"> | |
| 6186 | 6247 | <doc xml:space="preserve" | |
| 6187 | 6248 | filename="glib/gmain.h" | |
| 6188 | - | line="237">Status information about the child process, encoded | |
| 6249 | + | line="238">Status information about the child process, encoded | |
| 6189 | 6250 | in a platform-specific manner</doc> | |
| 6190 | 6251 | <type name="gint" c:type="gint"/> | |
| 6191 | 6252 | </parameter> | |
| @@ -6196,7 +6257,7 @@ to the integer passed to `exit()` or returned from `main()`.</doc> | |||
| 6196 | 6257 | closure="2"> | |
| 6197 | 6258 | <doc xml:space="preserve" | |
| 6198 | 6259 | filename="glib/gmain.h" | |
| 6199 | - | line="239">user data passed to [func@GLib.child_watch_add]</doc> | |
| 6260 | + | line="240">user data passed to [func@GLib.child_watch_add]</doc> | |
| 6200 | 6261 | <type name="gpointer" c:type="gpointer"/> | |
| 6201 | 6262 | </parameter> | |
| 6202 | 6263 | </parameters> | |
| @@ -6204,11 +6265,11 @@ to the integer passed to `exit()` or returned from `main()`.</doc> | |||
| 6204 | 6265 | <callback name="ClearHandleFunc" c:type="GClearHandleFunc" version="2.56"> | |
| 6205 | 6266 | <doc xml:space="preserve" | |
| 6206 | 6267 | filename="glib/gmain.h" | |
| 6207 | - | line="843">Specifies the type of function passed to [func@GLib.clear_handle_id] The | |
| 6268 | + | line="846">Specifies the type of function passed to [func@GLib.clear_handle_id] The | |
| 6208 | 6269 | implementation is expected to free the resource identified by @handle_id; | |
| 6209 | 6270 | for instance, if @handle_id is a [struct@GLib.Source] ID, | |
| 6210 | 6271 | [func@GLib.Source.remove] can be used.</doc> | |
| 6211 | - | <source-position filename="glib/gmain.h" line="854"/> | |
| 6272 | + | <source-position filename="glib/gmain.h" line="857"/> | |
| 6212 | 6273 | <return-value transfer-ownership="none"> | |
| 6213 | 6274 | <type name="none" c:type="void"/> | |
| 6214 | 6275 | </return-value> | |
| @@ -6216,7 +6277,7 @@ for instance, if @handle_id is a [struct@GLib.Source] ID, | |||
| 6216 | 6277 | <parameter name="handle_id" transfer-ownership="none"> | |
| 6217 | 6278 | <doc xml:space="preserve" | |
| 6218 | 6279 | filename="glib/gmain.h" | |
| 6219 | - | line="845">the handle ID to clear</doc> | |
| 6280 | + | line="848">the handle ID to clear</doc> | |
| 6220 | 6281 | <type name="guint" c:type="guint"/> | |
| 6221 | 6282 | </parameter> | |
| 6222 | 6283 | </parameters> | |
| @@ -6309,7 +6370,7 @@ integer if the first value comes after the second.</doc> | |||
| 6309 | 6370 | deprecated-version="2.26"> | |
| 6310 | 6371 | <doc xml:space="preserve" | |
| 6311 | 6372 | filename="glib/deprecated/gcompletion.c" | |
| 6312 | - | line="46">`GCompletion` provides support for automatic completion of a string | |
| 6373 | + | line="47">`GCompletion` provides support for automatic completion of a string | |
| 6313 | 6374 | using any group of target strings. It is typically used for file | |
| 6314 | 6375 | name completion as is common in many UNIX shells. | |
| 6315 | 6376 | ||
| @@ -6335,7 +6396,7 @@ used and not very actively maintained.</doc> | |||
| 6335 | 6396 | <field name="items" writable="1"> | |
| 6336 | 6397 | <doc xml:space="preserve" | |
| 6337 | 6398 | filename="glib/deprecated/gcompletion.c" | |
| 6338 | - | line="48">list of target items (strings or data structures).</doc> | |
| 6399 | + | line="49">list of target items (strings or data structures).</doc> | |
| 6339 | 6400 | <type name="GLib.List" c:type="GList*"> | |
| 6340 | 6401 | <type name="gpointer" c:type="gpointer"/> | |
| 6341 | 6402 | </type> | |
| @@ -6343,21 +6404,21 @@ used and not very actively maintained.</doc> | |||
| 6343 | 6404 | <field name="func" writable="1"> | |
| 6344 | 6405 | <doc xml:space="preserve" | |
| 6345 | 6406 | filename="glib/deprecated/gcompletion.c" | |
| 6346 | - | line="49">function which is called to get the string associated with a | |
| 6407 | + | line="50">function which is called to get the string associated with a | |
| 6347 | 6408 | target item. It is %NULL if the target items are strings.</doc> | |
| 6348 | 6409 | <type name="CompletionFunc" c:type="GCompletionFunc"/> | |
| 6349 | 6410 | </field> | |
| 6350 | 6411 | <field name="prefix" writable="1"> | |
| 6351 | 6412 | <doc xml:space="preserve" | |
| 6352 | 6413 | filename="glib/deprecated/gcompletion.c" | |
| 6353 | - | line="51">the last prefix passed to g_completion_complete() or | |
| 6414 | + | line="52">the last prefix passed to g_completion_complete() or | |
| 6354 | 6415 | g_completion_complete_utf8().</doc> | |
| 6355 | 6416 | <type name="utf8" c:type="gchar*"/> | |
| 6356 | 6417 | </field> | |
| 6357 | 6418 | <field name="cache" writable="1"> | |
| 6358 | 6419 | <doc xml:space="preserve" | |
| 6359 | 6420 | filename="glib/deprecated/gcompletion.c" | |
| 6360 | - | line="53">the list of items which begin with @prefix.</doc> | |
| 6421 | + | line="54">the list of items which begin with @prefix.</doc> | |
| 6361 | 6422 | <type name="GLib.List" c:type="GList*"> | |
| 6362 | 6423 | <type name="gpointer" c:type="gpointer"/> | |
| 6363 | 6424 | </type> | |
| @@ -6365,7 +6426,7 @@ used and not very actively maintained.</doc> | |||
| 6365 | 6426 | <field name="strncmp_func" writable="1"> | |
| 6366 | 6427 | <doc xml:space="preserve" | |
| 6367 | 6428 | filename="glib/deprecated/gcompletion.c" | |
| 6368 | - | line="54">The function to use when comparing strings. Use | |
| 6429 | + | line="55">The function to use when comparing strings. Use | |
| 6369 | 6430 | g_completion_set_compare() to modify this function.</doc> | |
| 6370 | 6431 | <type name="CompletionStrncmpFunc" c:type="GCompletionStrncmpFunc"/> | |
| 6371 | 6432 | </field> | |
| @@ -6376,7 +6437,7 @@ used and not very actively maintained.</doc> | |||
| 6376 | 6437 | deprecated-version="2.26"> | |
| 6377 | 6438 | <doc xml:space="preserve" | |
| 6378 | 6439 | filename="glib/deprecated/gcompletion.c" | |
| 6379 | - | line="140">Adds items to the #GCompletion.</doc> | |
| 6440 | + | line="141">Adds items to the #GCompletion.</doc> | |
| 6380 | 6441 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 6381 | 6442 | <source-position filename="glib/deprecated/gcompletion.h" line="62"/> | |
| 6382 | 6443 | <return-value transfer-ownership="none"> | |
| @@ -6386,13 +6447,13 @@ used and not very actively maintained.</doc> | |||
| 6386 | 6447 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6387 | 6448 | <doc xml:space="preserve" | |
| 6388 | 6449 | filename="glib/deprecated/gcompletion.c" | |
| 6389 | - | line="142">the #GCompletion.</doc> | |
| 6450 | + | line="143">the #GCompletion.</doc> | |
| 6390 | 6451 | <type name="Completion" c:type="GCompletion*"/> | |
| 6391 | 6452 | </instance-parameter> | |
| 6392 | 6453 | <parameter name="items" transfer-ownership="none"> | |
| 6393 | 6454 | <doc xml:space="preserve" | |
| 6394 | 6455 | filename="glib/deprecated/gcompletion.c" | |
| 6395 | - | line="143">the list of items to add.</doc> | |
| 6456 | + | line="144">the list of items to add.</doc> | |
| 6396 | 6457 | <type name="GLib.List" c:type="GList*"> | |
| 6397 | 6458 | <type name="gpointer" c:type="gpointer"/> | |
| 6398 | 6459 | </type> | |
| @@ -6405,7 +6466,7 @@ used and not very actively maintained.</doc> | |||
| 6405 | 6466 | deprecated-version="2.26"> | |
| 6406 | 6467 | <doc xml:space="preserve" | |
| 6407 | 6468 | filename="glib/deprecated/gcompletion.c" | |
| 6408 | - | line="212">Removes all items from the #GCompletion. The items are not freed, so if the | |
| 6469 | + | line="213">Removes all items from the #GCompletion. The items are not freed, so if the | |
| 6409 | 6470 | memory was dynamically allocated, it should be freed after calling this | |
| 6410 | 6471 | function.</doc> | |
| 6411 | 6472 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -6417,7 +6478,7 @@ function.</doc> | |||
| 6417 | 6478 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6418 | 6479 | <doc xml:space="preserve" | |
| 6419 | 6480 | filename="glib/deprecated/gcompletion.c" | |
| 6420 | - | line="214">the #GCompletion.</doc> | |
| 6481 | + | line="215">the #GCompletion.</doc> | |
| 6421 | 6482 | <type name="Completion" c:type="GCompletion*"/> | |
| 6422 | 6483 | </instance-parameter> | |
| 6423 | 6484 | </parameters> | |
| @@ -6429,14 +6490,14 @@ function.</doc> | |||
| 6429 | 6490 | deprecated-version="2.26"> | |
| 6430 | 6491 | <doc xml:space="preserve" | |
| 6431 | 6492 | filename="glib/deprecated/gcompletion.c" | |
| 6432 | - | line="332">Attempts to complete the string @prefix using the #GCompletion | |
| 6493 | + | line="333">Attempts to complete the string @prefix using the #GCompletion | |
| 6433 | 6494 | target items.</doc> | |
| 6434 | 6495 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 6435 | 6496 | <source-position filename="glib/deprecated/gcompletion.h" line="70"/> | |
| 6436 | 6497 | <return-value transfer-ownership="none"> | |
| 6437 | 6498 | <doc xml:space="preserve" | |
| 6438 | 6499 | filename="glib/deprecated/gcompletion.c" | |
| 6439 | - | line="345">the list of items whose strings begin with | |
| 6500 | + | line="346">the list of items whose strings begin with | |
| 6440 | 6501 | @prefix. This should not be changed.</doc> | |
| 6441 | 6502 | <type name="GLib.List" c:type="GList*"> | |
| 6442 | 6503 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -6446,20 +6507,20 @@ target items.</doc> | |||
| 6446 | 6507 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6447 | 6508 | <doc xml:space="preserve" | |
| 6448 | 6509 | filename="glib/deprecated/gcompletion.c" | |
| 6449 | - | line="334">the #GCompletion.</doc> | |
| 6510 | + | line="335">the #GCompletion.</doc> | |
| 6450 | 6511 | <type name="Completion" c:type="GCompletion*"/> | |
| 6451 | 6512 | </instance-parameter> | |
| 6452 | 6513 | <parameter name="prefix" transfer-ownership="none"> | |
| 6453 | 6514 | <doc xml:space="preserve" | |
| 6454 | 6515 | filename="glib/deprecated/gcompletion.c" | |
| 6455 | - | line="335">the prefix string, typically typed by the user, which is | |
| 6516 | + | line="336">the prefix string, typically typed by the user, which is | |
| 6456 | 6517 | compared with each of the items.</doc> | |
| 6457 | 6518 | <type name="utf8" c:type="const gchar*"/> | |
| 6458 | 6519 | </parameter> | |
| 6459 | 6520 | <parameter name="new_prefix" transfer-ownership="none"> | |
| 6460 | 6521 | <doc xml:space="preserve" | |
| 6461 | 6522 | filename="glib/deprecated/gcompletion.c" | |
| 6462 | - | line="337">if non-%NULL, returns the longest prefix which is | |
| 6523 | + | line="338">if non-%NULL, returns the longest prefix which is | |
| 6463 | 6524 | common to all items that matched @prefix, or %NULL if | |
| 6464 | 6525 | no items matched @prefix. This string should be freed | |
| 6465 | 6526 | when no longer needed.</doc> | |
| @@ -6474,7 +6535,7 @@ target items.</doc> | |||
| 6474 | 6535 | deprecated-version="2.26"> | |
| 6475 | 6536 | <doc xml:space="preserve" | |
| 6476 | 6537 | filename="glib/deprecated/gcompletion.c" | |
| 6477 | - | line="279">Attempts to complete the string @prefix using the #GCompletion target items. | |
| 6538 | + | line="280">Attempts to complete the string @prefix using the #GCompletion target items. | |
| 6478 | 6539 | In contrast to g_completion_complete(), this function returns the largest common | |
| 6479 | 6540 | prefix that is a valid UTF-8 string, omitting a possible common partial | |
| 6480 | 6541 | character. | |
| @@ -6486,7 +6547,7 @@ items are UTF-8 strings.</doc> | |||
| 6486 | 6547 | <return-value transfer-ownership="none"> | |
| 6487 | 6548 | <doc xml:space="preserve" | |
| 6488 | 6549 | filename="glib/deprecated/gcompletion.c" | |
| 6489 | - | line="296">the list of items whose strings begin with @prefix. This should | |
| 6550 | + | line="297">the list of items whose strings begin with @prefix. This should | |
| 6490 | 6551 | not be changed.</doc> | |
| 6491 | 6552 | <type name="GLib.List" c:type="GList*"> | |
| 6492 | 6553 | <type name="utf8"/> | |
| @@ -6496,20 +6557,20 @@ not be changed.</doc> | |||
| 6496 | 6557 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6497 | 6558 | <doc xml:space="preserve" | |
| 6498 | 6559 | filename="glib/deprecated/gcompletion.c" | |
| 6499 | - | line="281">the #GCompletion</doc> | |
| 6560 | + | line="282">the #GCompletion</doc> | |
| 6500 | 6561 | <type name="Completion" c:type="GCompletion*"/> | |
| 6501 | 6562 | </instance-parameter> | |
| 6502 | 6563 | <parameter name="prefix" transfer-ownership="none"> | |
| 6503 | 6564 | <doc xml:space="preserve" | |
| 6504 | 6565 | filename="glib/deprecated/gcompletion.c" | |
| 6505 | - | line="282">the prefix string, typically used by the user, which is compared | |
| 6566 | + | line="283">the prefix string, typically used by the user, which is compared | |
| 6506 | 6567 | with each of the items</doc> | |
| 6507 | 6568 | <type name="utf8" c:type="const gchar*"/> | |
| 6508 | 6569 | </parameter> | |
| 6509 | 6570 | <parameter name="new_prefix" transfer-ownership="none"> | |
| 6510 | 6571 | <doc xml:space="preserve" | |
| 6511 | 6572 | filename="glib/deprecated/gcompletion.c" | |
| 6512 | - | line="284">if non-%NULL, returns the longest prefix which is common to all | |
| 6573 | + | line="285">if non-%NULL, returns the longest prefix which is common to all | |
| 6513 | 6574 | items that matched @prefix, or %NULL if no items matched @prefix. | |
| 6514 | 6575 | This string should be freed when no longer needed.</doc> | |
| 6515 | 6576 | <type name="utf8" c:type="gchar**"/> | |
| @@ -6522,7 +6583,7 @@ not be changed.</doc> | |||
| 6522 | 6583 | deprecated-version="2.26"> | |
| 6523 | 6584 | <doc xml:space="preserve" | |
| 6524 | 6585 | filename="glib/deprecated/gcompletion.c" | |
| 6525 | - | line="412">Frees all memory used by the #GCompletion. The items are not freed, so if | |
| 6586 | + | line="413">Frees all memory used by the #GCompletion. The items are not freed, so if | |
| 6526 | 6587 | the memory was dynamically allocated, it should be freed after calling this | |
| 6527 | 6588 | function.</doc> | |
| 6528 | 6589 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -6534,7 +6595,7 @@ function.</doc> | |||
| 6534 | 6595 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6535 | 6596 | <doc xml:space="preserve" | |
| 6536 | 6597 | filename="glib/deprecated/gcompletion.c" | |
| 6537 | - | line="414">the #GCompletion.</doc> | |
| 6598 | + | line="415">the #GCompletion.</doc> | |
| 6538 | 6599 | <type name="Completion" c:type="GCompletion*"/> | |
| 6539 | 6600 | </instance-parameter> | |
| 6540 | 6601 | </parameters> | |
| @@ -6546,7 +6607,7 @@ function.</doc> | |||
| 6546 | 6607 | deprecated-version="2.26"> | |
| 6547 | 6608 | <doc xml:space="preserve" | |
| 6548 | 6609 | filename="glib/deprecated/gcompletion.c" | |
| 6549 | - | line="178">Removes items from a #GCompletion. The items are not freed, so if the memory | |
| 6610 | + | line="179">Removes items from a #GCompletion. The items are not freed, so if the memory | |
| 6550 | 6611 | was dynamically allocated, free @items with g_list_free_full() after calling | |
| 6551 | 6612 | this function.</doc> | |
| 6552 | 6613 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -6558,13 +6619,13 @@ this function.</doc> | |||
| 6558 | 6619 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6559 | 6620 | <doc xml:space="preserve" | |
| 6560 | 6621 | filename="glib/deprecated/gcompletion.c" | |
| 6561 | - | line="180">the #GCompletion.</doc> | |
| 6622 | + | line="181">the #GCompletion.</doc> | |
| 6562 | 6623 | <type name="Completion" c:type="GCompletion*"/> | |
| 6563 | 6624 | </instance-parameter> | |
| 6564 | 6625 | <parameter name="items" transfer-ownership="none"> | |
| 6565 | 6626 | <doc xml:space="preserve" | |
| 6566 | 6627 | filename="glib/deprecated/gcompletion.c" | |
| 6567 | - | line="181">the items to remove.</doc> | |
| 6628 | + | line="182">the items to remove.</doc> | |
| 6568 | 6629 | <type name="GLib.List" c:type="GList*"> | |
| 6569 | 6630 | <type name="gpointer" c:type="gpointer"/> | |
| 6570 | 6631 | </type> | |
| @@ -6578,7 +6639,7 @@ this function.</doc> | |||
| 6578 | 6639 | deprecated-version="2.26"> | |
| 6579 | 6640 | <doc xml:space="preserve" | |
| 6580 | 6641 | filename="glib/deprecated/gcompletion.c" | |
| 6581 | - | line="431">Sets the function to use for string comparisons. The default string | |
| 6642 | + | line="432">Sets the function to use for string comparisons. The default string | |
| 6582 | 6643 | comparison function is strncmp().</doc> | |
| 6583 | 6644 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 6584 | 6645 | <source-position filename="glib/deprecated/gcompletion.h" line="78"/> | |
| @@ -6589,13 +6650,13 @@ comparison function is strncmp().</doc> | |||
| 6589 | 6650 | <instance-parameter name="cmp" transfer-ownership="none"> | |
| 6590 | 6651 | <doc xml:space="preserve" | |
| 6591 | 6652 | filename="glib/deprecated/gcompletion.c" | |
| 6592 | - | line="433">a #GCompletion.</doc> | |
| 6653 | + | line="434">a #GCompletion.</doc> | |
| 6593 | 6654 | <type name="Completion" c:type="GCompletion*"/> | |
| 6594 | 6655 | </instance-parameter> | |
| 6595 | 6656 | <parameter name="strncmp_func" transfer-ownership="none"> | |
| 6596 | 6657 | <doc xml:space="preserve" | |
| 6597 | 6658 | filename="glib/deprecated/gcompletion.c" | |
| 6598 | - | line="434">the string comparison function.</doc> | |
| 6659 | + | line="435">the string comparison function.</doc> | |
| 6599 | 6660 | <type name="CompletionStrncmpFunc" | |
| 6600 | 6661 | c:type="GCompletionStrncmpFunc"/> | |
| 6601 | 6662 | </parameter> | |
| @@ -6608,20 +6669,20 @@ comparison function is strncmp().</doc> | |||
| 6608 | 6669 | deprecated-version="2.26"> | |
| 6609 | 6670 | <doc xml:space="preserve" | |
| 6610 | 6671 | filename="glib/deprecated/gcompletion.c" | |
| 6611 | - | line="114">Creates a new #GCompletion.</doc> | |
| 6672 | + | line="115">Creates a new #GCompletion.</doc> | |
| 6612 | 6673 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 6613 | 6674 | <source-position filename="glib/deprecated/gcompletion.h" line="60"/> | |
| 6614 | 6675 | <return-value> | |
| 6615 | 6676 | <doc xml:space="preserve" | |
| 6616 | 6677 | filename="glib/deprecated/gcompletion.c" | |
| 6617 | - | line="122">the new #GCompletion.</doc> | |
| 6678 | + | line="123">the new #GCompletion.</doc> | |
| 6618 | 6679 | <type name="Completion" c:type="GCompletion*"/> | |
| 6619 | 6680 | </return-value> | |
| 6620 | 6681 | <parameters> | |
| 6621 | 6682 | <parameter name="func" transfer-ownership="none"> | |
| 6622 | 6683 | <doc xml:space="preserve" | |
| 6623 | 6684 | filename="glib/deprecated/gcompletion.c" | |
| 6624 | - | line="116">the function to be called to return the string representing | |
| 6685 | + | line="117">the function to be called to return the string representing | |
| 6625 | 6686 | an item in the #GCompletion, or %NULL if strings are going to | |
| 6626 | 6687 | be used as the #GCompletion items.</doc> | |
| 6627 | 6688 | <type name="CompletionFunc" c:type="GCompletionFunc"/> | |
| @@ -6635,7 +6696,7 @@ comparison function is strncmp().</doc> | |||
| 6635 | 6696 | deprecated-version="2.26"> | |
| 6636 | 6697 | <doc xml:space="preserve" | |
| 6637 | 6698 | filename="glib/deprecated/gcompletion.c" | |
| 6638 | - | line="82">Specifies the type of the function passed to g_completion_new(). It | |
| 6699 | + | line="83">Specifies the type of the function passed to g_completion_new(). It | |
| 6639 | 6700 | should return the string corresponding to the given target item. | |
| 6640 | 6701 | This is used when you use data structures as #GCompletion items.</doc> | |
| 6641 | 6702 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -6643,7 +6704,7 @@ This is used when you use data structures as #GCompletion items.</doc> | |||
| 6643 | 6704 | <return-value transfer-ownership="full"> | |
| 6644 | 6705 | <doc xml:space="preserve" | |
| 6645 | 6706 | filename="glib/deprecated/gcompletion.c" | |
| 6646 | - | line="90">the string corresponding to the item.</doc> | |
| 6707 | + | line="91">the string corresponding to the item.</doc> | |
| 6647 | 6708 | <type name="utf8" c:type="gchar*"/> | |
| 6648 | 6709 | </return-value> | |
| 6649 | 6710 | <parameters> | |
| @@ -6653,7 +6714,7 @@ This is used when you use data structures as #GCompletion items.</doc> | |||
| 6653 | 6714 | allow-none="1"> | |
| 6654 | 6715 | <doc xml:space="preserve" | |
| 6655 | 6716 | filename="glib/deprecated/gcompletion.c" | |
| 6656 | - | line="84">the completion item.</doc> | |
| 6717 | + | line="85">the completion item.</doc> | |
| 6657 | 6718 | <type name="gpointer" c:type="gpointer"/> | |
| 6658 | 6719 | </parameter> | |
| 6659 | 6720 | </parameters> | |
| @@ -6664,7 +6725,7 @@ This is used when you use data structures as #GCompletion items.</doc> | |||
| 6664 | 6725 | deprecated-version="2.26"> | |
| 6665 | 6726 | <doc xml:space="preserve" | |
| 6666 | 6727 | filename="glib/deprecated/gcompletion.c" | |
| 6667 | - | line="94">Specifies the type of the function passed to | |
| 6728 | + | line="95">Specifies the type of the function passed to | |
| 6668 | 6729 | g_completion_set_compare(). This is used when you use strings as | |
| 6669 | 6730 | #GCompletion items.</doc> | |
| 6670 | 6731 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -6672,7 +6733,7 @@ g_completion_set_compare(). This is used when you use strings as | |||
| 6672 | 6733 | <return-value transfer-ownership="none"> | |
| 6673 | 6734 | <doc xml:space="preserve" | |
| 6674 | 6735 | filename="glib/deprecated/gcompletion.c" | |
| 6675 | - | line="104">an integer less than, equal to, or greater than zero if | |
| 6736 | + | line="105">an integer less than, equal to, or greater than zero if | |
| 6676 | 6737 | the first @n bytes of @s1 is found, respectively, to be | |
| 6677 | 6738 | less than, to match, or to be greater than the first @n | |
| 6678 | 6739 | bytes of @s2.</doc> | |
| @@ -6682,19 +6743,19 @@ g_completion_set_compare(). This is used when you use strings as | |||
| 6682 | 6743 | <parameter name="s1" transfer-ownership="none"> | |
| 6683 | 6744 | <doc xml:space="preserve" | |
| 6684 | 6745 | filename="glib/deprecated/gcompletion.c" | |
| 6685 | - | line="96">string to compare with @s2.</doc> | |
| 6746 | + | line="97">string to compare with @s2.</doc> | |
| 6686 | 6747 | <type name="utf8" c:type="const gchar*"/> | |
| 6687 | 6748 | </parameter> | |
| 6688 | 6749 | <parameter name="s2" transfer-ownership="none"> | |
| 6689 | 6750 | <doc xml:space="preserve" | |
| 6690 | 6751 | filename="glib/deprecated/gcompletion.c" | |
| 6691 | - | line="97">string to compare with @s1.</doc> | |
| 6752 | + | line="98">string to compare with @s1.</doc> | |
| 6692 | 6753 | <type name="utf8" c:type="const gchar*"/> | |
| 6693 | 6754 | </parameter> | |
| 6694 | 6755 | <parameter name="n" transfer-ownership="none"> | |
| 6695 | 6756 | <doc xml:space="preserve" | |
| 6696 | 6757 | filename="glib/deprecated/gcompletion.c" | |
| 6697 | - | line="98">maximal number of bytes to compare.</doc> | |
| 6758 | + | line="99">maximal number of bytes to compare.</doc> | |
| 6698 | 6759 | <type name="gsize" c:type="gsize"/> | |
| 6699 | 6760 | </parameter> | |
| 6700 | 6761 | </parameters> | |
| @@ -7208,10 +7269,10 @@ flags & ~G_DATALIST_FLAGS_MASK != 0 is an error.</doc> | |||
| 7208 | 7269 | introspectable="0"> | |
| 7209 | 7270 | <doc xml:space="preserve" | |
| 7210 | 7271 | filename="glib/gmessages.h" | |
| 7211 | - | line="268">A convenience form of g_log_structured(), recommended to be added to | |
| 7272 | + | line="271">A convenience form of g_log_structured(), recommended to be added to | |
| 7212 | 7273 | functions when debugging. It prints the current monotonic time and the code | |
| 7213 | 7274 | location using %G_STRLOC.</doc> | |
| 7214 | - | <source-position filename="glib/gmessages.h" line="277"/> | |
| 7275 | + | <source-position filename="glib/gmessages.h" line="280"/> | |
| 7215 | 7276 | </function-macro> | |
| 7216 | 7277 | <function-macro name="DEFINE_AUTOPTR_CLEANUP_FUNC" | |
| 7217 | 7278 | c:identifier="G_DEFINE_AUTOPTR_CLEANUP_FUNC" | |
| @@ -7667,6 +7728,15 @@ in the macro, so you shouldn't use double quotes.</doc> | |||
| 7667 | 7728 | </parameter> | |
| 7668 | 7729 | </parameters> | |
| 7669 | 7730 | </function-macro> | |
| 7731 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_86_FOR" | |
| 7732 | + | c:identifier="GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR" | |
| 7733 | + | introspectable="0"> | |
| 7734 | + | <source-position filename="glib/glib-visibility.h" line="1062"/> | |
| 7735 | + | <parameters> | |
| 7736 | + | <parameter name="f"> | |
| 7737 | + | </parameter> | |
| 7738 | + | </parameters> | |
| 7739 | + | </function-macro> | |
| 7670 | 7740 | <function-macro name="DEPRECATED_FOR" | |
| 7671 | 7741 | c:identifier="GLIB_DEPRECATED_FOR" | |
| 7672 | 7742 | introspectable="0"> | |
| @@ -7946,6 +8016,15 @@ in the macro, so you shouldn't use double quotes.</doc> | |||
| 7946 | 8016 | </parameter> | |
| 7947 | 8017 | </parameters> | |
| 7948 | 8018 | </function-macro> | |
| 8019 | + | <function-macro name="DEPRECATED_IN_2_86_FOR" | |
| 8020 | + | c:identifier="GLIB_DEPRECATED_IN_2_86_FOR" | |
| 8021 | + | introspectable="0"> | |
| 8022 | + | <source-position filename="glib/glib-visibility.h" line="1058"/> | |
| 8023 | + | <parameters> | |
| 8024 | + | <parameter name="f"> | |
| 8025 | + | </parameter> | |
| 8026 | + | </parameters> | |
| 8027 | + | </function-macro> | |
| 7949 | 8028 | <function-macro name="DEPRECATED_MACRO_FOR" | |
| 7950 | 8029 | c:identifier="GLIB_DEPRECATED_MACRO_FOR" | |
| 7951 | 8030 | introspectable="0"> | |
| @@ -8225,6 +8304,15 @@ in the macro, so you shouldn't use double quotes.</doc> | |||
| 8225 | 8304 | </parameter> | |
| 8226 | 8305 | </parameters> | |
| 8227 | 8306 | </function-macro> | |
| 8307 | + | <function-macro name="DEPRECATED_MACRO_IN_2_86_FOR" | |
| 8308 | + | c:identifier="GLIB_DEPRECATED_MACRO_IN_2_86_FOR" | |
| 8309 | + | introspectable="0"> | |
| 8310 | + | <source-position filename="glib/glib-visibility.h" line="1060"/> | |
| 8311 | + | <parameters> | |
| 8312 | + | <parameter name="f"> | |
| 8313 | + | </parameter> | |
| 8314 | + | </parameters> | |
| 8315 | + | </function-macro> | |
| 8228 | 8316 | <function-macro name="DEPRECATED_TYPE_FOR" | |
| 8229 | 8317 | c:identifier="GLIB_DEPRECATED_TYPE_FOR" | |
| 8230 | 8318 | introspectable="0"> | |
| @@ -8504,6 +8592,15 @@ in the macro, so you shouldn't use double quotes.</doc> | |||
| 8504 | 8592 | </parameter> | |
| 8505 | 8593 | </parameters> | |
| 8506 | 8594 | </function-macro> | |
| 8595 | + | <function-macro name="DEPRECATED_TYPE_IN_2_86_FOR" | |
| 8596 | + | c:identifier="GLIB_DEPRECATED_TYPE_IN_2_86_FOR" | |
| 8597 | + | introspectable="0"> | |
| 8598 | + | <source-position filename="glib/glib-visibility.h" line="1064"/> | |
| 8599 | + | <parameters> | |
| 8600 | + | <parameter name="f"> | |
| 8601 | + | </parameter> | |
| 8602 | + | </parameters> | |
| 8603 | + | </function-macro> | |
| 8507 | 8604 | <constant name="DIR_SEPARATOR" value="47" c:type="G_DIR_SEPARATOR"> | |
| 8508 | 8605 | <doc xml:space="preserve" | |
| 8509 | 8606 | filename="glib/docs.c" | |
| @@ -8533,7 +8630,7 @@ See also: [Keyed data lists](datalist-and-dataset.html).</doc> | |||
| 8533 | 8630 | <callback name="DataForeachFunc" c:type="GDataForeachFunc"> | |
| 8534 | 8631 | <doc xml:space="preserve" | |
| 8535 | 8632 | filename="glib/gdataset.c" | |
| 8536 | - | line="1452">Specifies the type of function passed to g_dataset_foreach(). It is | |
| 8633 | + | line="1492">Specifies the type of function passed to g_dataset_foreach(). It is | |
| 8537 | 8634 | called with each #GQuark id and associated data element, together | |
| 8538 | 8635 | with the @user_data parameter supplied to g_dataset_foreach().</doc> | |
| 8539 | 8636 | <source-position filename="glib/gdataset.h" line="40"/> | |
| @@ -8544,7 +8641,7 @@ with the @user_data parameter supplied to g_dataset_foreach().</doc> | |||
| 8544 | 8641 | <parameter name="key_id" transfer-ownership="none"> | |
| 8545 | 8642 | <doc xml:space="preserve" | |
| 8546 | 8643 | filename="glib/gdataset.c" | |
| 8547 | - | line="1454">the #GQuark id to identifying the data element.</doc> | |
| 8644 | + | line="1494">the #GQuark id to identifying the data element.</doc> | |
| 8548 | 8645 | <type name="Quark" c:type="GQuark"/> | |
| 8549 | 8646 | </parameter> | |
| 8550 | 8647 | <parameter name="data" | |
| @@ -8553,7 +8650,7 @@ with the @user_data parameter supplied to g_dataset_foreach().</doc> | |||
| 8553 | 8650 | allow-none="1"> | |
| 8554 | 8651 | <doc xml:space="preserve" | |
| 8555 | 8652 | filename="glib/gdataset.c" | |
| 8556 | - | line="1455">the data element.</doc> | |
| 8653 | + | line="1495">the data element.</doc> | |
| 8557 | 8654 | <type name="gpointer" c:type="gpointer"/> | |
| 8558 | 8655 | </parameter> | |
| 8559 | 8656 | <parameter name="user_data" | |
| @@ -8563,7 +8660,7 @@ with the @user_data parameter supplied to g_dataset_foreach().</doc> | |||
| 8563 | 8660 | closure="2"> | |
| 8564 | 8661 | <doc xml:space="preserve" | |
| 8565 | 8662 | filename="glib/gdataset.c" | |
| 8566 | - | line="1456">user data passed to g_dataset_foreach().</doc> | |
| 8663 | + | line="1496">user data passed to g_dataset_foreach().</doc> | |
| 8567 | 8664 | <type name="gpointer" c:type="gpointer"/> | |
| 8568 | 8665 | </parameter> | |
| 8569 | 8666 | </parameters> | |
| @@ -8733,10 +8830,10 @@ valid.</doc> | |||
| 8733 | 8830 | <method name="add_days" c:identifier="g_date_add_days"> | |
| 8734 | 8831 | <doc xml:space="preserve" | |
| 8735 | 8832 | filename="glib/gdate.c" | |
| 8736 | - | line="1693">Increments a date some number of days. | |
| 8833 | + | line="1699">Increments a date some number of days. | |
| 8737 | 8834 | To move forward by weeks, add weeks*7 days. | |
| 8738 | 8835 | The date must be valid.</doc> | |
| 8739 | - | <source-position filename="glib/gdate.h" line="223"/> | |
| 8836 | + | <source-position filename="glib/gdate.h" line="226"/> | |
| 8740 | 8837 | <return-value transfer-ownership="none"> | |
| 8741 | 8838 | <type name="none" c:type="void"/> | |
| 8742 | 8839 | </return-value> | |
| @@ -8744,13 +8841,13 @@ The date must be valid.</doc> | |||
| 8744 | 8841 | <instance-parameter name="date" transfer-ownership="none"> | |
| 8745 | 8842 | <doc xml:space="preserve" | |
| 8746 | 8843 | filename="glib/gdate.c" | |
| 8747 | - | line="1695">a #GDate to increment</doc> | |
| 8844 | + | line="1701">a #GDate to increment</doc> | |
| 8748 | 8845 | <type name="Date" c:type="GDate*"/> | |
| 8749 | 8846 | </instance-parameter> | |
| 8750 | 8847 | <parameter name="n_days" transfer-ownership="none"> | |
| 8751 | 8848 | <doc xml:space="preserve" | |
| 8752 | 8849 | filename="glib/gdate.c" | |
| 8753 | - | line="1696">number of days to move the date forward</doc> | |
| 8850 | + | line="1702">number of days to move the date forward</doc> | |
| 8754 | 8851 | <type name="guint" c:type="guint"/> | |
| 8755 | 8852 | </parameter> | |
| 8756 | 8853 | </parameters> | |
| @@ -8758,12 +8855,12 @@ The date must be valid.</doc> | |||
| 8758 | 8855 | <method name="add_months" c:identifier="g_date_add_months"> | |
| 8759 | 8856 | <doc xml:space="preserve" | |
| 8760 | 8857 | filename="glib/gdate.c" | |
| 8761 | - | line="1743">Increments a date by some number of months. | |
| 8858 | + | line="1749">Increments a date by some number of months. | |
| 8762 | 8859 | If the day of the month is greater than 28, | |
| 8763 | 8860 | this routine may change the day of the month | |
| 8764 | 8861 | (because the destination month may not have | |
| 8765 | 8862 | the current day in it). The date must be valid.</doc> | |
| 8766 | - | <source-position filename="glib/gdate.h" line="231"/> | |
| 8863 | + | <source-position filename="glib/gdate.h" line="234"/> | |
| 8767 | 8864 | <return-value transfer-ownership="none"> | |
| 8768 | 8865 | <type name="none" c:type="void"/> | |
| 8769 | 8866 | </return-value> | |
| @@ -8771,13 +8868,13 @@ the current day in it). The date must be valid.</doc> | |||
| 8771 | 8868 | <instance-parameter name="date" transfer-ownership="none"> | |
| 8772 | 8869 | <doc xml:space="preserve" | |
| 8773 | 8870 | filename="glib/gdate.c" | |
| 8774 | - | line="1745">a #GDate to increment</doc> | |
| 8871 | + | line="1751">a #GDate to increment</doc> | |
| 8775 | 8872 | <type name="Date" c:type="GDate*"/> | |
| 8776 | 8873 | </instance-parameter> | |
| 8777 | 8874 | <parameter name="n_months" transfer-ownership="none"> | |
| 8778 | 8875 | <doc xml:space="preserve" | |
| 8779 | 8876 | filename="glib/gdate.c" | |
| 8780 | - | line="1746">number of months to move forward</doc> | |
| 8877 | + | line="1752">number of months to move forward</doc> | |
| 8781 | 8878 | <type name="guint" c:type="guint"/> | |
| 8782 | 8879 | </parameter> | |
| 8783 | 8880 | </parameters> | |
| @@ -8785,11 +8882,11 @@ the current day in it). The date must be valid.</doc> | |||
| 8785 | 8882 | <method name="add_years" c:identifier="g_date_add_years"> | |
| 8786 | 8883 | <doc xml:space="preserve" | |
| 8787 | 8884 | filename="glib/gdate.c" | |
| 8788 | - | line="1838">Increments a date by some number of years. | |
| 8885 | + | line="1844">Increments a date by some number of years. | |
| 8789 | 8886 | If the date is February 29, and the destination | |
| 8790 | 8887 | year is not a leap year, the date will be changed | |
| 8791 | 8888 | to February 28. The date must be valid.</doc> | |
| 8792 | - | <source-position filename="glib/gdate.h" line="239"/> | |
| 8889 | + | <source-position filename="glib/gdate.h" line="242"/> | |
| 8793 | 8890 | <return-value transfer-ownership="none"> | |
| 8794 | 8891 | <type name="none" c:type="void"/> | |
| 8795 | 8892 | </return-value> | |
| @@ -8797,13 +8894,13 @@ to February 28. The date must be valid.</doc> | |||
| 8797 | 8894 | <instance-parameter name="date" transfer-ownership="none"> | |
| 8798 | 8895 | <doc xml:space="preserve" | |
| 8799 | 8896 | filename="glib/gdate.c" | |
| 8800 | - | line="1840">a #GDate to increment</doc> | |
| 8897 | + | line="1846">a #GDate to increment</doc> | |
| 8801 | 8898 | <type name="Date" c:type="GDate*"/> | |
| 8802 | 8899 | </instance-parameter> | |
| 8803 | 8900 | <parameter name="n_years" transfer-ownership="none"> | |
| 8804 | 8901 | <doc xml:space="preserve" | |
| 8805 | 8902 | filename="glib/gdate.c" | |
| 8806 | - | line="1841">number of years to move forward</doc> | |
| 8903 | + | line="1847">number of years to move forward</doc> | |
| 8807 | 8904 | <type name="guint" c:type="guint"/> | |
| 8808 | 8905 | </parameter> | |
| 8809 | 8906 | </parameters> | |
| @@ -8811,12 +8908,12 @@ to February 28. The date must be valid.</doc> | |||
| 8811 | 8908 | <method name="clamp" c:identifier="g_date_clamp"> | |
| 8812 | 8909 | <doc xml:space="preserve" | |
| 8813 | 8910 | filename="glib/gdate.c" | |
| 8814 | - | line="2128">If @date is prior to @min_date, sets @date equal to @min_date. | |
| 8911 | + | line="2147">If @date is prior to @min_date, sets @date equal to @min_date. | |
| 8815 | 8912 | If @date falls after @max_date, sets @date equal to @max_date. | |
| 8816 | 8913 | Otherwise, @date is unchanged. | |
| 8817 | 8914 | Either of @min_date and @max_date may be %NULL. | |
| 8818 | 8915 | All non-%NULL dates must be valid.</doc> | |
| 8819 | - | <source-position filename="glib/gdate.h" line="269"/> | |
| 8916 | + | <source-position filename="glib/gdate.h" line="275"/> | |
| 8820 | 8917 | <return-value transfer-ownership="none"> | |
| 8821 | 8918 | <type name="none" c:type="void"/> | |
| 8822 | 8919 | </return-value> | |
| @@ -8824,19 +8921,19 @@ All non-%NULL dates must be valid.</doc> | |||
| 8824 | 8921 | <instance-parameter name="date" transfer-ownership="none"> | |
| 8825 | 8922 | <doc xml:space="preserve" | |
| 8826 | 8923 | filename="glib/gdate.c" | |
| 8827 | - | line="2130">a #GDate to clamp</doc> | |
| 8924 | + | line="2149">a #GDate to clamp</doc> | |
| 8828 | 8925 | <type name="Date" c:type="GDate*"/> | |
| 8829 | 8926 | </instance-parameter> | |
| 8830 | 8927 | <parameter name="min_date" transfer-ownership="none"> | |
| 8831 | 8928 | <doc xml:space="preserve" | |
| 8832 | 8929 | filename="glib/gdate.c" | |
| 8833 | - | line="2131">minimum accepted value for @date</doc> | |
| 8930 | + | line="2150">minimum accepted value for @date</doc> | |
| 8834 | 8931 | <type name="Date" c:type="const GDate*"/> | |
| 8835 | 8932 | </parameter> | |
| 8836 | 8933 | <parameter name="max_date" transfer-ownership="none"> | |
| 8837 | 8934 | <doc xml:space="preserve" | |
| 8838 | 8935 | filename="glib/gdate.c" | |
| 8839 | - | line="2132">maximum accepted value for @date</doc> | |
| 8936 | + | line="2151">maximum accepted value for @date</doc> | |
| 8840 | 8937 | <type name="Date" c:type="const GDate*"/> | |
| 8841 | 8938 | </parameter> | |
| 8842 | 8939 | </parameters> | |
| @@ -8844,11 +8941,11 @@ All non-%NULL dates must be valid.</doc> | |||
| 8844 | 8941 | <method name="clear" c:identifier="g_date_clear"> | |
| 8845 | 8942 | <doc xml:space="preserve" | |
| 8846 | 8943 | filename="glib/gdate.c" | |
| 8847 | - | line="860">Initializes one or more #GDate structs to a safe but invalid | |
| 8944 | + | line="866">Initializes one or more #GDate structs to a safe but invalid | |
| 8848 | 8945 | state. The cleared dates will not represent an existing date, but will | |
| 8849 | 8946 | not contain garbage. Useful to init a date declared on the stack. | |
| 8850 | 8947 | Validity can be tested with g_date_valid().</doc> | |
| 8851 | - | <source-position filename="glib/gdate.h" line="178"/> | |
| 8948 | + | <source-position filename="glib/gdate.h" line="181"/> | |
| 8852 | 8949 | <return-value transfer-ownership="none"> | |
| 8853 | 8950 | <type name="none" c:type="void"/> | |
| 8854 | 8951 | </return-value> | |
| @@ -8856,13 +8953,13 @@ Validity can be tested with g_date_valid().</doc> | |||
| 8856 | 8953 | <instance-parameter name="date" transfer-ownership="none"> | |
| 8857 | 8954 | <doc xml:space="preserve" | |
| 8858 | 8955 | filename="glib/gdate.c" | |
| 8859 | - | line="862">pointer to one or more dates to clear</doc> | |
| 8956 | + | line="868">pointer to one or more dates to clear</doc> | |
| 8860 | 8957 | <type name="Date" c:type="GDate*"/> | |
| 8861 | 8958 | </instance-parameter> | |
| 8862 | 8959 | <parameter name="n_dates" transfer-ownership="none"> | |
| 8863 | 8960 | <doc xml:space="preserve" | |
| 8864 | 8961 | filename="glib/gdate.c" | |
| 8865 | - | line="863">number of dates to clear</doc> | |
| 8962 | + | line="869">number of dates to clear</doc> | |
| 8866 | 8963 | <type name="guint" c:type="guint"/> | |
| 8867 | 8964 | </parameter> | |
| 8868 | 8965 | </parameters> | |
| @@ -8870,13 +8967,13 @@ Validity can be tested with g_date_valid().</doc> | |||
| 8870 | 8967 | <method name="compare" c:identifier="g_date_compare"> | |
| 8871 | 8968 | <doc xml:space="preserve" | |
| 8872 | 8969 | filename="glib/gdate.c" | |
| 8873 | - | line="2023">qsort()-style comparison function for dates. | |
| 8970 | + | line="2042">qsort()-style comparison function for dates. | |
| 8874 | 8971 | Both dates must be valid.</doc> | |
| 8875 | - | <source-position filename="glib/gdate.h" line="262"/> | |
| 8972 | + | <source-position filename="glib/gdate.h" line="268"/> | |
| 8876 | 8973 | <return-value transfer-ownership="none"> | |
| 8877 | 8974 | <doc xml:space="preserve" | |
| 8878 | 8975 | filename="glib/gdate.c" | |
| 8879 | - | line="2031">0 for equal, less than zero if @lhs is less than @rhs, | |
| 8976 | + | line="2050">0 for equal, less than zero if @lhs is less than @rhs, | |
| 8880 | 8977 | greater than zero if @lhs is greater than @rhs</doc> | |
| 8881 | 8978 | <type name="gint" c:type="gint"/> | |
| 8882 | 8979 | </return-value> | |
| @@ -8884,13 +8981,13 @@ Both dates must be valid.</doc> | |||
| 8884 | 8981 | <instance-parameter name="lhs" transfer-ownership="none"> | |
| 8885 | 8982 | <doc xml:space="preserve" | |
| 8886 | 8983 | filename="glib/gdate.c" | |
| 8887 | - | line="2025">first date to compare</doc> | |
| 8984 | + | line="2044">first date to compare</doc> | |
| 8888 | 8985 | <type name="Date" c:type="const GDate*"/> | |
| 8889 | 8986 | </instance-parameter> | |
| 8890 | 8987 | <parameter name="rhs" transfer-ownership="none"> | |
| 8891 | 8988 | <doc xml:space="preserve" | |
| 8892 | 8989 | filename="glib/gdate.c" | |
| 8893 | - | line="2026">second date to compare</doc> | |
| 8990 | + | line="2045">second date to compare</doc> | |
| 8894 | 8991 | <type name="Date" c:type="const GDate*"/> | |
| 8895 | 8992 | </parameter> | |
| 8896 | 8993 | </parameters> | |
| @@ -8920,27 +9017,27 @@ as is into the new object.</doc> | |||
| 8920 | 9017 | <method name="days_between" c:identifier="g_date_days_between"> | |
| 8921 | 9018 | <doc xml:space="preserve" | |
| 8922 | 9019 | filename="glib/gdate.c" | |
| 8923 | - | line="839">Computes the number of days between two dates. | |
| 9020 | + | line="845">Computes the number of days between two dates. | |
| 8924 | 9021 | If @date2 is prior to @date1, the returned value is negative. | |
| 8925 | 9022 | Both dates must be valid.</doc> | |
| 8926 | - | <source-position filename="glib/gdate.h" line="257"/> | |
| 9023 | + | <source-position filename="glib/gdate.h" line="263"/> | |
| 8927 | 9024 | <return-value transfer-ownership="none"> | |
| 8928 | 9025 | <doc xml:space="preserve" | |
| 8929 | 9026 | filename="glib/gdate.c" | |
| 8930 | - | line="848">the number of days between @date1 and @date2</doc> | |
| 9027 | + | line="854">the number of days between @date1 and @date2</doc> | |
| 8931 | 9028 | <type name="gint" c:type="gint"/> | |
| 8932 | 9029 | </return-value> | |
| 8933 | 9030 | <parameters> | |
| 8934 | 9031 | <instance-parameter name="date1" transfer-ownership="none"> | |
| 8935 | 9032 | <doc xml:space="preserve" | |
| 8936 | 9033 | filename="glib/gdate.c" | |
| 8937 | - | line="841">the first date</doc> | |
| 9034 | + | line="847">the first date</doc> | |
| 8938 | 9035 | <type name="Date" c:type="const GDate*"/> | |
| 8939 | 9036 | </instance-parameter> | |
| 8940 | 9037 | <parameter name="date2" transfer-ownership="none"> | |
| 8941 | 9038 | <doc xml:space="preserve" | |
| 8942 | 9039 | filename="glib/gdate.c" | |
| 8943 | - | line="842">the second date</doc> | |
| 9040 | + | line="848">the second date</doc> | |
| 8944 | 9041 | <type name="Date" c:type="const GDate*"/> | |
| 8945 | 9042 | </parameter> | |
| 8946 | 9043 | </parameters> | |
| @@ -9008,20 +9105,20 @@ year. The date must be valid.</doc> | |||
| 9008 | 9105 | version="2.6"> | |
| 9009 | 9106 | <doc xml:space="preserve" | |
| 9010 | 9107 | filename="glib/gdate.c" | |
| 9011 | - | line="803">Returns the week of the year, where weeks are interpreted according | |
| 9108 | + | line="809">Returns the week of the year, where weeks are interpreted according | |
| 9012 | 9109 | to ISO 8601.</doc> | |
| 9013 | - | <source-position filename="glib/gdate.h" line="171"/> | |
| 9110 | + | <source-position filename="glib/gdate.h" line="174"/> | |
| 9014 | 9111 | <return-value transfer-ownership="none"> | |
| 9015 | 9112 | <doc xml:space="preserve" | |
| 9016 | 9113 | filename="glib/gdate.c" | |
| 9017 | - | line="810">ISO 8601 week number of the year.</doc> | |
| 9114 | + | line="816">ISO 8601 week number of the year.</doc> | |
| 9018 | 9115 | <type name="guint" c:type="guint"/> | |
| 9019 | 9116 | </return-value> | |
| 9020 | 9117 | <parameters> | |
| 9021 | 9118 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9022 | 9119 | <doc xml:space="preserve" | |
| 9023 | 9120 | filename="glib/gdate.c" | |
| 9024 | - | line="805">a valid #GDate</doc> | |
| 9121 | + | line="811">a valid #GDate</doc> | |
| 9025 | 9122 | <type name="Date" c:type="const GDate*"/> | |
| 9026 | 9123 | </instance-parameter> | |
| 9027 | 9124 | </parameters> | |
| @@ -9096,23 +9193,62 @@ The date must be valid.</doc> | |||
| 9096 | 9193 | c:identifier="g_date_get_sunday_week_of_year"> | |
| 9097 | 9194 | <doc xml:space="preserve" | |
| 9098 | 9195 | filename="glib/gdate.c" | |
| 9099 | - | line="768">Returns the week of the year during which this date falls, if | |
| 9196 | + | line="750">Returns the week of the year during which this date falls, if | |
| 9100 | 9197 | weeks are understood to begin on Sunday. The date must be valid. | |
| 9101 | 9198 | Can return 0 if the day is before the first Sunday of the year.</doc> | |
| 9102 | 9199 | <source-position filename="glib/gdate.h" line="169"/> | |
| 9103 | 9200 | <return-value transfer-ownership="none"> | |
| 9104 | 9201 | <doc xml:space="preserve" | |
| 9105 | 9202 | filename="glib/gdate.c" | |
| 9106 | - | line="776">week number</doc> | |
| 9203 | + | line="758">week number</doc> | |
| 9204 | + | <type name="guint" c:type="guint"/> | |
| 9205 | + | </return-value> | |
| 9206 | + | <parameters> | |
| 9207 | + | <instance-parameter name="date" transfer-ownership="none"> | |
| 9208 | + | <doc xml:space="preserve" | |
| 9209 | + | filename="glib/gdate.c" | |
| 9210 | + | line="752">a #GDate</doc> | |
| 9211 | + | <type name="Date" c:type="const GDate*"/> | |
| 9212 | + | </instance-parameter> | |
| 9213 | + | </parameters> | |
| 9214 | + | </method> | |
| 9215 | + | <method name="get_week_of_year" | |
| 9216 | + | c:identifier="g_date_get_week_of_year" | |
| 9217 | + | version="2.86"> | |
| 9218 | + | <doc xml:space="preserve" | |
| 9219 | + | filename="glib/gdate.c" | |
| 9220 | + | line="766">Calculates the week of the year during which this date falls. | |
| 9221 | + | ||
| 9222 | + | The result depends on which day is considered the first day of the week, | |
| 9223 | + | which varies by locale. Both `date` and `first_day_of_week` must be valid. | |
| 9224 | + | ||
| 9225 | + | If @date is before the start of the first week of the year (for example, | |
| 9226 | + | before the first Monday in January if @first_day_of_week is | |
| 9227 | + | [enum@GLib.DateWeekday.MONDAY]) then zero will be returned.</doc> | |
| 9228 | + | <source-position filename="glib/gdate.h" line="171"/> | |
| 9229 | + | <return-value transfer-ownership="none"> | |
| 9230 | + | <doc xml:space="preserve" | |
| 9231 | + | filename="glib/gdate.c" | |
| 9232 | + | line="783">week number (starting from 1), or `0` if @date is before the start | |
| 9233 | + | of the first week of the year</doc> | |
| 9107 | 9234 | <type name="guint" c:type="guint"/> | |
| 9108 | 9235 | </return-value> | |
| 9109 | 9236 | <parameters> | |
| 9110 | 9237 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9111 | 9238 | <doc xml:space="preserve" | |
| 9112 | 9239 | filename="glib/gdate.c" | |
| 9113 | - | line="770">a #GDate</doc> | |
| 9240 | + | line="768">a [struct@GLib.Date]</doc> | |
| 9114 | 9241 | <type name="Date" c:type="const GDate*"/> | |
| 9115 | 9242 | </instance-parameter> | |
| 9243 | + | <parameter name="first_day_of_week" transfer-ownership="none"> | |
| 9244 | + | <doc xml:space="preserve" | |
| 9245 | + | filename="glib/gdate.c" | |
| 9246 | + | line="769">the day which is considered the first day of the week | |
| 9247 | + | (for example, this would be [enum@GLib.DateWeekday.SUNDAY] in US locales, | |
| 9248 | + | [enum@GLib.DateWeekday.MONDAY] in British locales, and | |
| 9249 | + | [enum@GLib.DateWeekday.SATURDAY] in Egyptian locales</doc> | |
| 9250 | + | <type name="DateWeekday" c:type="GDateWeekday"/> | |
| 9251 | + | </parameter> | |
| 9116 | 9252 | </parameters> | |
| 9117 | 9253 | </method> | |
| 9118 | 9254 | <method name="get_weekday" c:identifier="g_date_get_weekday"> | |
| @@ -9158,20 +9294,20 @@ Can return 0 if the day is before the first Sunday of the year.</doc> | |||
| 9158 | 9294 | <method name="is_first_of_month" c:identifier="g_date_is_first_of_month"> | |
| 9159 | 9295 | <doc xml:space="preserve" | |
| 9160 | 9296 | filename="glib/gdate.c" | |
| 9161 | - | line="1643">Returns %TRUE if the date is on the first of a month. | |
| 9297 | + | line="1649">Returns %TRUE if the date is on the first of a month. | |
| 9162 | 9298 | The date must be valid.</doc> | |
| 9163 | - | <source-position filename="glib/gdate.h" line="217"/> | |
| 9299 | + | <source-position filename="glib/gdate.h" line="220"/> | |
| 9164 | 9300 | <return-value transfer-ownership="none"> | |
| 9165 | 9301 | <doc xml:space="preserve" | |
| 9166 | 9302 | filename="glib/gdate.c" | |
| 9167 | - | line="1650">%TRUE if the date is the first of the month</doc> | |
| 9303 | + | line="1656">%TRUE if the date is the first of the month</doc> | |
| 9168 | 9304 | <type name="gboolean" c:type="gboolean"/> | |
| 9169 | 9305 | </return-value> | |
| 9170 | 9306 | <parameters> | |
| 9171 | 9307 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9172 | 9308 | <doc xml:space="preserve" | |
| 9173 | 9309 | filename="glib/gdate.c" | |
| 9174 | - | line="1645">a #GDate to check</doc> | |
| 9310 | + | line="1651">a #GDate to check</doc> | |
| 9175 | 9311 | <type name="Date" c:type="const GDate*"/> | |
| 9176 | 9312 | </instance-parameter> | |
| 9177 | 9313 | </parameters> | |
| @@ -9179,20 +9315,20 @@ The date must be valid.</doc> | |||
| 9179 | 9315 | <method name="is_last_of_month" c:identifier="g_date_is_last_of_month"> | |
| 9180 | 9316 | <doc xml:space="preserve" | |
| 9181 | 9317 | filename="glib/gdate.c" | |
| 9182 | - | line="1666">Returns %TRUE if the date is the last day of the month. | |
| 9318 | + | line="1672">Returns %TRUE if the date is the last day of the month. | |
| 9183 | 9319 | The date must be valid.</doc> | |
| 9184 | - | <source-position filename="glib/gdate.h" line="219"/> | |
| 9320 | + | <source-position filename="glib/gdate.h" line="222"/> | |
| 9185 | 9321 | <return-value transfer-ownership="none"> | |
| 9186 | 9322 | <doc xml:space="preserve" | |
| 9187 | 9323 | filename="glib/gdate.c" | |
| 9188 | - | line="1673">%TRUE if the date is the last day of the month</doc> | |
| 9324 | + | line="1679">%TRUE if the date is the last day of the month</doc> | |
| 9189 | 9325 | <type name="gboolean" c:type="gboolean"/> | |
| 9190 | 9326 | </return-value> | |
| 9191 | 9327 | <parameters> | |
| 9192 | 9328 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9193 | 9329 | <doc xml:space="preserve" | |
| 9194 | 9330 | filename="glib/gdate.c" | |
| 9195 | - | line="1668">a #GDate to check</doc> | |
| 9331 | + | line="1674">a #GDate to check</doc> | |
| 9196 | 9332 | <type name="Date" c:type="const GDate*"/> | |
| 9197 | 9333 | </instance-parameter> | |
| 9198 | 9334 | </parameters> | |
| @@ -9200,9 +9336,9 @@ The date must be valid.</doc> | |||
| 9200 | 9336 | <method name="order" c:identifier="g_date_order"> | |
| 9201 | 9337 | <doc xml:space="preserve" | |
| 9202 | 9338 | filename="glib/gdate.c" | |
| 9203 | - | line="2163">Checks if @date1 is less than or equal to @date2, | |
| 9339 | + | line="2182">Checks if @date1 is less than or equal to @date2, | |
| 9204 | 9340 | and swap the values if this is not the case.</doc> | |
| 9205 | - | <source-position filename="glib/gdate.h" line="275"/> | |
| 9341 | + | <source-position filename="glib/gdate.h" line="281"/> | |
| 9206 | 9342 | <return-value transfer-ownership="none"> | |
| 9207 | 9343 | <type name="none" c:type="void"/> | |
| 9208 | 9344 | </return-value> | |
| @@ -9210,13 +9346,13 @@ and swap the values if this is not the case.</doc> | |||
| 9210 | 9346 | <instance-parameter name="date1" transfer-ownership="none"> | |
| 9211 | 9347 | <doc xml:space="preserve" | |
| 9212 | 9348 | filename="glib/gdate.c" | |
| 9213 | - | line="2165">the first date</doc> | |
| 9349 | + | line="2184">the first date</doc> | |
| 9214 | 9350 | <type name="Date" c:type="GDate*"/> | |
| 9215 | 9351 | </instance-parameter> | |
| 9216 | 9352 | <parameter name="date2" transfer-ownership="none"> | |
| 9217 | 9353 | <doc xml:space="preserve" | |
| 9218 | 9354 | filename="glib/gdate.c" | |
| 9219 | - | line="2166">the second date</doc> | |
| 9355 | + | line="2185">the second date</doc> | |
| 9220 | 9356 | <type name="Date" c:type="GDate*"/> | |
| 9221 | 9357 | </parameter> | |
| 9222 | 9358 | </parameters> | |
| @@ -9224,9 +9360,9 @@ and swap the values if this is not the case.</doc> | |||
| 9224 | 9360 | <method name="set_day" c:identifier="g_date_set_day"> | |
| 9225 | 9361 | <doc xml:space="preserve" | |
| 9226 | 9362 | filename="glib/gdate.c" | |
| 9227 | - | line="1542">Sets the day of the month for a #GDate. If the resulting | |
| 9363 | + | line="1548">Sets the day of the month for a #GDate. If the resulting | |
| 9228 | 9364 | day-month-year triplet is invalid, the date will be invalid.</doc> | |
| 9229 | - | <source-position filename="glib/gdate.h" line="203"/> | |
| 9365 | + | <source-position filename="glib/gdate.h" line="206"/> | |
| 9230 | 9366 | <return-value transfer-ownership="none"> | |
| 9231 | 9367 | <type name="none" c:type="void"/> | |
| 9232 | 9368 | </return-value> | |
| @@ -9234,13 +9370,13 @@ day-month-year triplet is invalid, the date will be invalid.</doc> | |||
| 9234 | 9370 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9235 | 9371 | <doc xml:space="preserve" | |
| 9236 | 9372 | filename="glib/gdate.c" | |
| 9237 | - | line="1544">a #GDate</doc> | |
| 9373 | + | line="1550">a #GDate</doc> | |
| 9238 | 9374 | <type name="Date" c:type="GDate*"/> | |
| 9239 | 9375 | </instance-parameter> | |
| 9240 | 9376 | <parameter name="day" transfer-ownership="none"> | |
| 9241 | 9377 | <doc xml:space="preserve" | |
| 9242 | 9378 | filename="glib/gdate.c" | |
| 9243 | - | line="1545">day to set</doc> | |
| 9379 | + | line="1551">day to set</doc> | |
| 9244 | 9380 | <type name="DateDay" c:type="GDateDay"/> | |
| 9245 | 9381 | </parameter> | |
| 9246 | 9382 | </parameters> | |
| @@ -9248,11 +9384,11 @@ day-month-year triplet is invalid, the date will be invalid.</doc> | |||
| 9248 | 9384 | <method name="set_dmy" c:identifier="g_date_set_dmy"> | |
| 9249 | 9385 | <doc xml:space="preserve" | |
| 9250 | 9386 | filename="glib/gdate.c" | |
| 9251 | - | line="1594">Sets the value of a #GDate from a day, month, and year. | |
| 9387 | + | line="1600">Sets the value of a #GDate from a day, month, and year. | |
| 9252 | 9388 | The day-month-year triplet must be valid; if you aren't | |
| 9253 | 9389 | sure it is, call g_date_valid_dmy() to check before you | |
| 9254 | 9390 | set it.</doc> | |
| 9255 | - | <source-position filename="glib/gdate.h" line="209"/> | |
| 9391 | + | <source-position filename="glib/gdate.h" line="212"/> | |
| 9256 | 9392 | <return-value transfer-ownership="none"> | |
| 9257 | 9393 | <type name="none" c:type="void"/> | |
| 9258 | 9394 | </return-value> | |
| @@ -9260,25 +9396,25 @@ set it.</doc> | |||
| 9260 | 9396 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9261 | 9397 | <doc xml:space="preserve" | |
| 9262 | 9398 | filename="glib/gdate.c" | |
| 9263 | - | line="1596">a #GDate</doc> | |
| 9399 | + | line="1602">a #GDate</doc> | |
| 9264 | 9400 | <type name="Date" c:type="GDate*"/> | |
| 9265 | 9401 | </instance-parameter> | |
| 9266 | 9402 | <parameter name="day" transfer-ownership="none"> | |
| 9267 | 9403 | <doc xml:space="preserve" | |
| 9268 | 9404 | filename="glib/gdate.c" | |
| 9269 | - | line="1597">day</doc> | |
| 9405 | + | line="1603">day</doc> | |
| 9270 | 9406 | <type name="DateDay" c:type="GDateDay"/> | |
| 9271 | 9407 | </parameter> | |
| 9272 | 9408 | <parameter name="month" transfer-ownership="none"> | |
| 9273 | 9409 | <doc xml:space="preserve" | |
| 9274 | 9410 | filename="glib/gdate.c" | |
| 9275 | - | line="1598">month</doc> | |
| 9411 | + | line="1604">month</doc> | |
| 9276 | 9412 | <type name="DateMonth" c:type="GDateMonth"/> | |
| 9277 | 9413 | </parameter> | |
| 9278 | 9414 | <parameter name="y" transfer-ownership="none"> | |
| 9279 | 9415 | <doc xml:space="preserve" | |
| 9280 | 9416 | filename="glib/gdate.c" | |
| 9281 | - | line="1599">year</doc> | |
| 9417 | + | line="1605">year</doc> | |
| 9282 | 9418 | <type name="DateYear" c:type="GDateYear"/> | |
| 9283 | 9419 | </parameter> | |
| 9284 | 9420 | </parameters> | |
| @@ -9286,8 +9422,8 @@ set it.</doc> | |||
| 9286 | 9422 | <method name="set_julian" c:identifier="g_date_set_julian"> | |
| 9287 | 9423 | <doc xml:space="preserve" | |
| 9288 | 9424 | filename="glib/gdate.c" | |
| 9289 | - | line="1624">Sets the value of a #GDate from a Julian day number.</doc> | |
| 9290 | - | <source-position filename="glib/gdate.h" line="214"/> | |
| 9425 | + | line="1630">Sets the value of a #GDate from a Julian day number.</doc> | |
| 9426 | + | <source-position filename="glib/gdate.h" line="217"/> | |
| 9291 | 9427 | <return-value transfer-ownership="none"> | |
| 9292 | 9428 | <type name="none" c:type="void"/> | |
| 9293 | 9429 | </return-value> | |
| @@ -9295,13 +9431,13 @@ set it.</doc> | |||
| 9295 | 9431 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9296 | 9432 | <doc xml:space="preserve" | |
| 9297 | 9433 | filename="glib/gdate.c" | |
| 9298 | - | line="1626">a #GDate</doc> | |
| 9434 | + | line="1632">a #GDate</doc> | |
| 9299 | 9435 | <type name="Date" c:type="GDate*"/> | |
| 9300 | 9436 | </instance-parameter> | |
| 9301 | 9437 | <parameter name="julian_date" transfer-ownership="none"> | |
| 9302 | 9438 | <doc xml:space="preserve" | |
| 9303 | 9439 | filename="glib/gdate.c" | |
| 9304 | - | line="1627">Julian day number (days since January 1, Year 1)</doc> | |
| 9440 | + | line="1633">Julian day number (days since January 1, Year 1)</doc> | |
| 9305 | 9441 | <type name="guint32" c:type="guint32"/> | |
| 9306 | 9442 | </parameter> | |
| 9307 | 9443 | </parameters> | |
| @@ -9309,9 +9445,9 @@ set it.</doc> | |||
| 9309 | 9445 | <method name="set_month" c:identifier="g_date_set_month"> | |
| 9310 | 9446 | <doc xml:space="preserve" | |
| 9311 | 9447 | filename="glib/gdate.c" | |
| 9312 | - | line="1516">Sets the month of the year for a #GDate. If the resulting | |
| 9448 | + | line="1522">Sets the month of the year for a #GDate. If the resulting | |
| 9313 | 9449 | day-month-year triplet is invalid, the date will be invalid.</doc> | |
| 9314 | - | <source-position filename="glib/gdate.h" line="200"/> | |
| 9450 | + | <source-position filename="glib/gdate.h" line="203"/> | |
| 9315 | 9451 | <return-value transfer-ownership="none"> | |
| 9316 | 9452 | <type name="none" c:type="void"/> | |
| 9317 | 9453 | </return-value> | |
| @@ -9319,13 +9455,13 @@ day-month-year triplet is invalid, the date will be invalid.</doc> | |||
| 9319 | 9455 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9320 | 9456 | <doc xml:space="preserve" | |
| 9321 | 9457 | filename="glib/gdate.c" | |
| 9322 | - | line="1518">a #GDate</doc> | |
| 9458 | + | line="1524">a #GDate</doc> | |
| 9323 | 9459 | <type name="Date" c:type="GDate*"/> | |
| 9324 | 9460 | </instance-parameter> | |
| 9325 | 9461 | <parameter name="month" transfer-ownership="none"> | |
| 9326 | 9462 | <doc xml:space="preserve" | |
| 9327 | 9463 | filename="glib/gdate.c" | |
| 9328 | - | line="1519">month to set</doc> | |
| 9464 | + | line="1525">month to set</doc> | |
| 9329 | 9465 | <type name="DateMonth" c:type="GDateMonth"/> | |
| 9330 | 9466 | </parameter> | |
| 9331 | 9467 | </parameters> | |
| @@ -9333,7 +9469,7 @@ day-month-year triplet is invalid, the date will be invalid.</doc> | |||
| 9333 | 9469 | <method name="set_parse" c:identifier="g_date_set_parse"> | |
| 9334 | 9470 | <doc xml:space="preserve" | |
| 9335 | 9471 | filename="glib/gdate.c" | |
| 9336 | - | line="1225">Parses a user-inputted string @str, and try to figure out what date it | |
| 9472 | + | line="1231">Parses a user-inputted string @str, and try to figure out what date it | |
| 9337 | 9473 | represents, taking the [current locale](running.html#locale) | |
| 9338 | 9474 | into account. If the string is successfully parsed, the date will be | |
| 9339 | 9475 | valid after the call. Otherwise, it will be invalid. You should check | |
| @@ -9344,7 +9480,7 @@ isn't very precise, and its exact behavior varies with the locale. | |||
| 9344 | 9480 | It's intended to be a heuristic routine that guesses what the user | |
| 9345 | 9481 | means by a given string (and it does work pretty well in that | |
| 9346 | 9482 | capacity).</doc> | |
| 9347 | - | <source-position filename="glib/gdate.h" line="186"/> | |
| 9483 | + | <source-position filename="glib/gdate.h" line="189"/> | |
| 9348 | 9484 | <return-value transfer-ownership="none"> | |
| 9349 | 9485 | <type name="none" c:type="void"/> | |
| 9350 | 9486 | </return-value> | |
| @@ -9352,13 +9488,13 @@ capacity).</doc> | |||
| 9352 | 9488 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9353 | 9489 | <doc xml:space="preserve" | |
| 9354 | 9490 | filename="glib/gdate.c" | |
| 9355 | - | line="1227">a #GDate to fill in</doc> | |
| 9491 | + | line="1233">a #GDate to fill in</doc> | |
| 9356 | 9492 | <type name="Date" c:type="GDate*"/> | |
| 9357 | 9493 | </instance-parameter> | |
| 9358 | 9494 | <parameter name="str" transfer-ownership="none"> | |
| 9359 | 9495 | <doc xml:space="preserve" | |
| 9360 | 9496 | filename="glib/gdate.c" | |
| 9361 | - | line="1228">string to parse</doc> | |
| 9497 | + | line="1234">string to parse</doc> | |
| 9362 | 9498 | <type name="utf8" c:type="const gchar*"/> | |
| 9363 | 9499 | </parameter> | |
| 9364 | 9500 | </parameters> | |
| @@ -9369,10 +9505,10 @@ capacity).</doc> | |||
| 9369 | 9505 | deprecated-version="2.10"> | |
| 9370 | 9506 | <doc xml:space="preserve" | |
| 9371 | 9507 | filename="glib/gdate.c" | |
| 9372 | - | line="1473">Sets the value of a date from a #GTime value. | |
| 9508 | + | line="1479">Sets the value of a date from a #GTime value. | |
| 9373 | 9509 | The time to date conversion is done using the user's current timezone.</doc> | |
| 9374 | 9510 | <doc-deprecated xml:space="preserve">Use g_date_set_time_t() instead.</doc-deprecated> | |
| 9375 | - | <source-position filename="glib/gdate.h" line="196"/> | |
| 9511 | + | <source-position filename="glib/gdate.h" line="199"/> | |
| 9376 | 9512 | <return-value transfer-ownership="none"> | |
| 9377 | 9513 | <type name="none" c:type="void"/> | |
| 9378 | 9514 | </return-value> | |
| @@ -9380,13 +9516,13 @@ The time to date conversion is done using the user's current timezone.</doc> | |||
| 9380 | 9516 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9381 | 9517 | <doc xml:space="preserve" | |
| 9382 | 9518 | filename="glib/gdate.c" | |
| 9383 | - | line="1475">a #GDate.</doc> | |
| 9519 | + | line="1481">a #GDate.</doc> | |
| 9384 | 9520 | <type name="Date" c:type="GDate*"/> | |
| 9385 | 9521 | </instance-parameter> | |
| 9386 | 9522 | <parameter name="time_" transfer-ownership="none"> | |
| 9387 | 9523 | <doc xml:space="preserve" | |
| 9388 | 9524 | filename="glib/gdate.c" | |
| 9389 | - | line="1476">#GTime value to set.</doc> | |
| 9525 | + | line="1482">#GTime value to set.</doc> | |
| 9390 | 9526 | <type name="Time" c:type="GTime"/> | |
| 9391 | 9527 | </parameter> | |
| 9392 | 9528 | </parameters> | |
| @@ -9396,7 +9532,7 @@ The time to date conversion is done using the user's current timezone.</doc> | |||
| 9396 | 9532 | version="2.10"> | |
| 9397 | 9533 | <doc xml:space="preserve" | |
| 9398 | 9534 | filename="glib/gdate.c" | |
| 9399 | - | line="1417">Sets the value of a date to the date corresponding to a time | |
| 9535 | + | line="1423">Sets the value of a date to the date corresponding to a time | |
| 9400 | 9536 | specified as a time_t. The time to date conversion is done using | |
| 9401 | 9537 | the user's current timezone. | |
| 9402 | 9538 | ||
| @@ -9407,7 +9543,7 @@ To set the value of a date to the current day, you could write: | |||
| 9407 | 9543 | // handle the error | |
| 9408 | 9544 | g_date_set_time_t (date, now); | |
| 9409 | 9545 | ]|</doc> | |
| 9410 | - | <source-position filename="glib/gdate.h" line="189"/> | |
| 9546 | + | <source-position filename="glib/gdate.h" line="192"/> | |
| 9411 | 9547 | <return-value transfer-ownership="none"> | |
| 9412 | 9548 | <type name="none" c:type="void"/> | |
| 9413 | 9549 | </return-value> | |
| @@ -9415,13 +9551,13 @@ To set the value of a date to the current day, you could write: | |||
| 9415 | 9551 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9416 | 9552 | <doc xml:space="preserve" | |
| 9417 | 9553 | filename="glib/gdate.c" | |
| 9418 | - | line="1419">a #GDate</doc> | |
| 9554 | + | line="1425">a #GDate</doc> | |
| 9419 | 9555 | <type name="Date" c:type="GDate*"/> | |
| 9420 | 9556 | </instance-parameter> | |
| 9421 | 9557 | <parameter name="timet" transfer-ownership="none"> | |
| 9422 | 9558 | <doc xml:space="preserve" | |
| 9423 | 9559 | filename="glib/gdate.c" | |
| 9424 | - | line="1420">time_t value to set</doc> | |
| 9560 | + | line="1426">time_t value to set</doc> | |
| 9425 | 9561 | <type name="time_t" c:type="time_t"/> | |
| 9426 | 9562 | </parameter> | |
| 9427 | 9563 | </parameters> | |
| @@ -9433,14 +9569,14 @@ To set the value of a date to the current day, you could write: | |||
| 9433 | 9569 | deprecated-version="2.62"> | |
| 9434 | 9570 | <doc xml:space="preserve" | |
| 9435 | 9571 | filename="glib/gdate.c" | |
| 9436 | - | line="1492">Sets the value of a date from a #GTimeVal value. Note that the | |
| 9572 | + | line="1498">Sets the value of a date from a #GTimeVal value. Note that the | |
| 9437 | 9573 | @tv_usec member is ignored, because #GDate can't make use of the | |
| 9438 | 9574 | additional precision. | |
| 9439 | 9575 | ||
| 9440 | 9576 | The time to date conversion is done using the user's current timezone.</doc> | |
| 9441 | 9577 | <doc-deprecated xml:space="preserve">#GTimeVal is not year-2038-safe. Use g_date_set_time_t() | |
| 9442 | 9578 | instead.</doc-deprecated> | |
| 9443 | - | <source-position filename="glib/gdate.h" line="193"/> | |
| 9579 | + | <source-position filename="glib/gdate.h" line="196"/> | |
| 9444 | 9580 | <return-value transfer-ownership="none"> | |
| 9445 | 9581 | <type name="none" c:type="void"/> | |
| 9446 | 9582 | </return-value> | |
| @@ -9448,13 +9584,13 @@ The time to date conversion is done using the user's current timezone.</doc> | |||
| 9448 | 9584 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9449 | 9585 | <doc xml:space="preserve" | |
| 9450 | 9586 | filename="glib/gdate.c" | |
| 9451 | - | line="1494">a #GDate</doc> | |
| 9587 | + | line="1500">a #GDate</doc> | |
| 9452 | 9588 | <type name="Date" c:type="GDate*"/> | |
| 9453 | 9589 | </instance-parameter> | |
| 9454 | 9590 | <parameter name="timeval" transfer-ownership="none"> | |
| 9455 | 9591 | <doc xml:space="preserve" | |
| 9456 | 9592 | filename="glib/gdate.c" | |
| 9457 | - | line="1495">#GTimeVal value to set</doc> | |
| 9593 | + | line="1501">#GTimeVal value to set</doc> | |
| 9458 | 9594 | <type name="TimeVal" c:type="GTimeVal*"/> | |
| 9459 | 9595 | </parameter> | |
| 9460 | 9596 | </parameters> | |
| @@ -9462,9 +9598,9 @@ The time to date conversion is done using the user's current timezone.</doc> | |||
| 9462 | 9598 | <method name="set_year" c:identifier="g_date_set_year"> | |
| 9463 | 9599 | <doc xml:space="preserve" | |
| 9464 | 9600 | filename="glib/gdate.c" | |
| 9465 | - | line="1568">Sets the year for a #GDate. If the resulting day-month-year | |
| 9601 | + | line="1574">Sets the year for a #GDate. If the resulting day-month-year | |
| 9466 | 9602 | triplet is invalid, the date will be invalid.</doc> | |
| 9467 | - | <source-position filename="glib/gdate.h" line="206"/> | |
| 9603 | + | <source-position filename="glib/gdate.h" line="209"/> | |
| 9468 | 9604 | <return-value transfer-ownership="none"> | |
| 9469 | 9605 | <type name="none" c:type="void"/> | |
| 9470 | 9606 | </return-value> | |
| @@ -9472,13 +9608,13 @@ triplet is invalid, the date will be invalid.</doc> | |||
| 9472 | 9608 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9473 | 9609 | <doc xml:space="preserve" | |
| 9474 | 9610 | filename="glib/gdate.c" | |
| 9475 | - | line="1570">a #GDate</doc> | |
| 9611 | + | line="1576">a #GDate</doc> | |
| 9476 | 9612 | <type name="Date" c:type="GDate*"/> | |
| 9477 | 9613 | </instance-parameter> | |
| 9478 | 9614 | <parameter name="year" transfer-ownership="none"> | |
| 9479 | 9615 | <doc xml:space="preserve" | |
| 9480 | 9616 | filename="glib/gdate.c" | |
| 9481 | - | line="1571">year to set</doc> | |
| 9617 | + | line="1577">year to set</doc> | |
| 9482 | 9618 | <type name="DateYear" c:type="GDateYear"/> | |
| 9483 | 9619 | </parameter> | |
| 9484 | 9620 | </parameters> | |
| @@ -9486,10 +9622,10 @@ triplet is invalid, the date will be invalid.</doc> | |||
| 9486 | 9622 | <method name="subtract_days" c:identifier="g_date_subtract_days"> | |
| 9487 | 9623 | <doc xml:space="preserve" | |
| 9488 | 9624 | filename="glib/gdate.c" | |
| 9489 | - | line="1718">Moves a date some number of days into the past. | |
| 9625 | + | line="1724">Moves a date some number of days into the past. | |
| 9490 | 9626 | To move by weeks, just move by weeks*7 days. | |
| 9491 | 9627 | The date must be valid.</doc> | |
| 9492 | - | <source-position filename="glib/gdate.h" line="226"/> | |
| 9628 | + | <source-position filename="glib/gdate.h" line="229"/> | |
| 9493 | 9629 | <return-value transfer-ownership="none"> | |
| 9494 | 9630 | <type name="none" c:type="void"/> | |
| 9495 | 9631 | </return-value> | |
| @@ -9497,13 +9633,13 @@ The date must be valid.</doc> | |||
| 9497 | 9633 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9498 | 9634 | <doc xml:space="preserve" | |
| 9499 | 9635 | filename="glib/gdate.c" | |
| 9500 | - | line="1720">a #GDate to decrement</doc> | |
| 9636 | + | line="1726">a #GDate to decrement</doc> | |
| 9501 | 9637 | <type name="Date" c:type="GDate*"/> | |
| 9502 | 9638 | </instance-parameter> | |
| 9503 | 9639 | <parameter name="n_days" transfer-ownership="none"> | |
| 9504 | 9640 | <doc xml:space="preserve" | |
| 9505 | 9641 | filename="glib/gdate.c" | |
| 9506 | - | line="1721">number of days to move</doc> | |
| 9642 | + | line="1727">number of days to move</doc> | |
| 9507 | 9643 | <type name="guint" c:type="guint"/> | |
| 9508 | 9644 | </parameter> | |
| 9509 | 9645 | </parameters> | |
| @@ -9511,11 +9647,11 @@ The date must be valid.</doc> | |||
| 9511 | 9647 | <method name="subtract_months" c:identifier="g_date_subtract_months"> | |
| 9512 | 9648 | <doc xml:space="preserve" | |
| 9513 | 9649 | filename="glib/gdate.c" | |
| 9514 | - | line="1789">Moves a date some number of months into the past. | |
| 9650 | + | line="1795">Moves a date some number of months into the past. | |
| 9515 | 9651 | If the current day of the month doesn't exist in | |
| 9516 | 9652 | the destination month, the day of the month | |
| 9517 | 9653 | may change. The date must be valid.</doc> | |
| 9518 | - | <source-position filename="glib/gdate.h" line="234"/> | |
| 9654 | + | <source-position filename="glib/gdate.h" line="237"/> | |
| 9519 | 9655 | <return-value transfer-ownership="none"> | |
| 9520 | 9656 | <type name="none" c:type="void"/> | |
| 9521 | 9657 | </return-value> | |
| @@ -9523,13 +9659,13 @@ may change. The date must be valid.</doc> | |||
| 9523 | 9659 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9524 | 9660 | <doc xml:space="preserve" | |
| 9525 | 9661 | filename="glib/gdate.c" | |
| 9526 | - | line="1791">a #GDate to decrement</doc> | |
| 9662 | + | line="1797">a #GDate to decrement</doc> | |
| 9527 | 9663 | <type name="Date" c:type="GDate*"/> | |
| 9528 | 9664 | </instance-parameter> | |
| 9529 | 9665 | <parameter name="n_months" transfer-ownership="none"> | |
| 9530 | 9666 | <doc xml:space="preserve" | |
| 9531 | 9667 | filename="glib/gdate.c" | |
| 9532 | - | line="1792">number of months to move</doc> | |
| 9668 | + | line="1798">number of months to move</doc> | |
| 9533 | 9669 | <type name="guint" c:type="guint"/> | |
| 9534 | 9670 | </parameter> | |
| 9535 | 9671 | </parameters> | |
| @@ -9537,12 +9673,12 @@ may change. The date must be valid.</doc> | |||
| 9537 | 9673 | <method name="subtract_years" c:identifier="g_date_subtract_years"> | |
| 9538 | 9674 | <doc xml:space="preserve" | |
| 9539 | 9675 | filename="glib/gdate.c" | |
| 9540 | - | line="1871">Moves a date some number of years into the past. | |
| 9676 | + | line="1877">Moves a date some number of years into the past. | |
| 9541 | 9677 | If the current day doesn't exist in the destination | |
| 9542 | 9678 | year (i.e. it's February 29 and you move to a non-leap-year) | |
| 9543 | 9679 | then the day is changed to February 29. The date | |
| 9544 | 9680 | must be valid.</doc> | |
| 9545 | - | <source-position filename="glib/gdate.h" line="242"/> | |
| 9681 | + | <source-position filename="glib/gdate.h" line="245"/> | |
| 9546 | 9682 | <return-value transfer-ownership="none"> | |
| 9547 | 9683 | <type name="none" c:type="void"/> | |
| 9548 | 9684 | </return-value> | |
| @@ -9550,13 +9686,13 @@ must be valid.</doc> | |||
| 9550 | 9686 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9551 | 9687 | <doc xml:space="preserve" | |
| 9552 | 9688 | filename="glib/gdate.c" | |
| 9553 | - | line="1873">a #GDate to decrement</doc> | |
| 9689 | + | line="1879">a #GDate to decrement</doc> | |
| 9554 | 9690 | <type name="Date" c:type="GDate*"/> | |
| 9555 | 9691 | </instance-parameter> | |
| 9556 | 9692 | <parameter name="n_years" transfer-ownership="none"> | |
| 9557 | 9693 | <doc xml:space="preserve" | |
| 9558 | 9694 | filename="glib/gdate.c" | |
| 9559 | - | line="1874">number of years to move</doc> | |
| 9695 | + | line="1880">number of years to move</doc> | |
| 9560 | 9696 | <type name="guint" c:type="guint"/> | |
| 9561 | 9697 | </parameter> | |
| 9562 | 9698 | </parameters> | |
| @@ -9564,9 +9700,9 @@ must be valid.</doc> | |||
| 9564 | 9700 | <method name="to_struct_tm" c:identifier="g_date_to_struct_tm"> | |
| 9565 | 9701 | <doc xml:space="preserve" | |
| 9566 | 9702 | filename="glib/gdate.c" | |
| 9567 | - | line="2083">Fills in the date-related bits of a struct tm using the @date value. | |
| 9703 | + | line="2102">Fills in the date-related bits of a struct tm using the @date value. | |
| 9568 | 9704 | Initializes the non-date parts with something safe but meaningless.</doc> | |
| 9569 | - | <source-position filename="glib/gdate.h" line="265"/> | |
| 9705 | + | <source-position filename="glib/gdate.h" line="271"/> | |
| 9570 | 9706 | <return-value transfer-ownership="none"> | |
| 9571 | 9707 | <type name="none" c:type="void"/> | |
| 9572 | 9708 | </return-value> | |
| @@ -9574,13 +9710,13 @@ Initializes the non-date parts with something safe but meaningless.</doc> | |||
| 9574 | 9710 | <instance-parameter name="date" transfer-ownership="none"> | |
| 9575 | 9711 | <doc xml:space="preserve" | |
| 9576 | 9712 | filename="glib/gdate.c" | |
| 9577 | - | line="2085">a #GDate to set the struct tm from</doc> | |
| 9713 | + | line="2104">a #GDate to set the struct tm from</doc> | |
| 9578 | 9714 | <type name="Date" c:type="const GDate*"/> | |
| 9579 | 9715 | </instance-parameter> | |
| 9580 | 9716 | <parameter name="tm" transfer-ownership="none"> | |
| 9581 | 9717 | <doc xml:space="preserve" | |
| 9582 | 9718 | filename="glib/gdate.c" | |
| 9583 | - | line="2086">struct tm to fill</doc> | |
| 9719 | + | line="2105">struct tm to fill</doc> | |
| 9584 | 9720 | <type name="gpointer" c:type="tm*"/> | |
| 9585 | 9721 | </parameter> | |
| 9586 | 9722 | </parameters> | |
| @@ -9611,26 +9747,26 @@ if it wasn't allocated by one of the g_date_new() variants.</doc> | |||
| 9611 | 9747 | c:identifier="g_date_get_days_in_month"> | |
| 9612 | 9748 | <doc xml:space="preserve" | |
| 9613 | 9749 | filename="glib/gdate.c" | |
| 9614 | - | line="1927">Returns the number of days in a month, taking leap | |
| 9750 | + | line="1933">Returns the number of days in a month, taking leap | |
| 9615 | 9751 | years into account.</doc> | |
| 9616 | - | <source-position filename="glib/gdate.h" line="247"/> | |
| 9752 | + | <source-position filename="glib/gdate.h" line="250"/> | |
| 9617 | 9753 | <return-value transfer-ownership="none"> | |
| 9618 | 9754 | <doc xml:space="preserve" | |
| 9619 | 9755 | filename="glib/gdate.c" | |
| 9620 | - | line="1935">number of days in @month during the @year</doc> | |
| 9756 | + | line="1941">number of days in @month during the @year</doc> | |
| 9621 | 9757 | <type name="guint8" c:type="guint8"/> | |
| 9622 | 9758 | </return-value> | |
| 9623 | 9759 | <parameters> | |
| 9624 | 9760 | <parameter name="month" transfer-ownership="none"> | |
| 9625 | 9761 | <doc xml:space="preserve" | |
| 9626 | 9762 | filename="glib/gdate.c" | |
| 9627 | - | line="1929">month</doc> | |
| 9763 | + | line="1935">month</doc> | |
| 9628 | 9764 | <type name="DateMonth" c:type="GDateMonth"/> | |
| 9629 | 9765 | </parameter> | |
| 9630 | 9766 | <parameter name="year" transfer-ownership="none"> | |
| 9631 | 9767 | <doc xml:space="preserve" | |
| 9632 | 9768 | filename="glib/gdate.c" | |
| 9633 | - | line="1930">year</doc> | |
| 9769 | + | line="1936">year</doc> | |
| 9634 | 9770 | <type name="DateYear" c:type="GDateYear"/> | |
| 9635 | 9771 | </parameter> | |
| 9636 | 9772 | </parameters> | |
| @@ -9639,25 +9775,25 @@ years into account.</doc> | |||
| 9639 | 9775 | c:identifier="g_date_get_monday_weeks_in_year"> | |
| 9640 | 9776 | <doc xml:space="preserve" | |
| 9641 | 9777 | filename="glib/gdate.c" | |
| 9642 | - | line="1951">Returns the number of weeks in the year, where weeks | |
| 9778 | + | line="1957">Returns the number of weeks in the year, where weeks | |
| 9643 | 9779 | are taken to start on Monday. Will be 52 or 53. The | |
| 9644 | 9780 | date must be valid. (Years always have 52 7-day periods, | |
| 9645 | 9781 | plus 1 or 2 extra days depending on whether it's a leap | |
| 9646 | 9782 | year. This function is basically telling you how many | |
| 9647 | 9783 | Mondays are in the year, i.e. there are 53 Mondays if | |
| 9648 | 9784 | one of the extra days happens to be a Monday.)</doc> | |
| 9649 | - | <source-position filename="glib/gdate.h" line="250"/> | |
| 9785 | + | <source-position filename="glib/gdate.h" line="253"/> | |
| 9650 | 9786 | <return-value transfer-ownership="none"> | |
| 9651 | 9787 | <doc xml:space="preserve" | |
| 9652 | 9788 | filename="glib/gdate.c" | |
| 9653 | - | line="1963">number of Mondays in the year</doc> | |
| 9789 | + | line="1969">number of Mondays in the year</doc> | |
| 9654 | 9790 | <type name="guint8" c:type="guint8"/> | |
| 9655 | 9791 | </return-value> | |
| 9656 | 9792 | <parameters> | |
| 9657 | 9793 | <parameter name="year" transfer-ownership="none"> | |
| 9658 | 9794 | <doc xml:space="preserve" | |
| 9659 | 9795 | filename="glib/gdate.c" | |
| 9660 | - | line="1953">a year</doc> | |
| 9796 | + | line="1959">a year</doc> | |
| 9661 | 9797 | <type name="DateYear" c:type="GDateYear"/> | |
| 9662 | 9798 | </parameter> | |
| 9663 | 9799 | </parameters> | |
| @@ -9666,50 +9802,89 @@ one of the extra days happens to be a Monday.)</doc> | |||
| 9666 | 9802 | c:identifier="g_date_get_sunday_weeks_in_year"> | |
| 9667 | 9803 | <doc xml:space="preserve" | |
| 9668 | 9804 | filename="glib/gdate.c" | |
| 9669 | - | line="1987">Returns the number of weeks in the year, where weeks | |
| 9805 | + | line="1977">Returns the number of weeks in the year, where weeks | |
| 9670 | 9806 | are taken to start on Sunday. Will be 52 or 53. The | |
| 9671 | 9807 | date must be valid. (Years always have 52 7-day periods, | |
| 9672 | 9808 | plus 1 or 2 extra days depending on whether it's a leap | |
| 9673 | 9809 | year. This function is basically telling you how many | |
| 9674 | 9810 | Sundays are in the year, i.e. there are 53 Sundays if | |
| 9675 | 9811 | one of the extra days happens to be a Sunday.)</doc> | |
| 9676 | - | <source-position filename="glib/gdate.h" line="252"/> | |
| 9812 | + | <source-position filename="glib/gdate.h" line="255"/> | |
| 9813 | + | <return-value transfer-ownership="none"> | |
| 9814 | + | <doc xml:space="preserve" | |
| 9815 | + | filename="glib/gdate.c" | |
| 9816 | + | line="1989">the number of weeks in @year</doc> | |
| 9817 | + | <type name="guint8" c:type="guint8"/> | |
| 9818 | + | </return-value> | |
| 9819 | + | <parameters> | |
| 9820 | + | <parameter name="year" transfer-ownership="none"> | |
| 9821 | + | <doc xml:space="preserve" | |
| 9822 | + | filename="glib/gdate.c" | |
| 9823 | + | line="1979">year to count weeks in</doc> | |
| 9824 | + | <type name="DateYear" c:type="GDateYear"/> | |
| 9825 | + | </parameter> | |
| 9826 | + | </parameters> | |
| 9827 | + | </function> | |
| 9828 | + | <function name="get_weeks_in_year" | |
| 9829 | + | c:identifier="g_date_get_weeks_in_year" | |
| 9830 | + | version="2.86"> | |
| 9831 | + | <doc xml:space="preserve" | |
| 9832 | + | filename="glib/gdate.c" | |
| 9833 | + | line="1997">Calculates the number of weeks in the year. | |
| 9834 | + | ||
| 9835 | + | The result depends on which day is considered the first day of the week, | |
| 9836 | + | which varies by locale. `first_day_of_week` must be valid. | |
| 9837 | + | ||
| 9838 | + | The result will be either 52 or 53. Years always have 52 seven-day periods, | |
| 9839 | + | plus one or two extra days depending on whether it’s a leap year. This | |
| 9840 | + | function effectively calculates how many @first_day_of_week days there are in | |
| 9841 | + | the year.</doc> | |
| 9842 | + | <source-position filename="glib/gdate.h" line="257"/> | |
| 9677 | 9843 | <return-value transfer-ownership="none"> | |
| 9678 | 9844 | <doc xml:space="preserve" | |
| 9679 | 9845 | filename="glib/gdate.c" | |
| 9680 | - | line="1999">the number of weeks in @year</doc> | |
| 9846 | + | line="2015">the number of weeks in @year</doc> | |
| 9681 | 9847 | <type name="guint8" c:type="guint8"/> | |
| 9682 | 9848 | </return-value> | |
| 9683 | 9849 | <parameters> | |
| 9684 | 9850 | <parameter name="year" transfer-ownership="none"> | |
| 9685 | 9851 | <doc xml:space="preserve" | |
| 9686 | 9852 | filename="glib/gdate.c" | |
| 9687 | - | line="1989">year to count weeks in</doc> | |
| 9853 | + | line="1999">year to count weeks in</doc> | |
| 9688 | 9854 | <type name="DateYear" c:type="GDateYear"/> | |
| 9689 | 9855 | </parameter> | |
| 9856 | + | <parameter name="first_day_of_week" transfer-ownership="none"> | |
| 9857 | + | <doc xml:space="preserve" | |
| 9858 | + | filename="glib/gdate.c" | |
| 9859 | + | line="2000">the day which is considered the first day of the week | |
| 9860 | + | (for example, this would be [enum@GLib.DateWeekday.SUNDAY] in US locales, | |
| 9861 | + | [enum@GLib.DateWeekday.MONDAY] in British locales, and | |
| 9862 | + | [enum@GLib.DateWeekday.SATURDAY] in Egyptian locales</doc> | |
| 9863 | + | <type name="DateWeekday" c:type="GDateWeekday"/> | |
| 9864 | + | </parameter> | |
| 9690 | 9865 | </parameters> | |
| 9691 | 9866 | </function> | |
| 9692 | 9867 | <function name="is_leap_year" c:identifier="g_date_is_leap_year"> | |
| 9693 | 9868 | <doc xml:space="preserve" | |
| 9694 | 9869 | filename="glib/gdate.c" | |
| 9695 | - | line="1905">Returns %TRUE if the year is a leap year. | |
| 9870 | + | line="1911">Returns %TRUE if the year is a leap year. | |
| 9696 | 9871 | ||
| 9697 | 9872 | For the purposes of this function, leap year is every year | |
| 9698 | 9873 | divisible by 4 unless that year is divisible by 100. If it | |
| 9699 | 9874 | is divisible by 100 it would be a leap year only if that year | |
| 9700 | 9875 | is also divisible by 400.</doc> | |
| 9701 | - | <source-position filename="glib/gdate.h" line="245"/> | |
| 9876 | + | <source-position filename="glib/gdate.h" line="248"/> | |
| 9702 | 9877 | <return-value transfer-ownership="none"> | |
| 9703 | 9878 | <doc xml:space="preserve" | |
| 9704 | 9879 | filename="glib/gdate.c" | |
| 9705 | - | line="1916">%TRUE if the year is a leap year</doc> | |
| 9880 | + | line="1922">%TRUE if the year is a leap year</doc> | |
| 9706 | 9881 | <type name="gboolean" c:type="gboolean"/> | |
| 9707 | 9882 | </return-value> | |
| 9708 | 9883 | <parameters> | |
| 9709 | 9884 | <parameter name="year" transfer-ownership="none"> | |
| 9710 | 9885 | <doc xml:space="preserve" | |
| 9711 | 9886 | filename="glib/gdate.c" | |
| 9712 | - | line="1907">year to check</doc> | |
| 9887 | + | line="1913">year to check</doc> | |
| 9713 | 9888 | <type name="DateYear" c:type="GDateYear"/> | |
| 9714 | 9889 | </parameter> | |
| 9715 | 9890 | </parameters> | |
| @@ -9717,7 +9892,7 @@ is also divisible by 400.</doc> | |||
| 9717 | 9892 | <function name="strftime" c:identifier="g_date_strftime"> | |
| 9718 | 9893 | <doc xml:space="preserve" | |
| 9719 | 9894 | filename="glib/gdate.c" | |
| 9720 | - | line="2626">Generates a printed representation of the date, in a | |
| 9895 | + | line="2645">Generates a printed representation of the date, in a | |
| 9721 | 9896 | [locale](running.html#locale)-specific way. | |
| 9722 | 9897 | Works just like the platform's C library strftime() function, | |
| 9723 | 9898 | but only accepts date-related formats; time-related formats | |
| @@ -9730,36 +9905,36 @@ addition to those implemented by the platform's C library. | |||
| 9730 | 9905 | For example, don't expect that using g_date_strftime() would | |
| 9731 | 9906 | make the \%F provided by the C99 strftime() work on Windows | |
| 9732 | 9907 | where the C library only complies to C89.</doc> | |
| 9733 | - | <source-position filename="glib/gdate.h" line="281"/> | |
| 9908 | + | <source-position filename="glib/gdate.h" line="287"/> | |
| 9734 | 9909 | <return-value transfer-ownership="none"> | |
| 9735 | 9910 | <doc xml:space="preserve" | |
| 9736 | 9911 | filename="glib/gdate.c" | |
| 9737 | - | line="2647">number of characters written to the buffer, or `0` if the buffer was too small</doc> | |
| 9912 | + | line="2666">number of characters written to the buffer, or `0` if the buffer was too small</doc> | |
| 9738 | 9913 | <type name="gsize" c:type="gsize"/> | |
| 9739 | 9914 | </return-value> | |
| 9740 | 9915 | <parameters> | |
| 9741 | 9916 | <parameter name="s" transfer-ownership="none"> | |
| 9742 | 9917 | <doc xml:space="preserve" | |
| 9743 | 9918 | filename="glib/gdate.c" | |
| 9744 | - | line="2628">destination buffer</doc> | |
| 9919 | + | line="2647">destination buffer</doc> | |
| 9745 | 9920 | <type name="utf8" c:type="gchar*"/> | |
| 9746 | 9921 | </parameter> | |
| 9747 | 9922 | <parameter name="slen" transfer-ownership="none"> | |
| 9748 | 9923 | <doc xml:space="preserve" | |
| 9749 | 9924 | filename="glib/gdate.c" | |
| 9750 | - | line="2629">buffer size</doc> | |
| 9925 | + | line="2648">buffer size</doc> | |
| 9751 | 9926 | <type name="gsize" c:type="gsize"/> | |
| 9752 | 9927 | </parameter> | |
| 9753 | 9928 | <parameter name="format" transfer-ownership="none"> | |
| 9754 | 9929 | <doc xml:space="preserve" | |
| 9755 | 9930 | filename="glib/gdate.c" | |
| 9756 | - | line="2630">format string</doc> | |
| 9931 | + | line="2649">format string</doc> | |
| 9757 | 9932 | <type name="utf8" c:type="const gchar*"/> | |
| 9758 | 9933 | </parameter> | |
| 9759 | 9934 | <parameter name="date" transfer-ownership="none"> | |
| 9760 | 9935 | <doc xml:space="preserve" | |
| 9761 | 9936 | filename="glib/gdate.c" | |
| 9762 | - | line="2631">valid #GDate</doc> | |
| 9937 | + | line="2650">valid #GDate</doc> | |
| 9763 | 9938 | <type name="Date" c:type="const GDate*"/> | |
| 9764 | 9939 | </parameter> | |
| 9765 | 9940 | </parameters> | |
| @@ -12098,7 +12273,7 @@ It is an error to call any of the `GDir` methods other than | |||
| 12098 | 12273 | throws="1"> | |
| 12099 | 12274 | <doc xml:space="preserve" | |
| 12100 | 12275 | filename="glib/gfileutils.c" | |
| 12101 | - | line="1864">Creates a subdirectory in the preferred directory for temporary | |
| 12276 | + | line="1885">Creates a subdirectory in the preferred directory for temporary | |
| 12102 | 12277 | files (as returned by g_get_tmp_dir()). | |
| 12103 | 12278 | ||
| 12104 | 12279 | @tmpl should be a string in the GLib file name encoding containing | |
| @@ -12113,7 +12288,7 @@ modified, and might thus be a read-only literal string.</doc> | |||
| 12113 | 12288 | <return-value transfer-ownership="full"> | |
| 12114 | 12289 | <doc xml:space="preserve" | |
| 12115 | 12290 | filename="glib/gfileutils.c" | |
| 12116 | - | line="1882">The actual name used. This string | |
| 12291 | + | line="1903">The actual name used. This string | |
| 12117 | 12292 | should be freed with g_free() when not needed any longer and is | |
| 12118 | 12293 | is in the GLib file name encoding. In case of errors, %NULL is | |
| 12119 | 12294 | returned and @error will be set.</doc> | |
| @@ -12126,7 +12301,7 @@ modified, and might thus be a read-only literal string.</doc> | |||
| 12126 | 12301 | allow-none="1"> | |
| 12127 | 12302 | <doc xml:space="preserve" | |
| 12128 | 12303 | filename="glib/gfileutils.c" | |
| 12129 | - | line="1866">Template for directory name, | |
| 12304 | + | line="1887">Template for directory name, | |
| 12130 | 12305 | as in g_mkdtemp(), basename only, or %NULL for a default template</doc> | |
| 12131 | 12306 | <type name="filename" c:type="const gchar*"/> | |
| 12132 | 12307 | </parameter> | |
| @@ -12166,7 +12341,7 @@ as appropriate for a given platform. IEEE floats and doubles are supported | |||
| 12166 | 12341 | <callback name="DuplicateFunc" c:type="GDuplicateFunc"> | |
| 12167 | 12342 | <doc xml:space="preserve" | |
| 12168 | 12343 | filename="glib/gdataset.c" | |
| 12169 | - | line="1224">The type of functions that are used to 'duplicate' an object. | |
| 12344 | + | line="1258">The type of functions that are used to 'duplicate' an object. | |
| 12170 | 12345 | What this means depends on the context, it could just be | |
| 12171 | 12346 | incrementing the reference count, if @data is a ref-counted | |
| 12172 | 12347 | object.</doc> | |
| @@ -12174,7 +12349,7 @@ object.</doc> | |||
| 12174 | 12349 | <return-value transfer-ownership="none" nullable="1"> | |
| 12175 | 12350 | <doc xml:space="preserve" | |
| 12176 | 12351 | filename="glib/gdataset.c" | |
| 12177 | - | line="1235">a duplicate of data</doc> | |
| 12352 | + | line="1269">a duplicate of data</doc> | |
| 12178 | 12353 | <type name="gpointer" c:type="gpointer"/> | |
| 12179 | 12354 | </return-value> | |
| 12180 | 12355 | <parameters> | |
| @@ -12184,7 +12359,7 @@ object.</doc> | |||
| 12184 | 12359 | allow-none="1"> | |
| 12185 | 12360 | <doc xml:space="preserve" | |
| 12186 | 12361 | filename="glib/gdataset.c" | |
| 12187 | - | line="1226">the data to duplicate</doc> | |
| 12362 | + | line="1260">the data to duplicate</doc> | |
| 12188 | 12363 | <type name="gpointer" c:type="gpointer"/> | |
| 12189 | 12364 | </parameter> | |
| 12190 | 12365 | <parameter name="user_data" | |
| @@ -12194,7 +12369,7 @@ object.</doc> | |||
| 12194 | 12369 | closure="1"> | |
| 12195 | 12370 | <doc xml:space="preserve" | |
| 12196 | 12371 | filename="glib/gdataset.c" | |
| 12197 | - | line="1227">user data that was specified in | |
| 12372 | + | line="1261">user data that was specified in | |
| 12198 | 12373 | g_datalist_id_dup_data()</doc> | |
| 12199 | 12374 | <type name="gpointer" c:type="gpointer"/> | |
| 12200 | 12375 | </parameter> | |
| @@ -13082,19 +13257,19 @@ as appropriate for a given platform. IEEE floats and doubles are supported | |||
| 13082 | 13257 | <bitfield name="FormatSizeFlags" c:type="GFormatSizeFlags"> | |
| 13083 | 13258 | <doc xml:space="preserve" | |
| 13084 | 13259 | filename="glib/gutils.c" | |
| 13085 | - | line="2912">Flags to modify the format of the string returned by g_format_size_full().</doc> | |
| 13260 | + | line="2914">Flags to modify the format of the string returned by g_format_size_full().</doc> | |
| 13086 | 13261 | <source-position filename="glib/gutils.h" line="302"/> | |
| 13087 | 13262 | <member name="default" value="0" c:identifier="G_FORMAT_SIZE_DEFAULT"> | |
| 13088 | 13263 | <doc xml:space="preserve" | |
| 13089 | 13264 | filename="glib/gutils.c" | |
| 13090 | - | line="2914">behave the same as g_format_size()</doc> | |
| 13265 | + | line="2916">behave the same as g_format_size()</doc> | |
| 13091 | 13266 | </member> | |
| 13092 | 13267 | <member name="long_format" | |
| 13093 | 13268 | value="1" | |
| 13094 | 13269 | c:identifier="G_FORMAT_SIZE_LONG_FORMAT"> | |
| 13095 | 13270 | <doc xml:space="preserve" | |
| 13096 | 13271 | filename="glib/gutils.c" | |
| 13097 | - | line="2915">include the exact number of bytes as part | |
| 13272 | + | line="2917">include the exact number of bytes as part | |
| 13098 | 13273 | of the returned string. For example, "45.6 kB (45,612 bytes)".</doc> | |
| 13099 | 13274 | </member> | |
| 13100 | 13275 | <member name="iec_units" | |
| @@ -13102,7 +13277,7 @@ as appropriate for a given platform. IEEE floats and doubles are supported | |||
| 13102 | 13277 | c:identifier="G_FORMAT_SIZE_IEC_UNITS"> | |
| 13103 | 13278 | <doc xml:space="preserve" | |
| 13104 | 13279 | filename="glib/gutils.c" | |
| 13105 | - | line="2917">use IEC (base 1024) units with "KiB"-style | |
| 13280 | + | line="2919">use IEC (base 1024) units with "KiB"-style | |
| 13106 | 13281 | suffixes. IEC units should only be used for reporting things with | |
| 13107 | 13282 | a strong "power of 2" basis, like RAM sizes or RAID stripe sizes. | |
| 13108 | 13283 | Network and storage sizes should be reported in the normal SI units.</doc> | |
| @@ -13110,7 +13285,7 @@ as appropriate for a given platform. IEEE floats and doubles are supported | |||
| 13110 | 13285 | <member name="bits" value="4" c:identifier="G_FORMAT_SIZE_BITS"> | |
| 13111 | 13286 | <doc xml:space="preserve" | |
| 13112 | 13287 | filename="glib/gutils.c" | |
| 13113 | - | line="2921">set the size as a quantity in bits, rather than | |
| 13288 | + | line="2923">set the size as a quantity in bits, rather than | |
| 13114 | 13289 | bytes, and return units in bits. For example, ‘Mbit’ rather than ‘MB’.</doc> | |
| 13115 | 13290 | </member> | |
| 13116 | 13291 | <member name="only_value" | |
| @@ -13118,7 +13293,7 @@ as appropriate for a given platform. IEEE floats and doubles are supported | |||
| 13118 | 13293 | c:identifier="G_FORMAT_SIZE_ONLY_VALUE"> | |
| 13119 | 13294 | <doc xml:space="preserve" | |
| 13120 | 13295 | filename="glib/gutils.c" | |
| 13121 | - | line="2923">return only value, without unit; this should | |
| 13296 | + | line="2925">return only value, without unit; this should | |
| 13122 | 13297 | not be used together with @G_FORMAT_SIZE_LONG_FORMAT | |
| 13123 | 13298 | nor @G_FORMAT_SIZE_ONLY_UNIT. Since: 2.74</doc> | |
| 13124 | 13299 | </member> | |
| @@ -13127,7 +13302,7 @@ as appropriate for a given platform. IEEE floats and doubles are supported | |||
| 13127 | 13302 | c:identifier="G_FORMAT_SIZE_ONLY_UNIT"> | |
| 13128 | 13303 | <doc xml:space="preserve" | |
| 13129 | 13304 | filename="glib/gutils.c" | |
| 13130 | - | line="2926">return only unit, without value; this should | |
| 13305 | + | line="2928">return only unit, without value; this should | |
| 13131 | 13306 | not be used together with @G_FORMAT_SIZE_LONG_FORMAT | |
| 13132 | 13307 | nor @G_FORMAT_SIZE_ONLY_VALUE. Since: 2.74</doc> | |
| 13133 | 13308 | </member> | |
| @@ -13849,7 +14024,7 @@ following functions.</doc> | |||
| 13849 | 14024 | <function name="add" c:identifier="g_hash_table_add" version="2.32"> | |
| 13850 | 14025 | <doc xml:space="preserve" | |
| 13851 | 14026 | filename="glib/ghash.c" | |
| 13852 | - | line="1637">This is a convenience function for using a #GHashTable as a set. It | |
| 14027 | + | line="1640">This is a convenience function for using a #GHashTable as a set. It | |
| 13853 | 14028 | is equivalent to calling g_hash_table_replace() with @key as both the | |
| 13854 | 14029 | key and the value. | |
| 13855 | 14030 | ||
| @@ -13868,14 +14043,14 @@ or not.</doc> | |||
| 13868 | 14043 | <return-value transfer-ownership="none"> | |
| 13869 | 14044 | <doc xml:space="preserve" | |
| 13870 | 14045 | filename="glib/ghash.c" | |
| 13871 | - | line="1658">%TRUE if the key did not exist yet</doc> | |
| 14046 | + | line="1661">%TRUE if the key did not exist yet</doc> | |
| 13872 | 14047 | <type name="gboolean" c:type="gboolean"/> | |
| 13873 | 14048 | </return-value> | |
| 13874 | 14049 | <parameters> | |
| 13875 | 14050 | <parameter name="hash_table" transfer-ownership="none"> | |
| 13876 | 14051 | <doc xml:space="preserve" | |
| 13877 | 14052 | filename="glib/ghash.c" | |
| 13878 | - | line="1639">a #GHashTable</doc> | |
| 14053 | + | line="1642">a #GHashTable</doc> | |
| 13879 | 14054 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 13880 | 14055 | <type name="gpointer" c:type="gpointer"/> | |
| 13881 | 14056 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -13887,7 +14062,7 @@ or not.</doc> | |||
| 13887 | 14062 | allow-none="1"> | |
| 13888 | 14063 | <doc xml:space="preserve" | |
| 13889 | 14064 | filename="glib/ghash.c" | |
| 13890 | - | line="1640">a key to insert</doc> | |
| 14065 | + | line="1643">a key to insert</doc> | |
| 13891 | 14066 | <type name="gpointer" c:type="gpointer"/> | |
| 13892 | 14067 | </parameter> | |
| 13893 | 14068 | </parameters> | |
| @@ -13897,19 +14072,19 @@ or not.</doc> | |||
| 13897 | 14072 | version="2.32"> | |
| 13898 | 14073 | <doc xml:space="preserve" | |
| 13899 | 14074 | filename="glib/ghash.c" | |
| 13900 | - | line="1669">Checks if @key is in @hash_table.</doc> | |
| 14075 | + | line="1672">Checks if @key is in @hash_table.</doc> | |
| 13901 | 14076 | <source-position filename="glib/ghash.h" line="105"/> | |
| 13902 | 14077 | <return-value transfer-ownership="none"> | |
| 13903 | 14078 | <doc xml:space="preserve" | |
| 13904 | 14079 | filename="glib/ghash.c" | |
| 13905 | - | line="1676">%TRUE if @key is in @hash_table, %FALSE otherwise.</doc> | |
| 14080 | + | line="1679">%TRUE if @key is in @hash_table, %FALSE otherwise.</doc> | |
| 13906 | 14081 | <type name="gboolean" c:type="gboolean"/> | |
| 13907 | 14082 | </return-value> | |
| 13908 | 14083 | <parameters> | |
| 13909 | 14084 | <parameter name="hash_table" transfer-ownership="none"> | |
| 13910 | 14085 | <doc xml:space="preserve" | |
| 13911 | 14086 | filename="glib/ghash.c" | |
| 13912 | - | line="1671">a #GHashTable</doc> | |
| 14087 | + | line="1674">a #GHashTable</doc> | |
| 13913 | 14088 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 13914 | 14089 | <type name="gpointer" c:type="gpointer"/> | |
| 13915 | 14090 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -13921,7 +14096,7 @@ or not.</doc> | |||
| 13921 | 14096 | allow-none="1"> | |
| 13922 | 14097 | <doc xml:space="preserve" | |
| 13923 | 14098 | filename="glib/ghash.c" | |
| 13924 | - | line="1672">a key to check</doc> | |
| 14099 | + | line="1675">a key to check</doc> | |
| 13925 | 14100 | <type name="gpointer" c:type="gconstpointer"/> | |
| 13926 | 14101 | </parameter> | |
| 13927 | 14102 | </parameters> | |
| @@ -13929,7 +14104,7 @@ or not.</doc> | |||
| 13929 | 14104 | <function name="destroy" c:identifier="g_hash_table_destroy"> | |
| 13930 | 14105 | <doc xml:space="preserve" | |
| 13931 | 14106 | filename="glib/ghash.c" | |
| 13932 | - | line="1447">Destroys all keys and values in the #GHashTable and decrements its | |
| 14107 | + | line="1450">Destroys all keys and values in the #GHashTable and decrements its | |
| 13933 | 14108 | reference count by 1. If keys and/or values are dynamically allocated, | |
| 13934 | 14109 | you should either free them first or create the #GHashTable with destroy | |
| 13935 | 14110 | notifiers using g_hash_table_new_full(). In the latter case the destroy | |
| @@ -13943,7 +14118,7 @@ destruction phase.</doc> | |||
| 13943 | 14118 | <parameter name="hash_table" transfer-ownership="none"> | |
| 13944 | 14119 | <doc xml:space="preserve" | |
| 13945 | 14120 | filename="glib/ghash.c" | |
| 13946 | - | line="1449">a #GHashTable</doc> | |
| 14121 | + | line="1452">a #GHashTable</doc> | |
| 13947 | 14122 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 13948 | 14123 | <type name="gpointer" c:type="gpointer"/> | |
| 13949 | 14124 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -13954,7 +14129,7 @@ destruction phase.</doc> | |||
| 13954 | 14129 | <function name="find" c:identifier="g_hash_table_find" version="2.4"> | |
| 13955 | 14130 | <doc xml:space="preserve" | |
| 13956 | 14131 | filename="glib/ghash.c" | |
| 13957 | - | line="2136">Calls the given function for key/value pairs in the #GHashTable | |
| 14132 | + | line="2139">Calls the given function for key/value pairs in the #GHashTable | |
| 13958 | 14133 | until @predicate returns %TRUE. The function is passed the key | |
| 13959 | 14134 | and value of each pair, and the given @user_data parameter. The | |
| 13960 | 14135 | hash table may not be modified while iterating over it (you can't | |
| @@ -13971,7 +14146,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 13971 | 14146 | <return-value transfer-ownership="none" nullable="1"> | |
| 13972 | 14147 | <doc xml:space="preserve" | |
| 13973 | 14148 | filename="glib/ghash.c" | |
| 13974 | - | line="2156">The value of the first key/value pair is returned, | |
| 14149 | + | line="2159">The value of the first key/value pair is returned, | |
| 13975 | 14150 | for which @predicate evaluates to %TRUE. If no pair with the | |
| 13976 | 14151 | requested property is found, %NULL is returned.</doc> | |
| 13977 | 14152 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -13980,7 +14155,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 13980 | 14155 | <parameter name="hash_table" transfer-ownership="none"> | |
| 13981 | 14156 | <doc xml:space="preserve" | |
| 13982 | 14157 | filename="glib/ghash.c" | |
| 13983 | - | line="2138">a #GHashTable</doc> | |
| 14158 | + | line="2141">a #GHashTable</doc> | |
| 13984 | 14159 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 13985 | 14160 | <type name="gpointer" c:type="gpointer"/> | |
| 13986 | 14161 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -13992,7 +14167,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 13992 | 14167 | closure="2"> | |
| 13993 | 14168 | <doc xml:space="preserve" | |
| 13994 | 14169 | filename="glib/ghash.c" | |
| 13995 | - | line="2139">function to test the key/value pairs for a certain property</doc> | |
| 14170 | + | line="2142">function to test the key/value pairs for a certain property</doc> | |
| 13996 | 14171 | <type name="HRFunc" c:type="GHRFunc"/> | |
| 13997 | 14172 | </parameter> | |
| 13998 | 14173 | <parameter name="user_data" | |
| @@ -14001,7 +14176,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 14001 | 14176 | allow-none="1"> | |
| 14002 | 14177 | <doc xml:space="preserve" | |
| 14003 | 14178 | filename="glib/ghash.c" | |
| 14004 | - | line="2140">user data to pass to the function</doc> | |
| 14179 | + | line="2143">user data to pass to the function</doc> | |
| 14005 | 14180 | <type name="gpointer" c:type="gpointer"/> | |
| 14006 | 14181 | </parameter> | |
| 14007 | 14182 | </parameters> | |
| @@ -14009,7 +14184,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 14009 | 14184 | <function name="foreach" c:identifier="g_hash_table_foreach"> | |
| 14010 | 14185 | <doc xml:space="preserve" | |
| 14011 | 14186 | filename="glib/ghash.c" | |
| 14012 | - | line="2085">Calls the given function for each of the key/value pairs in the | |
| 14187 | + | line="2088">Calls the given function for each of the key/value pairs in the | |
| 14013 | 14188 | #GHashTable. The function is passed the key and value of each | |
| 14014 | 14189 | pair, and the given @user_data parameter. The hash table may not | |
| 14015 | 14190 | be modified while iterating over it (you can't add/remove | |
| @@ -14029,7 +14204,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 14029 | 14204 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14030 | 14205 | <doc xml:space="preserve" | |
| 14031 | 14206 | filename="glib/ghash.c" | |
| 14032 | - | line="2087">a #GHashTable</doc> | |
| 14207 | + | line="2090">a #GHashTable</doc> | |
| 14033 | 14208 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14034 | 14209 | <type name="gpointer" c:type="gpointer"/> | |
| 14035 | 14210 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14041,7 +14216,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 14041 | 14216 | closure="2"> | |
| 14042 | 14217 | <doc xml:space="preserve" | |
| 14043 | 14218 | filename="glib/ghash.c" | |
| 14044 | - | line="2088">the function to call for each key/value pair</doc> | |
| 14219 | + | line="2091">the function to call for each key/value pair</doc> | |
| 14045 | 14220 | <type name="HFunc" c:type="GHFunc"/> | |
| 14046 | 14221 | </parameter> | |
| 14047 | 14222 | <parameter name="user_data" | |
| @@ -14050,7 +14225,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 14050 | 14225 | allow-none="1"> | |
| 14051 | 14226 | <doc xml:space="preserve" | |
| 14052 | 14227 | filename="glib/ghash.c" | |
| 14053 | - | line="2089">user data to pass to the function</doc> | |
| 14228 | + | line="2092">user data to pass to the function</doc> | |
| 14054 | 14229 | <type name="gpointer" c:type="gpointer"/> | |
| 14055 | 14230 | </parameter> | |
| 14056 | 14231 | </parameters> | |
| @@ -14059,7 +14234,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 14059 | 14234 | c:identifier="g_hash_table_foreach_remove"> | |
| 14060 | 14235 | <doc xml:space="preserve" | |
| 14061 | 14236 | filename="glib/ghash.c" | |
| 14062 | - | line="2030">Calls the given function for each key/value pair in the | |
| 14237 | + | line="2033">Calls the given function for each key/value pair in the | |
| 14063 | 14238 | #GHashTable. If the function returns %TRUE, then the key/value | |
| 14064 | 14239 | pair is removed from the #GHashTable. If you supplied key or | |
| 14065 | 14240 | value destroy functions when creating the #GHashTable, they are | |
| @@ -14071,14 +14246,14 @@ key/value pairs in the hash table.</doc> | |||
| 14071 | 14246 | <return-value transfer-ownership="none"> | |
| 14072 | 14247 | <doc xml:space="preserve" | |
| 14073 | 14248 | filename="glib/ghash.c" | |
| 14074 | - | line="2045">the number of key/value pairs removed</doc> | |
| 14249 | + | line="2048">the number of key/value pairs removed</doc> | |
| 14075 | 14250 | <type name="guint" c:type="guint"/> | |
| 14076 | 14251 | </return-value> | |
| 14077 | 14252 | <parameters> | |
| 14078 | 14253 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14079 | 14254 | <doc xml:space="preserve" | |
| 14080 | 14255 | filename="glib/ghash.c" | |
| 14081 | - | line="2032">a #GHashTable</doc> | |
| 14256 | + | line="2035">a #GHashTable</doc> | |
| 14082 | 14257 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14083 | 14258 | <type name="gpointer" c:type="gpointer"/> | |
| 14084 | 14259 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14090,7 +14265,7 @@ key/value pairs in the hash table.</doc> | |||
| 14090 | 14265 | closure="2"> | |
| 14091 | 14266 | <doc xml:space="preserve" | |
| 14092 | 14267 | filename="glib/ghash.c" | |
| 14093 | - | line="2033">the function to call for each key/value pair</doc> | |
| 14268 | + | line="2036">the function to call for each key/value pair</doc> | |
| 14094 | 14269 | <type name="HRFunc" c:type="GHRFunc"/> | |
| 14095 | 14270 | </parameter> | |
| 14096 | 14271 | <parameter name="user_data" | |
| @@ -14099,7 +14274,7 @@ key/value pairs in the hash table.</doc> | |||
| 14099 | 14274 | allow-none="1"> | |
| 14100 | 14275 | <doc xml:space="preserve" | |
| 14101 | 14276 | filename="glib/ghash.c" | |
| 14102 | - | line="2034">user data to pass to the function</doc> | |
| 14277 | + | line="2037">user data to pass to the function</doc> | |
| 14103 | 14278 | <type name="gpointer" c:type="gpointer"/> | |
| 14104 | 14279 | </parameter> | |
| 14105 | 14280 | </parameters> | |
| @@ -14107,7 +14282,7 @@ key/value pairs in the hash table.</doc> | |||
| 14107 | 14282 | <function name="foreach_steal" c:identifier="g_hash_table_foreach_steal"> | |
| 14108 | 14283 | <doc xml:space="preserve" | |
| 14109 | 14284 | filename="glib/ghash.c" | |
| 14110 | - | line="2058">Calls the given function for each key/value pair in the | |
| 14285 | + | line="2061">Calls the given function for each key/value pair in the | |
| 14111 | 14286 | #GHashTable. If the function returns %TRUE, then the key/value | |
| 14112 | 14287 | pair is removed from the #GHashTable, but no key or value | |
| 14113 | 14288 | destroy functions are called. | |
| @@ -14118,14 +14293,14 @@ key/value pairs in the hash table.</doc> | |||
| 14118 | 14293 | <return-value transfer-ownership="none"> | |
| 14119 | 14294 | <doc xml:space="preserve" | |
| 14120 | 14295 | filename="glib/ghash.c" | |
| 14121 | - | line="2072">the number of key/value pairs removed.</doc> | |
| 14296 | + | line="2075">the number of key/value pairs removed.</doc> | |
| 14122 | 14297 | <type name="guint" c:type="guint"/> | |
| 14123 | 14298 | </return-value> | |
| 14124 | 14299 | <parameters> | |
| 14125 | 14300 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14126 | 14301 | <doc xml:space="preserve" | |
| 14127 | 14302 | filename="glib/ghash.c" | |
| 14128 | - | line="2060">a #GHashTable</doc> | |
| 14303 | + | line="2063">a #GHashTable</doc> | |
| 14129 | 14304 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14130 | 14305 | <type name="gpointer" c:type="gpointer"/> | |
| 14131 | 14306 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14137,7 +14312,7 @@ key/value pairs in the hash table.</doc> | |||
| 14137 | 14312 | closure="2"> | |
| 14138 | 14313 | <doc xml:space="preserve" | |
| 14139 | 14314 | filename="glib/ghash.c" | |
| 14140 | - | line="2061">the function to call for each key/value pair</doc> | |
| 14315 | + | line="2064">the function to call for each key/value pair</doc> | |
| 14141 | 14316 | <type name="HRFunc" c:type="GHRFunc"/> | |
| 14142 | 14317 | </parameter> | |
| 14143 | 14318 | <parameter name="user_data" | |
| @@ -14146,7 +14321,7 @@ key/value pairs in the hash table.</doc> | |||
| 14146 | 14321 | allow-none="1"> | |
| 14147 | 14322 | <doc xml:space="preserve" | |
| 14148 | 14323 | filename="glib/ghash.c" | |
| 14149 | - | line="2062">user data to pass to the function</doc> | |
| 14324 | + | line="2065">user data to pass to the function</doc> | |
| 14150 | 14325 | <type name="gpointer" c:type="gpointer"/> | |
| 14151 | 14326 | </parameter> | |
| 14152 | 14327 | </parameters> | |
| @@ -14157,7 +14332,7 @@ key/value pairs in the hash table.</doc> | |||
| 14157 | 14332 | introspectable="0"> | |
| 14158 | 14333 | <doc xml:space="preserve" | |
| 14159 | 14334 | filename="glib/ghash.c" | |
| 14160 | - | line="2218">Retrieves every key inside @hash_table. The returned data is valid | |
| 14335 | + | line="2221">Retrieves every key inside @hash_table. The returned data is valid | |
| 14161 | 14336 | until changes to the hash release those keys. | |
| 14162 | 14337 | ||
| 14163 | 14338 | This iterates over every entry in the hash table to build its return value. | |
| @@ -14167,7 +14342,7 @@ To iterate over the entries in a #GHashTable more efficiently, use a | |||
| 14167 | 14342 | <return-value transfer-ownership="container"> | |
| 14168 | 14343 | <doc xml:space="preserve" | |
| 14169 | 14344 | filename="glib/ghash.c" | |
| 14170 | - | line="2229">a #GList containing all the keys | |
| 14345 | + | line="2232">a #GList containing all the keys | |
| 14171 | 14346 | inside the hash table. The content of the list is owned by the | |
| 14172 | 14347 | hash table and should not be modified or freed. Use g_list_free() | |
| 14173 | 14348 | when done using the list.</doc> | |
| @@ -14179,7 +14354,7 @@ To iterate over the entries in a #GHashTable more efficiently, use a | |||
| 14179 | 14354 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14180 | 14355 | <doc xml:space="preserve" | |
| 14181 | 14356 | filename="glib/ghash.c" | |
| 14182 | - | line="2220">a #GHashTable</doc> | |
| 14357 | + | line="2223">a #GHashTable</doc> | |
| 14183 | 14358 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14184 | 14359 | <type name="gpointer" c:type="gpointer"/> | |
| 14185 | 14360 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14193,7 +14368,7 @@ To iterate over the entries in a #GHashTable more efficiently, use a | |||
| 14193 | 14368 | introspectable="0"> | |
| 14194 | 14369 | <doc xml:space="preserve" | |
| 14195 | 14370 | filename="glib/ghash.c" | |
| 14196 | - | line="2254">Retrieves every key inside @hash_table, as an array. | |
| 14371 | + | line="2257">Retrieves every key inside @hash_table, as an array. | |
| 14197 | 14372 | ||
| 14198 | 14373 | The returned array is %NULL-terminated but may contain %NULL as a | |
| 14199 | 14374 | key. Use @length to determine the true length if it's possible that | |
| @@ -14214,7 +14389,7 @@ first to transfer ownership of the keys.</doc> | |||
| 14214 | 14389 | <return-value transfer-ownership="container"> | |
| 14215 | 14390 | <doc xml:space="preserve" | |
| 14216 | 14391 | filename="glib/ghash.c" | |
| 14217 | - | line="2277">a | |
| 14392 | + | line="2280">a | |
| 14218 | 14393 | %NULL-terminated array containing each key from the table.</doc> | |
| 14219 | 14394 | <array length="1" zero-terminated="0" c:type="gpointer*"> | |
| 14220 | 14395 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14224,7 +14399,7 @@ first to transfer ownership of the keys.</doc> | |||
| 14224 | 14399 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14225 | 14400 | <doc xml:space="preserve" | |
| 14226 | 14401 | filename="glib/ghash.c" | |
| 14227 | - | line="2256">a #GHashTable</doc> | |
| 14402 | + | line="2259">a #GHashTable</doc> | |
| 14228 | 14403 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14229 | 14404 | <type name="gpointer" c:type="gpointer"/> | |
| 14230 | 14405 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14238,7 +14413,7 @@ first to transfer ownership of the keys.</doc> | |||
| 14238 | 14413 | allow-none="1"> | |
| 14239 | 14414 | <doc xml:space="preserve" | |
| 14240 | 14415 | filename="glib/ghash.c" | |
| 14241 | - | line="2257">the length of the returned array</doc> | |
| 14416 | + | line="2260">the length of the returned array</doc> | |
| 14242 | 14417 | <type name="guint" c:type="guint*"/> | |
| 14243 | 14418 | </parameter> | |
| 14244 | 14419 | </parameters> | |
| @@ -14249,7 +14424,7 @@ first to transfer ownership of the keys.</doc> | |||
| 14249 | 14424 | introspectable="0"> | |
| 14250 | 14425 | <doc xml:space="preserve" | |
| 14251 | 14426 | filename="glib/ghash.c" | |
| 14252 | - | line="2304">Retrieves every key inside @hash_table, as a #GPtrArray. | |
| 14427 | + | line="2307">Retrieves every key inside @hash_table, as a #GPtrArray. | |
| 14253 | 14428 | The returned data is valid until changes to the hash release those keys. | |
| 14254 | 14429 | ||
| 14255 | 14430 | This iterates over every entry in the hash table to build its return value. | |
| @@ -14261,8 +14436,8 @@ You should always unref the returned array with g_ptr_array_unref().</doc> | |||
| 14261 | 14436 | <return-value transfer-ownership="container"> | |
| 14262 | 14437 | <doc xml:space="preserve" | |
| 14263 | 14438 | filename="glib/ghash.c" | |
| 14264 | - | line="2317">a #GPtrArray containing each key from | |
| 14265 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 14439 | + | line="2320">a #GPtrArray containing each key from | |
| 14440 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 14266 | 14441 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 14267 | 14442 | <type name="gpointer" c:type="gpointer"/> | |
| 14268 | 14443 | </array> | |
| @@ -14271,7 +14446,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14271 | 14446 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14272 | 14447 | <doc xml:space="preserve" | |
| 14273 | 14448 | filename="glib/ghash.c" | |
| 14274 | - | line="2306">a #GHashTable</doc> | |
| 14449 | + | line="2309">a #GHashTable</doc> | |
| 14275 | 14450 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14276 | 14451 | <type name="gpointer" c:type="gpointer"/> | |
| 14277 | 14452 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14285,7 +14460,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14285 | 14460 | introspectable="0"> | |
| 14286 | 14461 | <doc xml:space="preserve" | |
| 14287 | 14462 | filename="glib/ghash.c" | |
| 14288 | - | line="2343">Retrieves every value inside @hash_table. The returned data | |
| 14463 | + | line="2346">Retrieves every value inside @hash_table. The returned data | |
| 14289 | 14464 | is valid until @hash_table is modified. | |
| 14290 | 14465 | ||
| 14291 | 14466 | This iterates over every entry in the hash table to build its return value. | |
| @@ -14295,7 +14470,7 @@ To iterate over the entries in a #GHashTable more efficiently, use a | |||
| 14295 | 14470 | <return-value transfer-ownership="container"> | |
| 14296 | 14471 | <doc xml:space="preserve" | |
| 14297 | 14472 | filename="glib/ghash.c" | |
| 14298 | - | line="2354">a #GList containing all the values | |
| 14473 | + | line="2357">a #GList containing all the values | |
| 14299 | 14474 | inside the hash table. The content of the list is owned by the | |
| 14300 | 14475 | hash table and should not be modified or freed. Use g_list_free() | |
| 14301 | 14476 | when done using the list.</doc> | |
| @@ -14307,7 +14482,7 @@ To iterate over the entries in a #GHashTable more efficiently, use a | |||
| 14307 | 14482 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14308 | 14483 | <doc xml:space="preserve" | |
| 14309 | 14484 | filename="glib/ghash.c" | |
| 14310 | - | line="2345">a #GHashTable</doc> | |
| 14485 | + | line="2348">a #GHashTable</doc> | |
| 14311 | 14486 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14312 | 14487 | <type name="gpointer" c:type="gpointer"/> | |
| 14313 | 14488 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14321,7 +14496,7 @@ To iterate over the entries in a #GHashTable more efficiently, use a | |||
| 14321 | 14496 | introspectable="0"> | |
| 14322 | 14497 | <doc xml:space="preserve" | |
| 14323 | 14498 | filename="glib/ghash.c" | |
| 14324 | - | line="2379">Retrieves every value inside @hash_table, as a #GPtrArray. | |
| 14499 | + | line="2382">Retrieves every value inside @hash_table, as a #GPtrArray. | |
| 14325 | 14500 | The returned data is valid until changes to the hash release those values. | |
| 14326 | 14501 | ||
| 14327 | 14502 | This iterates over every entry in the hash table to build its return value. | |
| @@ -14333,8 +14508,8 @@ You should always unref the returned array with g_ptr_array_unref().</doc> | |||
| 14333 | 14508 | <return-value transfer-ownership="container"> | |
| 14334 | 14509 | <doc xml:space="preserve" | |
| 14335 | 14510 | filename="glib/ghash.c" | |
| 14336 | - | line="2392">a #GPtrArray containing each value from | |
| 14337 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 14511 | + | line="2395">a #GPtrArray containing each value from | |
| 14512 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 14338 | 14513 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 14339 | 14514 | <type name="gpointer" c:type="gpointer"/> | |
| 14340 | 14515 | </array> | |
| @@ -14343,7 +14518,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14343 | 14518 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14344 | 14519 | <doc xml:space="preserve" | |
| 14345 | 14520 | filename="glib/ghash.c" | |
| 14346 | - | line="2381">a #GHashTable</doc> | |
| 14521 | + | line="2384">a #GHashTable</doc> | |
| 14347 | 14522 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14348 | 14523 | <type name="gpointer" c:type="gpointer"/> | |
| 14349 | 14524 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14354,7 +14529,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14354 | 14529 | <function name="insert" c:identifier="g_hash_table_insert"> | |
| 14355 | 14530 | <doc xml:space="preserve" | |
| 14356 | 14531 | filename="glib/ghash.c" | |
| 14357 | - | line="1580">Inserts a new key and value into a #GHashTable. | |
| 14532 | + | line="1583">Inserts a new key and value into a #GHashTable. | |
| 14358 | 14533 | ||
| 14359 | 14534 | If the key already exists in the #GHashTable its current | |
| 14360 | 14535 | value is replaced with the new value. If you supplied a | |
| @@ -14370,14 +14545,14 @@ or not.</doc> | |||
| 14370 | 14545 | <return-value transfer-ownership="none"> | |
| 14371 | 14546 | <doc xml:space="preserve" | |
| 14372 | 14547 | filename="glib/ghash.c" | |
| 14373 | - | line="1599">%TRUE if the key did not exist yet</doc> | |
| 14548 | + | line="1602">%TRUE if the key did not exist yet</doc> | |
| 14374 | 14549 | <type name="gboolean" c:type="gboolean"/> | |
| 14375 | 14550 | </return-value> | |
| 14376 | 14551 | <parameters> | |
| 14377 | 14552 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14378 | 14553 | <doc xml:space="preserve" | |
| 14379 | 14554 | filename="glib/ghash.c" | |
| 14380 | - | line="1582">a #GHashTable</doc> | |
| 14555 | + | line="1585">a #GHashTable</doc> | |
| 14381 | 14556 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14382 | 14557 | <type name="gpointer" c:type="gpointer"/> | |
| 14383 | 14558 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14389,7 +14564,7 @@ or not.</doc> | |||
| 14389 | 14564 | allow-none="1"> | |
| 14390 | 14565 | <doc xml:space="preserve" | |
| 14391 | 14566 | filename="glib/ghash.c" | |
| 14392 | - | line="1583">a key to insert</doc> | |
| 14567 | + | line="1586">a key to insert</doc> | |
| 14393 | 14568 | <type name="gpointer" c:type="gpointer"/> | |
| 14394 | 14569 | </parameter> | |
| 14395 | 14570 | <parameter name="value" | |
| @@ -14398,7 +14573,7 @@ or not.</doc> | |||
| 14398 | 14573 | allow-none="1"> | |
| 14399 | 14574 | <doc xml:space="preserve" | |
| 14400 | 14575 | filename="glib/ghash.c" | |
| 14401 | - | line="1584">the value to associate with the key</doc> | |
| 14576 | + | line="1587">the value to associate with the key</doc> | |
| 14402 | 14577 | <type name="gpointer" c:type="gpointer"/> | |
| 14403 | 14578 | </parameter> | |
| 14404 | 14579 | </parameters> | |
| @@ -14406,7 +14581,7 @@ or not.</doc> | |||
| 14406 | 14581 | <function name="lookup" c:identifier="g_hash_table_lookup"> | |
| 14407 | 14582 | <doc xml:space="preserve" | |
| 14408 | 14583 | filename="glib/ghash.c" | |
| 14409 | - | line="1467">Looks up a key in a #GHashTable. Note that this function cannot | |
| 14584 | + | line="1470">Looks up a key in a #GHashTable. Note that this function cannot | |
| 14410 | 14585 | distinguish between a key that is not present and one which is present | |
| 14411 | 14586 | and has the value %NULL. If you need this distinction, use | |
| 14412 | 14587 | g_hash_table_lookup_extended().</doc> | |
| @@ -14414,14 +14589,14 @@ g_hash_table_lookup_extended().</doc> | |||
| 14414 | 14589 | <return-value transfer-ownership="none" nullable="1"> | |
| 14415 | 14590 | <doc xml:space="preserve" | |
| 14416 | 14591 | filename="glib/ghash.c" | |
| 14417 | - | line="1477">the associated value, or %NULL if the key is not found</doc> | |
| 14592 | + | line="1480">the associated value, or %NULL if the key is not found</doc> | |
| 14418 | 14593 | <type name="gpointer" c:type="gpointer"/> | |
| 14419 | 14594 | </return-value> | |
| 14420 | 14595 | <parameters> | |
| 14421 | 14596 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14422 | 14597 | <doc xml:space="preserve" | |
| 14423 | 14598 | filename="glib/ghash.c" | |
| 14424 | - | line="1469">a #GHashTable</doc> | |
| 14599 | + | line="1472">a #GHashTable</doc> | |
| 14425 | 14600 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14426 | 14601 | <type name="gpointer" c:type="gpointer"/> | |
| 14427 | 14602 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14433,7 +14608,7 @@ g_hash_table_lookup_extended().</doc> | |||
| 14433 | 14608 | allow-none="1"> | |
| 14434 | 14609 | <doc xml:space="preserve" | |
| 14435 | 14610 | filename="glib/ghash.c" | |
| 14436 | - | line="1470">the key to look up</doc> | |
| 14611 | + | line="1473">the key to look up</doc> | |
| 14437 | 14612 | <type name="gpointer" c:type="gconstpointer"/> | |
| 14438 | 14613 | </parameter> | |
| 14439 | 14614 | </parameters> | |
| @@ -14442,7 +14617,7 @@ g_hash_table_lookup_extended().</doc> | |||
| 14442 | 14617 | c:identifier="g_hash_table_lookup_extended"> | |
| 14443 | 14618 | <doc xml:space="preserve" | |
| 14444 | 14619 | filename="glib/ghash.c" | |
| 14445 | - | line="1495">Looks up a key in the #GHashTable, returning the original key and the | |
| 14620 | + | line="1498">Looks up a key in the #GHashTable, returning the original key and the | |
| 14446 | 14621 | associated value and a #gboolean which is %TRUE if the key was found. This | |
| 14447 | 14622 | is useful if you need to free the memory allocated for the original key, | |
| 14448 | 14623 | for example before calling g_hash_table_remove(). | |
| @@ -14454,14 +14629,14 @@ of @hash_table are %NULL-safe.</doc> | |||
| 14454 | 14629 | <return-value transfer-ownership="none"> | |
| 14455 | 14630 | <doc xml:space="preserve" | |
| 14456 | 14631 | filename="glib/ghash.c" | |
| 14457 | - | line="1512">%TRUE if the key was found in the #GHashTable</doc> | |
| 14632 | + | line="1515">%TRUE if the key was found in the #GHashTable</doc> | |
| 14458 | 14633 | <type name="gboolean" c:type="gboolean"/> | |
| 14459 | 14634 | </return-value> | |
| 14460 | 14635 | <parameters> | |
| 14461 | 14636 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14462 | 14637 | <doc xml:space="preserve" | |
| 14463 | 14638 | filename="glib/ghash.c" | |
| 14464 | - | line="1497">a #GHashTable</doc> | |
| 14639 | + | line="1500">a #GHashTable</doc> | |
| 14465 | 14640 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14466 | 14641 | <type name="gpointer" c:type="gpointer"/> | |
| 14467 | 14642 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14473,7 +14648,7 @@ of @hash_table are %NULL-safe.</doc> | |||
| 14473 | 14648 | allow-none="1"> | |
| 14474 | 14649 | <doc xml:space="preserve" | |
| 14475 | 14650 | filename="glib/ghash.c" | |
| 14476 | - | line="1498">the key to look up</doc> | |
| 14651 | + | line="1501">the key to look up</doc> | |
| 14477 | 14652 | <type name="gpointer" c:type="gconstpointer"/> | |
| 14478 | 14653 | </parameter> | |
| 14479 | 14654 | <parameter name="orig_key" | |
| @@ -14485,7 +14660,7 @@ of @hash_table are %NULL-safe.</doc> | |||
| 14485 | 14660 | allow-none="1"> | |
| 14486 | 14661 | <doc xml:space="preserve" | |
| 14487 | 14662 | filename="glib/ghash.c" | |
| 14488 | - | line="1499">return location for the original key</doc> | |
| 14663 | + | line="1502">return location for the original key</doc> | |
| 14489 | 14664 | <type name="gpointer" c:type="gpointer*"/> | |
| 14490 | 14665 | </parameter> | |
| 14491 | 14666 | <parameter name="value" | |
| @@ -14497,7 +14672,7 @@ of @hash_table are %NULL-safe.</doc> | |||
| 14497 | 14672 | allow-none="1"> | |
| 14498 | 14673 | <doc xml:space="preserve" | |
| 14499 | 14674 | filename="glib/ghash.c" | |
| 14500 | - | line="1500">return location for the value associated | |
| 14675 | + | line="1503">return location for the value associated | |
| 14501 | 14676 | with the key</doc> | |
| 14502 | 14677 | <type name="gpointer" c:type="gpointer*"/> | |
| 14503 | 14678 | </parameter> | |
| @@ -14506,7 +14681,7 @@ with the key</doc> | |||
| 14506 | 14681 | <function name="new" c:identifier="g_hash_table_new" introspectable="0"> | |
| 14507 | 14682 | <doc xml:space="preserve" | |
| 14508 | 14683 | filename="glib/ghash.c" | |
| 14509 | - | line="956">Creates a new #GHashTable with a reference count of 1. | |
| 14684 | + | line="959">Creates a new #GHashTable with a reference count of 1. | |
| 14510 | 14685 | ||
| 14511 | 14686 | Hash values returned by @hash_func are used to determine where keys | |
| 14512 | 14687 | are stored within the #GHashTable data structure. The g_direct_hash(), | |
| @@ -14526,7 +14701,7 @@ its second.</doc> | |||
| 14526 | 14701 | <return-value transfer-ownership="full"> | |
| 14527 | 14702 | <doc xml:space="preserve" | |
| 14528 | 14703 | filename="glib/ghash.c" | |
| 14529 | - | line="978">a new #GHashTable</doc> | |
| 14704 | + | line="981">a new #GHashTable</doc> | |
| 14530 | 14705 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14531 | 14706 | <type name="gpointer" c:type="gpointer"/> | |
| 14532 | 14707 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14536,13 +14711,13 @@ its second.</doc> | |||
| 14536 | 14711 | <parameter name="hash_func" transfer-ownership="none"> | |
| 14537 | 14712 | <doc xml:space="preserve" | |
| 14538 | 14713 | filename="glib/ghash.c" | |
| 14539 | - | line="958">a function to create a hash value from a key</doc> | |
| 14714 | + | line="961">a function to create a hash value from a key</doc> | |
| 14540 | 14715 | <type name="HashFunc" c:type="GHashFunc"/> | |
| 14541 | 14716 | </parameter> | |
| 14542 | 14717 | <parameter name="key_equal_func" transfer-ownership="none"> | |
| 14543 | 14718 | <doc xml:space="preserve" | |
| 14544 | 14719 | filename="glib/ghash.c" | |
| 14545 | - | line="959">a function to check two keys for equality</doc> | |
| 14720 | + | line="962">a function to check two keys for equality</doc> | |
| 14546 | 14721 | <type name="EqualFunc" c:type="GEqualFunc"/> | |
| 14547 | 14722 | </parameter> | |
| 14548 | 14723 | </parameters> | |
| @@ -14552,7 +14727,7 @@ its second.</doc> | |||
| 14552 | 14727 | introspectable="0"> | |
| 14553 | 14728 | <doc xml:space="preserve" | |
| 14554 | 14729 | filename="glib/ghash.c" | |
| 14555 | - | line="988">Creates a new #GHashTable like g_hash_table_new() with a reference | |
| 14730 | + | line="991">Creates a new #GHashTable like g_hash_table_new() with a reference | |
| 14556 | 14731 | count of 1 and allows to specify functions to free the memory | |
| 14557 | 14732 | allocated for the key and value that get called when removing the | |
| 14558 | 14733 | entry from the #GHashTable. | |
| @@ -14567,7 +14742,7 @@ g_hash_table_unref().</doc> | |||
| 14567 | 14742 | <return-value transfer-ownership="full"> | |
| 14568 | 14743 | <doc xml:space="preserve" | |
| 14569 | 14744 | filename="glib/ghash.c" | |
| 14570 | - | line="1011">a new #GHashTable</doc> | |
| 14745 | + | line="1014">a new #GHashTable</doc> | |
| 14571 | 14746 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14572 | 14747 | <type name="gpointer" c:type="gpointer"/> | |
| 14573 | 14748 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14577,7 +14752,7 @@ g_hash_table_unref().</doc> | |||
| 14577 | 14752 | <parameter name="hash_func" transfer-ownership="none"> | |
| 14578 | 14753 | <doc xml:space="preserve" | |
| 14579 | 14754 | filename="glib/ghash.c" | |
| 14580 | - | line="990">a function to create a hash value from a key</doc> | |
| 14755 | + | line="993">a function to create a hash value from a key</doc> | |
| 14581 | 14756 | <type name="HashFunc" c:type="GHashFunc"/> | |
| 14582 | 14757 | </parameter> | |
| 14583 | 14758 | <parameter name="key_equal_func" | |
| @@ -14586,7 +14761,7 @@ g_hash_table_unref().</doc> | |||
| 14586 | 14761 | destroy="3"> | |
| 14587 | 14762 | <doc xml:space="preserve" | |
| 14588 | 14763 | filename="glib/ghash.c" | |
| 14589 | - | line="991">a function to check two keys for equality</doc> | |
| 14764 | + | line="994">a function to check two keys for equality</doc> | |
| 14590 | 14765 | <type name="EqualFunc" c:type="GEqualFunc"/> | |
| 14591 | 14766 | </parameter> | |
| 14592 | 14767 | <parameter name="key_destroy_func" | |
| @@ -14596,7 +14771,7 @@ g_hash_table_unref().</doc> | |||
| 14596 | 14771 | scope="async"> | |
| 14597 | 14772 | <doc xml:space="preserve" | |
| 14598 | 14773 | filename="glib/ghash.c" | |
| 14599 | - | line="992">a function to free the memory allocated for the key | |
| 14774 | + | line="995">a function to free the memory allocated for the key | |
| 14600 | 14775 | used when removing the entry from the #GHashTable, or %NULL | |
| 14601 | 14776 | if you don't want to supply such a function.</doc> | |
| 14602 | 14777 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| @@ -14608,7 +14783,7 @@ g_hash_table_unref().</doc> | |||
| 14608 | 14783 | scope="async"> | |
| 14609 | 14784 | <doc xml:space="preserve" | |
| 14610 | 14785 | filename="glib/ghash.c" | |
| 14611 | - | line="995">a function to free the memory allocated for the | |
| 14786 | + | line="998">a function to free the memory allocated for the | |
| 14612 | 14787 | value used when removing the entry from the #GHashTable, or %NULL | |
| 14613 | 14788 | if you don't want to supply such a function.</doc> | |
| 14614 | 14789 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| @@ -14620,7 +14795,7 @@ g_hash_table_unref().</doc> | |||
| 14620 | 14795 | version="2.72"> | |
| 14621 | 14796 | <doc xml:space="preserve" | |
| 14622 | 14797 | filename="glib/ghash.c" | |
| 14623 | - | line="1038">Creates a new #GHashTable like g_hash_table_new_full() with a reference | |
| 14798 | + | line="1041">Creates a new #GHashTable like g_hash_table_new_full() with a reference | |
| 14624 | 14799 | count of 1. | |
| 14625 | 14800 | ||
| 14626 | 14801 | It inherits the hash function, the key equal function, the key destroy function, | |
| @@ -14632,7 +14807,7 @@ or values from @other_hash_table.</doc> | |||
| 14632 | 14807 | <return-value transfer-ownership="full"> | |
| 14633 | 14808 | <doc xml:space="preserve" | |
| 14634 | 14809 | filename="glib/ghash.c" | |
| 14635 | - | line="1051">a new #GHashTable</doc> | |
| 14810 | + | line="1054">a new #GHashTable</doc> | |
| 14636 | 14811 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14637 | 14812 | <type name="gpointer" c:type="gpointer"/> | |
| 14638 | 14813 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14642,7 +14817,7 @@ or values from @other_hash_table.</doc> | |||
| 14642 | 14817 | <parameter name="other_hash_table" transfer-ownership="none"> | |
| 14643 | 14818 | <doc xml:space="preserve" | |
| 14644 | 14819 | filename="glib/ghash.c" | |
| 14645 | - | line="1040">Another #GHashTable</doc> | |
| 14820 | + | line="1043">Another #GHashTable</doc> | |
| 14646 | 14821 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14647 | 14822 | <type name="gpointer" c:type="gpointer"/> | |
| 14648 | 14823 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14653,13 +14828,13 @@ or values from @other_hash_table.</doc> | |||
| 14653 | 14828 | <function name="ref" c:identifier="g_hash_table_ref" version="2.10"> | |
| 14654 | 14829 | <doc xml:space="preserve" | |
| 14655 | 14830 | filename="glib/ghash.c" | |
| 14656 | - | line="1399">Atomically increments the reference count of @hash_table by one. | |
| 14831 | + | line="1402">Atomically increments the reference count of @hash_table by one. | |
| 14657 | 14832 | This function is MT-safe and may be called from any thread.</doc> | |
| 14658 | 14833 | <source-position filename="glib/ghash.h" line="161"/> | |
| 14659 | 14834 | <return-value transfer-ownership="full"> | |
| 14660 | 14835 | <doc xml:space="preserve" | |
| 14661 | 14836 | filename="glib/ghash.c" | |
| 14662 | - | line="1406">the passed in #GHashTable</doc> | |
| 14837 | + | line="1409">the passed in #GHashTable</doc> | |
| 14663 | 14838 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14664 | 14839 | <type name="gpointer" c:type="gpointer"/> | |
| 14665 | 14840 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14669,7 +14844,7 @@ This function is MT-safe and may be called from any thread.</doc> | |||
| 14669 | 14844 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14670 | 14845 | <doc xml:space="preserve" | |
| 14671 | 14846 | filename="glib/ghash.c" | |
| 14672 | - | line="1401">a valid #GHashTable</doc> | |
| 14847 | + | line="1404">a valid #GHashTable</doc> | |
| 14673 | 14848 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14674 | 14849 | <type name="gpointer" c:type="gpointer"/> | |
| 14675 | 14850 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14680,7 +14855,7 @@ This function is MT-safe and may be called from any thread.</doc> | |||
| 14680 | 14855 | <function name="remove" c:identifier="g_hash_table_remove"> | |
| 14681 | 14856 | <doc xml:space="preserve" | |
| 14682 | 14857 | filename="glib/ghash.c" | |
| 14683 | - | line="1732">Removes a key and its associated value from a #GHashTable. | |
| 14858 | + | line="1735">Removes a key and its associated value from a #GHashTable. | |
| 14684 | 14859 | ||
| 14685 | 14860 | If the #GHashTable was created using g_hash_table_new_full(), the | |
| 14686 | 14861 | key and value are freed using the supplied destroy functions, otherwise | |
| @@ -14690,14 +14865,14 @@ yourself.</doc> | |||
| 14690 | 14865 | <return-value transfer-ownership="none"> | |
| 14691 | 14866 | <doc xml:space="preserve" | |
| 14692 | 14867 | filename="glib/ghash.c" | |
| 14693 | - | line="1744">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 14868 | + | line="1747">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 14694 | 14869 | <type name="gboolean" c:type="gboolean"/> | |
| 14695 | 14870 | </return-value> | |
| 14696 | 14871 | <parameters> | |
| 14697 | 14872 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14698 | 14873 | <doc xml:space="preserve" | |
| 14699 | 14874 | filename="glib/ghash.c" | |
| 14700 | - | line="1734">a #GHashTable</doc> | |
| 14875 | + | line="1737">a #GHashTable</doc> | |
| 14701 | 14876 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14702 | 14877 | <type name="gpointer" c:type="gpointer"/> | |
| 14703 | 14878 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14709,7 +14884,7 @@ yourself.</doc> | |||
| 14709 | 14884 | allow-none="1"> | |
| 14710 | 14885 | <doc xml:space="preserve" | |
| 14711 | 14886 | filename="glib/ghash.c" | |
| 14712 | - | line="1735">the key to remove</doc> | |
| 14887 | + | line="1738">the key to remove</doc> | |
| 14713 | 14888 | <type name="gpointer" c:type="gconstpointer"/> | |
| 14714 | 14889 | </parameter> | |
| 14715 | 14890 | </parameters> | |
| @@ -14719,7 +14894,7 @@ yourself.</doc> | |||
| 14719 | 14894 | version="2.12"> | |
| 14720 | 14895 | <doc xml:space="preserve" | |
| 14721 | 14896 | filename="glib/ghash.c" | |
| 14722 | - | line="1849">Removes all keys and their associated values from a #GHashTable. | |
| 14897 | + | line="1852">Removes all keys and their associated values from a #GHashTable. | |
| 14723 | 14898 | ||
| 14724 | 14899 | If the #GHashTable was created using g_hash_table_new_full(), | |
| 14725 | 14900 | the keys and values are freed using the supplied destroy functions, | |
| @@ -14733,7 +14908,7 @@ values are freed yourself.</doc> | |||
| 14733 | 14908 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14734 | 14909 | <doc xml:space="preserve" | |
| 14735 | 14910 | filename="glib/ghash.c" | |
| 14736 | - | line="1851">a #GHashTable</doc> | |
| 14911 | + | line="1854">a #GHashTable</doc> | |
| 14737 | 14912 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14738 | 14913 | <type name="gpointer" c:type="gpointer"/> | |
| 14739 | 14914 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14744,7 +14919,7 @@ values are freed yourself.</doc> | |||
| 14744 | 14919 | <function name="replace" c:identifier="g_hash_table_replace"> | |
| 14745 | 14920 | <doc xml:space="preserve" | |
| 14746 | 14921 | filename="glib/ghash.c" | |
| 14747 | - | line="1609">Inserts a new key and value into a #GHashTable similar to | |
| 14922 | + | line="1612">Inserts a new key and value into a #GHashTable similar to | |
| 14748 | 14923 | g_hash_table_insert(). The difference is that if the key | |
| 14749 | 14924 | already exists in the #GHashTable, it gets replaced by the | |
| 14750 | 14925 | new key. If you supplied a @value_destroy_func when creating | |
| @@ -14759,14 +14934,14 @@ or not.</doc> | |||
| 14759 | 14934 | <return-value transfer-ownership="none"> | |
| 14760 | 14935 | <doc xml:space="preserve" | |
| 14761 | 14936 | filename="glib/ghash.c" | |
| 14762 | - | line="1627">%TRUE if the key did not exist yet</doc> | |
| 14937 | + | line="1630">%TRUE if the key did not exist yet</doc> | |
| 14763 | 14938 | <type name="gboolean" c:type="gboolean"/> | |
| 14764 | 14939 | </return-value> | |
| 14765 | 14940 | <parameters> | |
| 14766 | 14941 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14767 | 14942 | <doc xml:space="preserve" | |
| 14768 | 14943 | filename="glib/ghash.c" | |
| 14769 | - | line="1611">a #GHashTable</doc> | |
| 14944 | + | line="1614">a #GHashTable</doc> | |
| 14770 | 14945 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14771 | 14946 | <type name="gpointer" c:type="gpointer"/> | |
| 14772 | 14947 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14778,7 +14953,7 @@ or not.</doc> | |||
| 14778 | 14953 | allow-none="1"> | |
| 14779 | 14954 | <doc xml:space="preserve" | |
| 14780 | 14955 | filename="glib/ghash.c" | |
| 14781 | - | line="1612">a key to insert</doc> | |
| 14956 | + | line="1615">a key to insert</doc> | |
| 14782 | 14957 | <type name="gpointer" c:type="gpointer"/> | |
| 14783 | 14958 | </parameter> | |
| 14784 | 14959 | <parameter name="value" | |
| @@ -14787,7 +14962,7 @@ or not.</doc> | |||
| 14787 | 14962 | allow-none="1"> | |
| 14788 | 14963 | <doc xml:space="preserve" | |
| 14789 | 14964 | filename="glib/ghash.c" | |
| 14790 | - | line="1613">the value to associate with the key</doc> | |
| 14965 | + | line="1616">the value to associate with the key</doc> | |
| 14791 | 14966 | <type name="gpointer" c:type="gpointer"/> | |
| 14792 | 14967 | </parameter> | |
| 14793 | 14968 | </parameters> | |
| @@ -14795,19 +14970,19 @@ or not.</doc> | |||
| 14795 | 14970 | <function name="size" c:identifier="g_hash_table_size"> | |
| 14796 | 14971 | <doc xml:space="preserve" | |
| 14797 | 14972 | filename="glib/ghash.c" | |
| 14798 | - | line="2202">Returns the number of elements contained in the #GHashTable.</doc> | |
| 14973 | + | line="2205">Returns the number of elements contained in the #GHashTable.</doc> | |
| 14799 | 14974 | <source-position filename="glib/ghash.h" line="129"/> | |
| 14800 | 14975 | <return-value transfer-ownership="none"> | |
| 14801 | 14976 | <doc xml:space="preserve" | |
| 14802 | 14977 | filename="glib/ghash.c" | |
| 14803 | - | line="2208">the number of key/value pairs in the #GHashTable.</doc> | |
| 14978 | + | line="2211">the number of key/value pairs in the #GHashTable.</doc> | |
| 14804 | 14979 | <type name="guint" c:type="guint"/> | |
| 14805 | 14980 | </return-value> | |
| 14806 | 14981 | <parameters> | |
| 14807 | 14982 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14808 | 14983 | <doc xml:space="preserve" | |
| 14809 | 14984 | filename="glib/ghash.c" | |
| 14810 | - | line="2204">a #GHashTable</doc> | |
| 14985 | + | line="2207">a #GHashTable</doc> | |
| 14811 | 14986 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14812 | 14987 | <type name="gpointer" c:type="gpointer"/> | |
| 14813 | 14988 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14818,20 +14993,20 @@ or not.</doc> | |||
| 14818 | 14993 | <function name="steal" c:identifier="g_hash_table_steal"> | |
| 14819 | 14994 | <doc xml:space="preserve" | |
| 14820 | 14995 | filename="glib/ghash.c" | |
| 14821 | - | line="1753">Removes a key and its associated value from a #GHashTable without | |
| 14996 | + | line="1756">Removes a key and its associated value from a #GHashTable without | |
| 14822 | 14997 | calling the key and value destroy functions.</doc> | |
| 14823 | 14998 | <source-position filename="glib/ghash.h" line="88"/> | |
| 14824 | 14999 | <return-value transfer-ownership="none"> | |
| 14825 | 15000 | <doc xml:space="preserve" | |
| 14826 | 15001 | filename="glib/ghash.c" | |
| 14827 | - | line="1761">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 15002 | + | line="1764">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 14828 | 15003 | <type name="gboolean" c:type="gboolean"/> | |
| 14829 | 15004 | </return-value> | |
| 14830 | 15005 | <parameters> | |
| 14831 | 15006 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14832 | 15007 | <doc xml:space="preserve" | |
| 14833 | 15008 | filename="glib/ghash.c" | |
| 14834 | - | line="1755">a #GHashTable</doc> | |
| 15009 | + | line="1758">a #GHashTable</doc> | |
| 14835 | 15010 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14836 | 15011 | <type name="gpointer" c:type="gpointer"/> | |
| 14837 | 15012 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14843,7 +15018,7 @@ calling the key and value destroy functions.</doc> | |||
| 14843 | 15018 | allow-none="1"> | |
| 14844 | 15019 | <doc xml:space="preserve" | |
| 14845 | 15020 | filename="glib/ghash.c" | |
| 14846 | - | line="1756">the key to remove</doc> | |
| 15021 | + | line="1759">the key to remove</doc> | |
| 14847 | 15022 | <type name="gpointer" c:type="gconstpointer"/> | |
| 14848 | 15023 | </parameter> | |
| 14849 | 15024 | </parameters> | |
| @@ -14853,7 +15028,7 @@ calling the key and value destroy functions.</doc> | |||
| 14853 | 15028 | version="2.12"> | |
| 14854 | 15029 | <doc xml:space="preserve" | |
| 14855 | 15030 | filename="glib/ghash.c" | |
| 14856 | - | line="1876">Removes all keys and their associated values from a #GHashTable | |
| 15031 | + | line="1879">Removes all keys and their associated values from a #GHashTable | |
| 14857 | 15032 | without calling the key and value destroy functions.</doc> | |
| 14858 | 15033 | <source-position filename="glib/ghash.h" line="96"/> | |
| 14859 | 15034 | <return-value transfer-ownership="none"> | |
| @@ -14863,7 +15038,7 @@ without calling the key and value destroy functions.</doc> | |||
| 14863 | 15038 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14864 | 15039 | <doc xml:space="preserve" | |
| 14865 | 15040 | filename="glib/ghash.c" | |
| 14866 | - | line="1878">a #GHashTable</doc> | |
| 15041 | + | line="1881">a #GHashTable</doc> | |
| 14867 | 15042 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14868 | 15043 | <type name="gpointer" c:type="gpointer"/> | |
| 14869 | 15044 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14877,7 +15052,7 @@ without calling the key and value destroy functions.</doc> | |||
| 14877 | 15052 | introspectable="0"> | |
| 14878 | 15053 | <doc xml:space="preserve" | |
| 14879 | 15054 | filename="glib/ghash.c" | |
| 14880 | - | line="1899">Removes all keys and their associated values from a #GHashTable | |
| 15055 | + | line="1902">Removes all keys and their associated values from a #GHashTable | |
| 14881 | 15056 | without calling the key destroy functions, returning the keys | |
| 14882 | 15057 | as a #GPtrArray with the free func set to the @hash_table key | |
| 14883 | 15058 | destroy function.</doc> | |
| @@ -14885,8 +15060,8 @@ destroy function.</doc> | |||
| 14885 | 15060 | <return-value transfer-ownership="container"> | |
| 14886 | 15061 | <doc xml:space="preserve" | |
| 14887 | 15062 | filename="glib/ghash.c" | |
| 14888 | - | line="1908">a #GPtrArray containing each key of | |
| 14889 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 15063 | + | line="1911">a #GPtrArray containing each key of | |
| 15064 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 14890 | 15065 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 14891 | 15066 | <type name="gpointer" c:type="gpointer"/> | |
| 14892 | 15067 | </array> | |
| @@ -14895,7 +15070,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14895 | 15070 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14896 | 15071 | <doc xml:space="preserve" | |
| 14897 | 15072 | filename="glib/ghash.c" | |
| 14898 | - | line="1901">a #GHashTable</doc> | |
| 15073 | + | line="1904">a #GHashTable</doc> | |
| 14899 | 15074 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14900 | 15075 | <type name="gpointer" c:type="gpointer"/> | |
| 14901 | 15076 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14909,7 +15084,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14909 | 15084 | introspectable="0"> | |
| 14910 | 15085 | <doc xml:space="preserve" | |
| 14911 | 15086 | filename="glib/ghash.c" | |
| 14912 | - | line="1936">Removes all keys and their associated values from a #GHashTable | |
| 15087 | + | line="1939">Removes all keys and their associated values from a #GHashTable | |
| 14913 | 15088 | without calling the value destroy functions, returning the values | |
| 14914 | 15089 | as a #GPtrArray with the free func set to the @hash_table value | |
| 14915 | 15090 | destroy function.</doc> | |
| @@ -14917,8 +15092,8 @@ destroy function.</doc> | |||
| 14917 | 15092 | <return-value transfer-ownership="container"> | |
| 14918 | 15093 | <doc xml:space="preserve" | |
| 14919 | 15094 | filename="glib/ghash.c" | |
| 14920 | - | line="1945">a #GPtrArray containing each value of | |
| 14921 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 15095 | + | line="1948">a #GPtrArray containing each value of | |
| 15096 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 14922 | 15097 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 14923 | 15098 | <type name="gpointer" c:type="gpointer"/> | |
| 14924 | 15099 | </array> | |
| @@ -14927,7 +15102,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14927 | 15102 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14928 | 15103 | <doc xml:space="preserve" | |
| 14929 | 15104 | filename="glib/ghash.c" | |
| 14930 | - | line="1938">a #GHashTable</doc> | |
| 15105 | + | line="1941">a #GHashTable</doc> | |
| 14931 | 15106 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14932 | 15107 | <type name="gpointer" c:type="gpointer"/> | |
| 14933 | 15108 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14940,7 +15115,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 14940 | 15115 | version="2.58"> | |
| 14941 | 15116 | <doc xml:space="preserve" | |
| 14942 | 15117 | filename="glib/ghash.c" | |
| 14943 | - | line="1770">Looks up a key in the #GHashTable, stealing the original key and the | |
| 15118 | + | line="1773">Looks up a key in the #GHashTable, stealing the original key and the | |
| 14944 | 15119 | associated value and returning %TRUE if the key was found. If the key was | |
| 14945 | 15120 | not found, %FALSE is returned. | |
| 14946 | 15121 | ||
| @@ -14961,14 +15136,14 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 14961 | 15136 | <return-value transfer-ownership="none"> | |
| 14962 | 15137 | <doc xml:space="preserve" | |
| 14963 | 15138 | filename="glib/ghash.c" | |
| 14964 | - | line="1797">%TRUE if the key was found in the #GHashTable</doc> | |
| 15139 | + | line="1800">%TRUE if the key was found in the #GHashTable</doc> | |
| 14965 | 15140 | <type name="gboolean" c:type="gboolean"/> | |
| 14966 | 15141 | </return-value> | |
| 14967 | 15142 | <parameters> | |
| 14968 | 15143 | <parameter name="hash_table" transfer-ownership="none"> | |
| 14969 | 15144 | <doc xml:space="preserve" | |
| 14970 | 15145 | filename="glib/ghash.c" | |
| 14971 | - | line="1772">a #GHashTable</doc> | |
| 15146 | + | line="1775">a #GHashTable</doc> | |
| 14972 | 15147 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 14973 | 15148 | <type name="gpointer" c:type="gpointer"/> | |
| 14974 | 15149 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -14980,7 +15155,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 14980 | 15155 | allow-none="1"> | |
| 14981 | 15156 | <doc xml:space="preserve" | |
| 14982 | 15157 | filename="glib/ghash.c" | |
| 14983 | - | line="1773">the key to look up</doc> | |
| 15158 | + | line="1776">the key to look up</doc> | |
| 14984 | 15159 | <type name="gpointer" c:type="gconstpointer"/> | |
| 14985 | 15160 | </parameter> | |
| 14986 | 15161 | <parameter name="stolen_key" | |
| @@ -14992,7 +15167,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 14992 | 15167 | allow-none="1"> | |
| 14993 | 15168 | <doc xml:space="preserve" | |
| 14994 | 15169 | filename="glib/ghash.c" | |
| 14995 | - | line="1774">return location for the | |
| 15170 | + | line="1777">return location for the | |
| 14996 | 15171 | original key</doc> | |
| 14997 | 15172 | <type name="gpointer" c:type="gpointer*"/> | |
| 14998 | 15173 | </parameter> | |
| @@ -15005,7 +15180,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 15005 | 15180 | allow-none="1"> | |
| 15006 | 15181 | <doc xml:space="preserve" | |
| 15007 | 15182 | filename="glib/ghash.c" | |
| 15008 | - | line="1776">return location | |
| 15183 | + | line="1779">return location | |
| 15009 | 15184 | for the value associated with the key</doc> | |
| 15010 | 15185 | <type name="gpointer" c:type="gpointer*"/> | |
| 15011 | 15186 | </parameter> | |
| @@ -15014,7 +15189,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 15014 | 15189 | <function name="unref" c:identifier="g_hash_table_unref" version="2.10"> | |
| 15015 | 15190 | <doc xml:space="preserve" | |
| 15016 | 15191 | filename="glib/ghash.c" | |
| 15017 | - | line="1420">Atomically decrements the reference count of @hash_table by one. | |
| 15192 | + | line="1423">Atomically decrements the reference count of @hash_table by one. | |
| 15018 | 15193 | If the reference count drops to 0, all keys and values will be | |
| 15019 | 15194 | destroyed, and all memory allocated by the hash table is released. | |
| 15020 | 15195 | This function is MT-safe and may be called from any thread.</doc> | |
| @@ -15026,7 +15201,7 @@ This function is MT-safe and may be called from any thread.</doc> | |||
| 15026 | 15201 | <parameter name="hash_table" transfer-ownership="full"> | |
| 15027 | 15202 | <doc xml:space="preserve" | |
| 15028 | 15203 | filename="glib/ghash.c" | |
| 15029 | - | line="1422">a valid #GHashTable</doc> | |
| 15204 | + | line="1425">a valid #GHashTable</doc> | |
| 15030 | 15205 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 15031 | 15206 | <type name="gpointer" c:type="gpointer"/> | |
| 15032 | 15207 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -15069,12 +15244,12 @@ table is not defined.</doc> | |||
| 15069 | 15244 | version="2.16"> | |
| 15070 | 15245 | <doc xml:space="preserve" | |
| 15071 | 15246 | filename="glib/ghash.c" | |
| 15072 | - | line="1156">Returns the #GHashTable associated with @iter.</doc> | |
| 15247 | + | line="1159">Returns the #GHashTable associated with @iter.</doc> | |
| 15073 | 15248 | <source-position filename="glib/ghash.h" line="151"/> | |
| 15074 | 15249 | <return-value transfer-ownership="none"> | |
| 15075 | 15250 | <doc xml:space="preserve" | |
| 15076 | 15251 | filename="glib/ghash.c" | |
| 15077 | - | line="1162">the #GHashTable associated with @iter.</doc> | |
| 15252 | + | line="1165">the #GHashTable associated with @iter.</doc> | |
| 15078 | 15253 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 15079 | 15254 | <type name="gpointer" c:type="gpointer"/> | |
| 15080 | 15255 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -15084,7 +15259,7 @@ table is not defined.</doc> | |||
| 15084 | 15259 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 15085 | 15260 | <doc xml:space="preserve" | |
| 15086 | 15261 | filename="glib/ghash.c" | |
| 15087 | - | line="1158">an initialized #GHashTableIter</doc> | |
| 15262 | + | line="1161">an initialized #GHashTableIter</doc> | |
| 15088 | 15263 | <type name="HashTableIter" c:type="GHashTableIter*"/> | |
| 15089 | 15264 | </instance-parameter> | |
| 15090 | 15265 | </parameters> | |
| @@ -15092,7 +15267,7 @@ table is not defined.</doc> | |||
| 15092 | 15267 | <method name="init" c:identifier="g_hash_table_iter_init" version="2.16"> | |
| 15093 | 15268 | <doc xml:space="preserve" | |
| 15094 | 15269 | filename="glib/ghash.c" | |
| 15095 | - | line="1065">Initializes a key/value pair iterator and associates it with | |
| 15270 | + | line="1068">Initializes a key/value pair iterator and associates it with | |
| 15096 | 15271 | @hash_table. Modifying the hash table after calling this function | |
| 15097 | 15272 | invalidates the returned iterator. | |
| 15098 | 15273 | ||
| @@ -15117,13 +15292,13 @@ while (g_hash_table_iter_next (&iter, &key, &value)) | |||
| 15117 | 15292 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 15118 | 15293 | <doc xml:space="preserve" | |
| 15119 | 15294 | filename="glib/ghash.c" | |
| 15120 | - | line="1067">an uninitialized #GHashTableIter</doc> | |
| 15295 | + | line="1070">an uninitialized #GHashTableIter</doc> | |
| 15121 | 15296 | <type name="HashTableIter" c:type="GHashTableIter*"/> | |
| 15122 | 15297 | </instance-parameter> | |
| 15123 | 15298 | <parameter name="hash_table" transfer-ownership="none"> | |
| 15124 | 15299 | <doc xml:space="preserve" | |
| 15125 | 15300 | filename="glib/ghash.c" | |
| 15126 | - | line="1068">a #GHashTable</doc> | |
| 15301 | + | line="1071">a #GHashTable</doc> | |
| 15127 | 15302 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 15128 | 15303 | <type name="gpointer" c:type="gpointer"/> | |
| 15129 | 15304 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -15134,21 +15309,21 @@ while (g_hash_table_iter_next (&iter, &key, &value)) | |||
| 15134 | 15309 | <method name="next" c:identifier="g_hash_table_iter_next" version="2.16"> | |
| 15135 | 15310 | <doc xml:space="preserve" | |
| 15136 | 15311 | filename="glib/ghash.c" | |
| 15137 | - | line="1106">Advances @iter and retrieves the key and/or value that are now | |
| 15312 | + | line="1109">Advances @iter and retrieves the key and/or value that are now | |
| 15138 | 15313 | pointed to as a result of this advancement. If %FALSE is returned, | |
| 15139 | 15314 | @key and @value are not set, and the iterator becomes invalid.</doc> | |
| 15140 | 15315 | <source-position filename="glib/ghash.h" line="147"/> | |
| 15141 | 15316 | <return-value transfer-ownership="none"> | |
| 15142 | 15317 | <doc xml:space="preserve" | |
| 15143 | 15318 | filename="glib/ghash.c" | |
| 15144 | - | line="1116">%FALSE if the end of the #GHashTable has been reached.</doc> | |
| 15319 | + | line="1119">%FALSE if the end of the #GHashTable has been reached.</doc> | |
| 15145 | 15320 | <type name="gboolean" c:type="gboolean"/> | |
| 15146 | 15321 | </return-value> | |
| 15147 | 15322 | <parameters> | |
| 15148 | 15323 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 15149 | 15324 | <doc xml:space="preserve" | |
| 15150 | 15325 | filename="glib/ghash.c" | |
| 15151 | - | line="1108">an initialized #GHashTableIter</doc> | |
| 15326 | + | line="1111">an initialized #GHashTableIter</doc> | |
| 15152 | 15327 | <type name="HashTableIter" c:type="GHashTableIter*"/> | |
| 15153 | 15328 | </instance-parameter> | |
| 15154 | 15329 | <parameter name="key" | |
| @@ -15160,7 +15335,7 @@ pointed to as a result of this advancement. If %FALSE is returned, | |||
| 15160 | 15335 | allow-none="1"> | |
| 15161 | 15336 | <doc xml:space="preserve" | |
| 15162 | 15337 | filename="glib/ghash.c" | |
| 15163 | - | line="1109">a location to store the key</doc> | |
| 15338 | + | line="1112">a location to store the key</doc> | |
| 15164 | 15339 | <type name="gpointer" c:type="gpointer*"/> | |
| 15165 | 15340 | </parameter> | |
| 15166 | 15341 | <parameter name="value" | |
| @@ -15172,7 +15347,7 @@ pointed to as a result of this advancement. If %FALSE is returned, | |||
| 15172 | 15347 | allow-none="1"> | |
| 15173 | 15348 | <doc xml:space="preserve" | |
| 15174 | 15349 | filename="glib/ghash.c" | |
| 15175 | - | line="1110">a location to store the value</doc> | |
| 15350 | + | line="1113">a location to store the value</doc> | |
| 15176 | 15351 | <type name="gpointer" c:type="gpointer*"/> | |
| 15177 | 15352 | </parameter> | |
| 15178 | 15353 | </parameters> | |
| @@ -15182,7 +15357,7 @@ pointed to as a result of this advancement. If %FALSE is returned, | |||
| 15182 | 15357 | version="2.16"> | |
| 15183 | 15358 | <doc xml:space="preserve" | |
| 15184 | 15359 | filename="glib/ghash.c" | |
| 15185 | - | line="1192">Removes the key/value pair currently pointed to by the iterator | |
| 15360 | + | line="1195">Removes the key/value pair currently pointed to by the iterator | |
| 15186 | 15361 | from its associated #GHashTable. Can only be called after | |
| 15187 | 15362 | g_hash_table_iter_next() returned %TRUE, and cannot be called | |
| 15188 | 15363 | more than once for the same key/value pair. | |
| @@ -15208,7 +15383,7 @@ while (g_hash_table_iter_next (&iter, &key, &value)) | |||
| 15208 | 15383 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 15209 | 15384 | <doc xml:space="preserve" | |
| 15210 | 15385 | filename="glib/ghash.c" | |
| 15211 | - | line="1194">an initialized #GHashTableIter</doc> | |
| 15386 | + | line="1197">an initialized #GHashTableIter</doc> | |
| 15212 | 15387 | <type name="HashTableIter" c:type="GHashTableIter*"/> | |
| 15213 | 15388 | </instance-parameter> | |
| 15214 | 15389 | </parameters> | |
| @@ -15218,7 +15393,7 @@ while (g_hash_table_iter_next (&iter, &key, &value)) | |||
| 15218 | 15393 | version="2.30"> | |
| 15219 | 15394 | <doc xml:space="preserve" | |
| 15220 | 15395 | filename="glib/ghash.c" | |
| 15221 | - | line="1337">Replaces the value currently pointed to by the iterator | |
| 15396 | + | line="1340">Replaces the value currently pointed to by the iterator | |
| 15222 | 15397 | from its associated #GHashTable. Can only be called after | |
| 15223 | 15398 | g_hash_table_iter_next() returned %TRUE. | |
| 15224 | 15399 | ||
| @@ -15232,7 +15407,7 @@ If you supplied a @value_destroy_func when creating the | |||
| 15232 | 15407 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 15233 | 15408 | <doc xml:space="preserve" | |
| 15234 | 15409 | filename="glib/ghash.c" | |
| 15235 | - | line="1339">an initialized #GHashTableIter</doc> | |
| 15410 | + | line="1342">an initialized #GHashTableIter</doc> | |
| 15236 | 15411 | <type name="HashTableIter" c:type="GHashTableIter*"/> | |
| 15237 | 15412 | </instance-parameter> | |
| 15238 | 15413 | <parameter name="value" | |
| @@ -15241,7 +15416,7 @@ If you supplied a @value_destroy_func when creating the | |||
| 15241 | 15416 | allow-none="1"> | |
| 15242 | 15417 | <doc xml:space="preserve" | |
| 15243 | 15418 | filename="glib/ghash.c" | |
| 15244 | - | line="1340">the value to replace with</doc> | |
| 15419 | + | line="1343">the value to replace with</doc> | |
| 15245 | 15420 | <type name="gpointer" c:type="gpointer"/> | |
| 15246 | 15421 | </parameter> | |
| 15247 | 15422 | </parameters> | |
| @@ -15251,7 +15426,7 @@ If you supplied a @value_destroy_func when creating the | |||
| 15251 | 15426 | version="2.16"> | |
| 15252 | 15427 | <doc xml:space="preserve" | |
| 15253 | 15428 | filename="glib/ghash.c" | |
| 15254 | - | line="1380">Removes the key/value pair currently pointed to by the | |
| 15429 | + | line="1383">Removes the key/value pair currently pointed to by the | |
| 15255 | 15430 | iterator from its associated #GHashTable, without calling | |
| 15256 | 15431 | the key and value destroy functions. Can only be called | |
| 15257 | 15432 | after g_hash_table_iter_next() returned %TRUE, and cannot | |
| @@ -15264,7 +15439,7 @@ be called more than once for the same key/value pair.</doc> | |||
| 15264 | 15439 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 15265 | 15440 | <doc xml:space="preserve" | |
| 15266 | 15441 | filename="glib/ghash.c" | |
| 15267 | - | line="1382">an initialized #GHashTableIter</doc> | |
| 15442 | + | line="1385">an initialized #GHashTableIter</doc> | |
| 15268 | 15443 | <type name="HashTableIter" c:type="GHashTableIter*"/> | |
| 15269 | 15444 | </instance-parameter> | |
| 15270 | 15445 | </parameters> | |
| @@ -16051,7 +16226,7 @@ g_hook_next_valid() until %NULL is returned.)</doc> | |||
| 16051 | 16226 | filename="glib/ghook.c" | |
| 16052 | 16227 | line="399">Increments the reference count for a #GHook.</doc> | |
| 16053 | 16228 | <source-position filename="glib/ghook.h" line="117"/> | |
| 16054 | - | <return-value> | |
| 16229 | + | <return-value transfer-ownership="full"> | |
| 16055 | 16230 | <doc xml:space="preserve" | |
| 16056 | 16231 | filename="glib/ghook.c" | |
| 16057 | 16232 | line="406">the @hook that was passed in (since 2.6)</doc> | |
| @@ -19004,7 +19179,7 @@ as booleans then [error@GLib.KeyFileError.INVALID_VALUE] is returned.</doc> | |||
| 19004 | 19179 | throws="1"> | |
| 19005 | 19180 | <doc xml:space="preserve" | |
| 19006 | 19181 | filename="glib/gkeyfile.c" | |
| 19007 | - | line="3712">Retrieves a comment above @key from @group_name. | |
| 19182 | + | line="3717">Retrieves a comment above @key from @group_name. | |
| 19008 | 19183 | ||
| 19009 | 19184 | If @key is `NULL` then @comment will be read from above | |
| 19010 | 19185 | @group_name. If both @key and @group_name are `NULL`, then | |
| @@ -19017,14 +19192,14 @@ the line breaks between lines, but does not include the final line break.</doc> | |||
| 19017 | 19192 | <return-value transfer-ownership="full"> | |
| 19018 | 19193 | <doc xml:space="preserve" | |
| 19019 | 19194 | filename="glib/gkeyfile.c" | |
| 19020 | - | line="3729">a comment that should be freed with [func@GLib.free]</doc> | |
| 19195 | + | line="3734">a comment that should be freed with [func@GLib.free]</doc> | |
| 19021 | 19196 | <type name="utf8" c:type="gchar*"/> | |
| 19022 | 19197 | </return-value> | |
| 19023 | 19198 | <parameters> | |
| 19024 | 19199 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 19025 | 19200 | <doc xml:space="preserve" | |
| 19026 | 19201 | filename="glib/gkeyfile.c" | |
| 19027 | - | line="3714">a key file</doc> | |
| 19202 | + | line="3719">a key file</doc> | |
| 19028 | 19203 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 19029 | 19204 | </instance-parameter> | |
| 19030 | 19205 | <parameter name="group_name" | |
| @@ -19033,7 +19208,7 @@ the line breaks between lines, but does not include the final line break.</doc> | |||
| 19033 | 19208 | allow-none="1"> | |
| 19034 | 19209 | <doc xml:space="preserve" | |
| 19035 | 19210 | filename="glib/gkeyfile.c" | |
| 19036 | - | line="3715">a group name, or `NULL` to get a top-level comment</doc> | |
| 19211 | + | line="3720">a group name, or `NULL` to get a top-level comment</doc> | |
| 19037 | 19212 | <type name="utf8" c:type="const gchar*"/> | |
| 19038 | 19213 | </parameter> | |
| 19039 | 19214 | <parameter name="key" | |
| @@ -19042,7 +19217,7 @@ the line breaks between lines, but does not include the final line break.</doc> | |||
| 19042 | 19217 | allow-none="1"> | |
| 19043 | 19218 | <doc xml:space="preserve" | |
| 19044 | 19219 | filename="glib/gkeyfile.c" | |
| 19045 | - | line="3716">a key, or `NULL` to get a group comment</doc> | |
| 19220 | + | line="3721">a key, or `NULL` to get a group comment</doc> | |
| 19046 | 19221 | <type name="utf8" c:type="const gchar*"/> | |
| 19047 | 19222 | </parameter> | |
| 19048 | 19223 | </parameters> | |
| @@ -19762,25 +19937,25 @@ is returned. If the @group_name cannot be found, | |||
| 19762 | 19937 | version="2.6"> | |
| 19763 | 19938 | <doc xml:space="preserve" | |
| 19764 | 19939 | filename="glib/gkeyfile.c" | |
| 19765 | - | line="3783">Looks whether the key file has the group @group_name.</doc> | |
| 19940 | + | line="3788">Looks whether the key file has the group @group_name.</doc> | |
| 19766 | 19941 | <source-position filename="glib/gkeyfile.h" line="118"/> | |
| 19767 | 19942 | <return-value transfer-ownership="none"> | |
| 19768 | 19943 | <doc xml:space="preserve" | |
| 19769 | 19944 | filename="glib/gkeyfile.c" | |
| 19770 | - | line="3790">true if @group_name is a part of @key_file, false otherwise.</doc> | |
| 19945 | + | line="3795">true if @group_name is a part of @key_file, false otherwise.</doc> | |
| 19771 | 19946 | <type name="gboolean" c:type="gboolean"/> | |
| 19772 | 19947 | </return-value> | |
| 19773 | 19948 | <parameters> | |
| 19774 | 19949 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 19775 | 19950 | <doc xml:space="preserve" | |
| 19776 | 19951 | filename="glib/gkeyfile.c" | |
| 19777 | - | line="3785">a key file</doc> | |
| 19952 | + | line="3790">a key file</doc> | |
| 19778 | 19953 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 19779 | 19954 | </instance-parameter> | |
| 19780 | 19955 | <parameter name="group_name" transfer-ownership="none"> | |
| 19781 | 19956 | <doc xml:space="preserve" | |
| 19782 | 19957 | filename="glib/gkeyfile.c" | |
| 19783 | - | line="3786">a group name</doc> | |
| 19958 | + | line="3791">a group name</doc> | |
| 19784 | 19959 | <type name="utf8" c:type="const gchar*"/> | |
| 19785 | 19960 | </parameter> | |
| 19786 | 19961 | </parameters> | |
| @@ -19792,7 +19967,7 @@ is returned. If the @group_name cannot be found, | |||
| 19792 | 19967 | throws="1"> | |
| 19793 | 19968 | <doc xml:space="preserve" | |
| 19794 | 19969 | filename="glib/gkeyfile.c" | |
| 19795 | - | line="3839">Looks whether the key file has the key @key in the group | |
| 19970 | + | line="3844">Looks whether the key file has the key @key in the group | |
| 19796 | 19971 | @group_name. | |
| 19797 | 19972 | ||
| 19798 | 19973 | Note that this function does not follow the rules for [struct@GLib.Error] | |
| @@ -19807,26 +19982,26 @@ a key exists.</doc> | |||
| 19807 | 19982 | <return-value transfer-ownership="none"> | |
| 19808 | 19983 | <doc xml:space="preserve" | |
| 19809 | 19984 | filename="glib/gkeyfile.c" | |
| 19810 | - | line="3858">true if @key is a part of @group_name, false otherwise</doc> | |
| 19985 | + | line="3863">true if @key is a part of @group_name, false otherwise</doc> | |
| 19811 | 19986 | <type name="gboolean" c:type="gboolean"/> | |
| 19812 | 19987 | </return-value> | |
| 19813 | 19988 | <parameters> | |
| 19814 | 19989 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 19815 | 19990 | <doc xml:space="preserve" | |
| 19816 | 19991 | filename="glib/gkeyfile.c" | |
| 19817 | - | line="3841">a key file</doc> | |
| 19992 | + | line="3846">a key file</doc> | |
| 19818 | 19993 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 19819 | 19994 | </instance-parameter> | |
| 19820 | 19995 | <parameter name="group_name" transfer-ownership="none"> | |
| 19821 | 19996 | <doc xml:space="preserve" | |
| 19822 | 19997 | filename="glib/gkeyfile.c" | |
| 19823 | - | line="3842">a group name</doc> | |
| 19998 | + | line="3847">a group name</doc> | |
| 19824 | 19999 | <type name="utf8" c:type="const gchar*"/> | |
| 19825 | 20000 | </parameter> | |
| 19826 | 20001 | <parameter name="key" transfer-ownership="none"> | |
| 19827 | 20002 | <doc xml:space="preserve" | |
| 19828 | 20003 | filename="glib/gkeyfile.c" | |
| 19829 | - | line="3843">a key name</doc> | |
| 20004 | + | line="3848">a key name</doc> | |
| 19830 | 20005 | <type name="utf8" c:type="const gchar*"/> | |
| 19831 | 20006 | </parameter> | |
| 19832 | 20007 | </parameters> | |
| @@ -20108,7 +20283,7 @@ error. If the @file is not found, [error@GLib.FileError.NOENT] is returned.</doc | |||
| 20108 | 20283 | throws="1"> | |
| 20109 | 20284 | <doc xml:space="preserve" | |
| 20110 | 20285 | filename="glib/gkeyfile.c" | |
| 20111 | - | line="3749">Removes a comment above @key from @group_name. | |
| 20286 | + | line="3754">Removes a comment above @key from @group_name. | |
| 20112 | 20287 | ||
| 20113 | 20288 | If @key is `NULL` then @comment will be removed above @group_name. | |
| 20114 | 20289 | If both @key and @group_name are `NULL`, then @comment will | |
| @@ -20117,14 +20292,14 @@ be removed above the first group in the file.</doc> | |||
| 20117 | 20292 | <return-value transfer-ownership="none"> | |
| 20118 | 20293 | <doc xml:space="preserve" | |
| 20119 | 20294 | filename="glib/gkeyfile.c" | |
| 20120 | - | line="3762">true if the comment was removed, false otherwise</doc> | |
| 20295 | + | line="3767">true if the comment was removed, false otherwise</doc> | |
| 20121 | 20296 | <type name="gboolean" c:type="gboolean"/> | |
| 20122 | 20297 | </return-value> | |
| 20123 | 20298 | <parameters> | |
| 20124 | 20299 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 20125 | 20300 | <doc xml:space="preserve" | |
| 20126 | 20301 | filename="glib/gkeyfile.c" | |
| 20127 | - | line="3751">a key file</doc> | |
| 20302 | + | line="3756">a key file</doc> | |
| 20128 | 20303 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 20129 | 20304 | </instance-parameter> | |
| 20130 | 20305 | <parameter name="group_name" | |
| @@ -20133,7 +20308,7 @@ be removed above the first group in the file.</doc> | |||
| 20133 | 20308 | allow-none="1"> | |
| 20134 | 20309 | <doc xml:space="preserve" | |
| 20135 | 20310 | filename="glib/gkeyfile.c" | |
| 20136 | - | line="3752">a group name, or `NULL` to get a top-level comment</doc> | |
| 20311 | + | line="3757">a group name, or `NULL` to get a top-level comment</doc> | |
| 20137 | 20312 | <type name="utf8" c:type="const gchar*"/> | |
| 20138 | 20313 | </parameter> | |
| 20139 | 20314 | <parameter name="key" | |
| @@ -20142,7 +20317,7 @@ be removed above the first group in the file.</doc> | |||
| 20142 | 20317 | allow-none="1"> | |
| 20143 | 20318 | <doc xml:space="preserve" | |
| 20144 | 20319 | filename="glib/gkeyfile.c" | |
| 20145 | - | line="3753">a key, or `NULL` to get a group comment</doc> | |
| 20320 | + | line="3758">a key, or `NULL` to get a group comment</doc> | |
| 20146 | 20321 | <type name="utf8" c:type="const gchar*"/> | |
| 20147 | 20322 | </parameter> | |
| 20148 | 20323 | </parameters> | |
| @@ -20153,26 +20328,26 @@ be removed above the first group in the file.</doc> | |||
| 20153 | 20328 | throws="1"> | |
| 20154 | 20329 | <doc xml:space="preserve" | |
| 20155 | 20330 | filename="glib/gkeyfile.c" | |
| 20156 | - | line="4047">Removes the specified group, @group_name, | |
| 20331 | + | line="4052">Removes the specified group, @group_name, | |
| 20157 | 20332 | from the key file.</doc> | |
| 20158 | 20333 | <source-position filename="glib/gkeyfile.h" line="297"/> | |
| 20159 | 20334 | <return-value transfer-ownership="none"> | |
| 20160 | 20335 | <doc xml:space="preserve" | |
| 20161 | 20336 | filename="glib/gkeyfile.c" | |
| 20162 | - | line="4056">true if the group was removed, false otherwise</doc> | |
| 20337 | + | line="4061">true if the group was removed, false otherwise</doc> | |
| 20163 | 20338 | <type name="gboolean" c:type="gboolean"/> | |
| 20164 | 20339 | </return-value> | |
| 20165 | 20340 | <parameters> | |
| 20166 | 20341 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 20167 | 20342 | <doc xml:space="preserve" | |
| 20168 | 20343 | filename="glib/gkeyfile.c" | |
| 20169 | - | line="4049">a key file</doc> | |
| 20344 | + | line="4054">a key file</doc> | |
| 20170 | 20345 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 20171 | 20346 | </instance-parameter> | |
| 20172 | 20347 | <parameter name="group_name" transfer-ownership="none"> | |
| 20173 | 20348 | <doc xml:space="preserve" | |
| 20174 | 20349 | filename="glib/gkeyfile.c" | |
| 20175 | - | line="4050">a group name</doc> | |
| 20350 | + | line="4055">a group name</doc> | |
| 20176 | 20351 | <type name="utf8" c:type="const gchar*"/> | |
| 20177 | 20352 | </parameter> | |
| 20178 | 20353 | </parameters> | |
| @@ -20183,31 +20358,31 @@ from the key file.</doc> | |||
| 20183 | 20358 | throws="1"> | |
| 20184 | 20359 | <doc xml:space="preserve" | |
| 20185 | 20360 | filename="glib/gkeyfile.c" | |
| 20186 | - | line="4117">Removes @key in @group_name from the key file.</doc> | |
| 20361 | + | line="4122">Removes @key in @group_name from the key file.</doc> | |
| 20187 | 20362 | <source-position filename="glib/gkeyfile.h" line="292"/> | |
| 20188 | 20363 | <return-value transfer-ownership="none"> | |
| 20189 | 20364 | <doc xml:space="preserve" | |
| 20190 | 20365 | filename="glib/gkeyfile.c" | |
| 20191 | - | line="4126">true if the key was removed, false otherwise</doc> | |
| 20366 | + | line="4131">true if the key was removed, false otherwise</doc> | |
| 20192 | 20367 | <type name="gboolean" c:type="gboolean"/> | |
| 20193 | 20368 | </return-value> | |
| 20194 | 20369 | <parameters> | |
| 20195 | 20370 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 20196 | 20371 | <doc xml:space="preserve" | |
| 20197 | 20372 | filename="glib/gkeyfile.c" | |
| 20198 | - | line="4119">a key file</doc> | |
| 20373 | + | line="4124">a key file</doc> | |
| 20199 | 20374 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 20200 | 20375 | </instance-parameter> | |
| 20201 | 20376 | <parameter name="group_name" transfer-ownership="none"> | |
| 20202 | 20377 | <doc xml:space="preserve" | |
| 20203 | 20378 | filename="glib/gkeyfile.c" | |
| 20204 | - | line="4120">a group name</doc> | |
| 20379 | + | line="4125">a group name</doc> | |
| 20205 | 20380 | <type name="utf8" c:type="const gchar*"/> | |
| 20206 | 20381 | </parameter> | |
| 20207 | 20382 | <parameter name="key" transfer-ownership="none"> | |
| 20208 | 20383 | <doc xml:space="preserve" | |
| 20209 | 20384 | filename="glib/gkeyfile.c" | |
| 20210 | - | line="4121">a key name to remove</doc> | |
| 20385 | + | line="4126">a key name to remove</doc> | |
| 20211 | 20386 | <type name="utf8" c:type="const gchar*"/> | |
| 20212 | 20387 | </parameter> | |
| 20213 | 20388 | </parameters> | |
| @@ -20218,7 +20393,7 @@ from the key file.</doc> | |||
| 20218 | 20393 | throws="1"> | |
| 20219 | 20394 | <doc xml:space="preserve" | |
| 20220 | 20395 | filename="glib/gkeyfile.c" | |
| 20221 | - | line="4737">Writes the contents of @key_file to @filename using | |
| 20396 | + | line="4742">Writes the contents of @key_file to @filename using | |
| 20222 | 20397 | [func@GLib.file_set_contents]. | |
| 20223 | 20398 | ||
| 20224 | 20399 | If you need stricter guarantees about durability of | |
| @@ -20232,20 +20407,20 @@ This function can fail for any of the reasons that | |||
| 20232 | 20407 | <return-value transfer-ownership="none"> | |
| 20233 | 20408 | <doc xml:space="preserve" | |
| 20234 | 20409 | filename="glib/gkeyfile.c" | |
| 20235 | - | line="4754">true if successful, false otherwise</doc> | |
| 20410 | + | line="4759">true if successful, false otherwise</doc> | |
| 20236 | 20411 | <type name="gboolean" c:type="gboolean"/> | |
| 20237 | 20412 | </return-value> | |
| 20238 | 20413 | <parameters> | |
| 20239 | 20414 | <instance-parameter name="key_file" transfer-ownership="none"> | |
| 20240 | 20415 | <doc xml:space="preserve" | |
| 20241 | 20416 | filename="glib/gkeyfile.c" | |
| 20242 | - | line="4739">a key file</doc> | |
| 20417 | + | line="4744">a key file</doc> | |
| 20243 | 20418 | <type name="KeyFile" c:type="GKeyFile*"/> | |
| 20244 | 20419 | </instance-parameter> | |
| 20245 | 20420 | <parameter name="filename" transfer-ownership="none"> | |
| 20246 | 20421 | <doc xml:space="preserve" | |
| 20247 | 20422 | filename="glib/gkeyfile.c" | |
| 20248 | - | line="4740">the name of the file to write to</doc> | |
| 20423 | + | line="4745">the name of the file to write to</doc> | |
| 20249 | 20424 | <type name="utf8" c:type="const gchar*"/> | |
| 20250 | 20425 | </parameter> | |
| 20251 | 20426 | </parameters> | |
| @@ -20348,13 +20523,18 @@ If @key is `NULL` then @comment will be written above @group_name. | |||
| 20348 | 20523 | If both @key and @group_name are `NULL`, then @comment will be | |
| 20349 | 20524 | written above the first group in the file. | |
| 20350 | 20525 | ||
| 20526 | + | Passing a non-existent @group_name or @key to this function returns | |
| 20527 | + | false and populates @error. (In contrast, passing a non-existent | |
| 20528 | + | `group_name` or `key` to [method@GLib.KeyFile.set_string] | |
| 20529 | + | creates the associated group name and key.) | |
| 20530 | + | ||
| 20351 | 20531 | Note that this function prepends a `#` comment marker to | |
| 20352 | 20532 | each line of @comment.</doc> | |
| 20353 | 20533 | <source-position filename="glib/gkeyfile.h" line="275"/> | |
| 20354 | 20534 | <return-value transfer-ownership="none"> | |
| 20355 | 20535 | <doc xml:space="preserve" | |
| 20356 | 20536 | filename="glib/gkeyfile.c" | |
| 20357 | - | line="3502">true if the comment was written, false otherwise</doc> | |
| 20537 | + | line="3507">true if the comment was written, false otherwise</doc> | |
| 20358 | 20538 | <type name="gboolean" c:type="gboolean"/> | |
| 20359 | 20539 | </return-value> | |
| 20360 | 20540 | <parameters> | |
| @@ -21197,7 +21377,7 @@ module.</doc> | |||
| 21197 | 21377 | <constant name="LOG_DOMAIN" value="0" c:type="G_LOG_DOMAIN"> | |
| 21198 | 21378 | <doc xml:space="preserve" | |
| 21199 | 21379 | filename="glib/gmessages.c" | |
| 21200 | - | line="91">Defines the log domain. See [Log Domains](#log-domains). | |
| 21380 | + | line="90">Defines the log domain. See [Log Domains](#log-domains). | |
| 21201 | 21381 | ||
| 21202 | 21382 | Libraries should define this so that any messages | |
| 21203 | 21383 | which they log can be differentiated from messages from other | |
| @@ -21220,13 +21400,13 @@ AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gtk\" | |||
| 21220 | 21400 | Applications can choose to leave it as the default %NULL (or `""`) | |
| 21221 | 21401 | domain. However, defining the domain offers the same advantages as | |
| 21222 | 21402 | above.</doc> | |
| 21223 | - | <source-position filename="glib/gmessages.h" line="320"/> | |
| 21403 | + | <source-position filename="glib/gmessages.h" line="323"/> | |
| 21224 | 21404 | <type name="gchar" c:type="gchar"/> | |
| 21225 | 21405 | </constant> | |
| 21226 | 21406 | <constant name="LOG_FATAL_MASK" value="5" c:type="G_LOG_FATAL_MASK"> | |
| 21227 | 21407 | <doc xml:space="preserve" | |
| 21228 | 21408 | filename="glib/gmessages.c" | |
| 21229 | - | line="121">GLib log levels that are considered fatal by default. | |
| 21409 | + | line="120">GLib log levels that are considered fatal by default. | |
| 21230 | 21410 | ||
| 21231 | 21411 | This is not used if structured logging is enabled; see | |
| 21232 | 21412 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| @@ -21238,7 +21418,7 @@ This is not used if structured logging is enabled; see | |||
| 21238 | 21418 | c:type="G_LOG_LEVEL_USER_SHIFT"> | |
| 21239 | 21419 | <doc xml:space="preserve" | |
| 21240 | 21420 | filename="glib/gmessages.c" | |
| 21241 | - | line="174">Log levels below `1<<G_LOG_LEVEL_USER_SHIFT` are used by GLib. | |
| 21421 | + | line="173">Log levels below `1<<G_LOG_LEVEL_USER_SHIFT` are used by GLib. | |
| 21242 | 21422 | Higher bits can be used for user-defined log levels.</doc> | |
| 21243 | 21423 | <source-position filename="glib/gmessages.h" line="51"/> | |
| 21244 | 21424 | <type name="gint" c:type="gint"/> | |
| @@ -22190,7 +22370,10 @@ described in the #GList introduction.</doc> | |||
| 22190 | 22370 | </parameter> | |
| 22191 | 22371 | </parameters> | |
| 22192 | 22372 | </function> | |
| 22193 | - | <function name="pop_allocator" c:identifier="g_list_pop_allocator"> | |
| 22373 | + | <function name="pop_allocator" | |
| 22374 | + | c:identifier="g_list_pop_allocator" | |
| 22375 | + | deprecated="1" | |
| 22376 | + | deprecated-version="2.10"> | |
| 22194 | 22377 | <source-position filename="glib/deprecated/gallocator.h" line="76"/> | |
| 22195 | 22378 | <return-value transfer-ownership="none"> | |
| 22196 | 22379 | <type name="none" c:type="void"/> | |
| @@ -22280,7 +22463,10 @@ element than the start of the list. Use g_list_insert_before() instead.</doc> | |||
| 22280 | 22463 | </parameter> | |
| 22281 | 22464 | </parameters> | |
| 22282 | 22465 | </function> | |
| 22283 | - | <function name="push_allocator" c:identifier="g_list_push_allocator"> | |
| 22466 | + | <function name="push_allocator" | |
| 22467 | + | c:identifier="g_list_push_allocator" | |
| 22468 | + | deprecated="1" | |
| 22469 | + | deprecated-version="2.10"> | |
| 22284 | 22470 | <source-position filename="glib/deprecated/gallocator.h" line="74"/> | |
| 22285 | 22471 | <return-value transfer-ownership="none"> | |
| 22286 | 22472 | <type name="none" c:type="void"/> | |
| @@ -22522,37 +22708,37 @@ a user data argument.</doc> | |||
| 22522 | 22708 | <record name="LogField" c:type="GLogField" version="2.50"> | |
| 22523 | 22709 | <doc xml:space="preserve" | |
| 22524 | 22710 | filename="glib/gmessages.h" | |
| 22525 | - | line="142">Structure representing a single field in a structured log entry. See | |
| 22711 | + | line="145">Structure representing a single field in a structured log entry. See | |
| 22526 | 22712 | g_log_structured() for details. | |
| 22527 | 22713 | ||
| 22528 | 22714 | Log fields may contain arbitrary values, including binary with embedded nul | |
| 22529 | 22715 | bytes. If the field contains a string, the string must be UTF-8 encoded and | |
| 22530 | 22716 | have a trailing nul byte. Otherwise, @length must be set to a non-negative | |
| 22531 | 22717 | value.</doc> | |
| 22532 | - | <source-position filename="glib/gmessages.h" line="164"/> | |
| 22718 | + | <source-position filename="glib/gmessages.h" line="167"/> | |
| 22533 | 22719 | <field name="key" writable="1"> | |
| 22534 | 22720 | <doc xml:space="preserve" | |
| 22535 | 22721 | filename="glib/gmessages.h" | |
| 22536 | - | line="144">field name (UTF-8 string)</doc> | |
| 22722 | + | line="147">field name (UTF-8 string)</doc> | |
| 22537 | 22723 | <type name="utf8" c:type="const gchar*"/> | |
| 22538 | 22724 | </field> | |
| 22539 | 22725 | <field name="value" writable="1"> | |
| 22540 | 22726 | <doc xml:space="preserve" | |
| 22541 | 22727 | filename="glib/gmessages.h" | |
| 22542 | - | line="145">field value (arbitrary bytes)</doc> | |
| 22728 | + | line="148">field value (arbitrary bytes)</doc> | |
| 22543 | 22729 | <type name="gpointer" c:type="gconstpointer"/> | |
| 22544 | 22730 | </field> | |
| 22545 | 22731 | <field name="length" writable="1"> | |
| 22546 | 22732 | <doc xml:space="preserve" | |
| 22547 | 22733 | filename="glib/gmessages.h" | |
| 22548 | - | line="146">length of @value, in bytes, or -1 if it is nul-terminated</doc> | |
| 22734 | + | line="149">length of @value, in bytes, or -1 if it is nul-terminated</doc> | |
| 22549 | 22735 | <type name="gssize" c:type="gssize"/> | |
| 22550 | 22736 | </field> | |
| 22551 | 22737 | </record> | |
| 22552 | 22738 | <callback name="LogFunc" c:type="GLogFunc"> | |
| 22553 | 22739 | <doc xml:space="preserve" | |
| 22554 | 22740 | filename="glib/gmessages.c" | |
| 22555 | - | line="130">Specifies the prototype of log handler functions. | |
| 22741 | + | line="129">Specifies the prototype of log handler functions. | |
| 22556 | 22742 | ||
| 22557 | 22743 | The default log handler, [func@GLib.log_default_handler], automatically appends a | |
| 22558 | 22744 | new-line character to @message when printing it. It is advised that any | |
| @@ -22576,20 +22762,20 @@ This is not used if structured logging is enabled; see | |||
| 22576 | 22762 | allow-none="1"> | |
| 22577 | 22763 | <doc xml:space="preserve" | |
| 22578 | 22764 | filename="glib/gmessages.c" | |
| 22579 | - | line="132">the log domain of the message</doc> | |
| 22765 | + | line="131">the log domain of the message</doc> | |
| 22580 | 22766 | <type name="utf8" c:type="const gchar*"/> | |
| 22581 | 22767 | </parameter> | |
| 22582 | 22768 | <parameter name="log_level" transfer-ownership="none"> | |
| 22583 | 22769 | <doc xml:space="preserve" | |
| 22584 | 22770 | filename="glib/gmessages.c" | |
| 22585 | - | line="133">the log level of the message (including the | |
| 22771 | + | line="132">the log level of the message (including the | |
| 22586 | 22772 | fatal and recursion flags)</doc> | |
| 22587 | 22773 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 22588 | 22774 | </parameter> | |
| 22589 | 22775 | <parameter name="message" transfer-ownership="none"> | |
| 22590 | 22776 | <doc xml:space="preserve" | |
| 22591 | 22777 | filename="glib/gmessages.c" | |
| 22592 | - | line="135">the message to process</doc> | |
| 22778 | + | line="134">the message to process</doc> | |
| 22593 | 22779 | <type name="utf8" c:type="const gchar*"/> | |
| 22594 | 22780 | </parameter> | |
| 22595 | 22781 | <parameter name="user_data" | |
| @@ -22599,7 +22785,7 @@ This is not used if structured logging is enabled; see | |||
| 22599 | 22785 | closure="3"> | |
| 22600 | 22786 | <doc xml:space="preserve" | |
| 22601 | 22787 | filename="glib/gmessages.c" | |
| 22602 | - | line="136">user data, set in [func@GLib.log_set_handler]</doc> | |
| 22788 | + | line="135">user data, set in [func@GLib.log_set_handler]</doc> | |
| 22603 | 22789 | <type name="gpointer" c:type="gpointer"/> | |
| 22604 | 22790 | </parameter> | |
| 22605 | 22791 | </parameters> | |
| @@ -22607,7 +22793,7 @@ This is not used if structured logging is enabled; see | |||
| 22607 | 22793 | <bitfield name="LogLevelFlags" c:type="GLogLevelFlags"> | |
| 22608 | 22794 | <doc xml:space="preserve" | |
| 22609 | 22795 | filename="glib/gmessages.c" | |
| 22610 | - | line="153">Flags specifying the level of log messages. | |
| 22796 | + | line="152">Flags specifying the level of log messages. | |
| 22611 | 22797 | ||
| 22612 | 22798 | It is possible to change how GLib treats messages of the various | |
| 22613 | 22799 | levels using [func@GLib.log_set_handler] and [func@GLib.log_set_fatal_mask].</doc> | |
| @@ -22617,17 +22803,17 @@ levels using [func@GLib.log_set_handler] and [func@GLib.log_set_fatal_mask].</do | |||
| 22617 | 22803 | c:identifier="G_LOG_FLAG_RECURSION"> | |
| 22618 | 22804 | <doc xml:space="preserve" | |
| 22619 | 22805 | filename="glib/gmessages.c" | |
| 22620 | - | line="155">internal flag</doc> | |
| 22806 | + | line="154">internal flag</doc> | |
| 22621 | 22807 | </member> | |
| 22622 | 22808 | <member name="flag_fatal" value="2" c:identifier="G_LOG_FLAG_FATAL"> | |
| 22623 | 22809 | <doc xml:space="preserve" | |
| 22624 | 22810 | filename="glib/gmessages.c" | |
| 22625 | - | line="156">internal flag</doc> | |
| 22811 | + | line="155">internal flag</doc> | |
| 22626 | 22812 | </member> | |
| 22627 | 22813 | <member name="level_error" value="4" c:identifier="G_LOG_LEVEL_ERROR"> | |
| 22628 | 22814 | <doc xml:space="preserve" | |
| 22629 | 22815 | filename="glib/gmessages.c" | |
| 22630 | - | line="157">log level for errors, see [func@GLib.error]. | |
| 22816 | + | line="156">log level for errors, see [func@GLib.error]. | |
| 22631 | 22817 | This level is also used for messages produced by [func@GLib.assert].</doc> | |
| 22632 | 22818 | </member> | |
| 22633 | 22819 | <member name="level_critical" | |
| @@ -22635,7 +22821,7 @@ levels using [func@GLib.log_set_handler] and [func@GLib.log_set_fatal_mask].</do | |||
| 22635 | 22821 | c:identifier="G_LOG_LEVEL_CRITICAL"> | |
| 22636 | 22822 | <doc xml:space="preserve" | |
| 22637 | 22823 | filename="glib/gmessages.c" | |
| 22638 | - | line="159">log level for critical warning messages, see | |
| 22824 | + | line="158">log level for critical warning messages, see | |
| 22639 | 22825 | [func@GLib.critical]. This level is also used for messages produced by | |
| 22640 | 22826 | [func@GLib.return_if_fail] and [func@GLib.return_val_if_fail].</doc> | |
| 22641 | 22827 | </member> | |
| @@ -22644,35 +22830,35 @@ levels using [func@GLib.log_set_handler] and [func@GLib.log_set_fatal_mask].</do | |||
| 22644 | 22830 | c:identifier="G_LOG_LEVEL_WARNING"> | |
| 22645 | 22831 | <doc xml:space="preserve" | |
| 22646 | 22832 | filename="glib/gmessages.c" | |
| 22647 | - | line="162">log level for warnings, see [func@GLib.warning]</doc> | |
| 22833 | + | line="161">log level for warnings, see [func@GLib.warning]</doc> | |
| 22648 | 22834 | </member> | |
| 22649 | 22835 | <member name="level_message" | |
| 22650 | 22836 | value="32" | |
| 22651 | 22837 | c:identifier="G_LOG_LEVEL_MESSAGE"> | |
| 22652 | 22838 | <doc xml:space="preserve" | |
| 22653 | 22839 | filename="glib/gmessages.c" | |
| 22654 | - | line="163">log level for messages, see [func@GLib.message]</doc> | |
| 22840 | + | line="162">log level for messages, see [func@GLib.message]</doc> | |
| 22655 | 22841 | </member> | |
| 22656 | 22842 | <member name="level_info" value="64" c:identifier="G_LOG_LEVEL_INFO"> | |
| 22657 | 22843 | <doc xml:space="preserve" | |
| 22658 | 22844 | filename="glib/gmessages.c" | |
| 22659 | - | line="164">log level for informational messages, see [func@GLib.info]</doc> | |
| 22845 | + | line="163">log level for informational messages, see [func@GLib.info]</doc> | |
| 22660 | 22846 | </member> | |
| 22661 | 22847 | <member name="level_debug" value="128" c:identifier="G_LOG_LEVEL_DEBUG"> | |
| 22662 | 22848 | <doc xml:space="preserve" | |
| 22663 | 22849 | filename="glib/gmessages.c" | |
| 22664 | - | line="165">log level for debug messages, see [func@GLib.debug]</doc> | |
| 22850 | + | line="164">log level for debug messages, see [func@GLib.debug]</doc> | |
| 22665 | 22851 | </member> | |
| 22666 | 22852 | <member name="level_mask" value="-4" c:identifier="G_LOG_LEVEL_MASK"> | |
| 22667 | 22853 | <doc xml:space="preserve" | |
| 22668 | 22854 | filename="glib/gmessages.c" | |
| 22669 | - | line="166">a mask including all log levels</doc> | |
| 22855 | + | line="165">a mask including all log levels</doc> | |
| 22670 | 22856 | </member> | |
| 22671 | 22857 | </bitfield> | |
| 22672 | 22858 | <callback name="LogWriterFunc" c:type="GLogWriterFunc" version="2.50"> | |
| 22673 | 22859 | <doc xml:space="preserve" | |
| 22674 | 22860 | filename="glib/gmessages.h" | |
| 22675 | - | line="166">Writer function for log entries. A log entry is a collection of one or more | |
| 22861 | + | line="169">Writer function for log entries. A log entry is a collection of one or more | |
| 22676 | 22862 | #GLogFields, using the standard [field names from journal | |
| 22677 | 22863 | specification](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html). | |
| 22678 | 22864 | See g_log_structured() for more information. | |
| @@ -22690,11 +22876,11 @@ error handling the message (for example, if the writer function is meant to | |||
| 22690 | 22876 | send messages to a remote logging server and there is a network error), it | |
| 22691 | 22877 | should return %G_LOG_WRITER_UNHANDLED. This allows writer functions to be | |
| 22692 | 22878 | chained and fall back to simpler handlers in case of failure.</doc> | |
| 22693 | - | <source-position filename="glib/gmessages.h" line="197"/> | |
| 22879 | + | <source-position filename="glib/gmessages.h" line="200"/> | |
| 22694 | 22880 | <return-value transfer-ownership="none"> | |
| 22695 | 22881 | <doc xml:space="preserve" | |
| 22696 | 22882 | filename="glib/gmessages.h" | |
| 22697 | - | line="192">%G_LOG_WRITER_HANDLED if the log entry was handled successfully; | |
| 22883 | + | line="195">%G_LOG_WRITER_HANDLED if the log entry was handled successfully; | |
| 22698 | 22884 | %G_LOG_WRITER_UNHANDLED otherwise</doc> | |
| 22699 | 22885 | <type name="LogWriterOutput" c:type="GLogWriterOutput"/> | |
| 22700 | 22886 | </return-value> | |
| @@ -22702,13 +22888,13 @@ chained and fall back to simpler handlers in case of failure.</doc> | |||
| 22702 | 22888 | <parameter name="log_level" transfer-ownership="none"> | |
| 22703 | 22889 | <doc xml:space="preserve" | |
| 22704 | 22890 | filename="glib/gmessages.h" | |
| 22705 | - | line="168">log level of the message</doc> | |
| 22891 | + | line="171">log level of the message</doc> | |
| 22706 | 22892 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 22707 | 22893 | </parameter> | |
| 22708 | 22894 | <parameter name="fields" transfer-ownership="none"> | |
| 22709 | 22895 | <doc xml:space="preserve" | |
| 22710 | 22896 | filename="glib/gmessages.h" | |
| 22711 | - | line="169">fields forming the message</doc> | |
| 22897 | + | line="172">fields forming the message</doc> | |
| 22712 | 22898 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 22713 | 22899 | <type name="LogField" c:type="GLogField"/> | |
| 22714 | 22900 | </array> | |
| @@ -22716,7 +22902,7 @@ chained and fall back to simpler handlers in case of failure.</doc> | |||
| 22716 | 22902 | <parameter name="n_fields" transfer-ownership="none"> | |
| 22717 | 22903 | <doc xml:space="preserve" | |
| 22718 | 22904 | filename="glib/gmessages.h" | |
| 22719 | - | line="170">number of @fields</doc> | |
| 22905 | + | line="173">number of @fields</doc> | |
| 22720 | 22906 | <type name="gsize" c:type="gsize"/> | |
| 22721 | 22907 | </parameter> | |
| 22722 | 22908 | <parameter name="user_data" | |
| @@ -22726,7 +22912,7 @@ chained and fall back to simpler handlers in case of failure.</doc> | |||
| 22726 | 22912 | closure="3"> | |
| 22727 | 22913 | <doc xml:space="preserve" | |
| 22728 | 22914 | filename="glib/gmessages.h" | |
| 22729 | - | line="171">user data passed to g_log_set_writer_func()</doc> | |
| 22915 | + | line="174">user data passed to g_log_set_writer_func()</doc> | |
| 22730 | 22916 | <type name="gpointer" c:type="gpointer"/> | |
| 22731 | 22917 | </parameter> | |
| 22732 | 22918 | </parameters> | |
| @@ -22736,22 +22922,22 @@ chained and fall back to simpler handlers in case of failure.</doc> | |||
| 22736 | 22922 | c:type="GLogWriterOutput"> | |
| 22737 | 22923 | <doc xml:space="preserve" | |
| 22738 | 22924 | filename="glib/gmessages.h" | |
| 22739 | - | line="122">Return values from #GLogWriterFuncs to indicate whether the given log entry | |
| 22925 | + | line="125">Return values from #GLogWriterFuncs to indicate whether the given log entry | |
| 22740 | 22926 | was successfully handled by the writer, or whether there was an error in | |
| 22741 | 22927 | handling it (and hence a fallback writer should be used). | |
| 22742 | 22928 | ||
| 22743 | 22929 | If a #GLogWriterFunc ignores a log entry, it should return | |
| 22744 | 22930 | %G_LOG_WRITER_HANDLED.</doc> | |
| 22745 | - | <source-position filename="glib/gmessages.h" line="140"/> | |
| 22931 | + | <source-position filename="glib/gmessages.h" line="143"/> | |
| 22746 | 22932 | <member name="handled" value="1" c:identifier="G_LOG_WRITER_HANDLED"> | |
| 22747 | 22933 | <doc xml:space="preserve" | |
| 22748 | 22934 | filename="glib/gmessages.h" | |
| 22749 | - | line="124">Log writer has handled the log entry.</doc> | |
| 22935 | + | line="127">Log writer has handled the log entry.</doc> | |
| 22750 | 22936 | </member> | |
| 22751 | 22937 | <member name="unhandled" value="0" c:identifier="G_LOG_WRITER_UNHANDLED"> | |
| 22752 | 22938 | <doc xml:space="preserve" | |
| 22753 | 22939 | filename="glib/gmessages.h" | |
| 22754 | - | line="125">Log writer could not handle the log entry.</doc> | |
| 22940 | + | line="128">Log writer could not handle the log entry.</doc> | |
| 22755 | 22941 | </member> | |
| 22756 | 22942 | </enumeration> | |
| 22757 | 22943 | <constant name="MAJOR_VERSION" value="2" c:type="GLIB_MAJOR_VERSION"> | |
| @@ -22799,7 +22985,7 @@ linked against at application run time.</doc> | |||
| 22799 | 22985 | <source-position filename="glib/gtypes.h" line="76"/> | |
| 22800 | 22986 | <type name="guint8" c:type="guint8"/> | |
| 22801 | 22987 | </constant> | |
| 22802 | - | <constant name="MICRO_VERSION" value="4" c:type="GLIB_MICRO_VERSION"> | |
| 22988 | + | <constant name="MICRO_VERSION" value="0" c:type="GLIB_MICRO_VERSION"> | |
| 22803 | 22989 | <doc xml:space="preserve" | |
| 22804 | 22990 | filename="glib/gversion.c" | |
| 22805 | 22991 | line="78">The micro version number of the GLib library. | |
| @@ -22841,7 +23027,7 @@ linked against at application run time.</doc> | |||
| 22841 | 23027 | <source-position filename="glib/gtypes.h" line="74"/> | |
| 22842 | 23028 | <type name="gint8" c:type="gint8"/> | |
| 22843 | 23029 | </constant> | |
| 22844 | - | <constant name="MINOR_VERSION" value="84" c:type="GLIB_MINOR_VERSION"> | |
| 23030 | + | <constant name="MINOR_VERSION" value="86" c:type="GLIB_MINOR_VERSION"> | |
| 22845 | 23031 | <doc xml:space="preserve" | |
| 22846 | 23032 | filename="glib/gversion.c" | |
| 22847 | 23033 | line="59">The minor version number of the GLib library. | |
| @@ -22919,12 +23105,12 @@ type representing a set of sources to be handled in a main loop.</doc> | |||
| 22919 | 23105 | <constructor name="new" c:identifier="g_main_context_new"> | |
| 22920 | 23106 | <doc xml:space="preserve" | |
| 22921 | 23107 | filename="glib/gmain.c" | |
| 22922 | - | line="605">Creates a new [struct@GLib.MainContext] structure.</doc> | |
| 22923 | - | <source-position filename="glib/gmain.h" line="487"/> | |
| 23108 | + | line="649">Creates a new [struct@GLib.MainContext] structure.</doc> | |
| 23109 | + | <source-position filename="glib/gmain.h" line="488"/> | |
| 22924 | 23110 | <return-value transfer-ownership="full"> | |
| 22925 | 23111 | <doc xml:space="preserve" | |
| 22926 | 23112 | filename="glib/gmain.c" | |
| 22927 | - | line="610">the new #GMainContext</doc> | |
| 23113 | + | line="654">the new main context</doc> | |
| 22928 | 23114 | <type name="MainContext" c:type="GMainContext*"/> | |
| 22929 | 23115 | </return-value> | |
| 22930 | 23116 | </constructor> | |
| @@ -22933,20 +23119,20 @@ type representing a set of sources to be handled in a main loop.</doc> | |||
| 22933 | 23119 | version="2.72"> | |
| 22934 | 23120 | <doc xml:space="preserve" | |
| 22935 | 23121 | filename="glib/gmain.c" | |
| 22936 | - | line="618">Creates a new [struct@GLib.MainContext] structure.</doc> | |
| 22937 | - | <source-position filename="glib/gmain.h" line="490"/> | |
| 23122 | + | line="662">Creates a new [struct@GLib.MainContext] structure.</doc> | |
| 23123 | + | <source-position filename="glib/gmain.h" line="491"/> | |
| 22938 | 23124 | <return-value transfer-ownership="full"> | |
| 22939 | 23125 | <doc xml:space="preserve" | |
| 22940 | 23126 | filename="glib/gmain.c" | |
| 22941 | - | line="625">the new #GMainContext</doc> | |
| 23127 | + | line="669">the new main context</doc> | |
| 22942 | 23128 | <type name="MainContext" c:type="GMainContext*"/> | |
| 22943 | 23129 | </return-value> | |
| 22944 | 23130 | <parameters> | |
| 22945 | 23131 | <parameter name="flags" transfer-ownership="none"> | |
| 22946 | 23132 | <doc xml:space="preserve" | |
| 22947 | 23133 | filename="glib/gmain.c" | |
| 22948 | - | line="620">a bitwise-OR combination of #GMainContextFlags flags that can only be | |
| 22949 | - | set at creation time.</doc> | |
| 23134 | + | line="664">a bitwise-OR combination of flags that can only be set at creation | |
| 23135 | + | time</doc> | |
| 22950 | 23136 | <type name="MainContextFlags" c:type="GMainContextFlags"/> | |
| 22951 | 23137 | </parameter> | |
| 22952 | 23138 | </parameters> | |
| @@ -22954,9 +23140,10 @@ type representing a set of sources to be handled in a main loop.</doc> | |||
| 22954 | 23140 | <method name="acquire" c:identifier="g_main_context_acquire"> | |
| 22955 | 23141 | <doc xml:space="preserve" | |
| 22956 | 23142 | filename="glib/gmain.c" | |
| 22957 | - | line="3438">Tries to become the owner of the specified context. | |
| 23143 | + | line="3605">Tries to become the owner of the specified context. | |
| 23144 | + | ||
| 22958 | 23145 | If some other thread is the owner of the context, | |
| 22959 | - | returns %FALSE immediately. Ownership is properly | |
| 23146 | + | returns false immediately. Ownership is properly | |
| 22960 | 23147 | recursive: the owner can require ownership again | |
| 22961 | 23148 | and will release ownership when [method@GLib.MainContext.release] | |
| 22962 | 23149 | is called as many times as [method@GLib.MainContext.acquire]. | |
| @@ -22966,14 +23153,13 @@ can call [method@GLib.MainContext.prepare], [method@GLib.MainContext.query], | |||
| 22966 | 23153 | [method@GLib.MainContext.check], [method@GLib.MainContext.dispatch], | |
| 22967 | 23154 | [method@GLib.MainContext.release]. | |
| 22968 | 23155 | ||
| 22969 | - | Since 2.76 @context can be %NULL to use the global-default | |
| 23156 | + | Since 2.76 @context can be `NULL` to use the global-default | |
| 22970 | 23157 | main context.</doc> | |
| 22971 | - | <source-position filename="glib/gmain.h" line="523"/> | |
| 23158 | + | <source-position filename="glib/gmain.h" line="524"/> | |
| 22972 | 23159 | <return-value transfer-ownership="none"> | |
| 22973 | 23160 | <doc xml:space="preserve" | |
| 22974 | 23161 | filename="glib/gmain.c" | |
| 22975 | - | line="3458">%TRUE if the operation succeeded, and | |
| 22976 | - | this thread is now the owner of @context.</doc> | |
| 23162 | + | line="3626">true if this thread is now the owner of @context, false otherwise</doc> | |
| 22977 | 23163 | <type name="gboolean" c:type="gboolean"/> | |
| 22978 | 23164 | </return-value> | |
| 22979 | 23165 | <parameters> | |
| @@ -22983,7 +23169,7 @@ main context.</doc> | |||
| 22983 | 23169 | allow-none="1"> | |
| 22984 | 23170 | <doc xml:space="preserve" | |
| 22985 | 23171 | filename="glib/gmain.c" | |
| 22986 | - | line="3440">a #GMainContext (if %NULL, the global-default | |
| 23172 | + | line="3607">a main context (if `NULL`, the global-default | |
| 22987 | 23173 | main context will be used)</doc> | |
| 22988 | 23174 | <type name="MainContext" c:type="GMainContext*"/> | |
| 22989 | 23175 | </instance-parameter> | |
| @@ -22992,10 +23178,12 @@ main context.</doc> | |||
| 22992 | 23178 | <method name="add_poll" c:identifier="g_main_context_add_poll"> | |
| 22993 | 23179 | <doc xml:space="preserve" | |
| 22994 | 23180 | filename="glib/gmain.c" | |
| 22995 | - | line="4700">Adds a file descriptor to the set of file descriptors polled for | |
| 22996 | - | this context. This will very seldom be used directly. Instead | |
| 22997 | - | a typical event source will use `g_source_add_unix_fd` instead.</doc> | |
| 22998 | - | <source-position filename="glib/gmain.h" line="559"/> | |
| 23181 | + | line="4879">Adds a file descriptor to the set of file descriptors polled for | |
| 23182 | + | this context. | |
| 23183 | + | ||
| 23184 | + | This will very seldom be used directly. Instead | |
| 23185 | + | a typical event source will use `g_source_add_unix_fd()` instead.</doc> | |
| 23186 | + | <source-position filename="glib/gmain.h" line="560"/> | |
| 22999 | 23187 | <return-value transfer-ownership="none"> | |
| 23000 | 23188 | <type name="none" c:type="void"/> | |
| 23001 | 23189 | </return-value> | |
| @@ -23006,23 +23194,23 @@ a typical event source will use `g_source_add_unix_fd` instead.</doc> | |||
| 23006 | 23194 | allow-none="1"> | |
| 23007 | 23195 | <doc xml:space="preserve" | |
| 23008 | 23196 | filename="glib/gmain.c" | |
| 23009 | - | line="4702">a #GMainContext (or %NULL for the global-default | |
| 23197 | + | line="4881">a main context (or `NULL` for the global-default | |
| 23010 | 23198 | main context)</doc> | |
| 23011 | 23199 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23012 | 23200 | </instance-parameter> | |
| 23013 | 23201 | <parameter name="fd" transfer-ownership="none"> | |
| 23014 | 23202 | <doc xml:space="preserve" | |
| 23015 | 23203 | filename="glib/gmain.c" | |
| 23016 | - | line="4704">a #GPollFD structure holding information about a file | |
| 23017 | - | descriptor to watch.</doc> | |
| 23204 | + | line="4883">a [struct@GLib.PollFD] structure holding information about a file | |
| 23205 | + | descriptor to watch.</doc> | |
| 23018 | 23206 | <type name="PollFD" c:type="GPollFD*"/> | |
| 23019 | 23207 | </parameter> | |
| 23020 | 23208 | <parameter name="priority" transfer-ownership="none"> | |
| 23021 | 23209 | <doc xml:space="preserve" | |
| 23022 | 23210 | filename="glib/gmain.c" | |
| 23023 | - | line="4706">the priority for this file descriptor which should be | |
| 23024 | - | the same as the priority used for [method@GLib.Source.attach] to ensure | |
| 23025 | - | that the file descriptor is polled whenever the results may be needed.</doc> | |
| 23211 | + | line="4885">the priority for this file descriptor which should be | |
| 23212 | + | the same as the priority used for [method@GLib.Source.attach] to ensure | |
| 23213 | + | that the file descriptor is polled whenever the results may be needed.</doc> | |
| 23026 | 23214 | <type name="gint" c:type="gint"/> | |
| 23027 | 23215 | </parameter> | |
| 23028 | 23216 | </parameters> | |
| @@ -23030,7 +23218,9 @@ a typical event source will use `g_source_add_unix_fd` instead.</doc> | |||
| 23030 | 23218 | <method name="check" c:identifier="g_main_context_check"> | |
| 23031 | 23219 | <doc xml:space="preserve" | |
| 23032 | 23220 | filename="glib/gmain.c" | |
| 23033 | - | line="3995">Passes the results of polling back to the main loop. You should be | |
| 23221 | + | line="4169">Passes the results of polling back to the main loop. | |
| 23222 | + | ||
| 23223 | + | You should be | |
| 23034 | 23224 | careful to pass @fds and its length @n_fds as received from | |
| 23035 | 23225 | [method@GLib.MainContext.query], as this functions relies on assumptions | |
| 23036 | 23226 | on how @fds is filled. | |
| @@ -23038,13 +23228,13 @@ on how @fds is filled. | |||
| 23038 | 23228 | You must have successfully acquired the context with | |
| 23039 | 23229 | [method@GLib.MainContext.acquire] before you may call this function. | |
| 23040 | 23230 | ||
| 23041 | - | Since 2.76 @context can be %NULL to use the global-default | |
| 23231 | + | Since 2.76 @context can be `NULL` to use the global-default | |
| 23042 | 23232 | main context.</doc> | |
| 23043 | - | <source-position filename="glib/gmain.h" line="543"/> | |
| 23233 | + | <source-position filename="glib/gmain.h" line="544"/> | |
| 23044 | 23234 | <return-value transfer-ownership="none"> | |
| 23045 | 23235 | <doc xml:space="preserve" | |
| 23046 | 23236 | filename="glib/gmain.c" | |
| 23047 | - | line="4015">%TRUE if some sources are ready to be dispatched.</doc> | |
| 23237 | + | line="4191">true if some sources are ready to be dispatched, false otherwise</doc> | |
| 23048 | 23238 | <type name="gboolean" c:type="gboolean"/> | |
| 23049 | 23239 | </return-value> | |
| 23050 | 23240 | <parameters> | |
| @@ -23054,21 +23244,21 @@ main context.</doc> | |||
| 23054 | 23244 | allow-none="1"> | |
| 23055 | 23245 | <doc xml:space="preserve" | |
| 23056 | 23246 | filename="glib/gmain.c" | |
| 23057 | - | line="3997">a #GMainContext (if %NULL, the global-default | |
| 23247 | + | line="4171">a main context (if `NULL`, the global-default | |
| 23058 | 23248 | main context will be used)</doc> | |
| 23059 | 23249 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23060 | 23250 | </instance-parameter> | |
| 23061 | 23251 | <parameter name="max_priority" transfer-ownership="none"> | |
| 23062 | 23252 | <doc xml:space="preserve" | |
| 23063 | 23253 | filename="glib/gmain.c" | |
| 23064 | - | line="3999">the maximum numerical priority of sources to check</doc> | |
| 23254 | + | line="4173">the maximum numerical priority of sources to check</doc> | |
| 23065 | 23255 | <type name="gint" c:type="gint"/> | |
| 23066 | 23256 | </parameter> | |
| 23067 | 23257 | <parameter name="fds" transfer-ownership="none"> | |
| 23068 | 23258 | <doc xml:space="preserve" | |
| 23069 | 23259 | filename="glib/gmain.c" | |
| 23070 | - | line="4000">array of #GPollFD's that was passed to | |
| 23071 | - | the last call to [method@GLib.MainContext.query]</doc> | |
| 23260 | + | line="4174">array of [struct@GLib.PollFD]s that was passed to | |
| 23261 | + | the last call to [method@GLib.MainContext.query]</doc> | |
| 23072 | 23262 | <array length="2" zero-terminated="0" c:type="GPollFD*"> | |
| 23073 | 23263 | <type name="PollFD" c:type="GPollFD"/> | |
| 23074 | 23264 | </array> | |
| @@ -23076,7 +23266,7 @@ main context.</doc> | |||
| 23076 | 23266 | <parameter name="n_fds" transfer-ownership="none"> | |
| 23077 | 23267 | <doc xml:space="preserve" | |
| 23078 | 23268 | filename="glib/gmain.c" | |
| 23079 | - | line="4002">return value of [method@GLib.MainContext.query]</doc> | |
| 23269 | + | line="4176">return value of [method@GLib.MainContext.query]</doc> | |
| 23080 | 23270 | <type name="gint" c:type="gint"/> | |
| 23081 | 23271 | </parameter> | |
| 23082 | 23272 | </parameters> | |
| @@ -23084,14 +23274,14 @@ main context.</doc> | |||
| 23084 | 23274 | <method name="dispatch" c:identifier="g_main_context_dispatch"> | |
| 23085 | 23275 | <doc xml:space="preserve" | |
| 23086 | 23276 | filename="glib/gmain.c" | |
| 23087 | - | line="4216">Dispatches all pending sources. | |
| 23277 | + | line="4392">Dispatches all pending sources. | |
| 23088 | 23278 | ||
| 23089 | 23279 | You must have successfully acquired the context with | |
| 23090 | 23280 | [method@GLib.MainContext.acquire] before you may call this function. | |
| 23091 | 23281 | ||
| 23092 | - | Since 2.76 @context can be %NULL to use the global-default | |
| 23282 | + | Since 2.76 @context can be `NULL` to use the global-default | |
| 23093 | 23283 | main context.</doc> | |
| 23094 | - | <source-position filename="glib/gmain.h" line="548"/> | |
| 23284 | + | <source-position filename="glib/gmain.h" line="549"/> | |
| 23095 | 23285 | <return-value transfer-ownership="none"> | |
| 23096 | 23286 | <type name="none" c:type="void"/> | |
| 23097 | 23287 | </return-value> | |
| @@ -23102,7 +23292,7 @@ main context.</doc> | |||
| 23102 | 23292 | allow-none="1"> | |
| 23103 | 23293 | <doc xml:space="preserve" | |
| 23104 | 23294 | filename="glib/gmain.c" | |
| 23105 | - | line="4218">a #GMainContext (if %NULL, the global-default | |
| 23295 | + | line="4394">a main context (if `NULL`, the global-default | |
| 23106 | 23296 | main context will be used)</doc> | |
| 23107 | 23297 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23108 | 23298 | </instance-parameter> | |
| @@ -23112,14 +23302,16 @@ main context.</doc> | |||
| 23112 | 23302 | c:identifier="g_main_context_find_source_by_funcs_user_data"> | |
| 23113 | 23303 | <doc xml:space="preserve" | |
| 23114 | 23304 | filename="glib/gmain.c" | |
| 23115 | - | line="2424">Finds a source with the given source functions and user data. If | |
| 23116 | - | multiple sources exist with the same source function and user data, | |
| 23305 | + | line="2575">Finds a source with the given source functions and user data. | |
| 23306 | + | ||
| 23307 | + | If multiple sources exist with the same source function and user data, | |
| 23117 | 23308 | the first one found will be returned.</doc> | |
| 23118 | - | <source-position filename="glib/gmain.h" line="514"/> | |
| 23119 | - | <return-value transfer-ownership="none"> | |
| 23309 | + | <source-position filename="glib/gmain.h" line="515"/> | |
| 23310 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 23120 | 23311 | <doc xml:space="preserve" | |
| 23121 | 23312 | filename="glib/gmain.c" | |
| 23122 | - | line="2435">the source, if one was found, otherwise %NULL</doc> | |
| 23313 | + | line="2587">the source, if one was found, | |
| 23314 | + | otherwise `NULL`</doc> | |
| 23123 | 23315 | <type name="Source" c:type="GSource*"/> | |
| 23124 | 23316 | </return-value> | |
| 23125 | 23317 | <parameters> | |
| @@ -23129,14 +23321,14 @@ the first one found will be returned.</doc> | |||
| 23129 | 23321 | allow-none="1"> | |
| 23130 | 23322 | <doc xml:space="preserve" | |
| 23131 | 23323 | filename="glib/gmain.c" | |
| 23132 | - | line="2426">a #GMainContext (if %NULL, the global-default | |
| 23324 | + | line="2577">a main context (if `NULL`, the global-default | |
| 23133 | 23325 | main context will be used).</doc> | |
| 23134 | 23326 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23135 | 23327 | </instance-parameter> | |
| 23136 | 23328 | <parameter name="funcs" transfer-ownership="none"> | |
| 23137 | 23329 | <doc xml:space="preserve" | |
| 23138 | 23330 | filename="glib/gmain.c" | |
| 23139 | - | line="2428">the @source_funcs passed to [ctor@GLib.Source.new].</doc> | |
| 23331 | + | line="2579">the @source_funcs passed to [ctor@GLib.Source.new]</doc> | |
| 23140 | 23332 | <type name="SourceFuncs" c:type="GSourceFuncs*"/> | |
| 23141 | 23333 | </parameter> | |
| 23142 | 23334 | <parameter name="user_data" | |
| @@ -23145,7 +23337,7 @@ the first one found will be returned.</doc> | |||
| 23145 | 23337 | allow-none="1"> | |
| 23146 | 23338 | <doc xml:space="preserve" | |
| 23147 | 23339 | filename="glib/gmain.c" | |
| 23148 | - | line="2429">the user data from the callback.</doc> | |
| 23340 | + | line="2580">the user data from the callback</doc> | |
| 23149 | 23341 | <type name="gpointer" c:type="gpointer"/> | |
| 23150 | 23342 | </parameter> | |
| 23151 | 23343 | </parameters> | |
| @@ -23154,7 +23346,7 @@ the first one found will be returned.</doc> | |||
| 23154 | 23346 | c:identifier="g_main_context_find_source_by_id"> | |
| 23155 | 23347 | <doc xml:space="preserve" | |
| 23156 | 23348 | filename="glib/gmain.c" | |
| 23157 | - | line="2378">Finds a #GSource given a pair of context and ID. | |
| 23349 | + | line="2529">Finds a [struct@GLib.Source] given a pair of context and ID. | |
| 23158 | 23350 | ||
| 23159 | 23351 | It is a programmer error to attempt to look up a non-existent source. | |
| 23160 | 23352 | ||
| @@ -23166,11 +23358,11 @@ idle may already have run and been removed by the time this function | |||
| 23166 | 23358 | is called on its (now invalid) source ID. This source ID may have | |
| 23167 | 23359 | been reissued, leading to the operation being performed against the | |
| 23168 | 23360 | wrong source.</doc> | |
| 23169 | - | <source-position filename="glib/gmain.h" line="508"/> | |
| 23361 | + | <source-position filename="glib/gmain.h" line="509"/> | |
| 23170 | 23362 | <return-value transfer-ownership="none"> | |
| 23171 | 23363 | <doc xml:space="preserve" | |
| 23172 | 23364 | filename="glib/gmain.c" | |
| 23173 | - | line="2397">the #GSource</doc> | |
| 23365 | + | line="2548">the source</doc> | |
| 23174 | 23366 | <type name="Source" c:type="GSource*"/> | |
| 23175 | 23367 | </return-value> | |
| 23176 | 23368 | <parameters> | |
| @@ -23180,14 +23372,14 @@ wrong source.</doc> | |||
| 23180 | 23372 | allow-none="1"> | |
| 23181 | 23373 | <doc xml:space="preserve" | |
| 23182 | 23374 | filename="glib/gmain.c" | |
| 23183 | - | line="2380">a #GMainContext (if %NULL, the global-default | |
| 23375 | + | line="2531">a main context (if `NULL`, the global-default | |
| 23184 | 23376 | main context will be used)</doc> | |
| 23185 | 23377 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23186 | 23378 | </instance-parameter> | |
| 23187 | 23379 | <parameter name="source_id" transfer-ownership="none"> | |
| 23188 | 23380 | <doc xml:space="preserve" | |
| 23189 | 23381 | filename="glib/gmain.c" | |
| 23190 | - | line="2382">the source ID, as returned by [method@GLib.Source.get_id].</doc> | |
| 23382 | + | line="2533">the source ID, as returned by [method@GLib.Source.get_id]</doc> | |
| 23191 | 23383 | <type name="guint" c:type="guint"/> | |
| 23192 | 23384 | </parameter> | |
| 23193 | 23385 | </parameters> | |
| @@ -23196,14 +23388,16 @@ wrong source.</doc> | |||
| 23196 | 23388 | c:identifier="g_main_context_find_source_by_user_data"> | |
| 23197 | 23389 | <doc xml:space="preserve" | |
| 23198 | 23390 | filename="glib/gmain.c" | |
| 23199 | - | line="2475">Finds a source with the given user data for the callback. If | |
| 23200 | - | multiple sources exist with the same user data, the first | |
| 23391 | + | line="2628">Finds a source with the given user data for the callback. | |
| 23392 | + | ||
| 23393 | + | If multiple sources exist with the same user data, the first | |
| 23201 | 23394 | one found will be returned.</doc> | |
| 23202 | - | <source-position filename="glib/gmain.h" line="511"/> | |
| 23203 | - | <return-value transfer-ownership="none"> | |
| 23395 | + | <source-position filename="glib/gmain.h" line="512"/> | |
| 23396 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 23204 | 23397 | <doc xml:space="preserve" | |
| 23205 | 23398 | filename="glib/gmain.c" | |
| 23206 | - | line="2485">the source, if one was found, otherwise %NULL</doc> | |
| 23399 | + | line="2639">the source, if one was found, | |
| 23400 | + | otherwise `NULL`</doc> | |
| 23207 | 23401 | <type name="Source" c:type="GSource*"/> | |
| 23208 | 23402 | </return-value> | |
| 23209 | 23403 | <parameters> | |
| @@ -23213,7 +23407,7 @@ one found will be returned.</doc> | |||
| 23213 | 23407 | allow-none="1"> | |
| 23214 | 23408 | <doc xml:space="preserve" | |
| 23215 | 23409 | filename="glib/gmain.c" | |
| 23216 | - | line="2477">a #GMainContext (if %NULL, the global-default | |
| 23410 | + | line="2630">a main context (if `NULL`, the global-default | |
| 23217 | 23411 | main context will be used)</doc> | |
| 23218 | 23412 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23219 | 23413 | </instance-parameter> | |
| @@ -23223,7 +23417,7 @@ one found will be returned.</doc> | |||
| 23223 | 23417 | allow-none="1"> | |
| 23224 | 23418 | <doc xml:space="preserve" | |
| 23225 | 23419 | filename="glib/gmain.c" | |
| 23226 | - | line="2479">the user_data for the callback.</doc> | |
| 23420 | + | line="2632">the user_data for the callback</doc> | |
| 23227 | 23421 | <type name="gpointer" c:type="gpointer"/> | |
| 23228 | 23422 | </parameter> | |
| 23229 | 23423 | </parameters> | |
| @@ -23233,12 +23427,12 @@ one found will be returned.</doc> | |||
| 23233 | 23427 | introspectable="0"> | |
| 23234 | 23428 | <doc xml:space="preserve" | |
| 23235 | 23429 | filename="glib/gmain.c" | |
| 23236 | - | line="4932">Gets the poll function set by [method@GLib.MainContext.set_poll_func].</doc> | |
| 23237 | - | <source-position filename="glib/gmain.h" line="554"/> | |
| 23430 | + | line="5115">Gets the poll function set by [method@GLib.MainContext.set_poll_func].</doc> | |
| 23431 | + | <source-position filename="glib/gmain.h" line="555"/> | |
| 23238 | 23432 | <return-value> | |
| 23239 | 23433 | <doc xml:space="preserve" | |
| 23240 | 23434 | filename="glib/gmain.c" | |
| 23241 | - | line="4939">the poll function</doc> | |
| 23435 | + | line="5122">the poll function</doc> | |
| 23242 | 23436 | <type name="PollFunc" c:type="GPollFunc"/> | |
| 23243 | 23437 | </return-value> | |
| 23244 | 23438 | <parameters> | |
| @@ -23248,7 +23442,7 @@ one found will be returned.</doc> | |||
| 23248 | 23442 | allow-none="1"> | |
| 23249 | 23443 | <doc xml:space="preserve" | |
| 23250 | 23444 | filename="glib/gmain.c" | |
| 23251 | - | line="4934">a #GMainContext (if %NULL, the global-default | |
| 23445 | + | line="5117">a main context (if `NULL`, the global-default | |
| 23252 | 23446 | main context will be used)</doc> | |
| 23253 | 23447 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23254 | 23448 | </instance-parameter> | |
| @@ -23260,16 +23454,16 @@ one found will be returned.</doc> | |||
| 23260 | 23454 | introspectable="0"> | |
| 23261 | 23455 | <doc xml:space="preserve" | |
| 23262 | 23456 | filename="glib/gmain.c" | |
| 23263 | - | line="6461">Invokes a function in such a way that @context is owned during the | |
| 23457 | + | line="6646">Invokes a function in such a way that @context is owned during the | |
| 23264 | 23458 | invocation of @function. | |
| 23265 | 23459 | ||
| 23266 | - | If @context is %NULL then the global-default main context — as | |
| 23460 | + | If @context is `NULL` then the global-default main context — as | |
| 23267 | 23461 | returned by [func@GLib.MainContext.default] — is used. | |
| 23268 | 23462 | ||
| 23269 | 23463 | If @context is owned by the current thread, @function is called | |
| 23270 | 23464 | directly. Otherwise, if @context is the thread-default main context | |
| 23271 | - | of the current thread and [method@GLib.MainContext.acquire] succeeds, then | |
| 23272 | - | @function is called and [method@GLib.MainContext.release] is called | |
| 23465 | + | of the current thread and [method@GLib.MainContext.acquire] succeeds, | |
| 23466 | + | then @function is called and [method@GLib.MainContext.release] is called | |
| 23273 | 23467 | afterwards. | |
| 23274 | 23468 | ||
| 23275 | 23469 | In any other case, an idle source is created to call @function and | |
| @@ -23278,10 +23472,10 @@ thread). The idle source is attached with [const@GLib.PRIORITY_DEFAULT] | |||
| 23278 | 23472 | priority. If you want a different priority, use | |
| 23279 | 23473 | [method@GLib.MainContext.invoke_full]. | |
| 23280 | 23474 | ||
| 23281 | - | Note that, as with normal idle functions, @function should probably | |
| 23282 | - | return %FALSE. If it returns %TRUE, it will be continuously run in a | |
| 23283 | - | loop (and may prevent this call from returning).</doc> | |
| 23284 | - | <source-position filename="glib/gmain.h" line="983"/> | |
| 23475 | + | Note that, as with normal idle functions, @function should probably return | |
| 23476 | + | [const@GLib.SOURCE_REMOVE]. If it returns [const@GLib.SOURCE_CONTINUE], it | |
| 23477 | + | will be continuously run in a loop (and may prevent this call from returning).</doc> | |
| 23478 | + | <source-position filename="glib/gmain.h" line="986"/> | |
| 23285 | 23479 | <return-value transfer-ownership="none"> | |
| 23286 | 23480 | <type name="none" c:type="void"/> | |
| 23287 | 23481 | </return-value> | |
| @@ -23292,14 +23486,14 @@ loop (and may prevent this call from returning).</doc> | |||
| 23292 | 23486 | allow-none="1"> | |
| 23293 | 23487 | <doc xml:space="preserve" | |
| 23294 | 23488 | filename="glib/gmain.c" | |
| 23295 | - | line="6463">a #GMainContext, or %NULL for the global-default | |
| 23489 | + | line="6648">a main context, or `NULL` for the global-default | |
| 23296 | 23490 | main context</doc> | |
| 23297 | 23491 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23298 | 23492 | </instance-parameter> | |
| 23299 | 23493 | <parameter name="function" transfer-ownership="none" closure="1"> | |
| 23300 | 23494 | <doc xml:space="preserve" | |
| 23301 | 23495 | filename="glib/gmain.c" | |
| 23302 | - | line="6465">function to call</doc> | |
| 23496 | + | line="6650">function to call</doc> | |
| 23303 | 23497 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 23304 | 23498 | </parameter> | |
| 23305 | 23499 | <parameter name="data" | |
| @@ -23308,7 +23502,7 @@ loop (and may prevent this call from returning).</doc> | |||
| 23308 | 23502 | allow-none="1"> | |
| 23309 | 23503 | <doc xml:space="preserve" | |
| 23310 | 23504 | filename="glib/gmain.c" | |
| 23311 | - | line="6466">data to pass to @function</doc> | |
| 23505 | + | line="6651">data to pass to @function</doc> | |
| 23312 | 23506 | <type name="gpointer" c:type="gpointer"/> | |
| 23313 | 23507 | </parameter> | |
| 23314 | 23508 | </parameters> | |
| @@ -23318,16 +23512,17 @@ loop (and may prevent this call from returning).</doc> | |||
| 23318 | 23512 | version="2.28"> | |
| 23319 | 23513 | <doc xml:space="preserve" | |
| 23320 | 23514 | filename="glib/gmain.c" | |
| 23321 | - | line="6502">Invokes a function in such a way that @context is owned during the | |
| 23515 | + | line="6687">Invokes a function in such a way that @context is owned during the | |
| 23322 | 23516 | invocation of @function. | |
| 23323 | 23517 | ||
| 23324 | 23518 | This function is the same as [method@GLib.MainContext.invoke] except that it | |
| 23325 | 23519 | lets you specify the priority in case @function ends up being | |
| 23326 | - | scheduled as an idle and also lets you give a #GDestroyNotify for @data. | |
| 23520 | + | scheduled as an idle and also lets you give a [callback@GLib.DestroyNotify] | |
| 23521 | + | for @data. | |
| 23327 | 23522 | ||
| 23328 | - | @notify should not assume that it is called from any particular | |
| 23523 | + | The @notify function should not assume that it is called from any particular | |
| 23329 | 23524 | thread or with any particular context acquired.</doc> | |
| 23330 | - | <source-position filename="glib/gmain.h" line="977"/> | |
| 23525 | + | <source-position filename="glib/gmain.h" line="980"/> | |
| 23331 | 23526 | <return-value transfer-ownership="none"> | |
| 23332 | 23527 | <type name="none" c:type="void"/> | |
| 23333 | 23528 | </return-value> | |
| @@ -23338,14 +23533,14 @@ thread or with any particular context acquired.</doc> | |||
| 23338 | 23533 | allow-none="1"> | |
| 23339 | 23534 | <doc xml:space="preserve" | |
| 23340 | 23535 | filename="glib/gmain.c" | |
| 23341 | - | line="6504">a #GMainContext, or %NULL for the global-default | |
| 23536 | + | line="6689">a main context, or `NULL` for the global-default | |
| 23342 | 23537 | main context</doc> | |
| 23343 | 23538 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23344 | 23539 | </instance-parameter> | |
| 23345 | 23540 | <parameter name="priority" transfer-ownership="none"> | |
| 23346 | 23541 | <doc xml:space="preserve" | |
| 23347 | 23542 | filename="glib/gmain.c" | |
| 23348 | - | line="6506">the priority at which to run @function</doc> | |
| 23543 | + | line="6691">the priority at which to run @function</doc> | |
| 23349 | 23544 | <type name="gint" c:type="gint"/> | |
| 23350 | 23545 | </parameter> | |
| 23351 | 23546 | <parameter name="function" | |
| @@ -23355,7 +23550,7 @@ thread or with any particular context acquired.</doc> | |||
| 23355 | 23550 | destroy="3"> | |
| 23356 | 23551 | <doc xml:space="preserve" | |
| 23357 | 23552 | filename="glib/gmain.c" | |
| 23358 | - | line="6507">function to call</doc> | |
| 23553 | + | line="6692">function to call</doc> | |
| 23359 | 23554 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 23360 | 23555 | </parameter> | |
| 23361 | 23556 | <parameter name="data" | |
| @@ -23364,7 +23559,7 @@ thread or with any particular context acquired.</doc> | |||
| 23364 | 23559 | allow-none="1"> | |
| 23365 | 23560 | <doc xml:space="preserve" | |
| 23366 | 23561 | filename="glib/gmain.c" | |
| 23367 | - | line="6508">data to pass to @function</doc> | |
| 23562 | + | line="6693">data to pass to @function</doc> | |
| 23368 | 23563 | <type name="gpointer" c:type="gpointer"/> | |
| 23369 | 23564 | </parameter> | |
| 23370 | 23565 | <parameter name="notify" | |
| @@ -23374,7 +23569,7 @@ thread or with any particular context acquired.</doc> | |||
| 23374 | 23569 | scope="async"> | |
| 23375 | 23570 | <doc xml:space="preserve" | |
| 23376 | 23571 | filename="glib/gmain.c" | |
| 23377 | - | line="6509">a function to call when @data is no longer in use, or %NULL.</doc> | |
| 23572 | + | line="6694">a function to call when @data is no longer in use</doc> | |
| 23378 | 23573 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 23379 | 23574 | </parameter> | |
| 23380 | 23575 | </parameters> | |
| @@ -23384,15 +23579,17 @@ thread or with any particular context acquired.</doc> | |||
| 23384 | 23579 | version="2.10"> | |
| 23385 | 23580 | <doc xml:space="preserve" | |
| 23386 | 23581 | filename="glib/gmain.c" | |
| 23387 | - | line="5005">Determines whether this thread holds the (recursive) | |
| 23388 | - | ownership of this [struct@GLib.MainContext]. This is useful to | |
| 23582 | + | line="5191">Determines whether this thread holds the (recursive) | |
| 23583 | + | ownership of this [struct@GLib.MainContext]. | |
| 23584 | + | ||
| 23585 | + | This is useful to | |
| 23389 | 23586 | know before waiting on another thread that may be | |
| 23390 | 23587 | blocking to get ownership of @context.</doc> | |
| 23391 | - | <source-position filename="glib/gmain.h" line="527"/> | |
| 23588 | + | <source-position filename="glib/gmain.h" line="528"/> | |
| 23392 | 23589 | <return-value transfer-ownership="none"> | |
| 23393 | 23590 | <doc xml:space="preserve" | |
| 23394 | 23591 | filename="glib/gmain.c" | |
| 23395 | - | line="5015">%TRUE if current thread is owner of @context.</doc> | |
| 23592 | + | line="5203">true if current thread is owner of @context, false otherwise</doc> | |
| 23396 | 23593 | <type name="gboolean" c:type="gboolean"/> | |
| 23397 | 23594 | </return-value> | |
| 23398 | 23595 | <parameters> | |
| @@ -23402,7 +23599,7 @@ blocking to get ownership of @context.</doc> | |||
| 23402 | 23599 | allow-none="1"> | |
| 23403 | 23600 | <doc xml:space="preserve" | |
| 23404 | 23601 | filename="glib/gmain.c" | |
| 23405 | - | line="5007">a #GMainContext (if %NULL, the global-default | |
| 23602 | + | line="5193">a main context (if `NULL`, the global-default | |
| 23406 | 23603 | main context will be used)</doc> | |
| 23407 | 23604 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23408 | 23605 | </instance-parameter> | |
| @@ -23411,23 +23608,24 @@ blocking to get ownership of @context.</doc> | |||
| 23411 | 23608 | <method name="iteration" c:identifier="g_main_context_iteration"> | |
| 23412 | 23609 | <doc xml:space="preserve" | |
| 23413 | 23610 | filename="glib/gmain.c" | |
| 23414 | - | line="4349">Runs a single iteration for the given main loop. This involves | |
| 23611 | + | line="4525">Runs a single iteration for the given main loop. | |
| 23612 | + | ||
| 23613 | + | This involves | |
| 23415 | 23614 | checking to see if any event sources are ready to be processed, | |
| 23416 | - | then if no events sources are ready and @may_block is %TRUE, waiting | |
| 23615 | + | then if no events sources are ready and @may_block is true, waiting | |
| 23417 | 23616 | for a source to become ready, then dispatching the highest priority | |
| 23418 | - | events sources that are ready. Otherwise, if @may_block is %FALSE | |
| 23419 | - | sources are not waited to become ready, only those highest priority | |
| 23420 | - | events sources will be dispatched (if any), that are ready at this | |
| 23421 | - | given moment without further waiting. | |
| 23617 | + | events sources that are ready. Otherwise, if @may_block is false, | |
| 23618 | + | this function does not wait for sources to become ready, and only the highest | |
| 23619 | + | priority sources which are already ready (if any) will be dispatched. | |
| 23422 | 23620 | ||
| 23423 | - | Note that even when @may_block is %TRUE, it is still possible for | |
| 23424 | - | [method@GLib.MainContext.iteration] to return %FALSE, since the wait may | |
| 23621 | + | Note that even when @may_block is true, it is still possible for | |
| 23622 | + | [method@GLib.MainContext.iteration] to return false, since the wait may | |
| 23425 | 23623 | be interrupted for other reasons than an event source becoming ready.</doc> | |
| 23426 | - | <source-position filename="glib/gmain.h" line="500"/> | |
| 23624 | + | <source-position filename="glib/gmain.h" line="501"/> | |
| 23427 | 23625 | <return-value transfer-ownership="none"> | |
| 23428 | 23626 | <doc xml:space="preserve" | |
| 23429 | 23627 | filename="glib/gmain.c" | |
| 23430 | - | line="4368">%TRUE if events were dispatched.</doc> | |
| 23628 | + | line="4545">true if events were dispatched, false otherwise</doc> | |
| 23431 | 23629 | <type name="gboolean" c:type="gboolean"/> | |
| 23432 | 23630 | </return-value> | |
| 23433 | 23631 | <parameters> | |
| @@ -23437,14 +23635,14 @@ be interrupted for other reasons than an event source becoming ready.</doc> | |||
| 23437 | 23635 | allow-none="1"> | |
| 23438 | 23636 | <doc xml:space="preserve" | |
| 23439 | 23637 | filename="glib/gmain.c" | |
| 23440 | - | line="4351">a #GMainContext (if %NULL, the global-default | |
| 23638 | + | line="4527">a main context (if `NULL`, the global-default | |
| 23441 | 23639 | main context will be used)</doc> | |
| 23442 | 23640 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23443 | 23641 | </instance-parameter> | |
| 23444 | 23642 | <parameter name="may_block" transfer-ownership="none"> | |
| 23445 | 23643 | <doc xml:space="preserve" | |
| 23446 | 23644 | filename="glib/gmain.c" | |
| 23447 | - | line="4353">whether the call may block.</doc> | |
| 23645 | + | line="4529">whether the call may block</doc> | |
| 23448 | 23646 | <type name="gboolean" c:type="gboolean"/> | |
| 23449 | 23647 | </parameter> | |
| 23450 | 23648 | </parameters> | |
| @@ -23452,12 +23650,12 @@ be interrupted for other reasons than an event source becoming ready.</doc> | |||
| 23452 | 23650 | <method name="pending" c:identifier="g_main_context_pending"> | |
| 23453 | 23651 | <doc xml:space="preserve" | |
| 23454 | 23652 | filename="glib/gmain.c" | |
| 23455 | - | line="4325">Checks if any sources have pending events for the given context.</doc> | |
| 23456 | - | <source-position filename="glib/gmain.h" line="503"/> | |
| 23653 | + | line="4501">Checks if any sources have pending events for the given context.</doc> | |
| 23654 | + | <source-position filename="glib/gmain.h" line="504"/> | |
| 23457 | 23655 | <return-value transfer-ownership="none"> | |
| 23458 | 23656 | <doc xml:space="preserve" | |
| 23459 | 23657 | filename="glib/gmain.c" | |
| 23460 | - | line="4332">%TRUE if events are pending.</doc> | |
| 23658 | + | line="4508">true if events are pending, false otherwise</doc> | |
| 23461 | 23659 | <type name="gboolean" c:type="gboolean"/> | |
| 23462 | 23660 | </return-value> | |
| 23463 | 23661 | <parameters> | |
| @@ -23467,7 +23665,7 @@ be interrupted for other reasons than an event source becoming ready.</doc> | |||
| 23467 | 23665 | allow-none="1"> | |
| 23468 | 23666 | <doc xml:space="preserve" | |
| 23469 | 23667 | filename="glib/gmain.c" | |
| 23470 | - | line="4327">a #GMainContext (if %NULL, the global-default | |
| 23668 | + | line="4503">a main context (if `NULL`, the global-default | |
| 23471 | 23669 | main context will be used)</doc> | |
| 23472 | 23670 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23473 | 23671 | </instance-parameter> | |
| @@ -23478,9 +23676,9 @@ be interrupted for other reasons than an event source becoming ready.</doc> | |||
| 23478 | 23676 | version="2.22"> | |
| 23479 | 23677 | <doc xml:space="preserve" | |
| 23480 | 23678 | filename="glib/gmain.c" | |
| 23481 | - | line="814">Pops @context off the thread-default context stack (verifying that | |
| 23679 | + | line="854">Pops @context off the thread-default context stack (verifying that | |
| 23482 | 23680 | it was on the top of the stack).</doc> | |
| 23483 | - | <source-position filename="glib/gmain.h" line="576"/> | |
| 23681 | + | <source-position filename="glib/gmain.h" line="577"/> | |
| 23484 | 23682 | <return-value transfer-ownership="none"> | |
| 23485 | 23683 | <type name="none" c:type="void"/> | |
| 23486 | 23684 | </return-value> | |
| @@ -23491,7 +23689,7 @@ it was on the top of the stack).</doc> | |||
| 23491 | 23689 | allow-none="1"> | |
| 23492 | 23690 | <doc xml:space="preserve" | |
| 23493 | 23691 | filename="glib/gmain.c" | |
| 23494 | - | line="816">a #GMainContext, or %NULL for the global-default | |
| 23692 | + | line="856">a main context, or `NULL` for the global-default | |
| 23495 | 23693 | main context</doc> | |
| 23496 | 23694 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23497 | 23695 | </instance-parameter> | |
| @@ -23500,17 +23698,19 @@ it was on the top of the stack).</doc> | |||
| 23500 | 23698 | <method name="prepare" c:identifier="g_main_context_prepare"> | |
| 23501 | 23699 | <doc xml:space="preserve" | |
| 23502 | 23700 | filename="glib/gmain.c" | |
| 23503 | - | line="3658">Prepares to poll sources within a main loop. The resulting information | |
| 23701 | + | line="3828">Prepares to poll sources within a main loop. | |
| 23702 | + | ||
| 23703 | + | The resulting information | |
| 23504 | 23704 | for polling is determined by calling [method@GLib.MainContext.query]. | |
| 23505 | 23705 | ||
| 23506 | 23706 | You must have successfully acquired the context with | |
| 23507 | 23707 | [method@GLib.MainContext.acquire] before you may call this function.</doc> | |
| 23508 | - | <source-position filename="glib/gmain.h" line="534"/> | |
| 23708 | + | <source-position filename="glib/gmain.h" line="535"/> | |
| 23509 | 23709 | <return-value transfer-ownership="none"> | |
| 23510 | 23710 | <doc xml:space="preserve" | |
| 23511 | 23711 | filename="glib/gmain.c" | |
| 23512 | - | line="3671">%TRUE if some source is ready to be dispatched | |
| 23513 | - | prior to polling.</doc> | |
| 23712 | + | line="3843">true if some source is ready to be dispatched prior to polling, | |
| 23713 | + | false otherwise</doc> | |
| 23514 | 23714 | <type name="gboolean" c:type="gboolean"/> | |
| 23515 | 23715 | </return-value> | |
| 23516 | 23716 | <parameters> | |
| @@ -23520,7 +23720,7 @@ You must have successfully acquired the context with | |||
| 23520 | 23720 | allow-none="1"> | |
| 23521 | 23721 | <doc xml:space="preserve" | |
| 23522 | 23722 | filename="glib/gmain.c" | |
| 23523 | - | line="3660">a #GMainContext (if %NULL, the global-default | |
| 23723 | + | line="3830">a main context (if `NULL`, the global-default | |
| 23524 | 23724 | main context will be used)</doc> | |
| 23525 | 23725 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23526 | 23726 | </instance-parameter> | |
| @@ -23532,8 +23732,8 @@ You must have successfully acquired the context with | |||
| 23532 | 23732 | allow-none="1"> | |
| 23533 | 23733 | <doc xml:space="preserve" | |
| 23534 | 23734 | filename="glib/gmain.c" | |
| 23535 | - | line="3662">location to store priority of highest priority | |
| 23536 | - | source already ready.</doc> | |
| 23735 | + | line="3832">location to store priority of highest priority | |
| 23736 | + | source already ready</doc> | |
| 23537 | 23737 | <type name="gint" c:type="gint*"/> | |
| 23538 | 23738 | </parameter> | |
| 23539 | 23739 | </parameters> | |
| @@ -23543,7 +23743,7 @@ You must have successfully acquired the context with | |||
| 23543 | 23743 | version="2.22"> | |
| 23544 | 23744 | <doc xml:space="preserve" | |
| 23545 | 23745 | filename="glib/gmain.c" | |
| 23546 | - | line="741">Acquires @context and sets it as the thread-default context for the | |
| 23746 | + | line="781">Acquires @context and sets it as the thread-default context for the | |
| 23547 | 23747 | current thread. This will cause certain asynchronous operations | |
| 23548 | 23748 | (such as most [Gio](../gio/index.html)-based I/O) which are | |
| 23549 | 23749 | started in this thread to run under @context and deliver their | |
| @@ -23561,8 +23761,8 @@ ever call [method@GLib.MainContext.pop_thread_default], assuming you want | |||
| 23561 | 23761 | the new [struct@GLib.MainContext] to be the default for the whole lifecycle | |
| 23562 | 23762 | of the thread. | |
| 23563 | 23763 | ||
| 23564 | - | If you don't have control over how the new thread was created (e.g. | |
| 23565 | - | in the new thread isn't newly created, or if the thread life | |
| 23764 | + | If you don’t have control over how the new thread was created (e.g. | |
| 23765 | + | in the new thread isn’t newly created, or if the thread life | |
| 23566 | 23766 | cycle is managed by a #GThreadPool), it is always suggested to wrap | |
| 23567 | 23767 | the logic that needs to use the new [struct@GLib.MainContext] inside a | |
| 23568 | 23768 | [method@GLib.MainContext.push_thread_default] / | |
| @@ -23580,9 +23780,9 @@ ensure that no other asynchronous operations accidentally get | |||
| 23580 | 23780 | started while the non-default context is active. | |
| 23581 | 23781 | ||
| 23582 | 23782 | Beware that libraries that predate this function may not correctly | |
| 23583 | - | handle being used from a thread with a thread-default context. Eg, | |
| 23584 | - | see g_file_supports_thread_contexts().</doc> | |
| 23585 | - | <source-position filename="glib/gmain.h" line="574"/> | |
| 23783 | + | handle being used from a thread with a thread-default context. For example, | |
| 23784 | + | see `g_file_supports_thread_contexts()`.</doc> | |
| 23785 | + | <source-position filename="glib/gmain.h" line="575"/> | |
| 23586 | 23786 | <return-value transfer-ownership="none"> | |
| 23587 | 23787 | <type name="none" c:type="void"/> | |
| 23588 | 23788 | </return-value> | |
| @@ -23593,7 +23793,7 @@ see g_file_supports_thread_contexts().</doc> | |||
| 23593 | 23793 | allow-none="1"> | |
| 23594 | 23794 | <doc xml:space="preserve" | |
| 23595 | 23795 | filename="glib/gmain.c" | |
| 23596 | - | line="743">a #GMainContext, or %NULL for the global-default | |
| 23796 | + | line="783">a main context, or `NULL` for the global-default | |
| 23597 | 23797 | main context</doc> | |
| 23598 | 23798 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23599 | 23799 | </instance-parameter> | |
| @@ -23604,7 +23804,7 @@ see g_file_supports_thread_contexts().</doc> | |||
| 23604 | 23804 | version="2.64"> | |
| 23605 | 23805 | <doc xml:space="preserve" | |
| 23606 | 23806 | filename="glib/gmain.h" | |
| 23607 | - | line="591">Push @main_context as the new thread-default main context for the current | |
| 23807 | + | line="592">Push @main_context as the new thread-default main context for the current | |
| 23608 | 23808 | thread, using [method@GLib.MainContext.push_thread_default], and return a | |
| 23609 | 23809 | new [alias@GLib.MainContextPusher]. Pop with g_main_context_pusher_free(). | |
| 23610 | 23810 | Using [method@GLib.MainContext.pop_thread_default] on @main_context while a | |
| @@ -23641,18 +23841,18 @@ my_object_do_stuff (MyObject *self) | |||
| 23641 | 23841 | // Code with main context no longer the thread default here | |
| 23642 | 23842 | } | |
| 23643 | 23843 | ]|</doc> | |
| 23644 | - | <source-position filename="glib/gmain.h" line="638"/> | |
| 23844 | + | <source-position filename="glib/gmain.h" line="639"/> | |
| 23645 | 23845 | <return-value transfer-ownership="full"> | |
| 23646 | 23846 | <doc xml:space="preserve" | |
| 23647 | 23847 | filename="glib/gmain.h" | |
| 23648 | - | line="633">a #GMainContextPusher</doc> | |
| 23848 | + | line="634">a #GMainContextPusher</doc> | |
| 23649 | 23849 | <type name="MainContextPusher" c:type="GMainContextPusher*"/> | |
| 23650 | 23850 | </return-value> | |
| 23651 | 23851 | <parameters> | |
| 23652 | 23852 | <instance-parameter name="main_context" transfer-ownership="none"> | |
| 23653 | 23853 | <doc xml:space="preserve" | |
| 23654 | 23854 | filename="glib/gmain.h" | |
| 23655 | - | line="593">a main context to push</doc> | |
| 23855 | + | line="594">a main context to push</doc> | |
| 23656 | 23856 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23657 | 23857 | </instance-parameter> | |
| 23658 | 23858 | </parameters> | |
| @@ -23660,20 +23860,22 @@ my_object_do_stuff (MyObject *self) | |||
| 23660 | 23860 | <method name="query" c:identifier="g_main_context_query"> | |
| 23661 | 23861 | <doc xml:space="preserve" | |
| 23662 | 23862 | filename="glib/gmain.c" | |
| 23663 | - | line="3878">Determines information necessary to poll this main loop. You should | |
| 23863 | + | line="4050">Determines information necessary to poll this main loop. | |
| 23864 | + | ||
| 23865 | + | You should | |
| 23664 | 23866 | be careful to pass the resulting @fds array and its length @n_fds | |
| 23665 | - | as is when calling [method@GLib.MainContext.check], as this function relies | |
| 23867 | + | as-is when calling [method@GLib.MainContext.check], as this function relies | |
| 23666 | 23868 | on assumptions made when the array is filled. | |
| 23667 | 23869 | ||
| 23668 | 23870 | You must have successfully acquired the context with | |
| 23669 | 23871 | [method@GLib.MainContext.acquire] before you may call this function.</doc> | |
| 23670 | - | <source-position filename="glib/gmain.h" line="537"/> | |
| 23872 | + | <source-position filename="glib/gmain.h" line="538"/> | |
| 23671 | 23873 | <return-value transfer-ownership="none"> | |
| 23672 | 23874 | <doc xml:space="preserve" | |
| 23673 | 23875 | filename="glib/gmain.c" | |
| 23674 | - | line="3896">the number of records actually stored in @fds, | |
| 23876 | + | line="4070">the number of records actually stored in @fds, | |
| 23675 | 23877 | or, if more than @n_fds records need to be stored, the number | |
| 23676 | - | of records that need to be stored.</doc> | |
| 23878 | + | of records that need to be stored</doc> | |
| 23677 | 23879 | <type name="gint" c:type="gint"/> | |
| 23678 | 23880 | </return-value> | |
| 23679 | 23881 | <parameters> | |
| @@ -23683,14 +23885,14 @@ You must have successfully acquired the context with | |||
| 23683 | 23885 | allow-none="1"> | |
| 23684 | 23886 | <doc xml:space="preserve" | |
| 23685 | 23887 | filename="glib/gmain.c" | |
| 23686 | - | line="3880">a #GMainContext (if %NULL, the global-default | |
| 23888 | + | line="4052">a main context (if `NULL`, the global-default | |
| 23687 | 23889 | main context will be used)</doc> | |
| 23688 | 23890 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23689 | 23891 | </instance-parameter> | |
| 23690 | 23892 | <parameter name="max_priority" transfer-ownership="none"> | |
| 23691 | 23893 | <doc xml:space="preserve" | |
| 23692 | 23894 | filename="glib/gmain.c" | |
| 23693 | - | line="3882">maximum priority source to check</doc> | |
| 23895 | + | line="4054">maximum priority source to check</doc> | |
| 23694 | 23896 | <type name="gint" c:type="gint"/> | |
| 23695 | 23897 | </parameter> | |
| 23696 | 23898 | <parameter name="timeout_" | |
| @@ -23699,7 +23901,7 @@ You must have successfully acquired the context with | |||
| 23699 | 23901 | transfer-ownership="full"> | |
| 23700 | 23902 | <doc xml:space="preserve" | |
| 23701 | 23903 | filename="glib/gmain.c" | |
| 23702 | - | line="3883">location to store timeout to be used in polling</doc> | |
| 23904 | + | line="4055">location to store timeout to be used in polling</doc> | |
| 23703 | 23905 | <type name="gint" c:type="gint*"/> | |
| 23704 | 23906 | </parameter> | |
| 23705 | 23907 | <parameter name="fds" | |
| @@ -23708,8 +23910,8 @@ You must have successfully acquired the context with | |||
| 23708 | 23910 | transfer-ownership="none"> | |
| 23709 | 23911 | <doc xml:space="preserve" | |
| 23710 | 23912 | filename="glib/gmain.c" | |
| 23711 | - | line="3884">location to | |
| 23712 | - | store #GPollFD records that need to be polled.</doc> | |
| 23913 | + | line="4056">location to | |
| 23914 | + | store [struct@GLib.PollFD] records that need to be polled</doc> | |
| 23713 | 23915 | <array length="3" zero-terminated="0" c:type="GPollFD*"> | |
| 23714 | 23916 | <type name="PollFD" c:type="GPollFD"/> | |
| 23715 | 23917 | </array> | |
| @@ -23717,7 +23919,7 @@ You must have successfully acquired the context with | |||
| 23717 | 23919 | <parameter name="n_fds" transfer-ownership="none"> | |
| 23718 | 23920 | <doc xml:space="preserve" | |
| 23719 | 23921 | filename="glib/gmain.c" | |
| 23720 | - | line="3886">length of @fds.</doc> | |
| 23922 | + | line="4058">length of @fds</doc> | |
| 23721 | 23923 | <type name="gint" c:type="gint"/> | |
| 23722 | 23924 | </parameter> | |
| 23723 | 23925 | </parameters> | |
| @@ -23725,19 +23927,19 @@ You must have successfully acquired the context with | |||
| 23725 | 23927 | <method name="ref" c:identifier="g_main_context_ref"> | |
| 23726 | 23928 | <doc xml:space="preserve" | |
| 23727 | 23929 | filename="glib/gmain.c" | |
| 23728 | - | line="468">Increases the reference count on a [struct@GLib.MainContext] object by one.</doc> | |
| 23729 | - | <source-position filename="glib/gmain.h" line="493"/> | |
| 23930 | + | line="476">Increases the reference count on a [struct@GLib.MainContext] object by one.</doc> | |
| 23931 | + | <source-position filename="glib/gmain.h" line="494"/> | |
| 23730 | 23932 | <return-value transfer-ownership="full"> | |
| 23731 | 23933 | <doc xml:space="preserve" | |
| 23732 | 23934 | filename="glib/gmain.c" | |
| 23733 | - | line="474">the @context that was passed in (since 2.6)</doc> | |
| 23935 | + | line="482">the @context that was passed in (since 2.6)</doc> | |
| 23734 | 23936 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23735 | 23937 | </return-value> | |
| 23736 | 23938 | <parameters> | |
| 23737 | 23939 | <instance-parameter name="context" transfer-ownership="none"> | |
| 23738 | 23940 | <doc xml:space="preserve" | |
| 23739 | 23941 | filename="glib/gmain.c" | |
| 23740 | - | line="470">a #GMainContext</doc> | |
| 23942 | + | line="478">a main context</doc> | |
| 23741 | 23943 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23742 | 23944 | </instance-parameter> | |
| 23743 | 23945 | </parameters> | |
| @@ -23745,14 +23947,16 @@ You must have successfully acquired the context with | |||
| 23745 | 23947 | <method name="release" c:identifier="g_main_context_release"> | |
| 23746 | 23948 | <doc xml:space="preserve" | |
| 23747 | 23949 | filename="glib/gmain.c" | |
| 23748 | - | line="3502">Releases ownership of a context previously acquired by this thread | |
| 23749 | - | with [method@GLib.MainContext.acquire]. If the context was acquired multiple | |
| 23950 | + | line="3669">Releases ownership of a context previously acquired by this thread | |
| 23951 | + | with [method@GLib.MainContext.acquire]. | |
| 23952 | + | ||
| 23953 | + | If the context was acquired multiple | |
| 23750 | 23954 | times, the ownership will be released only when [method@GLib.MainContext.release] | |
| 23751 | 23955 | is called as many times as it was acquired. | |
| 23752 | 23956 | ||
| 23753 | 23957 | You must have successfully acquired the context with | |
| 23754 | 23958 | [method@GLib.MainContext.acquire] before you may call this function.</doc> | |
| 23755 | - | <source-position filename="glib/gmain.h" line="525"/> | |
| 23959 | + | <source-position filename="glib/gmain.h" line="526"/> | |
| 23756 | 23960 | <return-value transfer-ownership="none"> | |
| 23757 | 23961 | <type name="none" c:type="void"/> | |
| 23758 | 23962 | </return-value> | |
| @@ -23763,7 +23967,7 @@ You must have successfully acquired the context with | |||
| 23763 | 23967 | allow-none="1"> | |
| 23764 | 23968 | <doc xml:space="preserve" | |
| 23765 | 23969 | filename="glib/gmain.c" | |
| 23766 | - | line="3504">a #GMainContext (if %NULL, the global-default | |
| 23970 | + | line="3671">a main context (if `NULL`, the global-default | |
| 23767 | 23971 | main context will be used)</doc> | |
| 23768 | 23972 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23769 | 23973 | </instance-parameter> | |
| @@ -23772,9 +23976,9 @@ You must have successfully acquired the context with | |||
| 23772 | 23976 | <method name="remove_poll" c:identifier="g_main_context_remove_poll"> | |
| 23773 | 23977 | <doc xml:space="preserve" | |
| 23774 | 23978 | filename="glib/gmain.c" | |
| 23775 | - | line="4775">Removes file descriptor from the set of file descriptors to be | |
| 23979 | + | line="4956">Removes file descriptor from the set of file descriptors to be | |
| 23776 | 23980 | polled for a particular context.</doc> | |
| 23777 | - | <source-position filename="glib/gmain.h" line="563"/> | |
| 23981 | + | <source-position filename="glib/gmain.h" line="564"/> | |
| 23778 | 23982 | <return-value transfer-ownership="none"> | |
| 23779 | 23983 | <type name="none" c:type="void"/> | |
| 23780 | 23984 | </return-value> | |
| @@ -23785,14 +23989,14 @@ polled for a particular context.</doc> | |||
| 23785 | 23989 | allow-none="1"> | |
| 23786 | 23990 | <doc xml:space="preserve" | |
| 23787 | 23991 | filename="glib/gmain.c" | |
| 23788 | - | line="4777">a #GMainContext (if %NULL, the global-default | |
| 23992 | + | line="4958">a main context (if `NULL`, the global-default | |
| 23789 | 23993 | main context will be used)</doc> | |
| 23790 | 23994 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23791 | 23995 | </instance-parameter> | |
| 23792 | 23996 | <parameter name="fd" transfer-ownership="none"> | |
| 23793 | 23997 | <doc xml:space="preserve" | |
| 23794 | 23998 | filename="glib/gmain.c" | |
| 23795 | - | line="4779">a #GPollFD descriptor previously added with | |
| 23999 | + | line="4960">a [struct@GLib.PollFD] descriptor previously added with | |
| 23796 | 24000 | [method@GLib.MainContext.add_poll]</doc> | |
| 23797 | 24001 | <type name="PollFD" c:type="GPollFD*"/> | |
| 23798 | 24002 | </parameter> | |
| @@ -23803,14 +24007,15 @@ polled for a particular context.</doc> | |||
| 23803 | 24007 | introspectable="0"> | |
| 23804 | 24008 | <doc xml:space="preserve" | |
| 23805 | 24009 | filename="glib/gmain.c" | |
| 23806 | - | line="4899">Sets the function to use to handle polling of file descriptors. It | |
| 23807 | - | will be used instead of the poll() system call | |
| 23808 | - | (or GLib's replacement function, which is used where | |
| 23809 | - | poll() isn't available). | |
| 24010 | + | line="5081">Sets the function to use to handle polling of file descriptors. | |
| 24011 | + | ||
| 24012 | + | It will be used instead of the [`poll()`](man:poll(2)) system call | |
| 24013 | + | (or GLib’s replacement function, which is used where | |
| 24014 | + | `poll()` isn’t available). | |
| 23810 | 24015 | ||
| 23811 | 24016 | This function could possibly be used to integrate the GLib event | |
| 23812 | 24017 | loop with an external event loop.</doc> | |
| 23813 | - | <source-position filename="glib/gmain.h" line="551"/> | |
| 24018 | + | <source-position filename="glib/gmain.h" line="552"/> | |
| 23814 | 24019 | <return-value transfer-ownership="none"> | |
| 23815 | 24020 | <type name="none" c:type="void"/> | |
| 23816 | 24021 | </return-value> | |
| @@ -23821,14 +24026,14 @@ loop with an external event loop.</doc> | |||
| 23821 | 24026 | allow-none="1"> | |
| 23822 | 24027 | <doc xml:space="preserve" | |
| 23823 | 24028 | filename="glib/gmain.c" | |
| 23824 | - | line="4901">a #GMainContext (if %NULL, the global-default | |
| 24029 | + | line="5083">a main context (if `NULL`, the global-default | |
| 23825 | 24030 | main context will be used)</doc> | |
| 23826 | 24031 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23827 | 24032 | </instance-parameter> | |
| 23828 | 24033 | <parameter name="func" transfer-ownership="none"> | |
| 23829 | 24034 | <doc xml:space="preserve" | |
| 23830 | 24035 | filename="glib/gmain.c" | |
| 23831 | - | line="4903">the function to call to poll all file descriptors</doc> | |
| 24036 | + | line="5085">the function to call to poll all file descriptors</doc> | |
| 23832 | 24037 | <type name="PollFunc" c:type="GPollFunc"/> | |
| 23833 | 24038 | </parameter> | |
| 23834 | 24039 | </parameters> | |
| @@ -23836,10 +24041,10 @@ loop with an external event loop.</doc> | |||
| 23836 | 24041 | <method name="unref" c:identifier="g_main_context_unref"> | |
| 23837 | 24042 | <doc xml:space="preserve" | |
| 23838 | 24043 | filename="glib/gmain.c" | |
| 23839 | - | line="496">Decreases the reference count on a [struct@GLib.MainContext] object by one. | |
| 24044 | + | line="504">Decreases the reference count on a [struct@GLib.MainContext] object by one. | |
| 23840 | 24045 | If | |
| 23841 | 24046 | the result is zero, free the context and free all associated memory.</doc> | |
| 23842 | - | <source-position filename="glib/gmain.h" line="495"/> | |
| 24047 | + | <source-position filename="glib/gmain.h" line="496"/> | |
| 23843 | 24048 | <return-value transfer-ownership="none"> | |
| 23844 | 24049 | <type name="none" c:type="void"/> | |
| 23845 | 24050 | </return-value> | |
| @@ -23847,7 +24052,7 @@ the result is zero, free the context and free all associated memory.</doc> | |||
| 23847 | 24052 | <instance-parameter name="context" transfer-ownership="none"> | |
| 23848 | 24053 | <doc xml:space="preserve" | |
| 23849 | 24054 | filename="glib/gmain.c" | |
| 23850 | - | line="498">a #GMainContext</doc> | |
| 24055 | + | line="506">a main context</doc> | |
| 23851 | 24056 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23852 | 24057 | </instance-parameter> | |
| 23853 | 24058 | </parameters> | |
| @@ -23858,19 +24063,20 @@ the result is zero, free the context and free all associated memory.</doc> | |||
| 23858 | 24063 | deprecated-version="2.58"> | |
| 23859 | 24064 | <doc xml:space="preserve" | |
| 23860 | 24065 | filename="glib/gmain.c" | |
| 23861 | - | line="3617">Tries to become the owner of the specified context, | |
| 23862 | - | as with [method@GLib.MainContext.acquire]. But if another thread | |
| 24066 | + | line="3786">Tries to become the owner of the specified context, and waits on @cond if | |
| 24067 | + | another thread is the owner. | |
| 24068 | + | ||
| 24069 | + | This is the same as [method@GLib.MainContext.acquire], but if another thread | |
| 23863 | 24070 | is the owner, atomically drop @mutex and wait on @cond until | |
| 23864 | 24071 | that owner releases ownership or until @cond is signaled, then | |
| 23865 | 24072 | try again (once) to become the owner.</doc> | |
| 23866 | 24073 | <doc-deprecated xml:space="preserve">Use [method@GLib.MainContext.is_owner] and separate | |
| 23867 | 24074 | locking instead.</doc-deprecated> | |
| 23868 | - | <source-position filename="glib/gmain.h" line="529"/> | |
| 24075 | + | <source-position filename="glib/gmain.h" line="530"/> | |
| 23869 | 24076 | <return-value transfer-ownership="none"> | |
| 23870 | 24077 | <doc xml:space="preserve" | |
| 23871 | 24078 | filename="glib/gmain.c" | |
| 23872 | - | line="3630">%TRUE if the operation succeeded, and | |
| 23873 | - | this thread is now the owner of @context.</doc> | |
| 24079 | + | line="3801">true if this thread is now the owner of @context, false otherwise</doc> | |
| 23874 | 24080 | <type name="gboolean" c:type="gboolean"/> | |
| 23875 | 24081 | </return-value> | |
| 23876 | 24082 | <parameters> | |
| @@ -23880,20 +24086,20 @@ try again (once) to become the owner.</doc> | |||
| 23880 | 24086 | allow-none="1"> | |
| 23881 | 24087 | <doc xml:space="preserve" | |
| 23882 | 24088 | filename="glib/gmain.c" | |
| 23883 | - | line="3619">a #GMainContext (if %NULL, the global-default | |
| 24089 | + | line="3788">a main context (if `NULL`, the global-default | |
| 23884 | 24090 | main context will be used)</doc> | |
| 23885 | 24091 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23886 | 24092 | </instance-parameter> | |
| 23887 | 24093 | <parameter name="cond" transfer-ownership="none"> | |
| 23888 | 24094 | <doc xml:space="preserve" | |
| 23889 | 24095 | filename="glib/gmain.c" | |
| 23890 | - | line="3621">a condition variable</doc> | |
| 24096 | + | line="3790">a condition variable</doc> | |
| 23891 | 24097 | <type name="Cond" c:type="GCond*"/> | |
| 23892 | 24098 | </parameter> | |
| 23893 | 24099 | <parameter name="mutex" transfer-ownership="none"> | |
| 23894 | 24100 | <doc xml:space="preserve" | |
| 23895 | 24101 | filename="glib/gmain.c" | |
| 23896 | - | line="3622">a mutex, currently held</doc> | |
| 24102 | + | line="3791">a mutex, currently held</doc> | |
| 23897 | 24103 | <type name="Mutex" c:type="GMutex*"/> | |
| 23898 | 24104 | </parameter> | |
| 23899 | 24105 | </parameters> | |
| @@ -23901,10 +24107,13 @@ try again (once) to become the owner.</doc> | |||
| 23901 | 24107 | <method name="wakeup" c:identifier="g_main_context_wakeup"> | |
| 23902 | 24108 | <doc xml:space="preserve" | |
| 23903 | 24109 | filename="glib/gmain.c" | |
| 23904 | - | line="4958">If @context is currently blocking in [method@GLib.MainContext.iteration] | |
| 23905 | - | waiting for a source to become ready, cause it to stop blocking | |
| 23906 | - | and return. Otherwise, cause the next invocation of | |
| 23907 | - | [method@GLib.MainContext.iteration] to return without blocking. | |
| 24110 | + | line="5141">Wake up @context if it’s currently blocking in | |
| 24111 | + | [method@GLib.MainContext.iteration], causing it to stop blocking. | |
| 24112 | + | ||
| 24113 | + | The @context could be blocking waiting for a source to become ready. | |
| 24114 | + | Otherwise, if @context is not currently blocking, this function causes the | |
| 24115 | + | next invocation of [method@GLib.MainContext.iteration] to return without | |
| 24116 | + | blocking. | |
| 23908 | 24117 | ||
| 23909 | 24118 | This API is useful for low-level control over [struct@GLib.MainContext]; for | |
| 23910 | 24119 | example, integrating it with main loop implementations such as | |
| @@ -23913,23 +24122,23 @@ example, integrating it with main loop implementations such as | |||
| 23913 | 24122 | Another related use for this function is when implementing a main | |
| 23914 | 24123 | loop with a termination condition, computed from multiple threads: | |
| 23915 | 24124 | ||
| 23916 | - | |[<!-- language="C" --> | |
| 24125 | + | ```c | |
| 23917 | 24126 | #define NUM_TASKS 10 | |
| 23918 | 24127 | static gint tasks_remaining = NUM_TASKS; // (atomic) | |
| 23919 | 24128 | ... | |
| 23920 | 24129 | ||
| 23921 | 24130 | while (g_atomic_int_get (&tasks_remaining) != 0) | |
| 23922 | 24131 | g_main_context_iteration (NULL, TRUE); | |
| 23923 | - | ]| | |
| 24132 | + | ``` | |
| 23924 | 24133 | ||
| 23925 | 24134 | Then in a thread: | |
| 23926 | - | |[<!-- language="C" --> | |
| 23927 | - | perform_work(); | |
| 24135 | + | ```c | |
| 24136 | + | perform_work (); | |
| 23928 | 24137 | ||
| 23929 | 24138 | if (g_atomic_int_dec_and_test (&tasks_remaining)) | |
| 23930 | 24139 | g_main_context_wakeup (NULL); | |
| 23931 | - | ]|</doc> | |
| 23932 | - | <source-position filename="glib/gmain.h" line="521"/> | |
| 24140 | + | ```</doc> | |
| 24141 | + | <source-position filename="glib/gmain.h" line="522"/> | |
| 23933 | 24142 | <return-value transfer-ownership="none"> | |
| 23934 | 24143 | <type name="none" c:type="void"/> | |
| 23935 | 24144 | </return-value> | |
| @@ -23940,7 +24149,7 @@ Then in a thread: | |||
| 23940 | 24149 | allow-none="1"> | |
| 23941 | 24150 | <doc xml:space="preserve" | |
| 23942 | 24151 | filename="glib/gmain.c" | |
| 23943 | - | line="4960">a #GMainContext (if %NULL, the global-default | |
| 24152 | + | line="5143">a main context (if `NULL`, the global-default | |
| 23944 | 24153 | main context will be used)</doc> | |
| 23945 | 24154 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23946 | 24155 | </instance-parameter> | |
| @@ -23949,15 +24158,17 @@ Then in a thread: | |||
| 23949 | 24158 | <function name="default" c:identifier="g_main_context_default"> | |
| 23950 | 24159 | <doc xml:space="preserve" | |
| 23951 | 24160 | filename="glib/gmain.c" | |
| 23952 | - | line="687">Returns the global-default main context. This is the main context | |
| 24161 | + | line="725">Returns the global-default main context. | |
| 24162 | + | ||
| 24163 | + | This is the main context | |
| 23953 | 24164 | used for main loop functions when a main loop is not explicitly | |
| 23954 | - | specified, and corresponds to the "main" main loop. See also | |
| 24165 | + | specified, and corresponds to the ‘main’ main loop. See also | |
| 23955 | 24166 | [func@GLib.MainContext.get_thread_default].</doc> | |
| 23956 | - | <source-position filename="glib/gmain.h" line="497"/> | |
| 24167 | + | <source-position filename="glib/gmain.h" line="498"/> | |
| 23957 | 24168 | <return-value transfer-ownership="none"> | |
| 23958 | 24169 | <doc xml:space="preserve" | |
| 23959 | 24170 | filename="glib/gmain.c" | |
| 23960 | - | line="695">the global-default main context.</doc> | |
| 24171 | + | line="735">the global-default main context.</doc> | |
| 23961 | 24172 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23962 | 24173 | </return-value> | |
| 23963 | 24174 | </function> | |
| @@ -23966,23 +24177,24 @@ specified, and corresponds to the "main" main loop. See also | |||
| 23966 | 24177 | version="2.22"> | |
| 23967 | 24178 | <doc xml:space="preserve" | |
| 23968 | 24179 | filename="glib/gmain.c" | |
| 23969 | - | line="846">Gets the thread-default #GMainContext for this thread. Asynchronous | |
| 23970 | - | operations that want to be able to be run in contexts other than | |
| 24180 | + | line="886">Gets the thread-default main context for this thread. | |
| 24181 | + | ||
| 24182 | + | Asynchronous operations that want to be able to be run in contexts other than | |
| 23971 | 24183 | the default one should call this method or | |
| 23972 | 24184 | [func@GLib.MainContext.ref_thread_default] to get a | |
| 23973 | 24185 | [struct@GLib.MainContext] to add their [struct@GLib.Source]s to. (Note that | |
| 23974 | 24186 | even in single-threaded programs applications may sometimes want to | |
| 23975 | 24187 | temporarily push a non-default context, so it is not safe to assume that | |
| 23976 | - | this will always return %NULL if you are running in the default thread.) | |
| 24188 | + | this will always return `NULL` if you are running in the default thread.) | |
| 23977 | 24189 | ||
| 23978 | 24190 | If you need to hold a reference on the context, use | |
| 23979 | 24191 | [func@GLib.MainContext.ref_thread_default] instead.</doc> | |
| 23980 | - | <source-position filename="glib/gmain.h" line="578"/> | |
| 24192 | + | <source-position filename="glib/gmain.h" line="579"/> | |
| 23981 | 24193 | <return-value transfer-ownership="none" nullable="1"> | |
| 23982 | 24194 | <doc xml:space="preserve" | |
| 23983 | 24195 | filename="glib/gmain.c" | |
| 23984 | - | line="861">the thread-default #GMainContext, or | |
| 23985 | - | %NULL if the thread-default context is the global-default main context.</doc> | |
| 24196 | + | line="902">the thread-default main context, or | |
| 24197 | + | `NULL` if the thread-default context is the global-default main context</doc> | |
| 23986 | 24198 | <type name="MainContext" c:type="GMainContext*"/> | |
| 23987 | 24199 | </return-value> | |
| 23988 | 24200 | </function> | |
| @@ -23992,12 +24204,12 @@ If you need to hold a reference on the context, use | |||
| 23992 | 24204 | introspectable="0"> | |
| 23993 | 24205 | <doc xml:space="preserve" | |
| 23994 | 24206 | filename="glib/gmain.h" | |
| 23995 | - | line="649">Pop @pusher’s main context as the thread default main context. | |
| 24207 | + | line="650">Pop @pusher’s main context as the thread default main context. | |
| 23996 | 24208 | See g_main_context_pusher_new() for details. | |
| 23997 | 24209 | ||
| 23998 | 24210 | This will pop the [struct@GLib.MainContext] as the current thread-default | |
| 23999 | 24211 | main context, but will not call [method@GLib.MainContext.unref] on it.</doc> | |
| 24000 | - | <source-position filename="glib/gmain.h" line="663"/> | |
| 24212 | + | <source-position filename="glib/gmain.h" line="664"/> | |
| 24001 | 24213 | <return-value transfer-ownership="none"> | |
| 24002 | 24214 | <type name="none" c:type="void"/> | |
| 24003 | 24215 | </return-value> | |
| @@ -24005,7 +24217,7 @@ main context, but will not call [method@GLib.MainContext.unref] on it.</doc> | |||
| 24005 | 24217 | <parameter name="pusher" transfer-ownership="full"> | |
| 24006 | 24218 | <doc xml:space="preserve" | |
| 24007 | 24219 | filename="glib/gmain.h" | |
| 24008 | - | line="651">a #GMainContextPusher</doc> | |
| 24220 | + | line="652">a #GMainContextPusher</doc> | |
| 24009 | 24221 | <type name="MainContextPusher" c:type="GMainContextPusher*"/> | |
| 24010 | 24222 | </parameter> | |
| 24011 | 24223 | </parameters> | |
| @@ -24015,19 +24227,21 @@ main context, but will not call [method@GLib.MainContext.unref] on it.</doc> | |||
| 24015 | 24227 | version="2.32"> | |
| 24016 | 24228 | <doc xml:space="preserve" | |
| 24017 | 24229 | filename="glib/gmain.c" | |
| 24018 | - | line="878">Gets the thread-default [struct@GLib.MainContext] for this thread, as with | |
| 24019 | - | [func@GLib.MainContext.get_thread_default], but also adds a reference to | |
| 24020 | - | it with [method@GLib.MainContext.ref]. In addition, unlike | |
| 24230 | + | line="918">Gets a reference to the thread-default [struct@GLib.MainContext] for this | |
| 24231 | + | thread | |
| 24232 | + | ||
| 24233 | + | This is the same as [func@GLib.MainContext.get_thread_default], but it also | |
| 24234 | + | adds a reference to the returned main context with [method@GLib.MainContext.ref]. | |
| 24235 | + | In addition, unlike | |
| 24021 | 24236 | [func@GLib.MainContext.get_thread_default], if the thread-default context | |
| 24022 | 24237 | is the global-default context, this will return that | |
| 24023 | 24238 | [struct@GLib.MainContext] (with a ref added to it) rather than returning | |
| 24024 | - | %NULL.</doc> | |
| 24025 | - | <source-position filename="glib/gmain.h" line="580"/> | |
| 24239 | + | `NULL`.</doc> | |
| 24240 | + | <source-position filename="glib/gmain.h" line="581"/> | |
| 24026 | 24241 | <return-value transfer-ownership="full"> | |
| 24027 | 24242 | <doc xml:space="preserve" | |
| 24028 | 24243 | filename="glib/gmain.c" | |
| 24029 | - | line="889">the thread-default #GMainContext. Unref | |
| 24030 | - | with [method@GLib.MainContext.unref] when you are done with it.</doc> | |
| 24244 | + | line="932">the thread-default main context</doc> | |
| 24031 | 24245 | <type name="MainContext" c:type="GMainContext*"/> | |
| 24032 | 24246 | </return-value> | |
| 24033 | 24247 | </function> | |
| @@ -24070,12 +24284,12 @@ representing the main event loop of a GLib or GTK application.</doc> | |||
| 24070 | 24284 | <constructor name="new" c:identifier="g_main_loop_new"> | |
| 24071 | 24285 | <doc xml:space="preserve" | |
| 24072 | 24286 | filename="glib/gmain.c" | |
| 24073 | - | line="4385">Creates a new [struct@GLib.MainLoop] structure.</doc> | |
| 24074 | - | <source-position filename="glib/gmain.h" line="676"/> | |
| 24287 | + | line="4562">Creates a new [struct@GLib.MainLoop] structure.</doc> | |
| 24288 | + | <source-position filename="glib/gmain.h" line="677"/> | |
| 24075 | 24289 | <return-value transfer-ownership="full"> | |
| 24076 | 24290 | <doc xml:space="preserve" | |
| 24077 | 24291 | filename="glib/gmain.c" | |
| 24078 | - | line="4395">a new #GMainLoop.</doc> | |
| 24292 | + | line="4572">a new main loop</doc> | |
| 24079 | 24293 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24080 | 24294 | </return-value> | |
| 24081 | 24295 | <parameters> | |
| @@ -24085,16 +24299,16 @@ representing the main event loop of a GLib or GTK application.</doc> | |||
| 24085 | 24299 | allow-none="1"> | |
| 24086 | 24300 | <doc xml:space="preserve" | |
| 24087 | 24301 | filename="glib/gmain.c" | |
| 24088 | - | line="4387">a #GMainContext (if %NULL, the global-default | |
| 24302 | + | line="4564">a main context (if `NULL`, the global-default | |
| 24089 | 24303 | main context will be used).</doc> | |
| 24090 | 24304 | <type name="MainContext" c:type="GMainContext*"/> | |
| 24091 | 24305 | </parameter> | |
| 24092 | 24306 | <parameter name="is_running" transfer-ownership="none"> | |
| 24093 | 24307 | <doc xml:space="preserve" | |
| 24094 | 24308 | filename="glib/gmain.c" | |
| 24095 | - | line="4389">set to %TRUE to indicate that the loop is running. This | |
| 24096 | - | is not very important since calling [method@GLib.MainLoop.run] will set this | |
| 24097 | - | to %TRUE anyway.</doc> | |
| 24309 | + | line="4566">set to true to indicate that the loop is running. This | |
| 24310 | + | is not very important since calling [method@GLib.MainLoop.run] will set this | |
| 24311 | + | to true anyway.</doc> | |
| 24098 | 24312 | <type name="gboolean" c:type="gboolean"/> | |
| 24099 | 24313 | </parameter> | |
| 24100 | 24314 | </parameters> | |
| @@ -24102,19 +24316,19 @@ to %TRUE anyway.</doc> | |||
| 24102 | 24316 | <method name="get_context" c:identifier="g_main_loop_get_context"> | |
| 24103 | 24317 | <doc xml:space="preserve" | |
| 24104 | 24318 | filename="glib/gmain.c" | |
| 24105 | - | line="4570">Returns the [struct@GLib.MainContext] of @loop.</doc> | |
| 24106 | - | <source-position filename="glib/gmain.h" line="689"/> | |
| 24319 | + | line="4749">Returns the [struct@GLib.MainContext] of @loop.</doc> | |
| 24320 | + | <source-position filename="glib/gmain.h" line="690"/> | |
| 24107 | 24321 | <return-value transfer-ownership="none"> | |
| 24108 | 24322 | <doc xml:space="preserve" | |
| 24109 | 24323 | filename="glib/gmain.c" | |
| 24110 | - | line="4576">the [struct@GLib.MainContext] of @loop</doc> | |
| 24324 | + | line="4755">the [struct@GLib.MainContext] of @loop</doc> | |
| 24111 | 24325 | <type name="MainContext" c:type="GMainContext*"/> | |
| 24112 | 24326 | </return-value> | |
| 24113 | 24327 | <parameters> | |
| 24114 | 24328 | <instance-parameter name="loop" transfer-ownership="none"> | |
| 24115 | 24329 | <doc xml:space="preserve" | |
| 24116 | 24330 | filename="glib/gmain.c" | |
| 24117 | - | line="4572">a #GMainLoop.</doc> | |
| 24331 | + | line="4751">a main loop</doc> | |
| 24118 | 24332 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24119 | 24333 | </instance-parameter> | |
| 24120 | 24334 | </parameters> | |
| @@ -24122,20 +24336,20 @@ to %TRUE anyway.</doc> | |||
| 24122 | 24336 | <method name="is_running" c:identifier="g_main_loop_is_running"> | |
| 24123 | 24337 | <doc xml:space="preserve" | |
| 24124 | 24338 | filename="glib/gmain.c" | |
| 24125 | - | line="4552">Checks to see if the main loop is currently being run via | |
| 24339 | + | line="4731">Checks to see if the main loop is currently being run via | |
| 24126 | 24340 | [method@GLib.MainLoop.run].</doc> | |
| 24127 | - | <source-position filename="glib/gmain.h" line="687"/> | |
| 24341 | + | <source-position filename="glib/gmain.h" line="688"/> | |
| 24128 | 24342 | <return-value transfer-ownership="none"> | |
| 24129 | 24343 | <doc xml:space="preserve" | |
| 24130 | 24344 | filename="glib/gmain.c" | |
| 24131 | - | line="4559">%TRUE if the mainloop is currently being run.</doc> | |
| 24345 | + | line="4738">true if the main loop is currently being run, false otherwise</doc> | |
| 24132 | 24346 | <type name="gboolean" c:type="gboolean"/> | |
| 24133 | 24347 | </return-value> | |
| 24134 | 24348 | <parameters> | |
| 24135 | 24349 | <instance-parameter name="loop" transfer-ownership="none"> | |
| 24136 | 24350 | <doc xml:space="preserve" | |
| 24137 | 24351 | filename="glib/gmain.c" | |
| 24138 | - | line="4554">a #GMainLoop.</doc> | |
| 24352 | + | line="4733">a main loop</doc> | |
| 24139 | 24353 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24140 | 24354 | </instance-parameter> | |
| 24141 | 24355 | </parameters> | |
| @@ -24143,12 +24357,12 @@ to %TRUE anyway.</doc> | |||
| 24143 | 24357 | <method name="quit" c:identifier="g_main_loop_quit"> | |
| 24144 | 24358 | <doc xml:space="preserve" | |
| 24145 | 24359 | filename="glib/gmain.c" | |
| 24146 | - | line="4525">Stops a [struct@GLib.MainLoop] from running. Any calls to | |
| 24360 | + | line="4704">Stops a [struct@GLib.MainLoop] from running. Any calls to | |
| 24147 | 24361 | [method@GLib.MainLoop.run] for the loop will return. | |
| 24148 | 24362 | ||
| 24149 | 24363 | Note that sources that have already been dispatched when | |
| 24150 | 24364 | [method@GLib.MainLoop.quit] is called will still be executed.</doc> | |
| 24151 | - | <source-position filename="glib/gmain.h" line="681"/> | |
| 24365 | + | <source-position filename="glib/gmain.h" line="682"/> | |
| 24152 | 24366 | <return-value transfer-ownership="none"> | |
| 24153 | 24367 | <type name="none" c:type="void"/> | |
| 24154 | 24368 | </return-value> | |
| @@ -24156,7 +24370,7 @@ Note that sources that have already been dispatched when | |||
| 24156 | 24370 | <instance-parameter name="loop" transfer-ownership="none"> | |
| 24157 | 24371 | <doc xml:space="preserve" | |
| 24158 | 24372 | filename="glib/gmain.c" | |
| 24159 | - | line="4527">a #GMainLoop</doc> | |
| 24373 | + | line="4706">a main loop</doc> | |
| 24160 | 24374 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24161 | 24375 | </instance-parameter> | |
| 24162 | 24376 | </parameters> | |
| @@ -24164,19 +24378,19 @@ Note that sources that have already been dispatched when | |||
| 24164 | 24378 | <method name="ref" c:identifier="g_main_loop_ref"> | |
| 24165 | 24379 | <doc xml:space="preserve" | |
| 24166 | 24380 | filename="glib/gmain.c" | |
| 24167 | - | line="4418">Increases the reference count on a [struct@GLib.MainLoop] object by one.</doc> | |
| 24168 | - | <source-position filename="glib/gmain.h" line="683"/> | |
| 24381 | + | line="4595">Increases the reference count on a [struct@GLib.MainLoop] object by one.</doc> | |
| 24382 | + | <source-position filename="glib/gmain.h" line="684"/> | |
| 24169 | 24383 | <return-value transfer-ownership="full"> | |
| 24170 | 24384 | <doc xml:space="preserve" | |
| 24171 | 24385 | filename="glib/gmain.c" | |
| 24172 | - | line="4424">@loop</doc> | |
| 24386 | + | line="4601">@loop</doc> | |
| 24173 | 24387 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24174 | 24388 | </return-value> | |
| 24175 | 24389 | <parameters> | |
| 24176 | 24390 | <instance-parameter name="loop" transfer-ownership="none"> | |
| 24177 | 24391 | <doc xml:space="preserve" | |
| 24178 | 24392 | filename="glib/gmain.c" | |
| 24179 | - | line="4420">a #GMainLoop</doc> | |
| 24393 | + | line="4597">a main loop</doc> | |
| 24180 | 24394 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24181 | 24395 | </instance-parameter> | |
| 24182 | 24396 | </parameters> | |
| @@ -24184,11 +24398,12 @@ Note that sources that have already been dispatched when | |||
| 24184 | 24398 | <method name="run" c:identifier="g_main_loop_run"> | |
| 24185 | 24399 | <doc xml:space="preserve" | |
| 24186 | 24400 | filename="glib/gmain.c" | |
| 24187 | - | line="4457">Runs a main loop until [method@GLib.MainLoop.quit] is called on the loop. | |
| 24188 | - | If this is called for the thread of the loop's #GMainContext, | |
| 24401 | + | line="4635">Runs a main loop until [method@GLib.MainLoop.quit] is called on the loop. | |
| 24402 | + | ||
| 24403 | + | If this is called from the thread of the loop’s [struct@GLib.MainContext], | |
| 24189 | 24404 | it will process events from the loop, otherwise it will | |
| 24190 | 24405 | simply wait.</doc> | |
| 24191 | - | <source-position filename="glib/gmain.h" line="679"/> | |
| 24406 | + | <source-position filename="glib/gmain.h" line="680"/> | |
| 24192 | 24407 | <return-value transfer-ownership="none"> | |
| 24193 | 24408 | <type name="none" c:type="void"/> | |
| 24194 | 24409 | </return-value> | |
| @@ -24196,7 +24411,7 @@ simply wait.</doc> | |||
| 24196 | 24411 | <instance-parameter name="loop" transfer-ownership="none"> | |
| 24197 | 24412 | <doc xml:space="preserve" | |
| 24198 | 24413 | filename="glib/gmain.c" | |
| 24199 | - | line="4459">a #GMainLoop</doc> | |
| 24414 | + | line="4637">a main loop</doc> | |
| 24200 | 24415 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24201 | 24416 | </instance-parameter> | |
| 24202 | 24417 | </parameters> | |
| @@ -24204,9 +24419,10 @@ simply wait.</doc> | |||
| 24204 | 24419 | <method name="unref" c:identifier="g_main_loop_unref"> | |
| 24205 | 24420 | <doc xml:space="preserve" | |
| 24206 | 24421 | filename="glib/gmain.c" | |
| 24207 | - | line="4437">Decreases the reference count on a [struct@GLib.MainLoop] object by one. If | |
| 24208 | - | the result is zero, free the loop and free all associated memory.</doc> | |
| 24209 | - | <source-position filename="glib/gmain.h" line="685"/> | |
| 24422 | + | line="4614">Decreases the reference count on a [struct@GLib.MainLoop] object by one. | |
| 24423 | + | ||
| 24424 | + | If the result is zero, the loop and all associated memory are freed.</doc> | |
| 24425 | + | <source-position filename="glib/gmain.h" line="686"/> | |
| 24210 | 24426 | <return-value transfer-ownership="none"> | |
| 24211 | 24427 | <type name="none" c:type="void"/> | |
| 24212 | 24428 | </return-value> | |
| @@ -24214,7 +24430,7 @@ the result is zero, free the loop and free all associated memory.</doc> | |||
| 24214 | 24430 | <instance-parameter name="loop" transfer-ownership="none"> | |
| 24215 | 24431 | <doc xml:space="preserve" | |
| 24216 | 24432 | filename="glib/gmain.c" | |
| 24217 | - | line="4439">a #GMainLoop</doc> | |
| 24433 | + | line="4616">a main loop</doc> | |
| 24218 | 24434 | <type name="MainLoop" c:type="GMainLoop*"/> | |
| 24219 | 24435 | </instance-parameter> | |
| 24220 | 24436 | </parameters> | |
| @@ -24238,7 +24454,7 @@ not be accessed directly.</doc> | |||
| 24238 | 24454 | throws="1"> | |
| 24239 | 24455 | <doc xml:space="preserve" | |
| 24240 | 24456 | filename="glib/gmappedfile.c" | |
| 24241 | - | line="219">Maps a file into memory. On UNIX, this is using the mmap() function. | |
| 24457 | + | line="225">Maps a file into memory. On UNIX, this is using the mmap() function. | |
| 24242 | 24458 | ||
| 24243 | 24459 | If @writable is %TRUE, the mapped buffer may be modified, otherwise | |
| 24244 | 24460 | it is an error to modify the mapped buffer. Modifications to the buffer | |
| @@ -24258,7 +24474,7 @@ to the #GFileError value %G_FILE_ERROR_INVAL.</doc> | |||
| 24258 | 24474 | <return-value transfer-ownership="full"> | |
| 24259 | 24475 | <doc xml:space="preserve" | |
| 24260 | 24476 | filename="glib/gmappedfile.c" | |
| 24261 | - | line="243">a newly allocated #GMappedFile which must be unref'd | |
| 24477 | + | line="249">a newly allocated #GMappedFile which must be unref'd | |
| 24262 | 24478 | with g_mapped_file_unref(), or %NULL if the mapping failed.</doc> | |
| 24263 | 24479 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24264 | 24480 | </return-value> | |
| @@ -24266,14 +24482,14 @@ to the #GFileError value %G_FILE_ERROR_INVAL.</doc> | |||
| 24266 | 24482 | <parameter name="filename" transfer-ownership="none"> | |
| 24267 | 24483 | <doc xml:space="preserve" | |
| 24268 | 24484 | filename="glib/gmappedfile.c" | |
| 24269 | - | line="221">The path of the file to load, in the GLib | |
| 24485 | + | line="227">The path of the file to load, in the GLib | |
| 24270 | 24486 | filename encoding</doc> | |
| 24271 | 24487 | <type name="filename" c:type="const gchar*"/> | |
| 24272 | 24488 | </parameter> | |
| 24273 | 24489 | <parameter name="writable" transfer-ownership="none"> | |
| 24274 | 24490 | <doc xml:space="preserve" | |
| 24275 | 24491 | filename="glib/gmappedfile.c" | |
| 24276 | - | line="223">whether the mapping should be writable</doc> | |
| 24492 | + | line="229">whether the mapping should be writable</doc> | |
| 24277 | 24493 | <type name="gboolean" c:type="gboolean"/> | |
| 24278 | 24494 | </parameter> | |
| 24279 | 24495 | </parameters> | |
| @@ -24284,7 +24500,7 @@ to the #GFileError value %G_FILE_ERROR_INVAL.</doc> | |||
| 24284 | 24500 | throws="1"> | |
| 24285 | 24501 | <doc xml:space="preserve" | |
| 24286 | 24502 | filename="glib/gmappedfile.c" | |
| 24287 | - | line="283">Maps a file into memory. On UNIX, this is using the mmap() function. | |
| 24503 | + | line="293">Maps a file into memory. On UNIX, this is using the mmap() function. | |
| 24288 | 24504 | ||
| 24289 | 24505 | If @writable is %TRUE, the mapped buffer may be modified, otherwise | |
| 24290 | 24506 | it is an error to modify the mapped buffer. Modifications to the buffer | |
| @@ -24299,7 +24515,7 @@ atomically (e.g. using g_file_set_contents()).</doc> | |||
| 24299 | 24515 | <return-value transfer-ownership="full"> | |
| 24300 | 24516 | <doc xml:space="preserve" | |
| 24301 | 24517 | filename="glib/gmappedfile.c" | |
| 24302 | - | line="301">a newly allocated #GMappedFile which must be unref'd | |
| 24518 | + | line="311">a newly allocated #GMappedFile which must be unref'd | |
| 24303 | 24519 | with g_mapped_file_unref(), or %NULL if the mapping failed.</doc> | |
| 24304 | 24520 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24305 | 24521 | </return-value> | |
| @@ -24307,13 +24523,13 @@ atomically (e.g. using g_file_set_contents()).</doc> | |||
| 24307 | 24523 | <parameter name="fd" transfer-ownership="none"> | |
| 24308 | 24524 | <doc xml:space="preserve" | |
| 24309 | 24525 | filename="glib/gmappedfile.c" | |
| 24310 | - | line="285">The file descriptor of the file to load</doc> | |
| 24526 | + | line="295">The file descriptor of the file to load</doc> | |
| 24311 | 24527 | <type name="gint" c:type="gint"/> | |
| 24312 | 24528 | </parameter> | |
| 24313 | 24529 | <parameter name="writable" transfer-ownership="none"> | |
| 24314 | 24530 | <doc xml:space="preserve" | |
| 24315 | 24531 | filename="glib/gmappedfile.c" | |
| 24316 | - | line="286">whether the mapping should be writable</doc> | |
| 24532 | + | line="296">whether the mapping should be writable</doc> | |
| 24317 | 24533 | <type name="gboolean" c:type="gboolean"/> | |
| 24318 | 24534 | </parameter> | |
| 24319 | 24535 | </parameters> | |
| @@ -24325,7 +24541,7 @@ atomically (e.g. using g_file_set_contents()).</doc> | |||
| 24325 | 24541 | deprecated-version="2.22"> | |
| 24326 | 24542 | <doc xml:space="preserve" | |
| 24327 | 24543 | filename="glib/gmappedfile.c" | |
| 24328 | - | line="355">This call existed before #GMappedFile had refcounting and is currently | |
| 24544 | + | line="365">This call existed before #GMappedFile had refcounting and is currently | |
| 24329 | 24545 | exactly the same as g_mapped_file_unref().</doc> | |
| 24330 | 24546 | <doc-deprecated xml:space="preserve">Use g_mapped_file_unref() instead.</doc-deprecated> | |
| 24331 | 24547 | <source-position filename="glib/gmappedfile.h" line="56"/> | |
| @@ -24336,7 +24552,7 @@ exactly the same as g_mapped_file_unref().</doc> | |||
| 24336 | 24552 | <instance-parameter name="file" transfer-ownership="none"> | |
| 24337 | 24553 | <doc xml:space="preserve" | |
| 24338 | 24554 | filename="glib/gmappedfile.c" | |
| 24339 | - | line="357">a #GMappedFile</doc> | |
| 24555 | + | line="367">a #GMappedFile</doc> | |
| 24340 | 24556 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24341 | 24557 | </instance-parameter> | |
| 24342 | 24558 | </parameters> | |
| @@ -24346,14 +24562,14 @@ exactly the same as g_mapped_file_unref().</doc> | |||
| 24346 | 24562 | version="2.34"> | |
| 24347 | 24563 | <doc xml:space="preserve" | |
| 24348 | 24564 | filename="glib/gmappedfile.c" | |
| 24349 | - | line="412">Creates a new #GBytes which references the data mapped from @file. | |
| 24565 | + | line="422">Creates a new #GBytes which references the data mapped from @file. | |
| 24350 | 24566 | The mapped contents of the file must not be modified after creating this | |
| 24351 | 24567 | bytes object, because a #GBytes should be immutable.</doc> | |
| 24352 | 24568 | <source-position filename="glib/gmappedfile.h" line="49"/> | |
| 24353 | 24569 | <return-value transfer-ownership="full"> | |
| 24354 | 24570 | <doc xml:space="preserve" | |
| 24355 | 24571 | filename="glib/gmappedfile.c" | |
| 24356 | - | line="420">A newly allocated #GBytes referencing data | |
| 24572 | + | line="430">A newly allocated #GBytes referencing data | |
| 24357 | 24573 | from @file</doc> | |
| 24358 | 24574 | <type name="Bytes" c:type="GBytes*"/> | |
| 24359 | 24575 | </return-value> | |
| @@ -24361,7 +24577,7 @@ bytes object, because a #GBytes should be immutable.</doc> | |||
| 24361 | 24577 | <instance-parameter name="file" transfer-ownership="none"> | |
| 24362 | 24578 | <doc xml:space="preserve" | |
| 24363 | 24579 | filename="glib/gmappedfile.c" | |
| 24364 | - | line="414">a #GMappedFile</doc> | |
| 24580 | + | line="424">a #GMappedFile</doc> | |
| 24365 | 24581 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24366 | 24582 | </instance-parameter> | |
| 24367 | 24583 | </parameters> | |
| @@ -24371,7 +24587,7 @@ bytes object, because a #GBytes should be immutable.</doc> | |||
| 24371 | 24587 | version="2.8"> | |
| 24372 | 24588 | <doc xml:space="preserve" | |
| 24373 | 24589 | filename="glib/gmappedfile.c" | |
| 24374 | - | line="332">Returns the contents of a #GMappedFile. | |
| 24590 | + | line="342">Returns the contents of a #GMappedFile. | |
| 24375 | 24591 | ||
| 24376 | 24592 | Note that the contents may not be zero-terminated, | |
| 24377 | 24593 | even if the #GMappedFile is backed by a text file. | |
| @@ -24381,14 +24597,14 @@ If the file is empty then %NULL is returned.</doc> | |||
| 24381 | 24597 | <return-value transfer-ownership="none" nullable="1"> | |
| 24382 | 24598 | <doc xml:space="preserve" | |
| 24383 | 24599 | filename="glib/gmappedfile.c" | |
| 24384 | - | line="343">the contents of @file, or %NULL.</doc> | |
| 24600 | + | line="353">the contents of @file, or %NULL.</doc> | |
| 24385 | 24601 | <type name="utf8" c:type="gchar*"/> | |
| 24386 | 24602 | </return-value> | |
| 24387 | 24603 | <parameters> | |
| 24388 | 24604 | <instance-parameter name="file" transfer-ownership="none"> | |
| 24389 | 24605 | <doc xml:space="preserve" | |
| 24390 | 24606 | filename="glib/gmappedfile.c" | |
| 24391 | - | line="334">a #GMappedFile</doc> | |
| 24607 | + | line="344">a #GMappedFile</doc> | |
| 24392 | 24608 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24393 | 24609 | </instance-parameter> | |
| 24394 | 24610 | </parameters> | |
| @@ -24398,19 +24614,19 @@ If the file is empty then %NULL is returned.</doc> | |||
| 24398 | 24614 | version="2.8"> | |
| 24399 | 24615 | <doc xml:space="preserve" | |
| 24400 | 24616 | filename="glib/gmappedfile.c" | |
| 24401 | - | line="314">Returns the length of the contents of a #GMappedFile.</doc> | |
| 24617 | + | line="324">Returns the length of the contents of a #GMappedFile.</doc> | |
| 24402 | 24618 | <source-position filename="glib/gmappedfile.h" line="45"/> | |
| 24403 | 24619 | <return-value transfer-ownership="none"> | |
| 24404 | 24620 | <doc xml:space="preserve" | |
| 24405 | 24621 | filename="glib/gmappedfile.c" | |
| 24406 | - | line="320">the length of the contents of @file.</doc> | |
| 24622 | + | line="330">the length of the contents of @file.</doc> | |
| 24407 | 24623 | <type name="gsize" c:type="gsize"/> | |
| 24408 | 24624 | </return-value> | |
| 24409 | 24625 | <parameters> | |
| 24410 | 24626 | <instance-parameter name="file" transfer-ownership="none"> | |
| 24411 | 24627 | <doc xml:space="preserve" | |
| 24412 | 24628 | filename="glib/gmappedfile.c" | |
| 24413 | - | line="316">a #GMappedFile</doc> | |
| 24629 | + | line="326">a #GMappedFile</doc> | |
| 24414 | 24630 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24415 | 24631 | </instance-parameter> | |
| 24416 | 24632 | </parameters> | |
| @@ -24418,20 +24634,20 @@ If the file is empty then %NULL is returned.</doc> | |||
| 24418 | 24634 | <method name="ref" c:identifier="g_mapped_file_ref" version="2.22"> | |
| 24419 | 24635 | <doc xml:space="preserve" | |
| 24420 | 24636 | filename="glib/gmappedfile.c" | |
| 24421 | - | line="371">Increments the reference count of @file by one. It is safe to call | |
| 24637 | + | line="381">Increments the reference count of @file by one. It is safe to call | |
| 24422 | 24638 | this function from any thread.</doc> | |
| 24423 | 24639 | <source-position filename="glib/gmappedfile.h" line="51"/> | |
| 24424 | 24640 | <return-value transfer-ownership="full"> | |
| 24425 | 24641 | <doc xml:space="preserve" | |
| 24426 | 24642 | filename="glib/gmappedfile.c" | |
| 24427 | - | line="378">the passed in #GMappedFile.</doc> | |
| 24643 | + | line="388">the passed in #GMappedFile.</doc> | |
| 24428 | 24644 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24429 | 24645 | </return-value> | |
| 24430 | 24646 | <parameters> | |
| 24431 | 24647 | <instance-parameter name="file" transfer-ownership="none"> | |
| 24432 | 24648 | <doc xml:space="preserve" | |
| 24433 | 24649 | filename="glib/gmappedfile.c" | |
| 24434 | - | line="373">a #GMappedFile</doc> | |
| 24650 | + | line="383">a #GMappedFile</doc> | |
| 24435 | 24651 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24436 | 24652 | </instance-parameter> | |
| 24437 | 24653 | </parameters> | |
| @@ -24439,7 +24655,7 @@ this function from any thread.</doc> | |||
| 24439 | 24655 | <method name="unref" c:identifier="g_mapped_file_unref"> | |
| 24440 | 24656 | <doc xml:space="preserve" | |
| 24441 | 24657 | filename="glib/gmappedfile.c" | |
| 24442 | - | line="392">Decrements the reference count of @file by one. If the reference count | |
| 24658 | + | line="402">Decrements the reference count of @file by one. If the reference count | |
| 24443 | 24659 | drops to 0, unmaps the buffer of @file and frees it. | |
| 24444 | 24660 | ||
| 24445 | 24661 | It is safe to call this function from any thread. | |
| @@ -24453,7 +24669,7 @@ Since 2.22</doc> | |||
| 24453 | 24669 | <instance-parameter name="file" transfer-ownership="none"> | |
| 24454 | 24670 | <doc xml:space="preserve" | |
| 24455 | 24671 | filename="glib/gmappedfile.c" | |
| 24456 | - | line="394">a #GMappedFile</doc> | |
| 24672 | + | line="404">a #GMappedFile</doc> | |
| 24457 | 24673 | <type name="MappedFile" c:type="GMappedFile*"/> | |
| 24458 | 24674 | </instance-parameter> | |
| 24459 | 24675 | </parameters> | |
| @@ -24468,7 +24684,7 @@ bitwise OR the type with the flag %G_MARKUP_COLLECT_OPTIONAL. | |||
| 24468 | 24684 | ||
| 24469 | 24685 | It is likely that this enum will be extended in the future to | |
| 24470 | 24686 | support other types.</doc> | |
| 24471 | - | <source-position filename="glib/gmarkup.h" line="250"/> | |
| 24687 | + | <source-position filename="glib/gmarkup.h" line="254"/> | |
| 24472 | 24688 | <member name="invalid" value="0" c:identifier="G_MARKUP_COLLECT_INVALID"> | |
| 24473 | 24689 | <doc xml:space="preserve" | |
| 24474 | 24690 | filename="glib/gmarkup.c" | |
| @@ -24596,7 +24812,7 @@ marked-up documents. You can feed any number of documents into | |||
| 24596 | 24812 | a context, as long as no errors occur; once an error occurs, | |
| 24597 | 24813 | the parse context can't continue to parse text (you have to | |
| 24598 | 24814 | free it and create a new parse context).</doc> | |
| 24599 | - | <source-position filename="glib/gmarkup.h" line="191"/> | |
| 24815 | + | <source-position filename="glib/gmarkup.h" line="195"/> | |
| 24600 | 24816 | <return-value transfer-ownership="full"> | |
| 24601 | 24817 | <doc xml:space="preserve" | |
| 24602 | 24818 | filename="glib/gmarkup.c" | |
| @@ -24646,7 +24862,7 @@ fed into the parse context with g_markup_parse_context_parse(). | |||
| 24646 | 24862 | ||
| 24647 | 24863 | This function reports an error if the document isn't complete, | |
| 24648 | 24864 | for example if elements are still open.</doc> | |
| 24649 | - | <source-position filename="glib/gmarkup.h" line="214"/> | |
| 24865 | + | <source-position filename="glib/gmarkup.h" line="218"/> | |
| 24650 | 24866 | <return-value transfer-ownership="none"> | |
| 24651 | 24867 | <doc xml:space="preserve" | |
| 24652 | 24868 | filename="glib/gmarkup.c" | |
| @@ -24669,7 +24885,7 @@ for example if elements are still open.</doc> | |||
| 24669 | 24885 | ||
| 24670 | 24886 | This function can't be called from inside one of the | |
| 24671 | 24887 | #GMarkupParser functions or while a subparser is pushed.</doc> | |
| 24672 | - | <source-position filename="glib/gmarkup.h" line="200"/> | |
| 24888 | + | <source-position filename="glib/gmarkup.h" line="204"/> | |
| 24673 | 24889 | <return-value transfer-ownership="none"> | |
| 24674 | 24890 | <type name="none" c:type="void"/> | |
| 24675 | 24891 | </return-value> | |
| @@ -24692,7 +24908,7 @@ This function can't be called from inside one of the | |||
| 24692 | 24908 | If called from the start_element or end_element handlers this will | |
| 24693 | 24909 | give the element_name as passed to those functions. For the parent | |
| 24694 | 24910 | elements, see g_markup_parse_context_get_element_stack().</doc> | |
| 24695 | - | <source-position filename="glib/gmarkup.h" line="217"/> | |
| 24911 | + | <source-position filename="glib/gmarkup.h" line="221"/> | |
| 24696 | 24912 | <return-value transfer-ownership="none"> | |
| 24697 | 24913 | <doc xml:space="preserve" | |
| 24698 | 24914 | filename="glib/gmarkup.c" | |
| @@ -24724,7 +24940,7 @@ This function is intended to be used in the start_element and | |||
| 24724 | 24940 | end_element handlers where g_markup_parse_context_get_element() | |
| 24725 | 24941 | would merely return the name of the element that is being | |
| 24726 | 24942 | processed.</doc> | |
| 24727 | - | <source-position filename="glib/gmarkup.h" line="219"/> | |
| 24943 | + | <source-position filename="glib/gmarkup.h" line="223"/> | |
| 24728 | 24944 | <return-value transfer-ownership="none"> | |
| 24729 | 24945 | <doc xml:space="preserve" | |
| 24730 | 24946 | filename="glib/gmarkup.c" | |
| @@ -24750,7 +24966,7 @@ processed.</doc> | |||
| 24750 | 24966 | that line. Intended for use in error messages; there are no strict | |
| 24751 | 24967 | semantics for what constitutes the "current" line number other than | |
| 24752 | 24968 | "the best number we could come up with for error messages."</doc> | |
| 24753 | - | <source-position filename="glib/gmarkup.h" line="223"/> | |
| 24969 | + | <source-position filename="glib/gmarkup.h" line="227"/> | |
| 24754 | 24970 | <return-value transfer-ownership="none"> | |
| 24755 | 24971 | <type name="none" c:type="void"/> | |
| 24756 | 24972 | </return-value> | |
| @@ -24795,7 +25011,7 @@ semantics for what constitutes the "current" line number other than | |||
| 24795 | 25011 | This will either be the user_data that was provided to | |
| 24796 | 25012 | g_markup_parse_context_new() or to the most recent call | |
| 24797 | 25013 | of g_markup_parse_context_push().</doc> | |
| 24798 | - | <source-position filename="glib/gmarkup.h" line="227"/> | |
| 25014 | + | <source-position filename="glib/gmarkup.h" line="231"/> | |
| 24799 | 25015 | <return-value transfer-ownership="none" nullable="1"> | |
| 24800 | 25016 | <doc xml:space="preserve" | |
| 24801 | 25017 | filename="glib/gmarkup.c" | |
| @@ -24828,7 +25044,7 @@ connection or file, you feed each received chunk of data into this | |||
| 24828 | 25044 | function, aborting the process if an error occurs. Once an error | |
| 24829 | 25045 | is reported, no further data may be fed to the #GMarkupParseContext; | |
| 24830 | 25046 | all errors are fatal.</doc> | |
| 24831 | - | <source-position filename="glib/gmarkup.h" line="202"/> | |
| 25047 | + | <source-position filename="glib/gmarkup.h" line="206"/> | |
| 24832 | 25048 | <return-value transfer-ownership="none"> | |
| 24833 | 25049 | <doc xml:space="preserve" | |
| 24834 | 25050 | filename="glib/gmarkup.c" | |
| @@ -24874,7 +25090,7 @@ This function is not intended to be directly called by users | |||
| 24874 | 25090 | interested in invoking subparsers. Instead, it is intended to | |
| 24875 | 25091 | be used by the subparsers themselves to implement a higher-level | |
| 24876 | 25092 | interface.</doc> | |
| 24877 | - | <source-position filename="glib/gmarkup.h" line="211"/> | |
| 25093 | + | <source-position filename="glib/gmarkup.h" line="215"/> | |
| 24878 | 25094 | <return-value transfer-ownership="none" nullable="1"> | |
| 24879 | 25095 | <doc xml:space="preserve" | |
| 24880 | 25096 | filename="glib/gmarkup.c" | |
| @@ -25009,7 +25225,7 @@ static void end_element (context, element_name, ...) | |||
| 25009 | 25225 | // else, handle other tags... | |
| 25010 | 25226 | } | |
| 25011 | 25227 | ]|</doc> | |
| 25012 | - | <source-position filename="glib/gmarkup.h" line="207"/> | |
| 25228 | + | <source-position filename="glib/gmarkup.h" line="211"/> | |
| 25013 | 25229 | <return-value transfer-ownership="none"> | |
| 25014 | 25230 | <type name="none" c:type="void"/> | |
| 25015 | 25231 | </return-value> | |
| @@ -25043,7 +25259,7 @@ static void end_element (context, element_name, ...) | |||
| 25043 | 25259 | <doc xml:space="preserve" | |
| 25044 | 25260 | filename="glib/gmarkup.c" | |
| 25045 | 25261 | line="220">Increases the reference count of @context.</doc> | |
| 25046 | - | <source-position filename="glib/gmarkup.h" line="196"/> | |
| 25262 | + | <source-position filename="glib/gmarkup.h" line="200"/> | |
| 25047 | 25263 | <return-value transfer-ownership="full"> | |
| 25048 | 25264 | <doc xml:space="preserve" | |
| 25049 | 25265 | filename="glib/gmarkup.c" | |
| @@ -25066,7 +25282,7 @@ static void end_element (context, element_name, ...) | |||
| 25066 | 25282 | filename="glib/gmarkup.c" | |
| 25067 | 25283 | line="241">Decreases the reference count of @context. When its reference count | |
| 25068 | 25284 | drops to 0, it is freed.</doc> | |
| 25069 | - | <source-position filename="glib/gmarkup.h" line="198"/> | |
| 25285 | + | <source-position filename="glib/gmarkup.h" line="202"/> | |
| 25070 | 25286 | <return-value transfer-ownership="none"> | |
| 25071 | 25287 | <type name="none" c:type="void"/> | |
| 25072 | 25288 | </return-value> | |
| @@ -25141,8 +25357,12 @@ can set an error; in particular the %G_MARKUP_ERROR_UNKNOWN_ELEMENT, | |||
| 25141 | 25357 | %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, and %G_MARKUP_ERROR_INVALID_CONTENT | |
| 25142 | 25358 | errors are intended to be set from these callbacks. If you set an error | |
| 25143 | 25359 | from a callback, g_markup_parse_context_parse() will report that error | |
| 25144 | - | back to its caller.</doc> | |
| 25145 | - | <source-position filename="glib/gmarkup.h" line="188"/> | |
| 25360 | + | back to its caller. | |
| 25361 | + | ||
| 25362 | + | Refer to the [GMarkup](../glib/markup.html) documentation to understand | |
| 25363 | + | the scope and limitations of `GMarkupParser`. In particular, it is not a | |
| 25364 | + | full XML parser and it must not be used to process untrusted data.</doc> | |
| 25365 | + | <source-position filename="glib/gmarkup.h" line="192"/> | |
| 25146 | 25366 | <field name="start_element"> | |
| 25147 | 25367 | <doc xml:space="preserve" | |
| 25148 | 25368 | filename="glib/gmarkup.h" | |
| @@ -25150,7 +25370,7 @@ back to its caller.</doc> | |||
| 25150 | 25370 | is seen. The callback's @attribute_names and @attribute_values parameters | |
| 25151 | 25371 | are %NULL-terminated.</doc> | |
| 25152 | 25372 | <callback name="start_element" throws="1"> | |
| 25153 | - | <source-position filename="glib/gmarkup.h" line="150"/> | |
| 25373 | + | <source-position filename="glib/gmarkup.h" line="154"/> | |
| 25154 | 25374 | <return-value transfer-ownership="none"> | |
| 25155 | 25375 | <type name="none" c:type="void"/> | |
| 25156 | 25376 | </return-value> | |
| @@ -25184,7 +25404,7 @@ back to its caller.</doc> | |||
| 25184 | 25404 | is seen. Note that this is also called for empty tags like | |
| 25185 | 25405 | `<empty/>`.</doc> | |
| 25186 | 25406 | <callback name="end_element" throws="1"> | |
| 25187 | - | <source-position filename="glib/gmarkup.h" line="158"/> | |
| 25407 | + | <source-position filename="glib/gmarkup.h" line="162"/> | |
| 25188 | 25408 | <return-value transfer-ownership="none"> | |
| 25189 | 25409 | <type name="none" c:type="void"/> | |
| 25190 | 25410 | </return-value> | |
| @@ -25214,7 +25434,7 @@ back to its caller.</doc> | |||
| 25214 | 25434 | %G_MARKUP_TREAT_CDATA_AS_TEXT flag is set, this function is also | |
| 25215 | 25435 | called for the content of CDATA marked sections.</doc> | |
| 25216 | 25436 | <callback name="text" throws="1"> | |
| 25217 | - | <source-position filename="glib/gmarkup.h" line="165"/> | |
| 25437 | + | <source-position filename="glib/gmarkup.h" line="169"/> | |
| 25218 | 25438 | <return-value transfer-ownership="none"> | |
| 25219 | 25439 | <type name="none" c:type="void"/> | |
| 25220 | 25440 | </return-value> | |
| @@ -25247,7 +25467,7 @@ back to its caller.</doc> | |||
| 25247 | 25467 | %G_MARKUP_TREAT_CDATA_AS_TEXT flag is not set, this function is also | |
| 25248 | 25468 | called for CDATA marked sections.</doc> | |
| 25249 | 25469 | <callback name="passthrough" throws="1"> | |
| 25250 | - | <source-position filename="glib/gmarkup.h" line="176"/> | |
| 25470 | + | <source-position filename="glib/gmarkup.h" line="180"/> | |
| 25251 | 25471 | <return-value transfer-ownership="none"> | |
| 25252 | 25472 | <type name="none" c:type="void"/> | |
| 25253 | 25473 | </return-value> | |
| @@ -25276,7 +25496,7 @@ back to its caller.</doc> | |||
| 25276 | 25496 | filename="glib/gmarkup.h" | |
| 25277 | 25497 | line="137">Callback to invoke when an error occurs.</doc> | |
| 25278 | 25498 | <callback name="error"> | |
| 25279 | - | <source-position filename="glib/gmarkup.h" line="185"/> | |
| 25499 | + | <source-position filename="glib/gmarkup.h" line="189"/> | |
| 25280 | 25500 | <return-value transfer-ownership="none"> | |
| 25281 | 25501 | <type name="none" c:type="void"/> | |
| 25282 | 25502 | </return-value> | |
| @@ -25315,7 +25535,7 @@ matches.</doc> | |||
| 25315 | 25535 | throws="1"> | |
| 25316 | 25536 | <doc xml:space="preserve" | |
| 25317 | 25537 | filename="glib/gregex.c" | |
| 25318 | - | line="1329">Returns a new string containing the text in @string_to_expand with | |
| 25538 | + | line="1404">Returns a new string containing the text in @string_to_expand with | |
| 25319 | 25539 | references and escape sequences expanded. References refer to the last | |
| 25320 | 25540 | match done with @string against @regex and have the same syntax used by | |
| 25321 | 25541 | g_regex_replace(). | |
| @@ -25336,7 +25556,7 @@ contains references.</doc> | |||
| 25336 | 25556 | <return-value transfer-ownership="full" nullable="1"> | |
| 25337 | 25557 | <doc xml:space="preserve" | |
| 25338 | 25558 | filename="glib/gregex.c" | |
| 25339 | - | line="1353">the expanded string, or %NULL if an error occurred</doc> | |
| 25559 | + | line="1428">the expanded string, or %NULL if an error occurred</doc> | |
| 25340 | 25560 | <type name="utf8" c:type="gchar*"/> | |
| 25341 | 25561 | </return-value> | |
| 25342 | 25562 | <parameters> | |
| @@ -25346,13 +25566,13 @@ contains references.</doc> | |||
| 25346 | 25566 | allow-none="1"> | |
| 25347 | 25567 | <doc xml:space="preserve" | |
| 25348 | 25568 | filename="glib/gregex.c" | |
| 25349 | - | line="1331">a #GMatchInfo or %NULL</doc> | |
| 25569 | + | line="1406">a #GMatchInfo or %NULL</doc> | |
| 25350 | 25570 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25351 | 25571 | </instance-parameter> | |
| 25352 | 25572 | <parameter name="string_to_expand" transfer-ownership="none"> | |
| 25353 | 25573 | <doc xml:space="preserve" | |
| 25354 | 25574 | filename="glib/gregex.c" | |
| 25355 | - | line="1332">the string to expand</doc> | |
| 25575 | + | line="1407">the string to expand</doc> | |
| 25356 | 25576 | <type name="utf8" c:type="const gchar*"/> | |
| 25357 | 25577 | </parameter> | |
| 25358 | 25578 | </parameters> | |
| @@ -25360,7 +25580,7 @@ contains references.</doc> | |||
| 25360 | 25580 | <method name="fetch" c:identifier="g_match_info_fetch" version="2.14"> | |
| 25361 | 25581 | <doc xml:space="preserve" | |
| 25362 | 25582 | filename="glib/gregex.c" | |
| 25363 | - | line="1392">Retrieves the text matching the @match_num'th capturing | |
| 25583 | + | line="1467">Retrieves the text matching the @match_num'th capturing | |
| 25364 | 25584 | parentheses. 0 is the full text of the match, 1 is the first paren | |
| 25365 | 25585 | set, 2 the second, and so on. | |
| 25366 | 25586 | ||
| @@ -25380,7 +25600,7 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25380 | 25600 | <return-value transfer-ownership="full" nullable="1"> | |
| 25381 | 25601 | <doc xml:space="preserve" | |
| 25382 | 25602 | filename="glib/gregex.c" | |
| 25383 | - | line="1414">The matched substring, or %NULL if an error | |
| 25603 | + | line="1489">The matched substring, or %NULL if an error | |
| 25384 | 25604 | occurred. You have to free the string yourself</doc> | |
| 25385 | 25605 | <type name="utf8" c:type="gchar*"/> | |
| 25386 | 25606 | </return-value> | |
| @@ -25388,13 +25608,13 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25388 | 25608 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25389 | 25609 | <doc xml:space="preserve" | |
| 25390 | 25610 | filename="glib/gregex.c" | |
| 25391 | - | line="1394">#GMatchInfo structure</doc> | |
| 25611 | + | line="1469">#GMatchInfo structure</doc> | |
| 25392 | 25612 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25393 | 25613 | </instance-parameter> | |
| 25394 | 25614 | <parameter name="match_num" transfer-ownership="none"> | |
| 25395 | 25615 | <doc xml:space="preserve" | |
| 25396 | 25616 | filename="glib/gregex.c" | |
| 25397 | - | line="1395">number of the sub expression</doc> | |
| 25617 | + | line="1470">number of the sub expression</doc> | |
| 25398 | 25618 | <type name="gint" c:type="gint"/> | |
| 25399 | 25619 | </parameter> | |
| 25400 | 25620 | </parameters> | |
| @@ -25404,7 +25624,7 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25404 | 25624 | version="2.14"> | |
| 25405 | 25625 | <doc xml:space="preserve" | |
| 25406 | 25626 | filename="glib/gregex.c" | |
| 25407 | - | line="1609">Bundles up pointers to each of the matching substrings from a match | |
| 25627 | + | line="1879">Bundles up pointers to each of the matching substrings from a match | |
| 25408 | 25628 | and stores them in an array of gchar pointers. The first element in | |
| 25409 | 25629 | the returned array is the match number 0, i.e. the entire matched | |
| 25410 | 25630 | text. | |
| @@ -25424,7 +25644,7 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25424 | 25644 | <return-value transfer-ownership="full"> | |
| 25425 | 25645 | <doc xml:space="preserve" | |
| 25426 | 25646 | filename="glib/gregex.c" | |
| 25427 | - | line="1630">a %NULL-terminated array of gchar * | |
| 25647 | + | line="1900">a %NULL-terminated array of gchar * | |
| 25428 | 25648 | pointers. It must be freed using g_strfreev(). If the previous | |
| 25429 | 25649 | match failed %NULL is returned</doc> | |
| 25430 | 25650 | <array c:type="gchar**"> | |
| @@ -25435,7 +25655,7 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25435 | 25655 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25436 | 25656 | <doc xml:space="preserve" | |
| 25437 | 25657 | filename="glib/gregex.c" | |
| 25438 | - | line="1611">a #GMatchInfo structure</doc> | |
| 25658 | + | line="1881">a #GMatchInfo structure</doc> | |
| 25439 | 25659 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25440 | 25660 | </instance-parameter> | |
| 25441 | 25661 | </parameters> | |
| @@ -25445,7 +25665,7 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25445 | 25665 | version="2.14"> | |
| 25446 | 25666 | <doc xml:space="preserve" | |
| 25447 | 25667 | filename="glib/gregex.c" | |
| 25448 | - | line="1535">Retrieves the text matching the capturing parentheses named @name. | |
| 25668 | + | line="1802">Retrieves the text matching the capturing parentheses named @name. | |
| 25449 | 25669 | ||
| 25450 | 25670 | If @name is a valid sub pattern name but it didn't match anything | |
| 25451 | 25671 | (e.g. sub pattern `"X"`, matching `"b"` against `"(?P<X>a)?b"`) | |
| @@ -25457,7 +25677,7 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25457 | 25677 | <return-value transfer-ownership="full" nullable="1"> | |
| 25458 | 25678 | <doc xml:space="preserve" | |
| 25459 | 25679 | filename="glib/gregex.c" | |
| 25460 | - | line="1549">The matched substring, or %NULL if an error | |
| 25680 | + | line="1816">The matched substring, or %NULL if an error | |
| 25461 | 25681 | occurred. You have to free the string yourself</doc> | |
| 25462 | 25682 | <type name="utf8" c:type="gchar*"/> | |
| 25463 | 25683 | </return-value> | |
| @@ -25465,13 +25685,13 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25465 | 25685 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25466 | 25686 | <doc xml:space="preserve" | |
| 25467 | 25687 | filename="glib/gregex.c" | |
| 25468 | - | line="1537">#GMatchInfo structure</doc> | |
| 25688 | + | line="1804">#GMatchInfo structure</doc> | |
| 25469 | 25689 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25470 | 25690 | </instance-parameter> | |
| 25471 | 25691 | <parameter name="name" transfer-ownership="none"> | |
| 25472 | 25692 | <doc xml:space="preserve" | |
| 25473 | 25693 | filename="glib/gregex.c" | |
| 25474 | - | line="1538">name of the subexpression</doc> | |
| 25694 | + | line="1805">name of the subexpression</doc> | |
| 25475 | 25695 | <type name="utf8" c:type="const gchar*"/> | |
| 25476 | 25696 | </parameter> | |
| 25477 | 25697 | </parameters> | |
| @@ -25481,16 +25701,19 @@ so you cannot call this function after freeing the string.</doc> | |||
| 25481 | 25701 | version="2.14"> | |
| 25482 | 25702 | <doc xml:space="preserve" | |
| 25483 | 25703 | filename="glib/gregex.c" | |
| 25484 | - | line="1570">Retrieves the position in bytes of the capturing parentheses named @name. | |
| 25704 | + | line="1837">Retrieves the position in bytes of the capturing parentheses named @name. | |
| 25485 | 25705 | ||
| 25486 | 25706 | If @name is a valid sub pattern name but it didn't match anything | |
| 25487 | 25707 | (e.g. sub pattern `"X"`, matching `"b"` against `"(?P<X>a)?b"`) | |
| 25488 | - | then @start_pos and @end_pos are set to -1 and %TRUE is returned.</doc> | |
| 25708 | + | then @start_pos and @end_pos are set to -1 and %TRUE is returned. | |
| 25709 | + | ||
| 25710 | + | As @end_pos is set to the byte after the final byte of the match (on success), | |
| 25711 | + | the length of the match can be calculated as `end_pos - start_pos`.</doc> | |
| 25489 | 25712 | <source-position filename="glib/gregex.h" line="603"/> | |
| 25490 | 25713 | <return-value transfer-ownership="none"> | |
| 25491 | 25714 | <doc xml:space="preserve" | |
| 25492 | 25715 | filename="glib/gregex.c" | |
| 25493 | - | line="1585">%TRUE if the position was fetched, %FALSE otherwise. | |
| 25716 | + | line="1855">%TRUE if the position was fetched, %FALSE otherwise. | |
| 25494 | 25717 | If the position cannot be fetched, @start_pos and @end_pos | |
| 25495 | 25718 | are left unchanged.</doc> | |
| 25496 | 25719 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -25499,13 +25722,13 @@ then @start_pos and @end_pos are set to -1 and %TRUE is returned.</doc> | |||
| 25499 | 25722 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25500 | 25723 | <doc xml:space="preserve" | |
| 25501 | 25724 | filename="glib/gregex.c" | |
| 25502 | - | line="1572">#GMatchInfo structure</doc> | |
| 25725 | + | line="1839">#GMatchInfo structure</doc> | |
| 25503 | 25726 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25504 | 25727 | </instance-parameter> | |
| 25505 | 25728 | <parameter name="name" transfer-ownership="none"> | |
| 25506 | 25729 | <doc xml:space="preserve" | |
| 25507 | 25730 | filename="glib/gregex.c" | |
| 25508 | - | line="1573">name of the subexpression</doc> | |
| 25731 | + | line="1840">name of the subexpression</doc> | |
| 25509 | 25732 | <type name="utf8" c:type="const gchar*"/> | |
| 25510 | 25733 | </parameter> | |
| 25511 | 25734 | <parameter name="start_pos" | |
| @@ -25516,7 +25739,7 @@ then @start_pos and @end_pos are set to -1 and %TRUE is returned.</doc> | |||
| 25516 | 25739 | allow-none="1"> | |
| 25517 | 25740 | <doc xml:space="preserve" | |
| 25518 | 25741 | filename="glib/gregex.c" | |
| 25519 | - | line="1574">pointer to location where to store | |
| 25742 | + | line="1841">pointer to location where to store | |
| 25520 | 25743 | the start position, or %NULL</doc> | |
| 25521 | 25744 | <type name="gint" c:type="gint*"/> | |
| 25522 | 25745 | </parameter> | |
| @@ -25528,8 +25751,8 @@ then @start_pos and @end_pos are set to -1 and %TRUE is returned.</doc> | |||
| 25528 | 25751 | allow-none="1"> | |
| 25529 | 25752 | <doc xml:space="preserve" | |
| 25530 | 25753 | filename="glib/gregex.c" | |
| 25531 | - | line="1576">pointer to location where to store | |
| 25532 | - | the end position, or %NULL</doc> | |
| 25754 | + | line="1843">pointer to location where to store | |
| 25755 | + | the end position (the byte after the final byte of the match), or %NULL</doc> | |
| 25533 | 25756 | <type name="gint" c:type="gint*"/> | |
| 25534 | 25757 | </parameter> | |
| 25535 | 25758 | </parameters> | |
| @@ -25539,39 +25762,231 @@ then @start_pos and @end_pos are set to -1 and %TRUE is returned.</doc> | |||
| 25539 | 25762 | version="2.14"> | |
| 25540 | 25763 | <doc xml:space="preserve" | |
| 25541 | 25764 | filename="glib/gregex.c" | |
| 25542 | - | line="1441">Retrieves the position in bytes of the @match_num'th capturing | |
| 25543 | - | parentheses. 0 is the full text of the match, 1 is the first | |
| 25544 | - | paren set, 2 the second, and so on. | |
| 25765 | + | line="1516">Returns the start and end positions (in bytes) of a successfully matching | |
| 25766 | + | capture parenthesis. | |
| 25767 | + | ||
| 25768 | + | Valid values for @match_num are `0` for the full text of the match, | |
| 25769 | + | `1` for the first paren set, `2` for the second, and so on. | |
| 25770 | + | ||
| 25771 | + | As @end_pos is set to the byte after the final byte of the match (on success), | |
| 25772 | + | the length of the match can be calculated as `end_pos - start_pos`. | |
| 25773 | + | ||
| 25774 | + | As a best practice, initialize @start_pos and @end_pos to identifiable | |
| 25775 | + | values, such as `G_MAXINT`, so that you can test if | |
| 25776 | + | `g_match_info_fetch_pos()` actually changed the value for a given | |
| 25777 | + | capture parenthesis. | |
| 25778 | + | ||
| 25779 | + | The parameter @match_num corresponds to a matched capture parenthesis. The | |
| 25780 | + | actual value you use for @match_num depends on the method used to generate | |
| 25781 | + | @match_info. The following sections describe those methods. | |
| 25782 | + | ||
| 25783 | + | ## Methods Using Non-deterministic Finite Automata Matching | |
| 25784 | + | ||
| 25785 | + | The methods [method@GLib.Regex.match] and [method@GLib.Regex.match_full] | |
| 25786 | + | return a [struct@GLib.MatchInfo] using traditional (greedy) pattern | |
| 25787 | + | matching, also known as | |
| 25788 | + | [Non-deterministic Finite Automaton](https://en.wikipedia.org/wiki/Nondeterministic_finite_automaton) | |
| 25789 | + | (NFA) matching. You pass the returned `GMatchInfo` from these methods to | |
| 25790 | + | `g_match_info_fetch_pos()` to determine the start and end positions | |
| 25791 | + | of capture parentheses. The values for @match_num correspond to the capture | |
| 25792 | + | parentheses in order, with `0` corresponding to the entire matched string. | |
| 25793 | + | ||
| 25794 | + | @match_num can refer to a capture parenthesis with no match. For example, | |
| 25795 | + | the string `b` matches against the pattern `(a)?b`, but the capture | |
| 25796 | + | parenthesis `(a)` has no match. In this case, `g_match_info_fetch_pos()` | |
| 25797 | + | returns true and sets @start_pos and @end_pos to `-1` when called with | |
| 25798 | + | `match_num` as `1` (for `(a)`). | |
| 25799 | + | ||
| 25800 | + | For an expanded example, a regex pattern is `(a)?(.*?)the (.*)`, | |
| 25801 | + | and a candidate string is `glib regexes are the best`. In this scenario | |
| 25802 | + | there are four capture parentheses numbered 0–3: an implicit one | |
| 25803 | + | for the entire string, and three explicitly declared in the regex pattern. | |
| 25804 | + | ||
| 25805 | + | Given this example, the following table describes the return values | |
| 25806 | + | from `g_match_info_fetch_pos()` for various values of @match_num. | |
| 25807 | + | ||
| 25808 | + | `match_num` | Contents | Return value | Returned `start_pos` | Returned `end_pos` | |
| 25809 | + | ----------- | -------- | ------------ | -------------------- | ------------------ | |
| 25810 | + | 0 | Matches entire string | True | 0 | 25 | |
| 25811 | + | 1 | Does not match first character | True | -1 | -1 | |
| 25812 | + | 2 | All text before `the ` | True | 0 | 17 | |
| 25813 | + | 3 | All text after `the ` | True | 21 | 25 | |
| 25814 | + | 4 | Capture paren out of range | False | Unchanged | Unchanged | |
| 25815 | + | ||
| 25816 | + | The following code sample and output implements this example. | |
| 25817 | + | ||
| 25818 | + | ``` { .c } | |
| 25819 | + | #include <glib.h> | |
| 25545 | 25820 | ||
| 25546 | - | If @match_num is a valid sub pattern but it didn't match anything | |
| 25547 | - | (e.g. sub pattern 1, matching "b" against "(a)?b") then @start_pos | |
| 25548 | - | and @end_pos are set to -1 and %TRUE is returned. | |
| 25821 | + | int | |
| 25822 | + | main (int argc, char *argv[]) | |
| 25823 | + | { | |
| 25824 | + | g_autoptr(GError) local_error = NULL; | |
| 25825 | + | const char *regex_pattern = "(a)?(.*?)the (.*)"; | |
| 25826 | + | const char *test_string = "glib regexes are the best"; | |
| 25827 | + | g_autoptr(GRegex) regex = NULL; | |
| 25828 | + | ||
| 25829 | + | regex = g_regex_new (regex_pattern, | |
| 25830 | + | G_REGEX_DEFAULT, | |
| 25831 | + | G_REGEX_MATCH_DEFAULT, | |
| 25832 | + | &local_error); | |
| 25833 | + | if (regex == NULL) | |
| 25834 | + | { | |
| 25835 | + | g_printerr ("Error creating regex: %s\n", local_error->message); | |
| 25836 | + | return 1; | |
| 25837 | + | } | |
| 25549 | 25838 | ||
| 25550 | - | If the match was obtained using the DFA algorithm, that is using | |
| 25551 | - | g_regex_match_all() or g_regex_match_all_full(), the retrieved | |
| 25552 | - | position is not that of a set of parentheses but that of a matched | |
| 25553 | - | substring. Substrings are matched in reverse order of length, so | |
| 25554 | - | 0 is the longest match.</doc> | |
| 25839 | + | g_autoptr(GMatchInfo) match_info = NULL; | |
| 25840 | + | g_regex_match (regex, test_string, G_REGEX_MATCH_DEFAULT, &match_info); | |
| 25841 | + | ||
| 25842 | + | int n_matched_strings = g_match_info_get_match_count (match_info); | |
| 25843 | + | ||
| 25844 | + | // Print header line | |
| 25845 | + | g_print ("match_num Contents Return value returned start_pos returned end_pos\n"); | |
| 25846 | + | ||
| 25847 | + | // Iterate over each capture paren, including one that is out of range as a demonstration. | |
| 25848 | + | for (int match_num = 0; match_num <= n_matched_strings; match_num++) | |
| 25849 | + | { | |
| 25850 | + | gboolean found_match; | |
| 25851 | + | g_autofree char *paren_string = NULL; | |
| 25852 | + | int start_pos = G_MAXINT; | |
| 25853 | + | int end_pos = G_MAXINT; | |
| 25854 | + | ||
| 25855 | + | found_match = g_match_info_fetch_pos (match_info, | |
| 25856 | + | match_num, | |
| 25857 | + | &start_pos, | |
| 25858 | + | &end_pos); | |
| 25859 | + | ||
| 25860 | + | // If no match, display N/A as the found string. | |
| 25861 | + | if (start_pos == G_MAXINT || start_pos == -1) | |
| 25862 | + | paren_string = g_strdup ("N/A"); | |
| 25863 | + | else | |
| 25864 | + | paren_string = g_strndup (test_string + start_pos, end_pos - start_pos); | |
| 25865 | + | ||
| 25866 | + | g_print ("%-9d %-25s %-12d %-18d %d\n", match_num, paren_string, found_match, start_pos, end_pos); | |
| 25867 | + | } | |
| 25868 | + | ||
| 25869 | + | return 0; | |
| 25870 | + | } | |
| 25871 | + | ``` | |
| 25872 | + | ||
| 25873 | + | ``` | |
| 25874 | + | match_num Contents Return value returned start_pos returned end_pos | |
| 25875 | + | 0 glib regexes are the best 1 0 25 | |
| 25876 | + | 1 N/A 1 -1 -1 | |
| 25877 | + | 2 glib regexes are 1 0 17 | |
| 25878 | + | 3 best 1 21 25 | |
| 25879 | + | 4 N/A 0 2147483647 2147483647 | |
| 25880 | + | ``` | |
| 25881 | + | ## Methods Using Deterministic Finite Automata Matching | |
| 25882 | + | ||
| 25883 | + | The methods [method@GLib.Regex.match_all] and | |
| 25884 | + | [method@GLib.Regex.match_all_full] | |
| 25885 | + | return a `GMatchInfo` using | |
| 25886 | + | [Deterministic Finite Automaton](https://en.wikipedia.org/wiki/Deterministic_finite_automaton) | |
| 25887 | + | (DFA) pattern matching. This algorithm detects overlapping matches. You pass | |
| 25888 | + | the returned `GMatchInfo` from these methods to `g_match_info_fetch_pos()` | |
| 25889 | + | to determine the start and end positions of each overlapping match. Use the | |
| 25890 | + | method [method@GLib.MatchInfo.get_match_count] to determine the number | |
| 25891 | + | of overlapping matches. | |
| 25892 | + | ||
| 25893 | + | For example, a regex pattern is `<.*>`, and a candidate string is | |
| 25894 | + | `<a> <b> <c>`. In this scenario there are three implicit capture | |
| 25895 | + | parentheses: one for the entire string, one for `<a> <b>`, and one for `<a>`. | |
| 25896 | + | ||
| 25897 | + | Given this example, the following table describes the return values from | |
| 25898 | + | `g_match_info_fetch_pos()` for various values of @match_num. | |
| 25899 | + | ||
| 25900 | + | `match_num` | Contents | Return value | Returned `start_pos` | Returned `end_pos` | |
| 25901 | + | ----------- | -------- | ------------ | -------------------- | ------------------ | |
| 25902 | + | 0 | Matches entire string | True | 0 | 11 | |
| 25903 | + | 1 | Matches `<a> <b>` | True | 0 | 7 | |
| 25904 | + | 2 | Matches `<a>` | True | 0 | 3 | |
| 25905 | + | 3 | Capture paren out of range | False | Unchanged | Unchanged | |
| 25906 | + | ||
| 25907 | + | The following code sample and output implements this example. | |
| 25908 | + | ||
| 25909 | + | ``` { .c } | |
| 25910 | + | #include <glib.h> | |
| 25911 | + | ||
| 25912 | + | int | |
| 25913 | + | main (int argc, char *argv[]) | |
| 25914 | + | { | |
| 25915 | + | g_autoptr(GError) local_error = NULL; | |
| 25916 | + | const char *regex_pattern = "<.*>"; | |
| 25917 | + | const char *test_string = "<a> <b> <c>"; | |
| 25918 | + | g_autoptr(GRegex) regex = NULL; | |
| 25919 | + | ||
| 25920 | + | regex = g_regex_new (regex_pattern, | |
| 25921 | + | G_REGEX_DEFAULT, | |
| 25922 | + | G_REGEX_MATCH_DEFAULT, | |
| 25923 | + | &local_error); | |
| 25924 | + | if (regex == NULL) | |
| 25925 | + | { | |
| 25926 | + | g_printerr ("Error creating regex: %s\n", local_error->message); | |
| 25927 | + | return -1; | |
| 25928 | + | } | |
| 25929 | + | ||
| 25930 | + | g_autoptr(GMatchInfo) match_info = NULL; | |
| 25931 | + | g_regex_match_all (regex, test_string, G_REGEX_MATCH_DEFAULT, &match_info); | |
| 25932 | + | ||
| 25933 | + | int n_matched_strings = g_match_info_get_match_count (match_info); | |
| 25934 | + | ||
| 25935 | + | // Print header line | |
| 25936 | + | g_print ("match_num Contents Return value returned start_pos returned end_pos\n"); | |
| 25937 | + | ||
| 25938 | + | // Iterate over each capture paren, including one that is out of range as a demonstration. | |
| 25939 | + | for (int match_num = 0; match_num <= n_matched_strings; match_num++) | |
| 25940 | + | { | |
| 25941 | + | gboolean found_match; | |
| 25942 | + | g_autofree char *paren_string = NULL; | |
| 25943 | + | int start_pos = G_MAXINT; | |
| 25944 | + | int end_pos = G_MAXINT; | |
| 25945 | + | ||
| 25946 | + | found_match = g_match_info_fetch_pos (match_info, match_num, &start_pos, &end_pos); | |
| 25947 | + | ||
| 25948 | + | // If no match, display N/A as the found string. | |
| 25949 | + | if (start_pos == G_MAXINT || start_pos == -1) | |
| 25950 | + | paren_string = g_strdup ("N/A"); | |
| 25951 | + | else | |
| 25952 | + | paren_string = g_strndup (test_string + start_pos, end_pos - start_pos); | |
| 25953 | + | ||
| 25954 | + | g_print ("%-9d %-25s %-12d %-18d %d\n", match_num, paren_string, found_match, start_pos, end_pos); | |
| 25955 | + | } | |
| 25956 | + | ||
| 25957 | + | return 0; | |
| 25958 | + | } | |
| 25959 | + | ``` | |
| 25960 | + | ||
| 25961 | + | ``` | |
| 25962 | + | match_num Contents Return value returned start_pos returned end_pos | |
| 25963 | + | 0 <a> <b> <c> 1 0 11 | |
| 25964 | + | 1 <a> <b> 1 0 7 | |
| 25965 | + | 2 <a> 1 0 3 | |
| 25966 | + | 3 N/A 0 2147483647 2147483647 | |
| 25967 | + | ```</doc> | |
| 25555 | 25968 | <source-position filename="glib/gregex.h" line="595"/> | |
| 25556 | 25969 | <return-value transfer-ownership="none"> | |
| 25557 | 25970 | <doc xml:space="preserve" | |
| 25558 | 25971 | filename="glib/gregex.c" | |
| 25559 | - | line="1464">%TRUE if the position was fetched, %FALSE otherwise. If | |
| 25560 | - | the position cannot be fetched, @start_pos and @end_pos are left | |
| 25561 | - | unchanged</doc> | |
| 25972 | + | line="1729">True if @match_num is within range, false otherwise. If | |
| 25973 | + | the capture paren has a match, @start_pos and @end_pos contain the | |
| 25974 | + | start and end positions (in bytes) of the matching substring. If the | |
| 25975 | + | capture paren has no match, @start_pos and @end_pos are `-1`. If | |
| 25976 | + | @match_num is out of range, @start_pos and @end_pos are left unchanged.</doc> | |
| 25562 | 25977 | <type name="gboolean" c:type="gboolean"/> | |
| 25563 | 25978 | </return-value> | |
| 25564 | 25979 | <parameters> | |
| 25565 | 25980 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25566 | 25981 | <doc xml:space="preserve" | |
| 25567 | 25982 | filename="glib/gregex.c" | |
| 25568 | - | line="1443">#GMatchInfo structure</doc> | |
| 25983 | + | line="1518">#GMatchInfo structure</doc> | |
| 25569 | 25984 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25570 | 25985 | </instance-parameter> | |
| 25571 | 25986 | <parameter name="match_num" transfer-ownership="none"> | |
| 25572 | 25987 | <doc xml:space="preserve" | |
| 25573 | 25988 | filename="glib/gregex.c" | |
| 25574 | - | line="1444">number of the sub expression</doc> | |
| 25989 | + | line="1519">number of the capture parenthesis</doc> | |
| 25575 | 25990 | <type name="gint" c:type="gint"/> | |
| 25576 | 25991 | </parameter> | |
| 25577 | 25992 | <parameter name="start_pos" | |
| @@ -25582,7 +25997,7 @@ substring. Substrings are matched in reverse order of length, so | |||
| 25582 | 25997 | allow-none="1"> | |
| 25583 | 25998 | <doc xml:space="preserve" | |
| 25584 | 25999 | filename="glib/gregex.c" | |
| 25585 | - | line="1445">pointer to location where to store | |
| 26000 | + | line="1520">pointer to location where to store | |
| 25586 | 26001 | the start position, or %NULL</doc> | |
| 25587 | 26002 | <type name="gint" c:type="gint*"/> | |
| 25588 | 26003 | </parameter> | |
| @@ -25594,8 +26009,8 @@ substring. Substrings are matched in reverse order of length, so | |||
| 25594 | 26009 | allow-none="1"> | |
| 25595 | 26010 | <doc xml:space="preserve" | |
| 25596 | 26011 | filename="glib/gregex.c" | |
| 25597 | - | line="1447">pointer to location where to store | |
| 25598 | - | the end position, or %NULL</doc> | |
| 26012 | + | line="1522">pointer to location where to store | |
| 26013 | + | the end position (the byte after the final byte of the match), or %NULL</doc> | |
| 25599 | 26014 | <type name="gint" c:type="gint*"/> | |
| 25600 | 26015 | </parameter> | |
| 25601 | 26016 | </parameters> | |
| @@ -25603,7 +26018,7 @@ substring. Substrings are matched in reverse order of length, so | |||
| 25603 | 26018 | <method name="free" c:identifier="g_match_info_free" version="2.14"> | |
| 25604 | 26019 | <doc xml:space="preserve" | |
| 25605 | 26020 | filename="glib/gregex.c" | |
| 25606 | - | line="1056">If @match_info is not %NULL, calls g_match_info_unref(); otherwise does | |
| 26021 | + | line="1131">If @match_info is not %NULL, calls g_match_info_unref(); otherwise does | |
| 25607 | 26022 | nothing.</doc> | |
| 25608 | 26023 | <source-position filename="glib/gregex.h" line="577"/> | |
| 25609 | 26024 | <return-value transfer-ownership="none"> | |
| @@ -25616,7 +26031,7 @@ nothing.</doc> | |||
| 25616 | 26031 | allow-none="1"> | |
| 25617 | 26032 | <doc xml:space="preserve" | |
| 25618 | 26033 | filename="glib/gregex.c" | |
| 25619 | - | line="1058">a #GMatchInfo, or %NULL</doc> | |
| 26034 | + | line="1133">a #GMatchInfo, or %NULL</doc> | |
| 25620 | 26035 | <type name="MatchInfo" c:type="GMatchInfo*"/> | |
| 25621 | 26036 | </instance-parameter> | |
| 25622 | 26037 | </parameters> | |
| @@ -25626,7 +26041,7 @@ nothing.</doc> | |||
| 25626 | 26041 | version="2.14"> | |
| 25627 | 26042 | <doc xml:space="preserve" | |
| 25628 | 26043 | filename="glib/gregex.c" | |
| 25629 | - | line="1246">Retrieves the number of matched substrings (including substring 0, | |
| 26044 | + | line="1321">Retrieves the number of matched substrings (including substring 0, | |
| 25630 | 26045 | that is the whole matched text), so 1 is returned if the pattern | |
| 25631 | 26046 | has no substrings in it and 0 is returned if the match failed. | |
| 25632 | 26047 | ||
| @@ -25638,14 +26053,14 @@ the number of matched substrings.</doc> | |||
| 25638 | 26053 | <return-value transfer-ownership="none"> | |
| 25639 | 26054 | <doc xml:space="preserve" | |
| 25640 | 26055 | filename="glib/gregex.c" | |
| 25641 | - | line="1259">Number of matched substrings, or -1 if an error occurred</doc> | |
| 26056 | + | line="1334">Number of matched substrings, or -1 if an error occurred</doc> | |
| 25642 | 26057 | <type name="gint" c:type="gint"/> | |
| 25643 | 26058 | </return-value> | |
| 25644 | 26059 | <parameters> | |
| 25645 | 26060 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25646 | 26061 | <doc xml:space="preserve" | |
| 25647 | 26062 | filename="glib/gregex.c" | |
| 25648 | - | line="1248">a #GMatchInfo structure</doc> | |
| 26063 | + | line="1323">a #GMatchInfo structure</doc> | |
| 25649 | 26064 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25650 | 26065 | </instance-parameter> | |
| 25651 | 26066 | </parameters> | |
| @@ -25655,21 +26070,21 @@ the number of matched substrings.</doc> | |||
| 25655 | 26070 | version="2.14"> | |
| 25656 | 26071 | <doc xml:space="preserve" | |
| 25657 | 26072 | filename="glib/gregex.c" | |
| 25658 | - | line="973">Returns #GRegex object used in @match_info. It belongs to Glib | |
| 26073 | + | line="1048">Returns #GRegex object used in @match_info. It belongs to Glib | |
| 25659 | 26074 | and must not be freed. Use g_regex_ref() if you need to keep it | |
| 25660 | 26075 | after you free @match_info object.</doc> | |
| 25661 | 26076 | <source-position filename="glib/gregex.h" line="568"/> | |
| 25662 | 26077 | <return-value transfer-ownership="none"> | |
| 25663 | 26078 | <doc xml:space="preserve" | |
| 25664 | 26079 | filename="glib/gregex.c" | |
| 25665 | - | line="981">#GRegex object used in @match_info</doc> | |
| 26080 | + | line="1056">#GRegex object used in @match_info</doc> | |
| 25666 | 26081 | <type name="Regex" c:type="GRegex*"/> | |
| 25667 | 26082 | </return-value> | |
| 25668 | 26083 | <parameters> | |
| 25669 | 26084 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25670 | 26085 | <doc xml:space="preserve" | |
| 25671 | 26086 | filename="glib/gregex.c" | |
| 25672 | - | line="975">a #GMatchInfo</doc> | |
| 26087 | + | line="1050">a #GMatchInfo</doc> | |
| 25673 | 26088 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25674 | 26089 | </instance-parameter> | |
| 25675 | 26090 | </parameters> | |
| @@ -25679,21 +26094,21 @@ after you free @match_info object.</doc> | |||
| 25679 | 26094 | version="2.14"> | |
| 25680 | 26095 | <doc xml:space="preserve" | |
| 25681 | 26096 | filename="glib/gregex.c" | |
| 25682 | - | line="992">Returns the string searched with @match_info. This is the | |
| 26097 | + | line="1067">Returns the string searched with @match_info. This is the | |
| 25683 | 26098 | string passed to g_regex_match() or g_regex_replace() so | |
| 25684 | 26099 | you may not free it before calling this function.</doc> | |
| 25685 | 26100 | <source-position filename="glib/gregex.h" line="570"/> | |
| 25686 | 26101 | <return-value transfer-ownership="none"> | |
| 25687 | 26102 | <doc xml:space="preserve" | |
| 25688 | 26103 | filename="glib/gregex.c" | |
| 25689 | - | line="1000">the string searched with @match_info</doc> | |
| 26104 | + | line="1075">the string searched with @match_info</doc> | |
| 25690 | 26105 | <type name="utf8" c:type="const gchar*"/> | |
| 25691 | 26106 | </return-value> | |
| 25692 | 26107 | <parameters> | |
| 25693 | 26108 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25694 | 26109 | <doc xml:space="preserve" | |
| 25695 | 26110 | filename="glib/gregex.c" | |
| 25696 | - | line="994">a #GMatchInfo</doc> | |
| 26111 | + | line="1069">a #GMatchInfo</doc> | |
| 25697 | 26112 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25698 | 26113 | </instance-parameter> | |
| 25699 | 26114 | </parameters> | |
| @@ -25703,7 +26118,7 @@ you may not free it before calling this function.</doc> | |||
| 25703 | 26118 | version="2.14"> | |
| 25704 | 26119 | <doc xml:space="preserve" | |
| 25705 | 26120 | filename="glib/gregex.c" | |
| 25706 | - | line="1279">Usually if the string passed to g_regex_match*() matches as far as | |
| 26121 | + | line="1354">Usually if the string passed to g_regex_match*() matches as far as | |
| 25707 | 26122 | it goes, but is too short to match the entire pattern, %FALSE is | |
| 25708 | 26123 | returned. There are circumstances where it might be helpful to | |
| 25709 | 26124 | distinguish this case from other cases in which there is no match. | |
| @@ -25740,14 +26155,14 @@ See pcrepartial(3) for more information on partial matching.</doc> | |||
| 25740 | 26155 | <return-value transfer-ownership="none"> | |
| 25741 | 26156 | <doc xml:space="preserve" | |
| 25742 | 26157 | filename="glib/gregex.c" | |
| 25743 | - | line="1317">%TRUE if the match was partial, %FALSE otherwise</doc> | |
| 26158 | + | line="1392">%TRUE if the match was partial, %FALSE otherwise</doc> | |
| 25744 | 26159 | <type name="gboolean" c:type="gboolean"/> | |
| 25745 | 26160 | </return-value> | |
| 25746 | 26161 | <parameters> | |
| 25747 | 26162 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25748 | 26163 | <doc xml:space="preserve" | |
| 25749 | 26164 | filename="glib/gregex.c" | |
| 25750 | - | line="1281">a #GMatchInfo structure</doc> | |
| 26165 | + | line="1356">a #GMatchInfo structure</doc> | |
| 25751 | 26166 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25752 | 26167 | </instance-parameter> | |
| 25753 | 26168 | </parameters> | |
| @@ -25757,12 +26172,12 @@ See pcrepartial(3) for more information on partial matching.</doc> | |||
| 25757 | 26172 | version="2.14"> | |
| 25758 | 26173 | <doc xml:space="preserve" | |
| 25759 | 26174 | filename="glib/gregex.c" | |
| 25760 | - | line="1227">Returns whether the previous match operation succeeded.</doc> | |
| 26175 | + | line="1302">Returns whether the previous match operation succeeded.</doc> | |
| 25761 | 26176 | <source-position filename="glib/gregex.h" line="582"/> | |
| 25762 | 26177 | <return-value transfer-ownership="none"> | |
| 25763 | 26178 | <doc xml:space="preserve" | |
| 25764 | 26179 | filename="glib/gregex.c" | |
| 25765 | - | line="1233">%TRUE if the previous match operation succeeded, | |
| 26180 | + | line="1308">%TRUE if the previous match operation succeeded, | |
| 25766 | 26181 | %FALSE otherwise</doc> | |
| 25767 | 26182 | <type name="gboolean" c:type="gboolean"/> | |
| 25768 | 26183 | </return-value> | |
| @@ -25770,7 +26185,7 @@ See pcrepartial(3) for more information on partial matching.</doc> | |||
| 25770 | 26185 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25771 | 26186 | <doc xml:space="preserve" | |
| 25772 | 26187 | filename="glib/gregex.c" | |
| 25773 | - | line="1229">a #GMatchInfo structure</doc> | |
| 26188 | + | line="1304">a #GMatchInfo structure</doc> | |
| 25774 | 26189 | <type name="MatchInfo" c:type="const GMatchInfo*"/> | |
| 25775 | 26190 | </instance-parameter> | |
| 25776 | 26191 | </parameters> | |
| @@ -25781,7 +26196,7 @@ See pcrepartial(3) for more information on partial matching.</doc> | |||
| 25781 | 26196 | throws="1"> | |
| 25782 | 26197 | <doc xml:space="preserve" | |
| 25783 | 26198 | filename="glib/gregex.c" | |
| 25784 | - | line="1074">Scans for the next match using the same parameters of the previous | |
| 26199 | + | line="1149">Scans for the next match using the same parameters of the previous | |
| 25785 | 26200 | call to g_regex_match_full() or g_regex_match() that returned | |
| 25786 | 26201 | @match_info. | |
| 25787 | 26202 | ||
| @@ -25791,14 +26206,14 @@ cannot free it before calling this function.</doc> | |||
| 25791 | 26206 | <return-value transfer-ownership="none"> | |
| 25792 | 26207 | <doc xml:space="preserve" | |
| 25793 | 26208 | filename="glib/gregex.c" | |
| 25794 | - | line="1086">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 26209 | + | line="1161">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 25795 | 26210 | <type name="gboolean" c:type="gboolean"/> | |
| 25796 | 26211 | </return-value> | |
| 25797 | 26212 | <parameters> | |
| 25798 | 26213 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25799 | 26214 | <doc xml:space="preserve" | |
| 25800 | 26215 | filename="glib/gregex.c" | |
| 25801 | - | line="1076">a #GMatchInfo structure</doc> | |
| 26216 | + | line="1151">a #GMatchInfo structure</doc> | |
| 25802 | 26217 | <type name="MatchInfo" c:type="GMatchInfo*"/> | |
| 25803 | 26218 | </instance-parameter> | |
| 25804 | 26219 | </parameters> | |
| @@ -25806,19 +26221,19 @@ cannot free it before calling this function.</doc> | |||
| 25806 | 26221 | <method name="ref" c:identifier="g_match_info_ref" version="2.30"> | |
| 25807 | 26222 | <doc xml:space="preserve" | |
| 25808 | 26223 | filename="glib/gregex.c" | |
| 25809 | - | line="1011">Increases reference count of @match_info by 1.</doc> | |
| 26224 | + | line="1086">Increases reference count of @match_info by 1.</doc> | |
| 25810 | 26225 | <source-position filename="glib/gregex.h" line="573"/> | |
| 25811 | 26226 | <return-value transfer-ownership="full"> | |
| 25812 | 26227 | <doc xml:space="preserve" | |
| 25813 | 26228 | filename="glib/gregex.c" | |
| 25814 | - | line="1017">@match_info</doc> | |
| 26229 | + | line="1092">@match_info</doc> | |
| 25815 | 26230 | <type name="MatchInfo" c:type="GMatchInfo*"/> | |
| 25816 | 26231 | </return-value> | |
| 25817 | 26232 | <parameters> | |
| 25818 | 26233 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25819 | 26234 | <doc xml:space="preserve" | |
| 25820 | 26235 | filename="glib/gregex.c" | |
| 25821 | - | line="1013">a #GMatchInfo</doc> | |
| 26236 | + | line="1088">a #GMatchInfo</doc> | |
| 25822 | 26237 | <type name="MatchInfo" c:type="GMatchInfo*"/> | |
| 25823 | 26238 | </instance-parameter> | |
| 25824 | 26239 | </parameters> | |
| @@ -25826,7 +26241,7 @@ cannot free it before calling this function.</doc> | |||
| 25826 | 26241 | <method name="unref" c:identifier="g_match_info_unref" version="2.30"> | |
| 25827 | 26242 | <doc xml:space="preserve" | |
| 25828 | 26243 | filename="glib/gregex.c" | |
| 25829 | - | line="1029">Decreases reference count of @match_info by 1. When reference count drops | |
| 26244 | + | line="1104">Decreases reference count of @match_info by 1. When reference count drops | |
| 25830 | 26245 | to zero, it frees all the memory associated with the match_info structure.</doc> | |
| 25831 | 26246 | <source-position filename="glib/gregex.h" line="575"/> | |
| 25832 | 26247 | <return-value transfer-ownership="none"> | |
| @@ -25836,15 +26251,23 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25836 | 26251 | <instance-parameter name="match_info" transfer-ownership="none"> | |
| 25837 | 26252 | <doc xml:space="preserve" | |
| 25838 | 26253 | filename="glib/gregex.c" | |
| 25839 | - | line="1031">a #GMatchInfo</doc> | |
| 26254 | + | line="1106">a #GMatchInfo</doc> | |
| 25840 | 26255 | <type name="MatchInfo" c:type="GMatchInfo*"/> | |
| 25841 | 26256 | </instance-parameter> | |
| 25842 | 26257 | </parameters> | |
| 25843 | 26258 | </method> | |
| 25844 | 26259 | </record> | |
| 25845 | - | <record name="MemChunk" c:type="GMemChunk" disguised="1" opaque="1"> | |
| 26260 | + | <record name="MemChunk" | |
| 26261 | + | c:type="GMemChunk" | |
| 26262 | + | disguised="1" | |
| 26263 | + | opaque="1" | |
| 26264 | + | deprecated="1" | |
| 26265 | + | deprecated-version="2.10"> | |
| 25846 | 26266 | <source-position filename="glib/deprecated/gallocator.h" line="28"/> | |
| 25847 | - | <method name="alloc" c:identifier="g_mem_chunk_alloc"> | |
| 26267 | + | <method name="alloc" | |
| 26268 | + | c:identifier="g_mem_chunk_alloc" | |
| 26269 | + | deprecated="1" | |
| 26270 | + | deprecated-version="2.10"> | |
| 25848 | 26271 | <source-position filename="glib/deprecated/gallocator.h" line="50"/> | |
| 25849 | 26272 | <return-value transfer-ownership="none" nullable="1"> | |
| 25850 | 26273 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -25855,7 +26278,10 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25855 | 26278 | </instance-parameter> | |
| 25856 | 26279 | </parameters> | |
| 25857 | 26280 | </method> | |
| 25858 | - | <method name="alloc0" c:identifier="g_mem_chunk_alloc0"> | |
| 26281 | + | <method name="alloc0" | |
| 26282 | + | c:identifier="g_mem_chunk_alloc0" | |
| 26283 | + | deprecated="1" | |
| 26284 | + | deprecated-version="2.10"> | |
| 25859 | 26285 | <source-position filename="glib/deprecated/gallocator.h" line="52"/> | |
| 25860 | 26286 | <return-value transfer-ownership="none" nullable="1"> | |
| 25861 | 26287 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -25866,7 +26292,10 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25866 | 26292 | </instance-parameter> | |
| 25867 | 26293 | </parameters> | |
| 25868 | 26294 | </method> | |
| 25869 | - | <method name="clean" c:identifier="g_mem_chunk_clean"> | |
| 26295 | + | <method name="clean" | |
| 26296 | + | c:identifier="g_mem_chunk_clean" | |
| 26297 | + | deprecated="1" | |
| 26298 | + | deprecated-version="2.10"> | |
| 25870 | 26299 | <source-position filename="glib/deprecated/gallocator.h" line="57"/> | |
| 25871 | 26300 | <return-value transfer-ownership="none"> | |
| 25872 | 26301 | <type name="none" c:type="void"/> | |
| @@ -25877,7 +26306,10 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25877 | 26306 | </instance-parameter> | |
| 25878 | 26307 | </parameters> | |
| 25879 | 26308 | </method> | |
| 25880 | - | <method name="destroy" c:identifier="g_mem_chunk_destroy"> | |
| 26309 | + | <method name="destroy" | |
| 26310 | + | c:identifier="g_mem_chunk_destroy" | |
| 26311 | + | deprecated="1" | |
| 26312 | + | deprecated-version="2.10"> | |
| 25881 | 26313 | <source-position filename="glib/deprecated/gallocator.h" line="48"/> | |
| 25882 | 26314 | <return-value transfer-ownership="none"> | |
| 25883 | 26315 | <type name="none" c:type="void"/> | |
| @@ -25888,7 +26320,10 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25888 | 26320 | </instance-parameter> | |
| 25889 | 26321 | </parameters> | |
| 25890 | 26322 | </method> | |
| 25891 | - | <method name="free" c:identifier="g_mem_chunk_free"> | |
| 26323 | + | <method name="free" | |
| 26324 | + | c:identifier="g_mem_chunk_free" | |
| 26325 | + | deprecated="1" | |
| 26326 | + | deprecated-version="2.10"> | |
| 25892 | 26327 | <source-position filename="glib/deprecated/gallocator.h" line="54"/> | |
| 25893 | 26328 | <return-value transfer-ownership="none"> | |
| 25894 | 26329 | <type name="none" c:type="void"/> | |
| @@ -25905,7 +26340,10 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25905 | 26340 | </parameter> | |
| 25906 | 26341 | </parameters> | |
| 25907 | 26342 | </method> | |
| 25908 | - | <method name="print" c:identifier="g_mem_chunk_print"> | |
| 26343 | + | <method name="print" | |
| 26344 | + | c:identifier="g_mem_chunk_print" | |
| 26345 | + | deprecated="1" | |
| 26346 | + | deprecated-version="2.10"> | |
| 25909 | 26347 | <source-position filename="glib/deprecated/gallocator.h" line="61"/> | |
| 25910 | 26348 | <return-value transfer-ownership="none"> | |
| 25911 | 26349 | <type name="none" c:type="void"/> | |
| @@ -25916,7 +26354,10 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25916 | 26354 | </instance-parameter> | |
| 25917 | 26355 | </parameters> | |
| 25918 | 26356 | </method> | |
| 25919 | - | <method name="reset" c:identifier="g_mem_chunk_reset"> | |
| 26357 | + | <method name="reset" | |
| 26358 | + | c:identifier="g_mem_chunk_reset" | |
| 26359 | + | deprecated="1" | |
| 26360 | + | deprecated-version="2.10"> | |
| 25920 | 26361 | <source-position filename="glib/deprecated/gallocator.h" line="59"/> | |
| 25921 | 26362 | <return-value transfer-ownership="none"> | |
| 25922 | 26363 | <type name="none" c:type="void"/> | |
| @@ -25927,13 +26368,20 @@ to zero, it frees all the memory associated with the match_info structure.</doc> | |||
| 25927 | 26368 | </instance-parameter> | |
| 25928 | 26369 | </parameters> | |
| 25929 | 26370 | </method> | |
| 25930 | - | <function name="info" c:identifier="g_mem_chunk_info"> | |
| 26371 | + | <function name="info" | |
| 26372 | + | c:identifier="g_mem_chunk_info" | |
| 26373 | + | deprecated="1" | |
| 26374 | + | deprecated-version="2.10"> | |
| 25931 | 26375 | <source-position filename="glib/deprecated/gallocator.h" line="63"/> | |
| 25932 | 26376 | <return-value transfer-ownership="none"> | |
| 25933 | 26377 | <type name="none" c:type="void"/> | |
| 25934 | 26378 | </return-value> | |
| 25935 | 26379 | </function> | |
| 25936 | - | <function name="new" c:identifier="g_mem_chunk_new" introspectable="0"> | |
| 26380 | + | <function name="new" | |
| 26381 | + | c:identifier="g_mem_chunk_new" | |
| 26382 | + | introspectable="0" | |
| 26383 | + | deprecated="1" | |
| 26384 | + | deprecated-version="2.10"> | |
| 25937 | 26385 | <source-position filename="glib/deprecated/gallocator.h" line="43"/> | |
| 25938 | 26386 | <return-value> | |
| 25939 | 26387 | <type name="MemChunk" c:type="GMemChunk*"/> | |
| @@ -27148,13 +27596,19 @@ Used to create the first node in a tree.</doc> | |||
| 27148 | 27596 | </parameter> | |
| 27149 | 27597 | </parameters> | |
| 27150 | 27598 | </function> | |
| 27151 | - | <function name="pop_allocator" c:identifier="g_node_pop_allocator"> | |
| 27599 | + | <function name="pop_allocator" | |
| 27600 | + | c:identifier="g_node_pop_allocator" | |
| 27601 | + | deprecated="1" | |
| 27602 | + | deprecated-version="2.10"> | |
| 27152 | 27603 | <source-position filename="glib/deprecated/gallocator.h" line="84"/> | |
| 27153 | 27604 | <return-value transfer-ownership="none"> | |
| 27154 | 27605 | <type name="none" c:type="void"/> | |
| 27155 | 27606 | </return-value> | |
| 27156 | 27607 | </function> | |
| 27157 | - | <function name="push_allocator" c:identifier="g_node_push_allocator"> | |
| 27608 | + | <function name="push_allocator" | |
| 27609 | + | c:identifier="g_node_push_allocator" | |
| 27610 | + | deprecated="1" | |
| 27611 | + | deprecated-version="2.10"> | |
| 27158 | 27612 | <source-position filename="glib/deprecated/gallocator.h" line="82"/> | |
| 27159 | 27613 | <return-value transfer-ownership="none"> | |
| 27160 | 27614 | <type name="none" c:type="void"/> | |
| @@ -27805,19 +28259,19 @@ Please note that parsed arguments need to be freed separately (see | |||
| 27805 | 28259 | version="2.12"> | |
| 27806 | 28260 | <doc xml:space="preserve" | |
| 27807 | 28261 | filename="glib/goption.c" | |
| 27808 | - | line="2552">Returns the description. See g_option_context_set_description().</doc> | |
| 28262 | + | line="2555">Returns the description. See g_option_context_set_description().</doc> | |
| 27809 | 28263 | <source-position filename="glib/goption.h" line="343"/> | |
| 27810 | 28264 | <return-value transfer-ownership="none"> | |
| 27811 | 28265 | <doc xml:space="preserve" | |
| 27812 | 28266 | filename="glib/goption.c" | |
| 27813 | - | line="2558">the description</doc> | |
| 28267 | + | line="2561">the description</doc> | |
| 27814 | 28268 | <type name="utf8" c:type="const gchar*"/> | |
| 27815 | 28269 | </return-value> | |
| 27816 | 28270 | <parameters> | |
| 27817 | 28271 | <instance-parameter name="context" transfer-ownership="none"> | |
| 27818 | 28272 | <doc xml:space="preserve" | |
| 27819 | 28273 | filename="glib/goption.c" | |
| 27820 | - | line="2554">a #GOptionContext</doc> | |
| 28274 | + | line="2557">a #GOptionContext</doc> | |
| 27821 | 28275 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 27822 | 28276 | </instance-parameter> | |
| 27823 | 28277 | </parameters> | |
| @@ -27964,19 +28418,19 @@ See g_option_context_set_strict_posix() for more information.</doc> | |||
| 27964 | 28418 | version="2.12"> | |
| 27965 | 28419 | <doc xml:space="preserve" | |
| 27966 | 28420 | filename="glib/goption.c" | |
| 27967 | - | line="2509">Returns the summary. See g_option_context_set_summary().</doc> | |
| 28421 | + | line="2512">Returns the summary. See g_option_context_set_summary().</doc> | |
| 27968 | 28422 | <source-position filename="glib/goption.h" line="338"/> | |
| 27969 | 28423 | <return-value transfer-ownership="none"> | |
| 27970 | 28424 | <doc xml:space="preserve" | |
| 27971 | 28425 | filename="glib/goption.c" | |
| 27972 | - | line="2515">the summary</doc> | |
| 28426 | + | line="2518">the summary</doc> | |
| 27973 | 28427 | <type name="utf8" c:type="const gchar*"/> | |
| 27974 | 28428 | </return-value> | |
| 27975 | 28429 | <parameters> | |
| 27976 | 28430 | <instance-parameter name="context" transfer-ownership="none"> | |
| 27977 | 28431 | <doc xml:space="preserve" | |
| 27978 | 28432 | filename="glib/goption.c" | |
| 27979 | - | line="2511">a #GOptionContext</doc> | |
| 28433 | + | line="2514">a #GOptionContext</doc> | |
| 27980 | 28434 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 27981 | 28435 | </instance-parameter> | |
| 27982 | 28436 | </parameters> | |
| @@ -27987,7 +28441,7 @@ See g_option_context_set_strict_posix() for more information.</doc> | |||
| 27987 | 28441 | throws="1"> | |
| 27988 | 28442 | <doc xml:space="preserve" | |
| 27989 | 28443 | filename="glib/goption.c" | |
| 27990 | - | line="1773">Parses the command line arguments, recognizing options | |
| 28444 | + | line="1775">Parses the command line arguments, recognizing options | |
| 27991 | 28445 | which have been added to @context. A side-effect of | |
| 27992 | 28446 | calling this function is that g_set_prgname() will be | |
| 27993 | 28447 | called. | |
| @@ -28012,7 +28466,7 @@ character set conversion of string and filename arguments.</doc> | |||
| 28012 | 28466 | <return-value transfer-ownership="none"> | |
| 28013 | 28467 | <doc xml:space="preserve" | |
| 28014 | 28468 | filename="glib/goption.c" | |
| 28015 | - | line="1802">%TRUE if the parsing was successful, | |
| 28469 | + | line="1804">%TRUE if the parsing was successful, | |
| 28016 | 28470 | %FALSE if an error occurred</doc> | |
| 28017 | 28471 | <type name="gboolean" c:type="gboolean"/> | |
| 28018 | 28472 | </return-value> | |
| @@ -28020,7 +28474,7 @@ character set conversion of string and filename arguments.</doc> | |||
| 28020 | 28474 | <instance-parameter name="context" transfer-ownership="none"> | |
| 28021 | 28475 | <doc xml:space="preserve" | |
| 28022 | 28476 | filename="glib/goption.c" | |
| 28023 | - | line="1775">a #GOptionContext</doc> | |
| 28477 | + | line="1777">a #GOptionContext</doc> | |
| 28024 | 28478 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 28025 | 28479 | </instance-parameter> | |
| 28026 | 28480 | <parameter name="argc" | |
| @@ -28030,7 +28484,7 @@ character set conversion of string and filename arguments.</doc> | |||
| 28030 | 28484 | optional="1"> | |
| 28031 | 28485 | <doc xml:space="preserve" | |
| 28032 | 28486 | filename="glib/goption.c" | |
| 28033 | - | line="1776">a pointer to the number of command line arguments</doc> | |
| 28487 | + | line="1778">a pointer to the number of command line arguments</doc> | |
| 28034 | 28488 | <type name="gint" c:type="gint*"/> | |
| 28035 | 28489 | </parameter> | |
| 28036 | 28490 | <parameter name="argv" | |
| @@ -28040,7 +28494,7 @@ character set conversion of string and filename arguments.</doc> | |||
| 28040 | 28494 | optional="1"> | |
| 28041 | 28495 | <doc xml:space="preserve" | |
| 28042 | 28496 | filename="glib/goption.c" | |
| 28043 | - | line="1777">a pointer to the array of command line arguments</doc> | |
| 28497 | + | line="1779">a pointer to the array of command line arguments</doc> | |
| 28044 | 28498 | <array length="0" zero-terminated="0" c:type="gchar***"> | |
| 28045 | 28499 | <type name="utf8" c:type="gchar**"/> | |
| 28046 | 28500 | </array> | |
| @@ -28053,7 +28507,7 @@ character set conversion of string and filename arguments.</doc> | |||
| 28053 | 28507 | throws="1"> | |
| 28054 | 28508 | <doc xml:space="preserve" | |
| 28055 | 28509 | filename="glib/goption.c" | |
| 28056 | - | line="2570">Parses the command line arguments. | |
| 28510 | + | line="2573">Parses the command line arguments. | |
| 28057 | 28511 | ||
| 28058 | 28512 | This function is similar to g_option_context_parse() except that it | |
| 28059 | 28513 | respects the normal memory rules when dealing with a strv instead of | |
| @@ -28073,7 +28527,7 @@ This function is useful if you are trying to use #GOptionContext with | |||
| 28073 | 28527 | <return-value transfer-ownership="none"> | |
| 28074 | 28528 | <doc xml:space="preserve" | |
| 28075 | 28529 | filename="glib/goption.c" | |
| 28076 | - | line="2596">%TRUE if the parsing was successful, | |
| 28530 | + | line="2599">%TRUE if the parsing was successful, | |
| 28077 | 28531 | %FALSE if an error occurred</doc> | |
| 28078 | 28532 | <type name="gboolean" c:type="gboolean"/> | |
| 28079 | 28533 | </return-value> | |
| @@ -28081,7 +28535,7 @@ This function is useful if you are trying to use #GOptionContext with | |||
| 28081 | 28535 | <instance-parameter name="context" transfer-ownership="none"> | |
| 28082 | 28536 | <doc xml:space="preserve" | |
| 28083 | 28537 | filename="glib/goption.c" | |
| 28084 | - | line="2572">a #GOptionContext</doc> | |
| 28538 | + | line="2575">a #GOptionContext</doc> | |
| 28085 | 28539 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 28086 | 28540 | </instance-parameter> | |
| 28087 | 28541 | <parameter name="arguments" | |
| @@ -28091,7 +28545,7 @@ This function is useful if you are trying to use #GOptionContext with | |||
| 28091 | 28545 | optional="1"> | |
| 28092 | 28546 | <doc xml:space="preserve" | |
| 28093 | 28547 | filename="glib/goption.c" | |
| 28094 | - | line="2573">a pointer | |
| 28548 | + | line="2576">a pointer | |
| 28095 | 28549 | to the command line arguments (which must be in UTF-8 on Windows). | |
| 28096 | 28550 | Starting with GLib 2.62, @arguments can be %NULL, which matches | |
| 28097 | 28551 | g_option_context_parse().</doc> | |
| @@ -28106,7 +28560,7 @@ This function is useful if you are trying to use #GOptionContext with | |||
| 28106 | 28560 | version="2.12"> | |
| 28107 | 28561 | <doc xml:space="preserve" | |
| 28108 | 28562 | filename="glib/goption.c" | |
| 28109 | - | line="2527">Adds a string to be displayed in `--help` output after the list | |
| 28563 | + | line="2530">Adds a string to be displayed in `--help` output after the list | |
| 28110 | 28564 | of options. This text often includes a bug reporting address. | |
| 28111 | 28565 | ||
| 28112 | 28566 | Note that the summary is translated (see | |
| @@ -28119,7 +28573,7 @@ g_option_context_set_translate_func()).</doc> | |||
| 28119 | 28573 | <instance-parameter name="context" transfer-ownership="none"> | |
| 28120 | 28574 | <doc xml:space="preserve" | |
| 28121 | 28575 | filename="glib/goption.c" | |
| 28122 | - | line="2529">a #GOptionContext</doc> | |
| 28576 | + | line="2532">a #GOptionContext</doc> | |
| 28123 | 28577 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 28124 | 28578 | </instance-parameter> | |
| 28125 | 28579 | <parameter name="description" | |
| @@ -28128,7 +28582,7 @@ g_option_context_set_translate_func()).</doc> | |||
| 28128 | 28582 | allow-none="1"> | |
| 28129 | 28583 | <doc xml:space="preserve" | |
| 28130 | 28584 | filename="glib/goption.c" | |
| 28131 | - | line="2530">a string to be shown in `--help` output | |
| 28585 | + | line="2533">a string to be shown in `--help` output | |
| 28132 | 28586 | after the list of options, or %NULL</doc> | |
| 28133 | 28587 | <type name="utf8" c:type="const gchar*"/> | |
| 28134 | 28588 | </parameter> | |
| @@ -28275,7 +28729,7 @@ parsing).</doc> | |||
| 28275 | 28729 | version="2.12"> | |
| 28276 | 28730 | <doc xml:space="preserve" | |
| 28277 | 28731 | filename="glib/goption.c" | |
| 28278 | - | line="2483">Adds a string to be displayed in `--help` output before the list | |
| 28732 | + | line="2486">Adds a string to be displayed in `--help` output before the list | |
| 28279 | 28733 | of options. This is typically a summary of the program functionality. | |
| 28280 | 28734 | ||
| 28281 | 28735 | Note that the summary is translated (see | |
| @@ -28289,7 +28743,7 @@ g_option_context_set_translation_domain()).</doc> | |||
| 28289 | 28743 | <instance-parameter name="context" transfer-ownership="none"> | |
| 28290 | 28744 | <doc xml:space="preserve" | |
| 28291 | 28745 | filename="glib/goption.c" | |
| 28292 | - | line="2485">a #GOptionContext</doc> | |
| 28746 | + | line="2488">a #GOptionContext</doc> | |
| 28293 | 28747 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 28294 | 28748 | </instance-parameter> | |
| 28295 | 28749 | <parameter name="summary" | |
| @@ -28298,7 +28752,7 @@ g_option_context_set_translation_domain()).</doc> | |||
| 28298 | 28752 | allow-none="1"> | |
| 28299 | 28753 | <doc xml:space="preserve" | |
| 28300 | 28754 | filename="glib/goption.c" | |
| 28301 | - | line="2486">a string to be shown in `--help` output | |
| 28755 | + | line="2489">a string to be shown in `--help` output | |
| 28302 | 28756 | before the list of options, or %NULL</doc> | |
| 28303 | 28757 | <type name="utf8" c:type="const gchar*"/> | |
| 28304 | 28758 | </parameter> | |
| @@ -28309,7 +28763,7 @@ g_option_context_set_translation_domain()).</doc> | |||
| 28309 | 28763 | version="2.12"> | |
| 28310 | 28764 | <doc xml:space="preserve" | |
| 28311 | 28765 | filename="glib/goption.c" | |
| 28312 | - | line="2424">Sets the function which is used to translate the contexts | |
| 28766 | + | line="2427">Sets the function which is used to translate the contexts | |
| 28313 | 28767 | user-visible strings, for `--help` output. If @func is %NULL, | |
| 28314 | 28768 | strings are not translated. | |
| 28315 | 28769 | ||
| @@ -28328,7 +28782,7 @@ domain, see g_option_context_set_translation_domain().</doc> | |||
| 28328 | 28782 | <instance-parameter name="context" transfer-ownership="none"> | |
| 28329 | 28783 | <doc xml:space="preserve" | |
| 28330 | 28784 | filename="glib/goption.c" | |
| 28331 | - | line="2426">a #GOptionContext</doc> | |
| 28785 | + | line="2429">a #GOptionContext</doc> | |
| 28332 | 28786 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 28333 | 28787 | </instance-parameter> | |
| 28334 | 28788 | <parameter name="func" | |
| @@ -28340,7 +28794,7 @@ domain, see g_option_context_set_translation_domain().</doc> | |||
| 28340 | 28794 | destroy="2"> | |
| 28341 | 28795 | <doc xml:space="preserve" | |
| 28342 | 28796 | filename="glib/goption.c" | |
| 28343 | - | line="2427">the #GTranslateFunc, or %NULL</doc> | |
| 28797 | + | line="2430">the #GTranslateFunc, or %NULL</doc> | |
| 28344 | 28798 | <type name="TranslateFunc" c:type="GTranslateFunc"/> | |
| 28345 | 28799 | </parameter> | |
| 28346 | 28800 | <parameter name="data" | |
| @@ -28349,7 +28803,7 @@ domain, see g_option_context_set_translation_domain().</doc> | |||
| 28349 | 28803 | allow-none="1"> | |
| 28350 | 28804 | <doc xml:space="preserve" | |
| 28351 | 28805 | filename="glib/goption.c" | |
| 28352 | - | line="2428">user data to pass to @func, or %NULL</doc> | |
| 28806 | + | line="2431">user data to pass to @func, or %NULL</doc> | |
| 28353 | 28807 | <type name="gpointer" c:type="gpointer"/> | |
| 28354 | 28808 | </parameter> | |
| 28355 | 28809 | <parameter name="destroy_notify" | |
| @@ -28359,7 +28813,7 @@ domain, see g_option_context_set_translation_domain().</doc> | |||
| 28359 | 28813 | scope="async"> | |
| 28360 | 28814 | <doc xml:space="preserve" | |
| 28361 | 28815 | filename="glib/goption.c" | |
| 28362 | - | line="2429">a function which gets called to free @data, or %NULL</doc> | |
| 28816 | + | line="2432">a function which gets called to free @data, or %NULL</doc> | |
| 28363 | 28817 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 28364 | 28818 | </parameter> | |
| 28365 | 28819 | </parameters> | |
| @@ -28369,7 +28823,7 @@ domain, see g_option_context_set_translation_domain().</doc> | |||
| 28369 | 28823 | version="2.12"> | |
| 28370 | 28824 | <doc xml:space="preserve" | |
| 28371 | 28825 | filename="glib/goption.c" | |
| 28372 | - | line="2461">A convenience function to use gettext() for translating | |
| 28826 | + | line="2464">A convenience function to use gettext() for translating | |
| 28373 | 28827 | user-visible strings.</doc> | |
| 28374 | 28828 | <source-position filename="glib/goption.h" line="382"/> | |
| 28375 | 28829 | <return-value transfer-ownership="none"> | |
| @@ -28379,13 +28833,13 @@ user-visible strings.</doc> | |||
| 28379 | 28833 | <instance-parameter name="context" transfer-ownership="none"> | |
| 28380 | 28834 | <doc xml:space="preserve" | |
| 28381 | 28835 | filename="glib/goption.c" | |
| 28382 | - | line="2463">a #GOptionContext</doc> | |
| 28836 | + | line="2466">a #GOptionContext</doc> | |
| 28383 | 28837 | <type name="OptionContext" c:type="GOptionContext*"/> | |
| 28384 | 28838 | </instance-parameter> | |
| 28385 | 28839 | <parameter name="domain" transfer-ownership="none"> | |
| 28386 | 28840 | <doc xml:space="preserve" | |
| 28387 | 28841 | filename="glib/goption.c" | |
| 28388 | - | line="2464">the domain to use</doc> | |
| 28842 | + | line="2467">the domain to use</doc> | |
| 28389 | 28843 | <type name="utf8" c:type="const gchar*"/> | |
| 28390 | 28844 | </parameter> | |
| 28391 | 28845 | </parameters> | |
| @@ -28676,7 +29130,7 @@ the application can then add to its #GOptionContext.</doc> | |||
| 28676 | 29130 | <constructor name="new" c:identifier="g_option_group_new" version="2.6"> | |
| 28677 | 29131 | <doc xml:space="preserve" | |
| 28678 | 29132 | filename="glib/goption.c" | |
| 28679 | - | line="2133">Creates a new #GOptionGroup. | |
| 29133 | + | line="2136">Creates a new #GOptionGroup. | |
| 28680 | 29134 | ||
| 28681 | 29135 | @description is typically used to provide a title for the group. If so, it | |
| 28682 | 29136 | is recommended that it’s written in title case, and has a trailing colon so | |
| @@ -28686,7 +29140,7 @@ that it matches the style of built-in GLib group titles such as | |||
| 28686 | 29140 | <return-value transfer-ownership="full"> | |
| 28687 | 29141 | <doc xml:space="preserve" | |
| 28688 | 29142 | filename="glib/goption.c" | |
| 28689 | - | line="2154">a newly created option group. It should be added | |
| 29143 | + | line="2157">a newly created option group. It should be added | |
| 28690 | 29144 | to a #GOptionContext or freed with g_option_group_unref().</doc> | |
| 28691 | 29145 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28692 | 29146 | </return-value> | |
| @@ -28694,14 +29148,14 @@ that it matches the style of built-in GLib group titles such as | |||
| 28694 | 29148 | <parameter name="name" transfer-ownership="none"> | |
| 28695 | 29149 | <doc xml:space="preserve" | |
| 28696 | 29150 | filename="glib/goption.c" | |
| 28697 | - | line="2135">the name for the option group, this is used to provide | |
| 29151 | + | line="2138">the name for the option group, this is used to provide | |
| 28698 | 29152 | help for the options in this group with `--help-`@name</doc> | |
| 28699 | 29153 | <type name="utf8" c:type="const gchar*"/> | |
| 28700 | 29154 | </parameter> | |
| 28701 | 29155 | <parameter name="description" transfer-ownership="none"> | |
| 28702 | 29156 | <doc xml:space="preserve" | |
| 28703 | 29157 | filename="glib/goption.c" | |
| 28704 | - | line="2137">a description for this group to be shown in | |
| 29158 | + | line="2140">a description for this group to be shown in | |
| 28705 | 29159 | `--help`. This string is translated using the translation | |
| 28706 | 29160 | domain or translation function of the group</doc> | |
| 28707 | 29161 | <type name="utf8" c:type="const gchar*"/> | |
| @@ -28709,7 +29163,7 @@ that it matches the style of built-in GLib group titles such as | |||
| 28709 | 29163 | <parameter name="help_description" transfer-ownership="none"> | |
| 28710 | 29164 | <doc xml:space="preserve" | |
| 28711 | 29165 | filename="glib/goption.c" | |
| 28712 | - | line="2140">a description for the `--help-`@name option. | |
| 29166 | + | line="2143">a description for the `--help-`@name option. | |
| 28713 | 29167 | This string is translated using the translation domain or translation function | |
| 28714 | 29168 | of the group</doc> | |
| 28715 | 29169 | <type name="utf8" c:type="const gchar*"/> | |
| @@ -28720,7 +29174,7 @@ that it matches the style of built-in GLib group titles such as | |||
| 28720 | 29174 | allow-none="1"> | |
| 28721 | 29175 | <doc xml:space="preserve" | |
| 28722 | 29176 | filename="glib/goption.c" | |
| 28723 | - | line="2143">user data that will be passed to the pre- and post-parse hooks, | |
| 29177 | + | line="2146">user data that will be passed to the pre- and post-parse hooks, | |
| 28724 | 29178 | the error hook and to callbacks of %G_OPTION_ARG_CALLBACK options, or %NULL</doc> | |
| 28725 | 29179 | <type name="gpointer" c:type="gpointer"/> | |
| 28726 | 29180 | </parameter> | |
| @@ -28731,7 +29185,7 @@ that it matches the style of built-in GLib group titles such as | |||
| 28731 | 29185 | scope="async"> | |
| 28732 | 29186 | <doc xml:space="preserve" | |
| 28733 | 29187 | filename="glib/goption.c" | |
| 28734 | - | line="2145">a function that will be called to free @user_data, or %NULL</doc> | |
| 29188 | + | line="2148">a function that will be called to free @user_data, or %NULL</doc> | |
| 28735 | 29189 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 28736 | 29190 | </parameter> | |
| 28737 | 29191 | </parameters> | |
| @@ -28741,7 +29195,7 @@ that it matches the style of built-in GLib group titles such as | |||
| 28741 | 29195 | version="2.6"> | |
| 28742 | 29196 | <doc xml:space="preserve" | |
| 28743 | 29197 | filename="glib/goption.c" | |
| 28744 | - | line="2251">Adds the options specified in @entries to @group.</doc> | |
| 29198 | + | line="2254">Adds the options specified in @entries to @group.</doc> | |
| 28745 | 29199 | <source-position filename="glib/goption.h" line="418"/> | |
| 28746 | 29200 | <return-value transfer-ownership="none"> | |
| 28747 | 29201 | <type name="none" c:type="void"/> | |
| @@ -28750,13 +29204,13 @@ that it matches the style of built-in GLib group titles such as | |||
| 28750 | 29204 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28751 | 29205 | <doc xml:space="preserve" | |
| 28752 | 29206 | filename="glib/goption.c" | |
| 28753 | - | line="2253">a #GOptionGroup</doc> | |
| 29207 | + | line="2256">a #GOptionGroup</doc> | |
| 28754 | 29208 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28755 | 29209 | </instance-parameter> | |
| 28756 | 29210 | <parameter name="entries" transfer-ownership="none"> | |
| 28757 | 29211 | <doc xml:space="preserve" | |
| 28758 | 29212 | filename="glib/goption.c" | |
| 28759 | - | line="2254">a %NULL-terminated array of #GOptionEntrys</doc> | |
| 29213 | + | line="2257">a %NULL-terminated array of #GOptionEntrys</doc> | |
| 28760 | 29214 | <array c:type="const GOptionEntry*"> | |
| 28761 | 29215 | <type name="OptionEntry" c:type="GOptionEntry"/> | |
| 28762 | 29216 | </array> | |
| @@ -28770,7 +29224,7 @@ that it matches the style of built-in GLib group titles such as | |||
| 28770 | 29224 | deprecated-version="2.44"> | |
| 28771 | 29225 | <doc xml:space="preserve" | |
| 28772 | 29226 | filename="glib/goption.c" | |
| 28773 | - | line="2181">Frees a #GOptionGroup. Note that you must not free groups | |
| 29227 | + | line="2184">Frees a #GOptionGroup. Note that you must not free groups | |
| 28774 | 29228 | which have been added to a #GOptionContext.</doc> | |
| 28775 | 29229 | <doc-deprecated xml:space="preserve">Use g_option_group_unref() instead.</doc-deprecated> | |
| 28776 | 29230 | <source-position filename="glib/goption.h" line="412"/> | |
| @@ -28781,7 +29235,7 @@ which have been added to a #GOptionContext.</doc> | |||
| 28781 | 29235 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28782 | 29236 | <doc xml:space="preserve" | |
| 28783 | 29237 | filename="glib/goption.c" | |
| 28784 | - | line="2183">a #GOptionGroup</doc> | |
| 29238 | + | line="2186">a #GOptionGroup</doc> | |
| 28785 | 29239 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28786 | 29240 | </instance-parameter> | |
| 28787 | 29241 | </parameters> | |
| @@ -28789,19 +29243,19 @@ which have been added to a #GOptionContext.</doc> | |||
| 28789 | 29243 | <method name="ref" c:identifier="g_option_group_ref" version="2.44"> | |
| 28790 | 29244 | <doc xml:space="preserve" | |
| 28791 | 29245 | filename="glib/goption.c" | |
| 28792 | - | line="2198">Increments the reference count of @group by one.</doc> | |
| 29246 | + | line="2201">Increments the reference count of @group by one.</doc> | |
| 28793 | 29247 | <source-position filename="glib/goption.h" line="414"/> | |
| 28794 | 29248 | <return-value transfer-ownership="full"> | |
| 28795 | 29249 | <doc xml:space="preserve" | |
| 28796 | 29250 | filename="glib/goption.c" | |
| 28797 | - | line="2204">a #GOptionGroup</doc> | |
| 29251 | + | line="2207">a #GOptionGroup</doc> | |
| 28798 | 29252 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28799 | 29253 | </return-value> | |
| 28800 | 29254 | <parameters> | |
| 28801 | 29255 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28802 | 29256 | <doc xml:space="preserve" | |
| 28803 | 29257 | filename="glib/goption.c" | |
| 28804 | - | line="2200">a #GOptionGroup</doc> | |
| 29258 | + | line="2203">a #GOptionGroup</doc> | |
| 28805 | 29259 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28806 | 29260 | </instance-parameter> | |
| 28807 | 29261 | </parameters> | |
| @@ -28812,7 +29266,7 @@ which have been added to a #GOptionContext.</doc> | |||
| 28812 | 29266 | introspectable="0"> | |
| 28813 | 29267 | <doc xml:space="preserve" | |
| 28814 | 29268 | filename="glib/goption.c" | |
| 28815 | - | line="2340">Associates a function with @group which will be called | |
| 29269 | + | line="2343">Associates a function with @group which will be called | |
| 28816 | 29270 | from g_option_context_parse() when an error occurs. | |
| 28817 | 29271 | ||
| 28818 | 29272 | Note that the user data to be passed to @error_func can be | |
| @@ -28825,13 +29279,13 @@ specified when constructing the group with g_option_group_new().</doc> | |||
| 28825 | 29279 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28826 | 29280 | <doc xml:space="preserve" | |
| 28827 | 29281 | filename="glib/goption.c" | |
| 28828 | - | line="2342">a #GOptionGroup</doc> | |
| 29282 | + | line="2345">a #GOptionGroup</doc> | |
| 28829 | 29283 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28830 | 29284 | </instance-parameter> | |
| 28831 | 29285 | <parameter name="error_func" transfer-ownership="none"> | |
| 28832 | 29286 | <doc xml:space="preserve" | |
| 28833 | 29287 | filename="glib/goption.c" | |
| 28834 | - | line="2343">a function to call when an error occurs</doc> | |
| 29288 | + | line="2346">a function to call when an error occurs</doc> | |
| 28835 | 29289 | <type name="OptionErrorFunc" c:type="GOptionErrorFunc"/> | |
| 28836 | 29290 | </parameter> | |
| 28837 | 29291 | </parameters> | |
| @@ -28842,7 +29296,7 @@ specified when constructing the group with g_option_group_new().</doc> | |||
| 28842 | 29296 | introspectable="0"> | |
| 28843 | 29297 | <doc xml:space="preserve" | |
| 28844 | 29298 | filename="glib/goption.c" | |
| 28845 | - | line="2313">Associates two functions with @group which will be called | |
| 29299 | + | line="2316">Associates two functions with @group which will be called | |
| 28846 | 29300 | from g_option_context_parse() before the first option is parsed | |
| 28847 | 29301 | and after the last option has been parsed, respectively. | |
| 28848 | 29302 | ||
| @@ -28857,7 +29311,7 @@ with g_option_group_new().</doc> | |||
| 28857 | 29311 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28858 | 29312 | <doc xml:space="preserve" | |
| 28859 | 29313 | filename="glib/goption.c" | |
| 28860 | - | line="2315">a #GOptionGroup</doc> | |
| 29314 | + | line="2318">a #GOptionGroup</doc> | |
| 28861 | 29315 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28862 | 29316 | </instance-parameter> | |
| 28863 | 29317 | <parameter name="pre_parse_func" | |
| @@ -28866,7 +29320,7 @@ with g_option_group_new().</doc> | |||
| 28866 | 29320 | allow-none="1"> | |
| 28867 | 29321 | <doc xml:space="preserve" | |
| 28868 | 29322 | filename="glib/goption.c" | |
| 28869 | - | line="2316">a function to call before parsing, or %NULL</doc> | |
| 29323 | + | line="2319">a function to call before parsing, or %NULL</doc> | |
| 28870 | 29324 | <type name="OptionParseFunc" c:type="GOptionParseFunc"/> | |
| 28871 | 29325 | </parameter> | |
| 28872 | 29326 | <parameter name="post_parse_func" | |
| @@ -28875,7 +29329,7 @@ with g_option_group_new().</doc> | |||
| 28875 | 29329 | allow-none="1"> | |
| 28876 | 29330 | <doc xml:space="preserve" | |
| 28877 | 29331 | filename="glib/goption.c" | |
| 28878 | - | line="2317">a function to call after parsing, or %NULL</doc> | |
| 29332 | + | line="2320">a function to call after parsing, or %NULL</doc> | |
| 28879 | 29333 | <type name="OptionParseFunc" c:type="GOptionParseFunc"/> | |
| 28880 | 29334 | </parameter> | |
| 28881 | 29335 | </parameters> | |
| @@ -28885,7 +29339,7 @@ with g_option_group_new().</doc> | |||
| 28885 | 29339 | version="2.6"> | |
| 28886 | 29340 | <doc xml:space="preserve" | |
| 28887 | 29341 | filename="glib/goption.c" | |
| 28888 | - | line="2363">Sets the function which is used to translate user-visible strings, | |
| 29342 | + | line="2366">Sets the function which is used to translate user-visible strings, | |
| 28889 | 29343 | for `--help` output. Different groups can use different | |
| 28890 | 29344 | #GTranslateFuncs. If @func is %NULL, strings are not translated. | |
| 28891 | 29345 | ||
| @@ -28899,7 +29353,7 @@ domain, see g_option_group_set_translation_domain().</doc> | |||
| 28899 | 29353 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28900 | 29354 | <doc xml:space="preserve" | |
| 28901 | 29355 | filename="glib/goption.c" | |
| 28902 | - | line="2365">a #GOptionGroup</doc> | |
| 29356 | + | line="2368">a #GOptionGroup</doc> | |
| 28903 | 29357 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28904 | 29358 | </instance-parameter> | |
| 28905 | 29359 | <parameter name="func" | |
| @@ -28911,7 +29365,7 @@ domain, see g_option_group_set_translation_domain().</doc> | |||
| 28911 | 29365 | destroy="2"> | |
| 28912 | 29366 | <doc xml:space="preserve" | |
| 28913 | 29367 | filename="glib/goption.c" | |
| 28914 | - | line="2366">the #GTranslateFunc, or %NULL</doc> | |
| 29368 | + | line="2369">the #GTranslateFunc, or %NULL</doc> | |
| 28915 | 29369 | <type name="TranslateFunc" c:type="GTranslateFunc"/> | |
| 28916 | 29370 | </parameter> | |
| 28917 | 29371 | <parameter name="data" | |
| @@ -28920,7 +29374,7 @@ domain, see g_option_group_set_translation_domain().</doc> | |||
| 28920 | 29374 | allow-none="1"> | |
| 28921 | 29375 | <doc xml:space="preserve" | |
| 28922 | 29376 | filename="glib/goption.c" | |
| 28923 | - | line="2367">user data to pass to @func, or %NULL</doc> | |
| 29377 | + | line="2370">user data to pass to @func, or %NULL</doc> | |
| 28924 | 29378 | <type name="gpointer" c:type="gpointer"/> | |
| 28925 | 29379 | </parameter> | |
| 28926 | 29380 | <parameter name="destroy_notify" | |
| @@ -28930,7 +29384,7 @@ domain, see g_option_group_set_translation_domain().</doc> | |||
| 28930 | 29384 | scope="async"> | |
| 28931 | 29385 | <doc xml:space="preserve" | |
| 28932 | 29386 | filename="glib/goption.c" | |
| 28933 | - | line="2368">a function which gets called to free @data, or %NULL</doc> | |
| 29387 | + | line="2371">a function which gets called to free @data, or %NULL</doc> | |
| 28934 | 29388 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 28935 | 29389 | </parameter> | |
| 28936 | 29390 | </parameters> | |
| @@ -28940,7 +29394,7 @@ domain, see g_option_group_set_translation_domain().</doc> | |||
| 28940 | 29394 | version="2.6"> | |
| 28941 | 29395 | <doc xml:space="preserve" | |
| 28942 | 29396 | filename="glib/goption.c" | |
| 28943 | - | line="2402">A convenience function to use gettext() for translating | |
| 29397 | + | line="2405">A convenience function to use gettext() for translating | |
| 28944 | 29398 | user-visible strings.</doc> | |
| 28945 | 29399 | <source-position filename="glib/goption.h" line="426"/> | |
| 28946 | 29400 | <return-value transfer-ownership="none"> | |
| @@ -28950,13 +29404,13 @@ user-visible strings.</doc> | |||
| 28950 | 29404 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28951 | 29405 | <doc xml:space="preserve" | |
| 28952 | 29406 | filename="glib/goption.c" | |
| 28953 | - | line="2404">a #GOptionGroup</doc> | |
| 29407 | + | line="2407">a #GOptionGroup</doc> | |
| 28954 | 29408 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28955 | 29409 | </instance-parameter> | |
| 28956 | 29410 | <parameter name="domain" transfer-ownership="none"> | |
| 28957 | 29411 | <doc xml:space="preserve" | |
| 28958 | 29412 | filename="glib/goption.c" | |
| 28959 | - | line="2405">the domain to use</doc> | |
| 29413 | + | line="2408">the domain to use</doc> | |
| 28960 | 29414 | <type name="utf8" c:type="const gchar*"/> | |
| 28961 | 29415 | </parameter> | |
| 28962 | 29416 | </parameters> | |
| @@ -28964,7 +29418,7 @@ user-visible strings.</doc> | |||
| 28964 | 29418 | <method name="unref" c:identifier="g_option_group_unref" version="2.44"> | |
| 28965 | 29419 | <doc xml:space="preserve" | |
| 28966 | 29420 | filename="glib/goption.c" | |
| 28967 | - | line="2218">Decrements the reference count of @group by one. | |
| 29421 | + | line="2221">Decrements the reference count of @group by one. | |
| 28968 | 29422 | If the reference count drops to 0, the @group will be freed. | |
| 28969 | 29423 | and all memory allocated by the @group is released.</doc> | |
| 28970 | 29424 | <source-position filename="glib/goption.h" line="416"/> | |
| @@ -28975,7 +29429,7 @@ and all memory allocated by the @group is released.</doc> | |||
| 28975 | 29429 | <instance-parameter name="group" transfer-ownership="none"> | |
| 28976 | 29430 | <doc xml:space="preserve" | |
| 28977 | 29431 | filename="glib/goption.c" | |
| 28978 | - | line="2220">a #GOptionGroup</doc> | |
| 29432 | + | line="2223">a #GOptionGroup</doc> | |
| 28979 | 29433 | <type name="OptionGroup" c:type="GOptionGroup*"/> | |
| 28980 | 29434 | </instance-parameter> | |
| 28981 | 29435 | </parameters> | |
| @@ -29084,7 +29538,7 @@ GdkColor *favourite = traveller_get_favourite_colour (traveller); | |||
| 29084 | 29538 | <constant name="PID_FORMAT" value="i" c:type="G_PID_FORMAT" version="2.50"> | |
| 29085 | 29539 | <doc xml:space="preserve" | |
| 29086 | 29540 | filename="glib/gmain.h" | |
| 29087 | - | line="172">A format specifier that can be used in printf()-style format strings | |
| 29541 | + | line="173">A format specifier that can be used in printf()-style format strings | |
| 29088 | 29542 | when printing a #GPid.</doc> | |
| 29089 | 29543 | <source-position filename="glib/glibconfig.h" line="201"/> | |
| 29090 | 29544 | <type name="utf8" c:type="gchar*"/> | |
| @@ -29114,12 +29568,12 @@ when printing the @fd member of a #GPollFD.</doc> | |||
| 29114 | 29568 | <constant name="PRIORITY_DEFAULT" value="0" c:type="G_PRIORITY_DEFAULT"> | |
| 29115 | 29569 | <doc xml:space="preserve" | |
| 29116 | 29570 | filename="glib/gmain.h" | |
| 29117 | - | line="422">Use this for default priority event sources. | |
| 29571 | + | line="423">Use this for default priority event sources. | |
| 29118 | 29572 | ||
| 29119 | 29573 | In GLib this priority is used when adding timeout functions | |
| 29120 | 29574 | with [func@GLib.timeout_add]. In GDK this priority is used for events | |
| 29121 | 29575 | from the X server.</doc> | |
| 29122 | - | <source-position filename="glib/gmain.h" line="431"/> | |
| 29576 | + | <source-position filename="glib/gmain.h" line="432"/> | |
| 29123 | 29577 | <type name="gint" c:type="gint"/> | |
| 29124 | 29578 | </constant> | |
| 29125 | 29579 | <constant name="PRIORITY_DEFAULT_IDLE" | |
| @@ -29127,20 +29581,20 @@ from the X server.</doc> | |||
| 29127 | 29581 | c:type="G_PRIORITY_DEFAULT_IDLE"> | |
| 29128 | 29582 | <doc xml:space="preserve" | |
| 29129 | 29583 | filename="glib/gmain.h" | |
| 29130 | - | line="445">Use this for default priority idle functions. | |
| 29584 | + | line="446">Use this for default priority idle functions. | |
| 29131 | 29585 | ||
| 29132 | 29586 | In GLib this priority is used when adding idle functions with | |
| 29133 | 29587 | [func@GLib.idle_add].</doc> | |
| 29134 | - | <source-position filename="glib/gmain.h" line="453"/> | |
| 29588 | + | <source-position filename="glib/gmain.h" line="454"/> | |
| 29135 | 29589 | <type name="gint" c:type="gint"/> | |
| 29136 | 29590 | </constant> | |
| 29137 | 29591 | <constant name="PRIORITY_HIGH" value="-100" c:type="G_PRIORITY_HIGH"> | |
| 29138 | 29592 | <doc xml:space="preserve" | |
| 29139 | 29593 | filename="glib/gmain.h" | |
| 29140 | - | line="413">Use this for high priority event sources. | |
| 29594 | + | line="414">Use this for high priority event sources. | |
| 29141 | 29595 | ||
| 29142 | 29596 | It is not used within GLib or GTK.</doc> | |
| 29143 | - | <source-position filename="glib/gmain.h" line="420"/> | |
| 29597 | + | <source-position filename="glib/gmain.h" line="421"/> | |
| 29144 | 29598 | <type name="gint" c:type="gint"/> | |
| 29145 | 29599 | </constant> | |
| 29146 | 29600 | <constant name="PRIORITY_HIGH_IDLE" | |
| @@ -29148,22 +29602,22 @@ It is not used within GLib or GTK.</doc> | |||
| 29148 | 29602 | c:type="G_PRIORITY_HIGH_IDLE"> | |
| 29149 | 29603 | <doc xml:space="preserve" | |
| 29150 | 29604 | filename="glib/gmain.h" | |
| 29151 | - | line="433">Use this for high priority idle functions. | |
| 29605 | + | line="434">Use this for high priority idle functions. | |
| 29152 | 29606 | ||
| 29153 | 29607 | GTK uses %G_PRIORITY_HIGH_IDLE + 10 for resizing operations, | |
| 29154 | 29608 | and %G_PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is | |
| 29155 | 29609 | done to ensure that any pending resizes are processed before any | |
| 29156 | 29610 | pending redraws, so that widgets are not redrawn twice unnecessarily.)</doc> | |
| 29157 | - | <source-position filename="glib/gmain.h" line="443"/> | |
| 29611 | + | <source-position filename="glib/gmain.h" line="444"/> | |
| 29158 | 29612 | <type name="gint" c:type="gint"/> | |
| 29159 | 29613 | </constant> | |
| 29160 | 29614 | <constant name="PRIORITY_LOW" value="300" c:type="G_PRIORITY_LOW"> | |
| 29161 | 29615 | <doc xml:space="preserve" | |
| 29162 | 29616 | filename="glib/gmain.h" | |
| 29163 | - | line="455">Use this for very low priority background tasks. | |
| 29617 | + | line="456">Use this for very low priority background tasks. | |
| 29164 | 29618 | ||
| 29165 | 29619 | It is not used within GLib or GTK.</doc> | |
| 29166 | - | <source-position filename="glib/gmain.h" line="462"/> | |
| 29620 | + | <source-position filename="glib/gmain.h" line="463"/> | |
| 29167 | 29621 | <type name="gint" c:type="gint"/> | |
| 29168 | 29622 | </constant> | |
| 29169 | 29623 | <function-macro name="PRIVATE_INIT" | |
| @@ -29649,7 +30103,7 @@ If the path buffer is empty, this function returns `NULL`.</doc> | |||
| 29649 | 30103 | line="555">Compares two path buffers for equality and returns `TRUE` | |
| 29650 | 30104 | if they are equal. | |
| 29651 | 30105 | ||
| 29652 | - | The path inside the paths buffers are not going to be normalized, | |
| 30106 | + | The paths inside the path buffers are not going to be normalized, | |
| 29653 | 30107 | so `X/Y/Z/A/..`, `X/./Y/Z` and `X/Y/Z` are not going to be considered | |
| 29654 | 30108 | equal. | |
| 29655 | 30109 | ||
| @@ -29768,19 +30222,19 @@ pattern compilation.</doc> | |||
| 29768 | 30222 | <method name="copy" c:identifier="g_pattern_spec_copy" version="2.70"> | |
| 29769 | 30223 | <doc xml:space="preserve" | |
| 29770 | 30224 | filename="glib/gpattern.c" | |
| 29771 | - | line="395">Copies @pspec in a new [type@GLib.PatternSpec].</doc> | |
| 30225 | + | line="405">Copies @pspec in a new [type@GLib.PatternSpec].</doc> | |
| 29772 | 30226 | <source-position filename="glib/gpattern.h" line="39"/> | |
| 29773 | 30227 | <return-value transfer-ownership="full"> | |
| 29774 | 30228 | <doc xml:space="preserve" | |
| 29775 | 30229 | filename="glib/gpattern.c" | |
| 29776 | - | line="401">a copy of @pspec.</doc> | |
| 30230 | + | line="411">a copy of @pspec.</doc> | |
| 29777 | 30231 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 29778 | 30232 | </return-value> | |
| 29779 | 30233 | <parameters> | |
| 29780 | 30234 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 29781 | 30235 | <doc xml:space="preserve" | |
| 29782 | 30236 | filename="glib/gpattern.c" | |
| 29783 | - | line="397">a #GPatternSpec</doc> | |
| 30237 | + | line="407">a #GPatternSpec</doc> | |
| 29784 | 30238 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 29785 | 30239 | </instance-parameter> | |
| 29786 | 30240 | </parameters> | |
| @@ -29788,26 +30242,26 @@ pattern compilation.</doc> | |||
| 29788 | 30242 | <method name="equal" c:identifier="g_pattern_spec_equal"> | |
| 29789 | 30243 | <doc xml:space="preserve" | |
| 29790 | 30244 | filename="glib/gpattern.c" | |
| 29791 | - | line="434">Compares two compiled pattern specs and returns whether they will | |
| 30245 | + | line="444">Compares two compiled pattern specs and returns whether they will | |
| 29792 | 30246 | match the same set of strings.</doc> | |
| 29793 | 30247 | <source-position filename="glib/gpattern.h" line="41"/> | |
| 29794 | 30248 | <return-value transfer-ownership="none"> | |
| 29795 | 30249 | <doc xml:space="preserve" | |
| 29796 | 30250 | filename="glib/gpattern.c" | |
| 29797 | - | line="442">Whether the compiled patterns are equal</doc> | |
| 30251 | + | line="452">Whether the compiled patterns are equal</doc> | |
| 29798 | 30252 | <type name="gboolean" c:type="gboolean"/> | |
| 29799 | 30253 | </return-value> | |
| 29800 | 30254 | <parameters> | |
| 29801 | 30255 | <instance-parameter name="pspec1" transfer-ownership="none"> | |
| 29802 | 30256 | <doc xml:space="preserve" | |
| 29803 | 30257 | filename="glib/gpattern.c" | |
| 29804 | - | line="436">a #GPatternSpec</doc> | |
| 30258 | + | line="446">a #GPatternSpec</doc> | |
| 29805 | 30259 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 29806 | 30260 | </instance-parameter> | |
| 29807 | 30261 | <parameter name="pspec2" transfer-ownership="none"> | |
| 29808 | 30262 | <doc xml:space="preserve" | |
| 29809 | 30263 | filename="glib/gpattern.c" | |
| 29810 | - | line="437">another #GPatternSpec</doc> | |
| 30264 | + | line="447">another #GPatternSpec</doc> | |
| 29811 | 30265 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 29812 | 30266 | </parameter> | |
| 29813 | 30267 | </parameters> | |
| @@ -29815,7 +30269,7 @@ match the same set of strings.</doc> | |||
| 29815 | 30269 | <method name="free" c:identifier="g_pattern_spec_free"> | |
| 29816 | 30270 | <doc xml:space="preserve" | |
| 29817 | 30271 | filename="glib/gpattern.c" | |
| 29818 | - | line="419">Frees the memory allocated for the [type@GLib.PatternSpec].</doc> | |
| 30272 | + | line="429">Frees the memory allocated for the [type@GLib.PatternSpec].</doc> | |
| 29819 | 30273 | <source-position filename="glib/gpattern.h" line="37"/> | |
| 29820 | 30274 | <return-value transfer-ownership="none"> | |
| 29821 | 30275 | <type name="none" c:type="void"/> | |
| @@ -29824,7 +30278,7 @@ match the same set of strings.</doc> | |||
| 29824 | 30278 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 29825 | 30279 | <doc xml:space="preserve" | |
| 29826 | 30280 | filename="glib/gpattern.c" | |
| 29827 | - | line="421">a #GPatternSpec</doc> | |
| 30281 | + | line="431">a #GPatternSpec</doc> | |
| 29828 | 30282 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 29829 | 30283 | </instance-parameter> | |
| 29830 | 30284 | </parameters> | |
| @@ -29894,7 +30348,7 @@ does not contain any multibyte characters. GLib offers the | |||
| 29894 | 30348 | version="2.70"> | |
| 29895 | 30349 | <doc xml:space="preserve" | |
| 29896 | 30350 | filename="glib/gpattern.c" | |
| 29897 | - | line="456">Matches a string against a compiled pattern. | |
| 30351 | + | line="466">Matches a string against a compiled pattern. | |
| 29898 | 30352 | ||
| 29899 | 30353 | If the string is to be | |
| 29900 | 30354 | matched against more than one pattern, consider using | |
| @@ -29903,20 +30357,20 @@ matched against more than one pattern, consider using | |||
| 29903 | 30357 | <return-value transfer-ownership="none"> | |
| 29904 | 30358 | <doc xml:space="preserve" | |
| 29905 | 30359 | filename="glib/gpattern.c" | |
| 29906 | - | line="467">%TRUE if @string matches @pspec</doc> | |
| 30360 | + | line="477">%TRUE if @string matches @pspec</doc> | |
| 29907 | 30361 | <type name="gboolean" c:type="gboolean"/> | |
| 29908 | 30362 | </return-value> | |
| 29909 | 30363 | <parameters> | |
| 29910 | 30364 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 29911 | 30365 | <doc xml:space="preserve" | |
| 29912 | 30366 | filename="glib/gpattern.c" | |
| 29913 | - | line="458">a #GPatternSpec</doc> | |
| 30367 | + | line="468">a #GPatternSpec</doc> | |
| 29914 | 30368 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 29915 | 30369 | </instance-parameter> | |
| 29916 | 30370 | <parameter name="string" transfer-ownership="none"> | |
| 29917 | 30371 | <doc xml:space="preserve" | |
| 29918 | 30372 | filename="glib/gpattern.c" | |
| 29919 | - | line="459">the UTF-8 encoded string to match</doc> | |
| 30373 | + | line="469">the UTF-8 encoded string to match</doc> | |
| 29920 | 30374 | <type name="utf8" c:type="const gchar*"/> | |
| 29921 | 30375 | </parameter> | |
| 29922 | 30376 | </parameters> | |
| @@ -29993,9 +30447,9 @@ The semantics of the function should match those of the poll() system call.</doc | |||
| 29993 | 30447 | <callback name="PrintFunc" c:type="GPrintFunc"> | |
| 29994 | 30448 | <doc xml:space="preserve" | |
| 29995 | 30449 | filename="glib/gmessages.h" | |
| 29996 | - | line="518">Specifies the type of the print handler functions. | |
| 30450 | + | line="521">Specifies the type of the print handler functions. | |
| 29997 | 30451 | These are called with the complete formatted string to output.</doc> | |
| 29998 | - | <source-position filename="glib/gmessages.h" line="525"/> | |
| 30452 | + | <source-position filename="glib/gmessages.h" line="528"/> | |
| 29999 | 30453 | <return-value transfer-ownership="none"> | |
| 30000 | 30454 | <type name="none" c:type="void"/> | |
| 30001 | 30455 | </return-value> | |
| @@ -30003,7 +30457,7 @@ These are called with the complete formatted string to output.</doc> | |||
| 30003 | 30457 | <parameter name="string" transfer-ownership="none"> | |
| 30004 | 30458 | <doc xml:space="preserve" | |
| 30005 | 30459 | filename="glib/gmessages.h" | |
| 30006 | - | line="520">the message to output</doc> | |
| 30460 | + | line="523">the message to output</doc> | |
| 30007 | 30461 | <type name="utf8" c:type="const gchar*"/> | |
| 30008 | 30462 | </parameter> | |
| 30009 | 30463 | </parameters> | |
| @@ -30154,30 +30608,32 @@ the #GDestroyNotify for @key is not called on the old value.</doc> | |||
| 30154 | 30608 | </record> | |
| 30155 | 30609 | <record name="PtrArray" | |
| 30156 | 30610 | c:type="GPtrArray" | |
| 30611 | + | copy-function="g_ptr_array_ref" | |
| 30612 | + | free-function="g_ptr_array_unref" | |
| 30157 | 30613 | glib:type-name="GPtrArray" | |
| 30158 | 30614 | glib:get-type="g_ptr_array_get_type" | |
| 30159 | 30615 | c:symbol-prefix="ptr_array"> | |
| 30160 | 30616 | <doc xml:space="preserve" | |
| 30161 | 30617 | filename="glib/garray.c" | |
| 30162 | - | line="1086">Contains the public fields of a pointer array.</doc> | |
| 30618 | + | line="1098">Contains the public fields of a `GPtrArray`.</doc> | |
| 30163 | 30619 | <source-position filename="glib/garray.h" line="59"/> | |
| 30164 | 30620 | <field name="pdata" writable="1"> | |
| 30165 | 30621 | <doc xml:space="preserve" | |
| 30166 | 30622 | filename="glib/garray.c" | |
| 30167 | - | line="1088">points to the array of pointers, which may be moved when the | |
| 30623 | + | line="1100">a pointer to the array of pointers, which may be moved when the | |
| 30168 | 30624 | array grows</doc> | |
| 30169 | 30625 | <type name="gpointer" c:type="gpointer*"/> | |
| 30170 | 30626 | </field> | |
| 30171 | 30627 | <field name="len" writable="1"> | |
| 30172 | 30628 | <doc xml:space="preserve" | |
| 30173 | 30629 | filename="glib/garray.c" | |
| 30174 | - | line="1090">number of pointers in the array</doc> | |
| 30630 | + | line="1102">the number of pointers in the array</doc> | |
| 30175 | 30631 | <type name="guint" c:type="guint"/> | |
| 30176 | 30632 | </field> | |
| 30177 | 30633 | <function name="add" c:identifier="g_ptr_array_add" introspectable="0"> | |
| 30178 | 30634 | <doc xml:space="preserve" | |
| 30179 | 30635 | filename="glib/garray.c" | |
| 30180 | - | line="2204">Adds a pointer to the end of the pointer array. The array will grow | |
| 30636 | + | line="2221">Adds a pointer to the end of the pointer array. The array will grow | |
| 30181 | 30637 | in size automatically if necessary.</doc> | |
| 30182 | 30638 | <source-position filename="glib/garray.h" line="224"/> | |
| 30183 | 30639 | <return-value transfer-ownership="none"> | |
| @@ -30187,7 +30643,7 @@ in size automatically if necessary.</doc> | |||
| 30187 | 30643 | <parameter name="array" transfer-ownership="none"> | |
| 30188 | 30644 | <doc xml:space="preserve" | |
| 30189 | 30645 | filename="glib/garray.c" | |
| 30190 | - | line="2206">a #GPtrArray</doc> | |
| 30646 | + | line="2223">a pointer array</doc> | |
| 30191 | 30647 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30192 | 30648 | <type name="gpointer" c:type="gpointer"/> | |
| 30193 | 30649 | </array> | |
| @@ -30198,7 +30654,7 @@ in size automatically if necessary.</doc> | |||
| 30198 | 30654 | allow-none="1"> | |
| 30199 | 30655 | <doc xml:space="preserve" | |
| 30200 | 30656 | filename="glib/garray.c" | |
| 30201 | - | line="2207">the pointer to add</doc> | |
| 30657 | + | line="2224">the pointer to add</doc> | |
| 30202 | 30658 | <type name="gpointer" c:type="gpointer"/> | |
| 30203 | 30659 | </parameter> | |
| 30204 | 30660 | </parameters> | |
| @@ -30209,25 +30665,27 @@ in size automatically if necessary.</doc> | |||
| 30209 | 30665 | introspectable="0"> | |
| 30210 | 30666 | <doc xml:space="preserve" | |
| 30211 | 30667 | filename="glib/garray.c" | |
| 30212 | - | line="1485">Makes a full (deep) copy of a #GPtrArray. | |
| 30668 | + | line="1498">Makes a full (deep) copy of a `GPtrArray`. | |
| 30213 | 30669 | ||
| 30214 | - | @func, as a #GCopyFunc, takes two arguments, the data to be copied | |
| 30215 | - | and a @user_data pointer. On common processor architectures, it's safe to | |
| 30216 | - | pass %NULL as @user_data if the copy function takes only one argument. You | |
| 30670 | + | @func, as a [callback@GLib.CopyFunc], takes two arguments, the data to be | |
| 30671 | + | copied | |
| 30672 | + | and a @user_data pointer. On common processor architectures, it’s safe to | |
| 30673 | + | pass `NULL` as @user_data if the copy function takes only one argument. You | |
| 30217 | 30674 | may get compiler warnings from this though if compiling with GCC’s | |
| 30218 | 30675 | `-Wcast-function-type` warning. | |
| 30219 | 30676 | ||
| 30220 | - | If @func is %NULL, then only the pointers (and not what they are | |
| 30221 | - | pointing to) are copied to the new #GPtrArray. | |
| 30677 | + | If @func is `NULL`, then only the pointers (and not what they are | |
| 30678 | + | pointing to) are copied to the new `GPtrArray`. | |
| 30222 | 30679 | ||
| 30223 | - | The copy of @array will have the same #GDestroyNotify for its elements as | |
| 30224 | - | @array. The copy will also be %NULL terminated if (and only if) the source | |
| 30680 | + | The copy of @array will have the same [callback@GLib.DestroyNotify] for its | |
| 30681 | + | elements as | |
| 30682 | + | @array. The copy will also be `NULL` terminated if (and only if) the source | |
| 30225 | 30683 | array is.</doc> | |
| 30226 | 30684 | <source-position filename="glib/garray.h" line="168"/> | |
| 30227 | 30685 | <return-value transfer-ownership="full"> | |
| 30228 | 30686 | <doc xml:space="preserve" | |
| 30229 | 30687 | filename="glib/garray.c" | |
| 30230 | - | line="1506">a deep copy of the initial #GPtrArray.</doc> | |
| 30688 | + | line="1521">The deep copy of the initial `GPtrArray`</doc> | |
| 30231 | 30689 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30232 | 30690 | <type name="gpointer" c:type="gpointer"/> | |
| 30233 | 30691 | </array> | |
| @@ -30236,7 +30694,7 @@ array is.</doc> | |||
| 30236 | 30694 | <parameter name="array" transfer-ownership="none"> | |
| 30237 | 30695 | <doc xml:space="preserve" | |
| 30238 | 30696 | filename="glib/garray.c" | |
| 30239 | - | line="1487">#GPtrArray to duplicate</doc> | |
| 30697 | + | line="1500">a pointer array to duplicate</doc> | |
| 30240 | 30698 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30241 | 30699 | <type name="gpointer" c:type="gpointer"/> | |
| 30242 | 30700 | </array> | |
| @@ -30245,10 +30703,11 @@ array is.</doc> | |||
| 30245 | 30703 | transfer-ownership="none" | |
| 30246 | 30704 | nullable="1" | |
| 30247 | 30705 | allow-none="1" | |
| 30706 | + | scope="call" | |
| 30248 | 30707 | closure="2"> | |
| 30249 | 30708 | <doc xml:space="preserve" | |
| 30250 | 30709 | filename="glib/garray.c" | |
| 30251 | - | line="1488">a copy function used to copy every element in the array</doc> | |
| 30710 | + | line="1501">a copy function used to copy every element in the array</doc> | |
| 30252 | 30711 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 30253 | 30712 | </parameter> | |
| 30254 | 30713 | <parameter name="user_data" | |
| @@ -30257,7 +30716,7 @@ array is.</doc> | |||
| 30257 | 30716 | allow-none="1"> | |
| 30258 | 30717 | <doc xml:space="preserve" | |
| 30259 | 30718 | filename="glib/garray.c" | |
| 30260 | - | line="1489">user data passed to the copy function @func, or %NULL</doc> | |
| 30719 | + | line="1502">the user data passed to the copy function @func</doc> | |
| 30261 | 30720 | <type name="gpointer" c:type="gpointer"/> | |
| 30262 | 30721 | </parameter> | |
| 30263 | 30722 | </parameters> | |
| @@ -30268,20 +30727,21 @@ array is.</doc> | |||
| 30268 | 30727 | introspectable="0"> | |
| 30269 | 30728 | <doc xml:space="preserve" | |
| 30270 | 30729 | filename="glib/garray.c" | |
| 30271 | - | line="2228">Adds all pointers of @array to the end of the array @array_to_extend. | |
| 30730 | + | line="2245">Adds all pointers of @array to the end of the array @array_to_extend. | |
| 30272 | 30731 | The array will grow in size automatically if needed. @array_to_extend is | |
| 30273 | 30732 | modified in-place. | |
| 30274 | 30733 | ||
| 30275 | - | @func, as a #GCopyFunc, takes two arguments, the data to be copied | |
| 30276 | - | and a @user_data pointer. On common processor architectures, it's safe to | |
| 30277 | - | pass %NULL as @user_data if the copy function takes only one argument. You | |
| 30734 | + | @func, as a [callback@GLib.CopyFunc], takes two arguments, the data to be | |
| 30735 | + | copied | |
| 30736 | + | and a @user_data pointer. On common processor architectures, it’s safe to | |
| 30737 | + | pass `NULL` as @user_data if the copy function takes only one argument. You | |
| 30278 | 30738 | may get compiler warnings from this though if compiling with GCC’s | |
| 30279 | 30739 | `-Wcast-function-type` warning. | |
| 30280 | 30740 | ||
| 30281 | - | If @func is %NULL, then only the pointers (and not what they are | |
| 30282 | - | pointing to) are copied to the new #GPtrArray. | |
| 30741 | + | If @func is `NULL`, then only the pointers (and not what they are | |
| 30742 | + | pointing to) are copied to the new `GPtrArray`. | |
| 30283 | 30743 | ||
| 30284 | - | Whether @array_to_extend is %NULL terminated stays unchanged by this function.</doc> | |
| 30744 | + | Whether @array_to_extend is `NULL` terminated stays unchanged by this function.</doc> | |
| 30285 | 30745 | <source-position filename="glib/garray.h" line="227"/> | |
| 30286 | 30746 | <return-value transfer-ownership="none"> | |
| 30287 | 30747 | <type name="none" c:type="void"/> | |
| @@ -30290,7 +30750,7 @@ Whether @array_to_extend is %NULL terminated stays unchanged by this function.</ | |||
| 30290 | 30750 | <parameter name="array_to_extend" transfer-ownership="none"> | |
| 30291 | 30751 | <doc xml:space="preserve" | |
| 30292 | 30752 | filename="glib/garray.c" | |
| 30293 | - | line="2230">a #GPtrArray.</doc> | |
| 30753 | + | line="2247">a pointer array</doc> | |
| 30294 | 30754 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30295 | 30755 | <type name="gpointer" c:type="gpointer"/> | |
| 30296 | 30756 | </array> | |
| @@ -30298,7 +30758,7 @@ Whether @array_to_extend is %NULL terminated stays unchanged by this function.</ | |||
| 30298 | 30758 | <parameter name="array" transfer-ownership="none"> | |
| 30299 | 30759 | <doc xml:space="preserve" | |
| 30300 | 30760 | filename="glib/garray.c" | |
| 30301 | - | line="2231">a #GPtrArray to add to the end of @array_to_extend.</doc> | |
| 30761 | + | line="2248">a pointer array to add to the end of @array_to_extend</doc> | |
| 30302 | 30762 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30303 | 30763 | <type name="gpointer" c:type="gpointer"/> | |
| 30304 | 30764 | </array> | |
| @@ -30307,10 +30767,11 @@ Whether @array_to_extend is %NULL terminated stays unchanged by this function.</ | |||
| 30307 | 30767 | transfer-ownership="none" | |
| 30308 | 30768 | nullable="1" | |
| 30309 | 30769 | allow-none="1" | |
| 30770 | + | scope="call" | |
| 30310 | 30771 | closure="3"> | |
| 30311 | 30772 | <doc xml:space="preserve" | |
| 30312 | 30773 | filename="glib/garray.c" | |
| 30313 | - | line="2232">a copy function used to copy every element in the array</doc> | |
| 30774 | + | line="2249">a copy function used to copy every element in the array</doc> | |
| 30314 | 30775 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 30315 | 30776 | </parameter> | |
| 30316 | 30777 | <parameter name="user_data" | |
| @@ -30319,7 +30780,7 @@ Whether @array_to_extend is %NULL terminated stays unchanged by this function.</ | |||
| 30319 | 30780 | allow-none="1"> | |
| 30320 | 30781 | <doc xml:space="preserve" | |
| 30321 | 30782 | filename="glib/garray.c" | |
| 30322 | - | line="2233">user data passed to the copy function @func, or %NULL</doc> | |
| 30783 | + | line="2250">the user data passed to the copy function @func</doc> | |
| 30323 | 30784 | <type name="gpointer" c:type="gpointer"/> | |
| 30324 | 30785 | </parameter> | |
| 30325 | 30786 | </parameters> | |
| @@ -30330,12 +30791,12 @@ Whether @array_to_extend is %NULL terminated stays unchanged by this function.</ | |||
| 30330 | 30791 | introspectable="0"> | |
| 30331 | 30792 | <doc xml:space="preserve" | |
| 30332 | 30793 | filename="glib/garray.c" | |
| 30333 | - | line="2291">Adds all the pointers in @array to the end of @array_to_extend, transferring | |
| 30794 | + | line="2305">Adds all the pointers in @array to the end of @array_to_extend, transferring | |
| 30334 | 30795 | ownership of each element from @array to @array_to_extend and modifying | |
| 30335 | 30796 | @array_to_extend in-place. @array is then freed. | |
| 30336 | 30797 | ||
| 30337 | - | As with g_ptr_array_free(), @array will be destroyed if its reference count | |
| 30338 | - | is 1. If its reference count is higher, it will be decremented and the | |
| 30798 | + | As with [func@GLib.PtrArray.free], @array will be destroyed if its reference | |
| 30799 | + | count is 1. If its reference count is higher, it will be decremented and the | |
| 30339 | 30800 | length of @array set to zero.</doc> | |
| 30340 | 30801 | <source-position filename="glib/garray.h" line="232"/> | |
| 30341 | 30802 | <return-value transfer-ownership="none"> | |
| @@ -30345,7 +30806,7 @@ length of @array set to zero.</doc> | |||
| 30345 | 30806 | <parameter name="array_to_extend" transfer-ownership="none"> | |
| 30346 | 30807 | <doc xml:space="preserve" | |
| 30347 | 30808 | filename="glib/garray.c" | |
| 30348 | - | line="2293">a #GPtrArray.</doc> | |
| 30809 | + | line="2307">a pointer array</doc> | |
| 30349 | 30810 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30350 | 30811 | <type name="gpointer" c:type="gpointer"/> | |
| 30351 | 30812 | </array> | |
| @@ -30353,8 +30814,8 @@ length of @array set to zero.</doc> | |||
| 30353 | 30814 | <parameter name="array" transfer-ownership="container"> | |
| 30354 | 30815 | <doc xml:space="preserve" | |
| 30355 | 30816 | filename="glib/garray.c" | |
| 30356 | - | line="2294">a #GPtrArray to add to the end of | |
| 30357 | - | @array_to_extend.</doc> | |
| 30817 | + | line="2308">a pointer array to add to the end of | |
| 30818 | + | @array_to_extend</doc> | |
| 30358 | 30819 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30359 | 30820 | <type name="gpointer" c:type="gpointer"/> | |
| 30360 | 30821 | </array> | |
| @@ -30367,25 +30828,26 @@ length of @array set to zero.</doc> | |||
| 30367 | 30828 | introspectable="0"> | |
| 30368 | 30829 | <doc xml:space="preserve" | |
| 30369 | 30830 | filename="glib/garray.c" | |
| 30370 | - | line="2601">Checks whether @needle exists in @haystack. If the element is found, %TRUE is | |
| 30371 | - | returned and the element’s index is returned in @index_ (if non-%NULL). | |
| 30372 | - | Otherwise, %FALSE is returned and @index_ is undefined. If @needle exists | |
| 30831 | + | line="2620">Checks whether @needle exists in @haystack. If the element is found, true | |
| 30832 | + | is returned and the element’s index is returned in @index_ (if non-`NULL`). | |
| 30833 | + | Otherwise, false is returned and @index_ is undefined. If @needle exists | |
| 30373 | 30834 | multiple times in @haystack, the index of the first instance is returned. | |
| 30374 | 30835 | ||
| 30375 | 30836 | This does pointer comparisons only. If you want to use more complex equality | |
| 30376 | - | checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc> | |
| 30837 | + | checks, such as string comparisons, use | |
| 30838 | + | [func@GLib.PtrArray.find_with_equal_func].</doc> | |
| 30377 | 30839 | <source-position filename="glib/garray.h" line="257"/> | |
| 30378 | 30840 | <return-value transfer-ownership="none"> | |
| 30379 | 30841 | <doc xml:space="preserve" | |
| 30380 | 30842 | filename="glib/garray.c" | |
| 30381 | - | line="2616">%TRUE if @needle is one of the elements of @haystack</doc> | |
| 30843 | + | line="2636">true if @needle is one of the elements of @haystack; false otherwise</doc> | |
| 30382 | 30844 | <type name="gboolean" c:type="gboolean"/> | |
| 30383 | 30845 | </return-value> | |
| 30384 | 30846 | <parameters> | |
| 30385 | 30847 | <parameter name="haystack" transfer-ownership="none"> | |
| 30386 | 30848 | <doc xml:space="preserve" | |
| 30387 | 30849 | filename="glib/garray.c" | |
| 30388 | - | line="2603">pointer array to be searched</doc> | |
| 30850 | + | line="2622">the pointer array to be searched</doc> | |
| 30389 | 30851 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30390 | 30852 | <type name="gpointer" c:type="gpointer"/> | |
| 30391 | 30853 | </array> | |
| @@ -30396,7 +30858,7 @@ checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc | |||
| 30396 | 30858 | allow-none="1"> | |
| 30397 | 30859 | <doc xml:space="preserve" | |
| 30398 | 30860 | filename="glib/garray.c" | |
| 30399 | - | line="2604">pointer to look for</doc> | |
| 30861 | + | line="2623">the pointer to look for</doc> | |
| 30400 | 30862 | <type name="gpointer" c:type="gconstpointer"/> | |
| 30401 | 30863 | </parameter> | |
| 30402 | 30864 | <parameter name="index_" | |
| @@ -30407,7 +30869,7 @@ checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc | |||
| 30407 | 30869 | allow-none="1"> | |
| 30408 | 30870 | <doc xml:space="preserve" | |
| 30409 | 30871 | filename="glib/garray.c" | |
| 30410 | - | line="2605">return location for the index of | |
| 30872 | + | line="2624">the return location for the index of | |
| 30411 | 30873 | the element, if found</doc> | |
| 30412 | 30874 | <type name="guint" c:type="guint*"/> | |
| 30413 | 30875 | </parameter> | |
| @@ -30419,27 +30881,27 @@ checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc | |||
| 30419 | 30881 | introspectable="0"> | |
| 30420 | 30882 | <doc xml:space="preserve" | |
| 30421 | 30883 | filename="glib/garray.c" | |
| 30422 | - | line="2627">Checks whether @needle exists in @haystack, using the given @equal_func. | |
| 30423 | - | If the element is found, %TRUE is returned and the element’s index is | |
| 30424 | - | returned in @index_ (if non-%NULL). Otherwise, %FALSE is returned and @index_ | |
| 30884 | + | line="2647">Checks whether @needle exists in @haystack, using the given @equal_func. | |
| 30885 | + | If the element is found, true is returned and the element’s index is | |
| 30886 | + | returned in @index_ (if non-`NULL`). Otherwise, false is returned and @index_ | |
| 30425 | 30887 | is undefined. If @needle exists multiple times in @haystack, the index of | |
| 30426 | 30888 | the first instance is returned. | |
| 30427 | 30889 | ||
| 30428 | 30890 | @equal_func is called with the element from the array as its first parameter, | |
| 30429 | - | and @needle as its second parameter. If @equal_func is %NULL, pointer | |
| 30891 | + | and @needle as its second parameter. If @equal_func is `NULL`, pointer | |
| 30430 | 30892 | equality is used.</doc> | |
| 30431 | 30893 | <source-position filename="glib/garray.h" line="261"/> | |
| 30432 | 30894 | <return-value transfer-ownership="none"> | |
| 30433 | 30895 | <doc xml:space="preserve" | |
| 30434 | 30896 | filename="glib/garray.c" | |
| 30435 | - | line="2647">%TRUE if @needle is one of the elements of @haystack</doc> | |
| 30897 | + | line="2667">true if @needle is one of the elements of @haystack; false otherwise</doc> | |
| 30436 | 30898 | <type name="gboolean" c:type="gboolean"/> | |
| 30437 | 30899 | </return-value> | |
| 30438 | 30900 | <parameters> | |
| 30439 | 30901 | <parameter name="haystack" transfer-ownership="none"> | |
| 30440 | 30902 | <doc xml:space="preserve" | |
| 30441 | 30903 | filename="glib/garray.c" | |
| 30442 | - | line="2629">pointer array to be searched</doc> | |
| 30904 | + | line="2649">the pointer array to be searched</doc> | |
| 30443 | 30905 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30444 | 30906 | <type name="gpointer" c:type="gpointer"/> | |
| 30445 | 30907 | </array> | |
| @@ -30450,7 +30912,7 @@ equality is used.</doc> | |||
| 30450 | 30912 | allow-none="1"> | |
| 30451 | 30913 | <doc xml:space="preserve" | |
| 30452 | 30914 | filename="glib/garray.c" | |
| 30453 | - | line="2630">pointer to look for</doc> | |
| 30915 | + | line="2650">the pointer to look for</doc> | |
| 30454 | 30916 | <type name="gpointer" c:type="gconstpointer"/> | |
| 30455 | 30917 | </parameter> | |
| 30456 | 30918 | <parameter name="equal_func" | |
| @@ -30459,8 +30921,8 @@ equality is used.</doc> | |||
| 30459 | 30921 | allow-none="1"> | |
| 30460 | 30922 | <doc xml:space="preserve" | |
| 30461 | 30923 | filename="glib/garray.c" | |
| 30462 | - | line="2631">the function to call for each element, which should | |
| 30463 | - | return %TRUE when the desired element is found; or %NULL to use pointer | |
| 30924 | + | line="2651">the function to call for each element, which should | |
| 30925 | + | return true when the desired element is found; or `NULL` to use pointer | |
| 30464 | 30926 | equality</doc> | |
| 30465 | 30927 | <type name="EqualFunc" c:type="GEqualFunc"/> | |
| 30466 | 30928 | </parameter> | |
| @@ -30472,7 +30934,7 @@ equality is used.</doc> | |||
| 30472 | 30934 | allow-none="1"> | |
| 30473 | 30935 | <doc xml:space="preserve" | |
| 30474 | 30936 | filename="glib/garray.c" | |
| 30475 | - | line="2634">return location for the index of | |
| 30937 | + | line="2654">the return location for the index of | |
| 30476 | 30938 | the element, if found</doc> | |
| 30477 | 30939 | <type name="guint" c:type="guint*"/> | |
| 30478 | 30940 | </parameter> | |
| @@ -30484,7 +30946,7 @@ equality is used.</doc> | |||
| 30484 | 30946 | introspectable="0"> | |
| 30485 | 30947 | <doc xml:space="preserve" | |
| 30486 | 30948 | filename="glib/garray.c" | |
| 30487 | - | line="2577">Calls a function for each element of a #GPtrArray. @func must not | |
| 30949 | + | line="2596">Calls a function for each element of a `GPtrArray`. @func must not | |
| 30488 | 30950 | add elements to or remove elements from the array.</doc> | |
| 30489 | 30951 | <source-position filename="glib/garray.h" line="253"/> | |
| 30490 | 30952 | <return-value transfer-ownership="none"> | |
| @@ -30494,15 +30956,18 @@ add elements to or remove elements from the array.</doc> | |||
| 30494 | 30956 | <parameter name="array" transfer-ownership="none"> | |
| 30495 | 30957 | <doc xml:space="preserve" | |
| 30496 | 30958 | filename="glib/garray.c" | |
| 30497 | - | line="2579">a #GPtrArray</doc> | |
| 30959 | + | line="2598">a pointer array</doc> | |
| 30498 | 30960 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30499 | 30961 | <type name="gpointer" c:type="gpointer"/> | |
| 30500 | 30962 | </array> | |
| 30501 | 30963 | </parameter> | |
| 30502 | - | <parameter name="func" transfer-ownership="none" closure="2"> | |
| 30964 | + | <parameter name="func" | |
| 30965 | + | transfer-ownership="none" | |
| 30966 | + | scope="call" | |
| 30967 | + | closure="2"> | |
| 30503 | 30968 | <doc xml:space="preserve" | |
| 30504 | 30969 | filename="glib/garray.c" | |
| 30505 | - | line="2580">the function to call for each array element</doc> | |
| 30970 | + | line="2599">the function to call for each array element</doc> | |
| 30506 | 30971 | <type name="Func" c:type="GFunc"/> | |
| 30507 | 30972 | </parameter> | |
| 30508 | 30973 | <parameter name="user_data" | |
| @@ -30511,7 +30976,7 @@ add elements to or remove elements from the array.</doc> | |||
| 30511 | 30976 | allow-none="1"> | |
| 30512 | 30977 | <doc xml:space="preserve" | |
| 30513 | 30978 | filename="glib/garray.c" | |
| 30514 | - | line="2581">user data to pass to the function</doc> | |
| 30979 | + | line="2600">the user data to pass to the function</doc> | |
| 30515 | 30980 | <type name="gpointer" c:type="gpointer"/> | |
| 30516 | 30981 | </parameter> | |
| 30517 | 30982 | </parameters> | |
| @@ -30519,37 +30984,39 @@ add elements to or remove elements from the array.</doc> | |||
| 30519 | 30984 | <function name="free" c:identifier="g_ptr_array_free" introspectable="0"> | |
| 30520 | 30985 | <doc xml:space="preserve" | |
| 30521 | 30986 | filename="glib/garray.c" | |
| 30522 | - | line="1776">Frees the memory allocated for the #GPtrArray. If @free_segment is %TRUE | |
| 30523 | - | it frees the memory block holding the elements as well. Pass %FALSE | |
| 30524 | - | if you want to free the #GPtrArray wrapper but preserve the | |
| 30987 | + | line="1791">Frees the memory allocated for the `GPtrArray`. If @free_segment is true | |
| 30988 | + | it frees the memory block holding the elements as well. Pass false | |
| 30989 | + | if you want to free the `GPtrArray` wrapper but preserve the | |
| 30525 | 30990 | underlying array for use elsewhere. If the reference count of @array | |
| 30526 | - | is greater than one, the #GPtrArray wrapper is preserved but the | |
| 30991 | + | is greater than one, the `GPtrArray` wrapper is preserved but the | |
| 30527 | 30992 | size of @array will be set to zero. | |
| 30528 | 30993 | ||
| 30529 | 30994 | If array contents point to dynamically-allocated memory, they should | |
| 30530 | - | be freed separately if @free_segment is %TRUE and no #GDestroyNotify | |
| 30531 | - | function has been set for @array. | |
| 30995 | + | be freed separately if @free_segment is true and no | |
| 30996 | + | [callback@GLib.DestroyNotify] function has been set for @array. | |
| 30532 | 30997 | ||
| 30533 | - | Note that if the array is %NULL terminated and @free_segment is %FALSE | |
| 30534 | - | then this will always return an allocated %NULL terminated buffer. | |
| 30535 | - | If pdata is previously %NULL, a new buffer will be allocated. | |
| 30998 | + | Note that if the array is `NULL` terminated and @free_segment is false | |
| 30999 | + | then this will always return an allocated `NULL` terminated buffer. | |
| 31000 | + | If `pdata` is previously `NULL`, a new buffer will be allocated. | |
| 30536 | 31001 | ||
| 30537 | - | This function is not thread-safe. If using a #GPtrArray from multiple | |
| 30538 | - | threads, use only the atomic g_ptr_array_ref() and g_ptr_array_unref() | |
| 30539 | - | functions.</doc> | |
| 31002 | + | This function is not thread-safe. If using a `GPtrArray` from multiple | |
| 31003 | + | threads, use only the atomic [func@GLib.PtrArray.ref] and | |
| 31004 | + | [func@GLib.PtrArray.unref] functions.</doc> | |
| 30540 | 31005 | <source-position filename="glib/garray.h" line="189"/> | |
| 30541 | 31006 | <return-value transfer-ownership="full" nullable="1"> | |
| 30542 | 31007 | <doc xml:space="preserve" | |
| 30543 | 31008 | filename="glib/garray.c" | |
| 30544 | - | line="1800">the pointer array if @free_segment is | |
| 30545 | - | %FALSE, otherwise %NULL. The pointer array should be freed using g_free().</doc> | |
| 30546 | - | <type name="gpointer" c:type="gpointer*"/> | |
| 31009 | + | line="1815">The allocated pointer array if | |
| 31010 | + | @free_segment is false, otherwise `NULL`.</doc> | |
| 31011 | + | <array zero-terminated="0" c:type="gpointer*"> | |
| 31012 | + | <type name="gpointer" c:type="gpointer"/> | |
| 31013 | + | </array> | |
| 30547 | 31014 | </return-value> | |
| 30548 | 31015 | <parameters> | |
| 30549 | - | <parameter name="array" transfer-ownership="none"> | |
| 31016 | + | <parameter name="array" transfer-ownership="full"> | |
| 30550 | 31017 | <doc xml:space="preserve" | |
| 30551 | 31018 | filename="glib/garray.c" | |
| 30552 | - | line="1778">a #GPtrArray</doc> | |
| 31019 | + | line="1793">a pointer array</doc> | |
| 30553 | 31020 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30554 | 31021 | <type name="gpointer" c:type="gpointer"/> | |
| 30555 | 31022 | </array> | |
| @@ -30557,7 +31024,7 @@ functions.</doc> | |||
| 30557 | 31024 | <parameter name="free_segment" transfer-ownership="none"> | |
| 30558 | 31025 | <doc xml:space="preserve" | |
| 30559 | 31026 | filename="glib/garray.c" | |
| 30560 | - | line="1779">if %TRUE the actual pointer array is freed as well</doc> | |
| 31027 | + | line="1794">if true, the actual pointer array is freed as well</doc> | |
| 30561 | 31028 | <type name="gboolean" c:type="gboolean"/> | |
| 30562 | 31029 | </parameter> | |
| 30563 | 31030 | </parameters> | |
| @@ -30568,7 +31035,7 @@ functions.</doc> | |||
| 30568 | 31035 | introspectable="0"> | |
| 30569 | 31036 | <doc xml:space="preserve" | |
| 30570 | 31037 | filename="glib/garray.c" | |
| 30571 | - | line="2324">Inserts an element into the pointer array at the given index. The | |
| 31038 | + | line="2341">Inserts an element into the pointer array at the given index. The | |
| 30572 | 31039 | array will grow in size automatically if necessary.</doc> | |
| 30573 | 31040 | <source-position filename="glib/garray.h" line="235"/> | |
| 30574 | 31041 | <return-value transfer-ownership="none"> | |
| @@ -30578,7 +31045,7 @@ array will grow in size automatically if necessary.</doc> | |||
| 30578 | 31045 | <parameter name="array" transfer-ownership="none"> | |
| 30579 | 31046 | <doc xml:space="preserve" | |
| 30580 | 31047 | filename="glib/garray.c" | |
| 30581 | - | line="2326">a #GPtrArray</doc> | |
| 31048 | + | line="2343">a pointer array</doc> | |
| 30582 | 31049 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30583 | 31050 | <type name="gpointer" c:type="gpointer"/> | |
| 30584 | 31051 | </array> | |
| @@ -30586,7 +31053,7 @@ array will grow in size automatically if necessary.</doc> | |||
| 30586 | 31053 | <parameter name="index_" transfer-ownership="none"> | |
| 30587 | 31054 | <doc xml:space="preserve" | |
| 30588 | 31055 | filename="glib/garray.c" | |
| 30589 | - | line="2327">the index to place the new element at, or -1 to append</doc> | |
| 31056 | + | line="2344">the index to place the new element at, or -1 to append</doc> | |
| 30590 | 31057 | <type name="gint" c:type="gint"/> | |
| 30591 | 31058 | </parameter> | |
| 30592 | 31059 | <parameter name="data" | |
| @@ -30595,7 +31062,7 @@ array will grow in size automatically if necessary.</doc> | |||
| 30595 | 31062 | allow-none="1"> | |
| 30596 | 31063 | <doc xml:space="preserve" | |
| 30597 | 31064 | filename="glib/garray.c" | |
| 30598 | - | line="2328">the pointer to add.</doc> | |
| 31065 | + | line="2345">the pointer to add</doc> | |
| 30599 | 31066 | <type name="gpointer" c:type="gpointer"/> | |
| 30600 | 31067 | </parameter> | |
| 30601 | 31068 | </parameters> | |
| @@ -30606,24 +31073,24 @@ array will grow in size automatically if necessary.</doc> | |||
| 30606 | 31073 | introspectable="0"> | |
| 30607 | 31074 | <doc xml:space="preserve" | |
| 30608 | 31075 | filename="glib/garray.c" | |
| 30609 | - | line="1706">Gets whether the @array was constructed as %NULL-terminated. | |
| 31076 | + | line="1721">Checks whether the @array was constructed as `NULL`-terminated. | |
| 30610 | 31077 | ||
| 30611 | - | This will only return %TRUE for arrays constructed by passing %TRUE to the | |
| 30612 | - | `null_terminated` argument of g_ptr_array_new_null_terminated(). It will not | |
| 30613 | - | return %TRUE for normal arrays which have had a %NULL element appended to | |
| 30614 | - | them.</doc> | |
| 31078 | + | This will only return true for arrays constructed by passing true to the | |
| 31079 | + | `null_terminated` argument of [func@GLib.PtrArray.new_null_terminated]. It | |
| 31080 | + | will not return true for normal arrays which have had a `NULL` element | |
| 31081 | + | appended to them.</doc> | |
| 30615 | 31082 | <source-position filename="glib/garray.h" line="267"/> | |
| 30616 | 31083 | <return-value transfer-ownership="none"> | |
| 30617 | 31084 | <doc xml:space="preserve" | |
| 30618 | 31085 | filename="glib/garray.c" | |
| 30619 | - | line="1717">%TRUE if the array is made to be %NULL terminated.</doc> | |
| 31086 | + | line="1732">true if the array is made to be `NULL` terminated; false otherwise</doc> | |
| 30620 | 31087 | <type name="gboolean" c:type="gboolean"/> | |
| 30621 | 31088 | </return-value> | |
| 30622 | 31089 | <parameters> | |
| 30623 | 31090 | <parameter name="array" transfer-ownership="none"> | |
| 30624 | 31091 | <doc xml:space="preserve" | |
| 30625 | 31092 | filename="glib/garray.c" | |
| 30626 | - | line="1708">the #GPtrArray</doc> | |
| 31093 | + | line="1723">a pointer array</doc> | |
| 30627 | 31094 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30628 | 31095 | <type name="gpointer" c:type="gpointer"/> | |
| 30629 | 31096 | </array> | |
| @@ -30633,12 +31100,12 @@ them.</doc> | |||
| 30633 | 31100 | <function name="new" c:identifier="g_ptr_array_new" introspectable="0"> | |
| 30634 | 31101 | <doc xml:space="preserve" | |
| 30635 | 31102 | filename="glib/garray.c" | |
| 30636 | - | line="1165">Creates a new #GPtrArray with a reference count of 1.</doc> | |
| 31103 | + | line="1173">Creates a new `GPtrArray` with a reference count of 1.</doc> | |
| 30637 | 31104 | <source-position filename="glib/garray.h" line="151"/> | |
| 30638 | - | <return-value> | |
| 31105 | + | <return-value transfer-ownership="full"> | |
| 30639 | 31106 | <doc xml:space="preserve" | |
| 30640 | 31107 | filename="glib/garray.c" | |
| 30641 | - | line="1170">the new #GPtrArray</doc> | |
| 31108 | + | line="1178">The new `GPtrArray`</doc> | |
| 30642 | 31109 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30643 | 31110 | <type name="gpointer" c:type="gpointer"/> | |
| 30644 | 31111 | </array> | |
| @@ -30650,27 +31117,28 @@ them.</doc> | |||
| 30650 | 31117 | introspectable="0"> | |
| 30651 | 31118 | <doc xml:space="preserve" | |
| 30652 | 31119 | filename="glib/garray.c" | |
| 30653 | - | line="1313">Creates a new #GPtrArray, copying @len pointers from @data, and setting | |
| 31120 | + | line="1326">Creates a new `GPtrArray`, copying @len pointers from @data, and setting | |
| 30654 | 31121 | the array’s reference count to 1. | |
| 30655 | 31122 | ||
| 30656 | 31123 | This avoids having to manually add each element one by one. | |
| 30657 | 31124 | ||
| 30658 | 31125 | If @copy_func is provided, then it is used to copy each element before | |
| 30659 | - | adding them to the new array. If it is %NULL then the pointers are copied | |
| 31126 | + | adding them to the new array. If it is `NULL` then the pointers are copied | |
| 30660 | 31127 | directly. | |
| 30661 | 31128 | ||
| 30662 | 31129 | It also sets @element_free_func for freeing each element when the array is | |
| 30663 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 30664 | - | with @free_segment set to %TRUE or when removing elements. | |
| 31130 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 31131 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 31132 | + | removing elements. | |
| 30665 | 31133 | ||
| 30666 | - | Do not use it if @len is greater than %G_MAXUINT. #GPtrArray | |
| 30667 | - | stores the length of its data in #guint, which may be shorter than | |
| 30668 | - | #gsize.</doc> | |
| 31134 | + | Do not use it if @len is greater than [`G_MAXUINT`](types.html#guint). | |
| 31135 | + | `GPtrArray` stores the length of its data in `guint`, which may be shorter | |
| 31136 | + | than `gsize`.</doc> | |
| 30669 | 31137 | <source-position filename="glib/garray.h" line="159"/> | |
| 30670 | 31138 | <return-value transfer-ownership="full"> | |
| 30671 | 31139 | <doc xml:space="preserve" | |
| 30672 | 31140 | filename="glib/garray.c" | |
| 30673 | - | line="1341">A new #GPtrArray</doc> | |
| 31141 | + | line="1354">The new `GPtrArray`</doc> | |
| 30674 | 31142 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30675 | 31143 | <type name="gpointer" c:type="gpointer"/> | |
| 30676 | 31144 | </array> | |
| @@ -30682,8 +31150,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30682 | 31150 | allow-none="1"> | |
| 30683 | 31151 | <doc xml:space="preserve" | |
| 30684 | 31152 | filename="glib/garray.c" | |
| 30685 | - | line="1315">an array of pointers, | |
| 30686 | - | or %NULL for an empty array</doc> | |
| 31153 | + | line="1328">an array of pointers</doc> | |
| 30687 | 31154 | <array length="1" zero-terminated="0" c:type="gpointer*"> | |
| 30688 | 31155 | <type name="gpointer" c:type="gpointer"/> | |
| 30689 | 31156 | </array> | |
| @@ -30691,7 +31158,7 @@ or %NULL for an empty array</doc> | |||
| 30691 | 31158 | <parameter name="len" transfer-ownership="none"> | |
| 30692 | 31159 | <doc xml:space="preserve" | |
| 30693 | 31160 | filename="glib/garray.c" | |
| 30694 | - | line="1317">the number of pointers in @data</doc> | |
| 31161 | + | line="1329">the number of pointers in @data</doc> | |
| 30695 | 31162 | <type name="gsize" c:type="gsize"/> | |
| 30696 | 31163 | </parameter> | |
| 30697 | 31164 | <parameter name="copy_func" | |
| @@ -30703,8 +31170,8 @@ or %NULL for an empty array</doc> | |||
| 30703 | 31170 | destroy="4"> | |
| 30704 | 31171 | <doc xml:space="preserve" | |
| 30705 | 31172 | filename="glib/garray.c" | |
| 30706 | - | line="1318">a copy function used to copy every element in the | |
| 30707 | - | array or %NULL.</doc> | |
| 31173 | + | line="1330">a copy function used to copy every element in the | |
| 31174 | + | array</doc> | |
| 30708 | 31175 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 30709 | 31176 | </parameter> | |
| 30710 | 31177 | <parameter name="copy_func_user_data" | |
| @@ -30713,7 +31180,7 @@ or %NULL for an empty array</doc> | |||
| 30713 | 31180 | allow-none="1"> | |
| 30714 | 31181 | <doc xml:space="preserve" | |
| 30715 | 31182 | filename="glib/garray.c" | |
| 30716 | - | line="1320">user data passed to @copy_func, or %NULL</doc> | |
| 31183 | + | line="1332">the user data passed to @copy_func</doc> | |
| 30717 | 31184 | <type name="gpointer" c:type="gpointer"/> | |
| 30718 | 31185 | </parameter> | |
| 30719 | 31186 | <parameter name="element_free_func" | |
| @@ -30723,8 +31190,8 @@ or %NULL for an empty array</doc> | |||
| 30723 | 31190 | scope="async"> | |
| 30724 | 31191 | <doc xml:space="preserve" | |
| 30725 | 31192 | filename="glib/garray.c" | |
| 30726 | - | line="1321">a function to free elements on @array | |
| 30727 | - | destruction or %NULL</doc> | |
| 31193 | + | line="1333">a function to free elements on @array | |
| 31194 | + | destruction</doc> | |
| 30728 | 31195 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 30729 | 31196 | </parameter> | |
| 30730 | 31197 | </parameters> | |
| @@ -30735,23 +31202,24 @@ or %NULL for an empty array</doc> | |||
| 30735 | 31202 | introspectable="0"> | |
| 30736 | 31203 | <doc xml:space="preserve" | |
| 30737 | 31204 | filename="glib/garray.c" | |
| 30738 | - | line="1359">Creates a new #GPtrArray copying the pointers from @data after having | |
| 31205 | + | line="1372">Creates a new `GPtrArray` copying the pointers from @data after having | |
| 30739 | 31206 | computed the length of it and with a reference count of 1. | |
| 30740 | 31207 | This avoids having to manually add each element one by one. | |
| 30741 | 31208 | If @copy_func is provided, then it is used to copy the data in the new | |
| 30742 | 31209 | array. | |
| 30743 | - | It also set @element_free_func for freeing each element when the array is | |
| 30744 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 30745 | - | with @free_segment set to %TRUE or when removing elements. | |
| 31210 | + | It also sets @element_free_func for freeing each element when the array is | |
| 31211 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 31212 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 31213 | + | removing elements. | |
| 30746 | 31214 | ||
| 30747 | - | Do not use it if the @data has more than %G_MAXUINT elements. #GPtrArray | |
| 30748 | - | stores the length of its data in #guint, which may be shorter than | |
| 30749 | - | #gsize.</doc> | |
| 31215 | + | Do not use it if the @data has more than [`G_MAXUINT`](types.html#guint) | |
| 31216 | + | elements. `GPtrArray` stores the length of its data in `guint`, which may be | |
| 31217 | + | shorter than `gsize`.</doc> | |
| 30750 | 31218 | <source-position filename="glib/garray.h" line="184"/> | |
| 30751 | 31219 | <return-value transfer-ownership="full"> | |
| 30752 | 31220 | <doc xml:space="preserve" | |
| 30753 | 31221 | filename="glib/garray.c" | |
| 30754 | - | line="1382">A new #GPtrArray</doc> | |
| 31222 | + | line="1396">The new `GPtrArray`</doc> | |
| 30755 | 31223 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30756 | 31224 | <type name="gpointer" c:type="gpointer"/> | |
| 30757 | 31225 | </array> | |
| @@ -30763,8 +31231,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30763 | 31231 | allow-none="1"> | |
| 30764 | 31232 | <doc xml:space="preserve" | |
| 30765 | 31233 | filename="glib/garray.c" | |
| 30766 | - | line="1361">an array of | |
| 30767 | - | pointers, %NULL terminated; or %NULL for an empty array</doc> | |
| 31234 | + | line="1374">an array of | |
| 31235 | + | pointers, `NULL` terminated</doc> | |
| 30768 | 31236 | <array c:type="gpointer*"> | |
| 30769 | 31237 | <type name="gpointer" c:type="gpointer"/> | |
| 30770 | 31238 | </array> | |
| @@ -30778,8 +31246,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30778 | 31246 | destroy="3"> | |
| 30779 | 31247 | <doc xml:space="preserve" | |
| 30780 | 31248 | filename="glib/garray.c" | |
| 30781 | - | line="1363">a copy function used to copy every element in the | |
| 30782 | - | array or %NULL.</doc> | |
| 31249 | + | line="1376">a copy function used to copy every element in the | |
| 31250 | + | array</doc> | |
| 30783 | 31251 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 30784 | 31252 | </parameter> | |
| 30785 | 31253 | <parameter name="copy_func_user_data" | |
| @@ -30788,7 +31256,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30788 | 31256 | allow-none="1"> | |
| 30789 | 31257 | <doc xml:space="preserve" | |
| 30790 | 31258 | filename="glib/garray.c" | |
| 30791 | - | line="1365">user data passed to @copy_func, or %NULL</doc> | |
| 31259 | + | line="1378">the user data passed to @copy_func</doc> | |
| 30792 | 31260 | <type name="gpointer" c:type="gpointer"/> | |
| 30793 | 31261 | </parameter> | |
| 30794 | 31262 | <parameter name="element_free_func" | |
| @@ -30798,8 +31266,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30798 | 31266 | scope="async"> | |
| 30799 | 31267 | <doc xml:space="preserve" | |
| 30800 | 31268 | filename="glib/garray.c" | |
| 30801 | - | line="1366">a function to free elements on @array | |
| 30802 | - | destruction or %NULL</doc> | |
| 31269 | + | line="1379">a function to free elements on @array | |
| 31270 | + | destruction</doc> | |
| 30803 | 31271 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 30804 | 31272 | </parameter> | |
| 30805 | 31273 | </parameters> | |
| @@ -30810,18 +31278,18 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30810 | 31278 | introspectable="0"> | |
| 30811 | 31279 | <doc xml:space="preserve" | |
| 30812 | 31280 | filename="glib/garray.c" | |
| 30813 | - | line="1620">Creates a new #GPtrArray with @reserved_size pointers preallocated | |
| 31281 | + | line="1635">Creates a new `GPtrArray` with @reserved_size pointers preallocated | |
| 30814 | 31282 | and a reference count of 1. This avoids frequent reallocation, if | |
| 30815 | 31283 | you are going to add many pointers to the array. Note however that | |
| 30816 | - | the size of the array is still 0. It also set @element_free_func | |
| 31284 | + | the size of the array is still 0. It also sets @element_free_func | |
| 30817 | 31285 | for freeing each element when the array is destroyed either via | |
| 30818 | - | g_ptr_array_unref(), when g_ptr_array_free() is called with | |
| 30819 | - | @free_segment set to %TRUE or when removing elements.</doc> | |
| 31286 | + | [func@GLib.PtrArray.unref], when [func@GLib.PtrArray.free] is called with | |
| 31287 | + | @free_segment set to true or when removing elements.</doc> | |
| 30820 | 31288 | <source-position filename="glib/garray.h" line="174"/> | |
| 30821 | 31289 | <return-value transfer-ownership="full"> | |
| 30822 | 31290 | <doc xml:space="preserve" | |
| 30823 | 31291 | filename="glib/garray.c" | |
| 30824 | - | line="1634">A new #GPtrArray</doc> | |
| 31292 | + | line="1649">The new `GPtrArray`</doc> | |
| 30825 | 31293 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30826 | 31294 | <type name="gpointer" c:type="gpointer"/> | |
| 30827 | 31295 | </array> | |
| @@ -30830,7 +31298,7 @@ g_ptr_array_unref(), when g_ptr_array_free() is called with | |||
| 30830 | 31298 | <parameter name="reserved_size" transfer-ownership="none"> | |
| 30831 | 31299 | <doc xml:space="preserve" | |
| 30832 | 31300 | filename="glib/garray.c" | |
| 30833 | - | line="1622">number of pointers preallocated</doc> | |
| 31301 | + | line="1637">the number of pointers preallocated</doc> | |
| 30834 | 31302 | <type name="guint" c:type="guint"/> | |
| 30835 | 31303 | </parameter> | |
| 30836 | 31304 | <parameter name="element_free_func" | |
| @@ -30840,8 +31308,8 @@ g_ptr_array_unref(), when g_ptr_array_free() is called with | |||
| 30840 | 31308 | scope="async"> | |
| 30841 | 31309 | <doc xml:space="preserve" | |
| 30842 | 31310 | filename="glib/garray.c" | |
| 30843 | - | line="1623">A function to free elements with | |
| 30844 | - | destroy @array or %NULL</doc> | |
| 31311 | + | line="1638">a function to free elements with | |
| 31312 | + | destroy @array</doc> | |
| 30845 | 31313 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 30846 | 31314 | </parameter> | |
| 30847 | 31315 | </parameters> | |
| @@ -30852,26 +31320,26 @@ g_ptr_array_unref(), when g_ptr_array_free() is called with | |||
| 30852 | 31320 | introspectable="0"> | |
| 30853 | 31321 | <doc xml:space="preserve" | |
| 30854 | 31322 | filename="glib/garray.c" | |
| 30855 | - | line="1645">Like g_ptr_array_new_full() but also allows to set the array to | |
| 30856 | - | be %NULL terminated. A %NULL terminated pointer array has an | |
| 30857 | - | additional %NULL pointer after the last element, beyond the | |
| 31323 | + | line="1660">Like [func@GLib.PtrArray.new_full] but also allows to set the array to | |
| 31324 | + | be `NULL` terminated. A `NULL` terminated pointer array has an | |
| 31325 | + | additional `NULL` pointer after the last element, beyond the | |
| 30858 | 31326 | current length. | |
| 30859 | 31327 | ||
| 30860 | - | #GPtrArray created by other constructors are not automatically %NULL | |
| 31328 | + | `GPtrArray` created by other constructors are not automatically `NULL` | |
| 30861 | 31329 | terminated. | |
| 30862 | 31330 | ||
| 30863 | - | Note that if the @array's length is zero and currently no | |
| 30864 | - | data array is allocated, then pdata will still be %NULL. | |
| 30865 | - | %GPtrArray will only %NULL terminate pdata, if an actual | |
| 31331 | + | Note that if the @array’s length is zero and currently no | |
| 31332 | + | data array is allocated, then `pdata` will still be `NULL`. | |
| 31333 | + | `GPtrArray` will only `NULL` terminate `pdata`, if an actual | |
| 30866 | 31334 | array is allocated. It does not guarantee that an array | |
| 30867 | 31335 | is always allocated. In other words, if the length is zero, | |
| 30868 | - | then pdata may either point to a %NULL terminated array of length | |
| 30869 | - | zero or be %NULL.</doc> | |
| 31336 | + | then `pdata` may either point to a `NULL` terminated array of length | |
| 31337 | + | zero or be `NULL`.</doc> | |
| 30870 | 31338 | <source-position filename="glib/garray.h" line="177"/> | |
| 30871 | 31339 | <return-value transfer-ownership="full"> | |
| 30872 | 31340 | <doc xml:space="preserve" | |
| 30873 | 31341 | filename="glib/garray.c" | |
| 30874 | - | line="1671">A new #GPtrArray</doc> | |
| 31342 | + | line="1686">The new `GPtrArray`</doc> | |
| 30875 | 31343 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30876 | 31344 | <type name="gpointer" c:type="gpointer"/> | |
| 30877 | 31345 | </array> | |
| @@ -30880,8 +31348,8 @@ zero or be %NULL.</doc> | |||
| 30880 | 31348 | <parameter name="reserved_size" transfer-ownership="none"> | |
| 30881 | 31349 | <doc xml:space="preserve" | |
| 30882 | 31350 | filename="glib/garray.c" | |
| 30883 | - | line="1647">number of pointers preallocated. | |
| 30884 | - | If @null_terminated is %TRUE, the actually allocated | |
| 31351 | + | line="1662">the number of pointers preallocated. | |
| 31352 | + | If @null_terminated is `TRUE`, the actually allocated | |
| 30885 | 31353 | buffer size is @reserved_size plus 1, unless @reserved_size | |
| 30886 | 31354 | is zero, in which case no initial buffer gets allocated.</doc> | |
| 30887 | 31355 | <type name="guint" c:type="guint"/> | |
| @@ -30893,14 +31361,14 @@ zero or be %NULL.</doc> | |||
| 30893 | 31361 | scope="async"> | |
| 30894 | 31362 | <doc xml:space="preserve" | |
| 30895 | 31363 | filename="glib/garray.c" | |
| 30896 | - | line="1651">A function to free elements with | |
| 30897 | - | destroy @array or %NULL</doc> | |
| 31364 | + | line="1666">a function to free elements during | |
| 31365 | + | destruction of @array</doc> | |
| 30898 | 31366 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 30899 | 31367 | </parameter> | |
| 30900 | 31368 | <parameter name="null_terminated" transfer-ownership="none"> | |
| 30901 | 31369 | <doc xml:space="preserve" | |
| 30902 | 31370 | filename="glib/garray.c" | |
| 30903 | - | line="1653">whether to make the array as %NULL terminated.</doc> | |
| 31371 | + | line="1668">if true, make the array `NULL` terminated</doc> | |
| 30904 | 31372 | <type name="gboolean" c:type="gboolean"/> | |
| 30905 | 31373 | </parameter> | |
| 30906 | 31374 | </parameters> | |
| @@ -30911,26 +31379,27 @@ zero or be %NULL.</doc> | |||
| 30911 | 31379 | introspectable="0"> | |
| 30912 | 31380 | <doc xml:space="preserve" | |
| 30913 | 31381 | filename="glib/garray.c" | |
| 30914 | - | line="1178">Creates a new #GPtrArray with @data as pointers, @len as length and a | |
| 31382 | + | line="1186">Creates a new `GPtrArray` with @data as pointers, @len as length and a | |
| 30915 | 31383 | reference count of 1. | |
| 30916 | 31384 | ||
| 30917 | 31385 | This avoids having to copy such data manually. | |
| 30918 | - | After this call, @data belongs to the #GPtrArray and may no longer be | |
| 31386 | + | After this call, @data belongs to the `GPtrArray` and may no longer be | |
| 30919 | 31387 | modified by the caller. The memory of @data has to be dynamically | |
| 30920 | - | allocated and will eventually be freed with g_free(). | |
| 31388 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 30921 | 31389 | ||
| 30922 | 31390 | It also sets @element_free_func for freeing each element when the array is | |
| 30923 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 30924 | - | with @free_segment set to %TRUE or when removing elements. | |
| 31391 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 31392 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 31393 | + | removing elements. | |
| 30925 | 31394 | ||
| 30926 | - | Do not use it if @len is greater than %G_MAXUINT. #GPtrArray | |
| 30927 | - | stores the length of its data in #guint, which may be shorter than | |
| 30928 | - | #gsize.</doc> | |
| 31395 | + | Do not use it if @len is greater than [`G_MAXUINT`](types.html#guint). | |
| 31396 | + | `GPtrArray` stores the length of its data in `guint`, which may be shorter | |
| 31397 | + | than `gsize`.</doc> | |
| 30929 | 31398 | <source-position filename="glib/garray.h" line="155"/> | |
| 30930 | 31399 | <return-value transfer-ownership="full"> | |
| 30931 | 31400 | <doc xml:space="preserve" | |
| 30932 | 31401 | filename="glib/garray.c" | |
| 30933 | - | line="1202">A new #GPtrArray</doc> | |
| 31402 | + | line="1210">The new `GPtrArray`</doc> | |
| 30934 | 31403 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 30935 | 31404 | <type name="gpointer" c:type="gpointer"/> | |
| 30936 | 31405 | </array> | |
| @@ -30942,8 +31411,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30942 | 31411 | allow-none="1"> | |
| 30943 | 31412 | <doc xml:space="preserve" | |
| 30944 | 31413 | filename="glib/garray.c" | |
| 30945 | - | line="1180">an array of pointers, | |
| 30946 | - | or %NULL for an empty array</doc> | |
| 31414 | + | line="1188">an array of pointers</doc> | |
| 30947 | 31415 | <array length="1" zero-terminated="0" c:type="gpointer*"> | |
| 30948 | 31416 | <type name="gpointer" c:type="gpointer"/> | |
| 30949 | 31417 | </array> | |
| @@ -30951,7 +31419,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30951 | 31419 | <parameter name="len" transfer-ownership="none"> | |
| 30952 | 31420 | <doc xml:space="preserve" | |
| 30953 | 31421 | filename="glib/garray.c" | |
| 30954 | - | line="1182">the number of pointers in @data</doc> | |
| 31422 | + | line="1189">the number of pointers in @data</doc> | |
| 30955 | 31423 | <type name="gsize" c:type="gsize"/> | |
| 30956 | 31424 | </parameter> | |
| 30957 | 31425 | <parameter name="element_free_func" | |
| @@ -30961,8 +31429,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30961 | 31429 | scope="async"> | |
| 30962 | 31430 | <doc xml:space="preserve" | |
| 30963 | 31431 | filename="glib/garray.c" | |
| 30964 | - | line="1183">A function to free elements on @array | |
| 30965 | - | destruction or %NULL</doc> | |
| 31432 | + | line="1190">a function to free elements on @array | |
| 31433 | + | destruction</doc> | |
| 30966 | 31434 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 30967 | 31435 | </parameter> | |
| 30968 | 31436 | </parameters> | |
| @@ -30973,29 +31441,30 @@ stores the length of its data in #guint, which may be shorter than | |||
| 30973 | 31441 | introspectable="0"> | |
| 30974 | 31442 | <doc xml:space="preserve" | |
| 30975 | 31443 | filename="glib/garray.c" | |
| 30976 | - | line="1227">Creates a new #GPtrArray with @data as pointers, computing the length of it | |
| 31444 | + | line="1235">Creates a new `GPtrArray` with @data as pointers, computing the length of it | |
| 30977 | 31445 | and setting the reference count to 1. | |
| 30978 | 31446 | ||
| 30979 | 31447 | This avoids having to copy such data manually. | |
| 30980 | - | After this call, @data belongs to the #GPtrArray and may no longer be | |
| 31448 | + | After this call, @data belongs to the `GPtrArray` and may no longer be | |
| 30981 | 31449 | modified by the caller. The memory of @data has to be dynamically | |
| 30982 | - | allocated and will eventually be freed with g_free(). | |
| 31450 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 30983 | 31451 | ||
| 30984 | - | The length is calculated by iterating through @data until the first %NULL | |
| 31452 | + | The length is calculated by iterating through @data until the first `NULL` | |
| 30985 | 31453 | element is found. | |
| 30986 | 31454 | ||
| 30987 | 31455 | It also sets @element_free_func for freeing each element when the array is | |
| 30988 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 30989 | - | with @free_segment set to %TRUE or when removing elements. | |
| 31456 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 31457 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 31458 | + | removing elements. | |
| 30990 | 31459 | ||
| 30991 | - | Do not use it if the @data length is greater than %G_MAXUINT. #GPtrArray | |
| 30992 | - | stores the length of its data in #guint, which may be shorter than | |
| 30993 | - | #gsize.</doc> | |
| 31460 | + | Do not use it if the @data length is greater than | |
| 31461 | + | [`G_MAXUINT`](types.html#guint). `GPtrArray` stores the length of its data | |
| 31462 | + | in `guint`, which may be shorter than `gsize`.</doc> | |
| 30994 | 31463 | <source-position filename="glib/garray.h" line="181"/> | |
| 30995 | 31464 | <return-value transfer-ownership="full"> | |
| 30996 | 31465 | <doc xml:space="preserve" | |
| 30997 | 31466 | filename="glib/garray.c" | |
| 30998 | - | line="1253">A new #GPtrArray</doc> | |
| 31467 | + | line="1262">The new `GPtrArray`</doc> | |
| 30999 | 31468 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31000 | 31469 | <type name="gpointer" c:type="gpointer"/> | |
| 31001 | 31470 | </array> | |
| @@ -31007,8 +31476,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 31007 | 31476 | allow-none="1"> | |
| 31008 | 31477 | <doc xml:space="preserve" | |
| 31009 | 31478 | filename="glib/garray.c" | |
| 31010 | - | line="1229">an array | |
| 31011 | - | of pointers, %NULL terminated, or %NULL for an empty array</doc> | |
| 31479 | + | line="1237">an array | |
| 31480 | + | of pointers, `NULL` terminated</doc> | |
| 31012 | 31481 | <array c:type="gpointer*"> | |
| 31013 | 31482 | <type name="gpointer" c:type="gpointer"/> | |
| 31014 | 31483 | </array> | |
| @@ -31020,8 +31489,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 31020 | 31489 | scope="async"> | |
| 31021 | 31490 | <doc xml:space="preserve" | |
| 31022 | 31491 | filename="glib/garray.c" | |
| 31023 | - | line="1231">a function to free elements on @array | |
| 31024 | - | destruction or %NULL</doc> | |
| 31492 | + | line="1239">a function to free elements on @array | |
| 31493 | + | destruction</doc> | |
| 31025 | 31494 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 31026 | 31495 | </parameter> | |
| 31027 | 31496 | </parameters> | |
| @@ -31032,15 +31501,15 @@ stores the length of its data in #guint, which may be shorter than | |||
| 31032 | 31501 | introspectable="0"> | |
| 31033 | 31502 | <doc xml:space="preserve" | |
| 31034 | 31503 | filename="glib/garray.c" | |
| 31035 | - | line="1600">Creates a new #GPtrArray with a reference count of 1 and use | |
| 31504 | + | line="1615">Creates a new `GPtrArray` with a reference count of 1 and use | |
| 31036 | 31505 | @element_free_func for freeing each element when the array is destroyed | |
| 31037 | - | either via g_ptr_array_unref(), when g_ptr_array_free() is called with | |
| 31038 | - | @free_segment set to %TRUE or when removing elements.</doc> | |
| 31506 | + | either via [func@GLib.PtrArray.unref], when [func@GLib.PtrArray.free] is | |
| 31507 | + | called with @free_segment set to true or when removing elements.</doc> | |
| 31039 | 31508 | <source-position filename="glib/garray.h" line="153"/> | |
| 31040 | 31509 | <return-value transfer-ownership="full"> | |
| 31041 | 31510 | <doc xml:space="preserve" | |
| 31042 | 31511 | filename="glib/garray.c" | |
| 31043 | - | line="1610">A new #GPtrArray</doc> | |
| 31512 | + | line="1625">The new `GPtrArray`</doc> | |
| 31044 | 31513 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31045 | 31514 | <type name="gpointer" c:type="gpointer"/> | |
| 31046 | 31515 | </array> | |
| @@ -31053,8 +31522,8 @@ either via g_ptr_array_unref(), when g_ptr_array_free() is called with | |||
| 31053 | 31522 | scope="async"> | |
| 31054 | 31523 | <doc xml:space="preserve" | |
| 31055 | 31524 | filename="glib/garray.c" | |
| 31056 | - | line="1602">A function to free elements with | |
| 31057 | - | destroy @array or %NULL</doc> | |
| 31525 | + | line="1617">a function to free elements with | |
| 31526 | + | destroy @array</doc> | |
| 31058 | 31527 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 31059 | 31528 | </parameter> | |
| 31060 | 31529 | </parameters> | |
| @@ -31065,13 +31534,13 @@ either via g_ptr_array_unref(), when g_ptr_array_free() is called with | |||
| 31065 | 31534 | introspectable="0"> | |
| 31066 | 31535 | <doc xml:space="preserve" | |
| 31067 | 31536 | filename="glib/garray.c" | |
| 31068 | - | line="1729">Atomically increments the reference count of @array by one. | |
| 31537 | + | line="1744">Atomically increments the reference count of @array by one. | |
| 31069 | 31538 | This function is thread-safe and may be called from any thread.</doc> | |
| 31070 | 31539 | <source-position filename="glib/garray.h" line="192"/> | |
| 31071 | - | <return-value> | |
| 31540 | + | <return-value transfer-ownership="full"> | |
| 31072 | 31541 | <doc xml:space="preserve" | |
| 31073 | 31542 | filename="glib/garray.c" | |
| 31074 | - | line="1736">The passed in #GPtrArray</doc> | |
| 31543 | + | line="1751">The passed in `GPtrArray`</doc> | |
| 31075 | 31544 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31076 | 31545 | <type name="gpointer" c:type="gpointer"/> | |
| 31077 | 31546 | </array> | |
| @@ -31080,7 +31549,7 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 31080 | 31549 | <parameter name="array" transfer-ownership="none"> | |
| 31081 | 31550 | <doc xml:space="preserve" | |
| 31082 | 31551 | filename="glib/garray.c" | |
| 31083 | - | line="1731">a #GPtrArray</doc> | |
| 31552 | + | line="1746">a pointer array</doc> | |
| 31084 | 31553 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31085 | 31554 | <type name="gpointer" c:type="gpointer"/> | |
| 31086 | 31555 | </array> | |
| @@ -31092,26 +31561,25 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 31092 | 31561 | introspectable="0"> | |
| 31093 | 31562 | <doc xml:space="preserve" | |
| 31094 | 31563 | filename="glib/garray.c" | |
| 31095 | - | line="2129">Removes the first occurrence of the given pointer from the pointer | |
| 31564 | + | line="2147">Removes the first occurrence of the given pointer from the pointer | |
| 31096 | 31565 | array. The following elements are moved down one place. If @array | |
| 31097 | - | has a non-%NULL #GDestroyNotify function it is called for the | |
| 31566 | + | has a non-`NULL` [callback@GLib.DestroyNotify] function it is called for the | |
| 31098 | 31567 | removed element. | |
| 31099 | 31568 | ||
| 31100 | - | It returns %TRUE if the pointer was removed, or %FALSE if the | |
| 31569 | + | It returns true if the pointer was removed, or false if the | |
| 31101 | 31570 | pointer was not found.</doc> | |
| 31102 | 31571 | <source-position filename="glib/garray.h" line="214"/> | |
| 31103 | 31572 | <return-value transfer-ownership="none"> | |
| 31104 | 31573 | <doc xml:space="preserve" | |
| 31105 | 31574 | filename="glib/garray.c" | |
| 31106 | - | line="2142">%TRUE if the pointer is removed, %FALSE if the pointer | |
| 31107 | - | is not found in the array</doc> | |
| 31575 | + | line="2160">true if the pointer is found and removed; false otherwise</doc> | |
| 31108 | 31576 | <type name="gboolean" c:type="gboolean"/> | |
| 31109 | 31577 | </return-value> | |
| 31110 | 31578 | <parameters> | |
| 31111 | 31579 | <parameter name="array" transfer-ownership="none"> | |
| 31112 | 31580 | <doc xml:space="preserve" | |
| 31113 | 31581 | filename="glib/garray.c" | |
| 31114 | - | line="2131">a #GPtrArray</doc> | |
| 31582 | + | line="2149">a pointer array</doc> | |
| 31115 | 31583 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31116 | 31584 | <type name="gpointer" c:type="gpointer"/> | |
| 31117 | 31585 | </array> | |
| @@ -31122,7 +31590,7 @@ pointer was not found.</doc> | |||
| 31122 | 31590 | allow-none="1"> | |
| 31123 | 31591 | <doc xml:space="preserve" | |
| 31124 | 31592 | filename="glib/garray.c" | |
| 31125 | - | line="2132">the pointer to remove</doc> | |
| 31593 | + | line="2150">the pointer to remove</doc> | |
| 31126 | 31594 | <type name="gpointer" c:type="gpointer"/> | |
| 31127 | 31595 | </parameter> | |
| 31128 | 31596 | </parameters> | |
| @@ -31132,26 +31600,26 @@ pointer was not found.</doc> | |||
| 31132 | 31600 | introspectable="0"> | |
| 31133 | 31601 | <doc xml:space="preserve" | |
| 31134 | 31602 | filename="glib/garray.c" | |
| 31135 | - | line="2166">Removes the first occurrence of the given pointer from the pointer | |
| 31603 | + | line="2183">Removes the first occurrence of the given pointer from the pointer | |
| 31136 | 31604 | array. The last element in the array is used to fill in the space, | |
| 31137 | 31605 | so this function does not preserve the order of the array. But it | |
| 31138 | - | is faster than g_ptr_array_remove(). If @array has a non-%NULL | |
| 31139 | - | #GDestroyNotify function it is called for the removed element. | |
| 31606 | + | is faster than [func@GLib.PtrArray.remove]. If @array has a non-`NULL` | |
| 31607 | + | [callback@GLib.DestroyNotify] function it is called for the removed element. | |
| 31140 | 31608 | ||
| 31141 | - | It returns %TRUE if the pointer was removed, or %FALSE if the | |
| 31609 | + | It returns true if the pointer was removed, or false if the | |
| 31142 | 31610 | pointer was not found.</doc> | |
| 31143 | 31611 | <source-position filename="glib/garray.h" line="217"/> | |
| 31144 | 31612 | <return-value transfer-ownership="none"> | |
| 31145 | 31613 | <doc xml:space="preserve" | |
| 31146 | 31614 | filename="glib/garray.c" | |
| 31147 | - | line="2180">%TRUE if the pointer was found in the array</doc> | |
| 31615 | + | line="2197">true if the pointer is found and removed; false otherwise</doc> | |
| 31148 | 31616 | <type name="gboolean" c:type="gboolean"/> | |
| 31149 | 31617 | </return-value> | |
| 31150 | 31618 | <parameters> | |
| 31151 | 31619 | <parameter name="array" transfer-ownership="none"> | |
| 31152 | 31620 | <doc xml:space="preserve" | |
| 31153 | 31621 | filename="glib/garray.c" | |
| 31154 | - | line="2168">a #GPtrArray</doc> | |
| 31622 | + | line="2185">a pointer array</doc> | |
| 31155 | 31623 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31156 | 31624 | <type name="gpointer" c:type="gpointer"/> | |
| 31157 | 31625 | </array> | |
| @@ -31162,7 +31630,7 @@ pointer was not found.</doc> | |||
| 31162 | 31630 | allow-none="1"> | |
| 31163 | 31631 | <doc xml:space="preserve" | |
| 31164 | 31632 | filename="glib/garray.c" | |
| 31165 | - | line="2169">the pointer to remove</doc> | |
| 31633 | + | line="2186">the pointer to remove</doc> | |
| 31166 | 31634 | <type name="gpointer" c:type="gpointer"/> | |
| 31167 | 31635 | </parameter> | |
| 31168 | 31636 | </parameters> | |
| @@ -31172,23 +31640,25 @@ pointer was not found.</doc> | |||
| 31172 | 31640 | introspectable="0"> | |
| 31173 | 31641 | <doc xml:space="preserve" | |
| 31174 | 31642 | filename="glib/garray.c" | |
| 31175 | - | line="1988">Removes the pointer at the given index from the pointer array. | |
| 31643 | + | line="2001">Removes the pointer at the given index from the pointer array. | |
| 31176 | 31644 | The following elements are moved down one place. If @array has | |
| 31177 | - | a non-%NULL #GDestroyNotify function it is called for the removed | |
| 31645 | + | a non-`NULL` [callback@GLib.DestroyNotify] function it is called for the | |
| 31646 | + | removed | |
| 31178 | 31647 | element. If so, the return value from this function will potentially point | |
| 31179 | - | to freed memory (depending on the #GDestroyNotify implementation).</doc> | |
| 31648 | + | to freed memory (depending on the [callback@GLib.DestroyNotify] | |
| 31649 | + | implementation).</doc> | |
| 31180 | 31650 | <source-position filename="glib/garray.h" line="202"/> | |
| 31181 | 31651 | <return-value transfer-ownership="none" nullable="1"> | |
| 31182 | 31652 | <doc xml:space="preserve" | |
| 31183 | 31653 | filename="glib/garray.c" | |
| 31184 | - | line="1999">the pointer which was removed</doc> | |
| 31654 | + | line="2014">The pointer which was removed</doc> | |
| 31185 | 31655 | <type name="gpointer" c:type="gpointer"/> | |
| 31186 | 31656 | </return-value> | |
| 31187 | 31657 | <parameters> | |
| 31188 | 31658 | <parameter name="array" transfer-ownership="none"> | |
| 31189 | 31659 | <doc xml:space="preserve" | |
| 31190 | 31660 | filename="glib/garray.c" | |
| 31191 | - | line="1990">a #GPtrArray</doc> | |
| 31661 | + | line="2003">a pointer array</doc> | |
| 31192 | 31662 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31193 | 31663 | <type name="gpointer" c:type="gpointer"/> | |
| 31194 | 31664 | </array> | |
| @@ -31196,7 +31666,7 @@ to freed memory (depending on the #GDestroyNotify implementation).</doc> | |||
| 31196 | 31666 | <parameter name="index_" transfer-ownership="none"> | |
| 31197 | 31667 | <doc xml:space="preserve" | |
| 31198 | 31668 | filename="glib/garray.c" | |
| 31199 | - | line="1991">the index of the pointer to remove</doc> | |
| 31669 | + | line="2004">the index of the pointer to remove</doc> | |
| 31200 | 31670 | <type name="guint" c:type="guint"/> | |
| 31201 | 31671 | </parameter> | |
| 31202 | 31672 | </parameters> | |
| @@ -31206,25 +31676,26 @@ to freed memory (depending on the #GDestroyNotify implementation).</doc> | |||
| 31206 | 31676 | introspectable="0"> | |
| 31207 | 31677 | <doc xml:space="preserve" | |
| 31208 | 31678 | filename="glib/garray.c" | |
| 31209 | - | line="2008">Removes the pointer at the given index from the pointer array. | |
| 31679 | + | line="2023">Removes the pointer at the given index from the pointer array. | |
| 31210 | 31680 | The last element in the array is used to fill in the space, so | |
| 31211 | 31681 | this function does not preserve the order of the array. But it | |
| 31212 | - | is faster than g_ptr_array_remove_index(). If @array has a non-%NULL | |
| 31213 | - | #GDestroyNotify function it is called for the removed element. If so, the | |
| 31682 | + | is faster than [func@GLib.PtrArray.remove_index]. If @array has a non-`NULL` | |
| 31683 | + | [callback@GLib.DestroyNotify] function it is called for the removed element. | |
| 31684 | + | If so, the | |
| 31214 | 31685 | return value from this function will potentially point to freed memory | |
| 31215 | - | (depending on the #GDestroyNotify implementation).</doc> | |
| 31686 | + | (depending on the [callback@GLib.DestroyNotify] implementation).</doc> | |
| 31216 | 31687 | <source-position filename="glib/garray.h" line="205"/> | |
| 31217 | 31688 | <return-value transfer-ownership="none" nullable="1"> | |
| 31218 | 31689 | <doc xml:space="preserve" | |
| 31219 | 31690 | filename="glib/garray.c" | |
| 31220 | - | line="2021">the pointer which was removed</doc> | |
| 31691 | + | line="2037">The pointer which was removed</doc> | |
| 31221 | 31692 | <type name="gpointer" c:type="gpointer"/> | |
| 31222 | 31693 | </return-value> | |
| 31223 | 31694 | <parameters> | |
| 31224 | 31695 | <parameter name="array" transfer-ownership="none"> | |
| 31225 | 31696 | <doc xml:space="preserve" | |
| 31226 | 31697 | filename="glib/garray.c" | |
| 31227 | - | line="2010">a #GPtrArray</doc> | |
| 31698 | + | line="2025">a pointer array</doc> | |
| 31228 | 31699 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31229 | 31700 | <type name="gpointer" c:type="gpointer"/> | |
| 31230 | 31701 | </array> | |
| @@ -31232,7 +31703,7 @@ return value from this function will potentially point to freed memory | |||
| 31232 | 31703 | <parameter name="index_" transfer-ownership="none"> | |
| 31233 | 31704 | <doc xml:space="preserve" | |
| 31234 | 31705 | filename="glib/garray.c" | |
| 31235 | - | line="2011">the index of the pointer to remove</doc> | |
| 31706 | + | line="2026">the index of the pointer to remove</doc> | |
| 31236 | 31707 | <type name="guint" c:type="guint"/> | |
| 31237 | 31708 | </parameter> | |
| 31238 | 31709 | </parameters> | |
| @@ -31243,15 +31714,15 @@ return value from this function will potentially point to freed memory | |||
| 31243 | 31714 | introspectable="0"> | |
| 31244 | 31715 | <doc xml:space="preserve" | |
| 31245 | 31716 | filename="glib/garray.c" | |
| 31246 | - | line="2072">Removes the given number of pointers starting at the given index | |
| 31247 | - | from a #GPtrArray. The following elements are moved to close the | |
| 31248 | - | gap. If @array has a non-%NULL #GDestroyNotify function it is | |
| 31717 | + | line="2090">Removes the given number of pointers starting at the given index | |
| 31718 | + | from a `GPtrArray`. The following elements are moved to close the | |
| 31719 | + | gap. If @array has a non-`NULL` [callback@GLib.DestroyNotify] function it is | |
| 31249 | 31720 | called for the removed elements.</doc> | |
| 31250 | 31721 | <source-position filename="glib/garray.h" line="220"/> | |
| 31251 | - | <return-value> | |
| 31722 | + | <return-value transfer-ownership="none"> | |
| 31252 | 31723 | <doc xml:space="preserve" | |
| 31253 | 31724 | filename="glib/garray.c" | |
| 31254 | - | line="2083">the @array</doc> | |
| 31725 | + | line="2101">The @array</doc> | |
| 31255 | 31726 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31256 | 31727 | <type name="gpointer" c:type="gpointer"/> | |
| 31257 | 31728 | </array> | |
| @@ -31260,7 +31731,7 @@ called for the removed elements.</doc> | |||
| 31260 | 31731 | <parameter name="array" transfer-ownership="none"> | |
| 31261 | 31732 | <doc xml:space="preserve" | |
| 31262 | 31733 | filename="glib/garray.c" | |
| 31263 | - | line="2074">a @GPtrArray</doc> | |
| 31734 | + | line="2092">a pointer array</doc> | |
| 31264 | 31735 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31265 | 31736 | <type name="gpointer" c:type="gpointer"/> | |
| 31266 | 31737 | </array> | |
| @@ -31268,13 +31739,13 @@ called for the removed elements.</doc> | |||
| 31268 | 31739 | <parameter name="index_" transfer-ownership="none"> | |
| 31269 | 31740 | <doc xml:space="preserve" | |
| 31270 | 31741 | filename="glib/garray.c" | |
| 31271 | - | line="2075">the index of the first pointer to remove</doc> | |
| 31742 | + | line="2093">the index of the first pointer to remove</doc> | |
| 31272 | 31743 | <type name="guint" c:type="guint"/> | |
| 31273 | 31744 | </parameter> | |
| 31274 | 31745 | <parameter name="length" transfer-ownership="none"> | |
| 31275 | 31746 | <doc xml:space="preserve" | |
| 31276 | 31747 | filename="glib/garray.c" | |
| 31277 | - | line="2076">the number of pointers to remove</doc> | |
| 31748 | + | line="2094">the number of pointers to remove</doc> | |
| 31278 | 31749 | <type name="guint" c:type="guint"/> | |
| 31279 | 31750 | </parameter> | |
| 31280 | 31751 | </parameters> | |
| @@ -31285,9 +31756,9 @@ called for the removed elements.</doc> | |||
| 31285 | 31756 | introspectable="0"> | |
| 31286 | 31757 | <doc xml:space="preserve" | |
| 31287 | 31758 | filename="glib/garray.c" | |
| 31288 | - | line="1683">Sets a function for freeing each element when @array is destroyed | |
| 31289 | - | either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 31290 | - | with @free_segment set to %TRUE or when removing elements.</doc> | |
| 31759 | + | line="1698">Sets a function for freeing each element when @array is destroyed | |
| 31760 | + | either via [func@GLib.PtrArray.unref], when [func@GLib.PtrArray.free] is | |
| 31761 | + | called with @free_segment set to true or when removing elements.</doc> | |
| 31291 | 31762 | <source-position filename="glib/garray.h" line="196"/> | |
| 31292 | 31763 | <return-value transfer-ownership="none"> | |
| 31293 | 31764 | <type name="none" c:type="void"/> | |
| @@ -31296,7 +31767,7 @@ with @free_segment set to %TRUE or when removing elements.</doc> | |||
| 31296 | 31767 | <parameter name="array" transfer-ownership="none"> | |
| 31297 | 31768 | <doc xml:space="preserve" | |
| 31298 | 31769 | filename="glib/garray.c" | |
| 31299 | - | line="1685">A #GPtrArray</doc> | |
| 31770 | + | line="1700">a pointer array</doc> | |
| 31300 | 31771 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31301 | 31772 | <type name="gpointer" c:type="gpointer"/> | |
| 31302 | 31773 | </array> | |
| @@ -31308,8 +31779,8 @@ with @free_segment set to %TRUE or when removing elements.</doc> | |||
| 31308 | 31779 | scope="async"> | |
| 31309 | 31780 | <doc xml:space="preserve" | |
| 31310 | 31781 | filename="glib/garray.c" | |
| 31311 | - | line="1686">A function to free elements with | |
| 31312 | - | destroy @array or %NULL</doc> | |
| 31782 | + | line="1701">a function to free elements during | |
| 31783 | + | destruction of @array</doc> | |
| 31313 | 31784 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 31314 | 31785 | </parameter> | |
| 31315 | 31786 | </parameters> | |
| @@ -31319,10 +31790,10 @@ with @free_segment set to %TRUE or when removing elements.</doc> | |||
| 31319 | 31790 | introspectable="0"> | |
| 31320 | 31791 | <doc xml:space="preserve" | |
| 31321 | 31792 | filename="glib/garray.c" | |
| 31322 | - | line="1905">Sets the size of the array. When making the array larger, | |
| 31323 | - | newly-added elements will be set to %NULL. When making it smaller, | |
| 31324 | - | if @array has a non-%NULL #GDestroyNotify function then it will be | |
| 31325 | - | called for the removed elements.</doc> | |
| 31793 | + | line="1922">Sets the size of the array. When making the array larger, | |
| 31794 | + | newly-added elements will be set to `NULL`. When making it smaller, | |
| 31795 | + | if @array has a non-`NULL` [callback@GLib.DestroyNotify] function then it | |
| 31796 | + | will be called for the removed elements.</doc> | |
| 31326 | 31797 | <source-position filename="glib/garray.h" line="199"/> | |
| 31327 | 31798 | <return-value transfer-ownership="none"> | |
| 31328 | 31799 | <type name="none" c:type="void"/> | |
| @@ -31331,7 +31802,7 @@ called for the removed elements.</doc> | |||
| 31331 | 31802 | <parameter name="array" transfer-ownership="none"> | |
| 31332 | 31803 | <doc xml:space="preserve" | |
| 31333 | 31804 | filename="glib/garray.c" | |
| 31334 | - | line="1907">a #GPtrArray</doc> | |
| 31805 | + | line="1924">a pointer array</doc> | |
| 31335 | 31806 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31336 | 31807 | <type name="gpointer" c:type="gpointer"/> | |
| 31337 | 31808 | </array> | |
| @@ -31339,7 +31810,7 @@ called for the removed elements.</doc> | |||
| 31339 | 31810 | <parameter name="length" transfer-ownership="none"> | |
| 31340 | 31811 | <doc xml:space="preserve" | |
| 31341 | 31812 | filename="glib/garray.c" | |
| 31342 | - | line="1908">the new length of the pointer array</doc> | |
| 31813 | + | line="1925">the new length of the pointer array</doc> | |
| 31343 | 31814 | <type name="gint" c:type="gint"/> | |
| 31344 | 31815 | </parameter> | |
| 31345 | 31816 | </parameters> | |
| @@ -31349,15 +31820,15 @@ called for the removed elements.</doc> | |||
| 31349 | 31820 | introspectable="0"> | |
| 31350 | 31821 | <doc xml:space="preserve" | |
| 31351 | 31822 | filename="glib/garray.c" | |
| 31352 | - | line="1552">Creates a new #GPtrArray with @reserved_size pointers preallocated | |
| 31823 | + | line="1567">Creates a new `GPtrArray` with @reserved_size pointers preallocated | |
| 31353 | 31824 | and a reference count of 1. This avoids frequent reallocation, if | |
| 31354 | 31825 | you are going to add many pointers to the array. Note however that | |
| 31355 | 31826 | the size of the array is still 0.</doc> | |
| 31356 | 31827 | <source-position filename="glib/garray.h" line="172"/> | |
| 31357 | - | <return-value> | |
| 31828 | + | <return-value transfer-ownership="full"> | |
| 31358 | 31829 | <doc xml:space="preserve" | |
| 31359 | 31830 | filename="glib/garray.c" | |
| 31360 | - | line="1561">the new #GPtrArray</doc> | |
| 31831 | + | line="1576">The new `GPtrArray`</doc> | |
| 31361 | 31832 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31362 | 31833 | <type name="gpointer" c:type="gpointer"/> | |
| 31363 | 31834 | </array> | |
| @@ -31366,7 +31837,7 @@ the size of the array is still 0.</doc> | |||
| 31366 | 31837 | <parameter name="reserved_size" transfer-ownership="none"> | |
| 31367 | 31838 | <doc xml:space="preserve" | |
| 31368 | 31839 | filename="glib/garray.c" | |
| 31369 | - | line="1554">number of pointers preallocated</doc> | |
| 31840 | + | line="1569">the number of pointers preallocated</doc> | |
| 31370 | 31841 | <type name="guint" c:type="guint"/> | |
| 31371 | 31842 | </parameter> | |
| 31372 | 31843 | </parameters> | |
| @@ -31374,19 +31845,20 @@ the size of the array is still 0.</doc> | |||
| 31374 | 31845 | <function name="sort" c:identifier="g_ptr_array_sort" introspectable="0"> | |
| 31375 | 31846 | <doc xml:space="preserve" | |
| 31376 | 31847 | filename="glib/garray.c" | |
| 31377 | - | line="2364">Sorts the array, using @compare_func which should be a qsort()-style | |
| 31848 | + | line="2381">Sorts the array, using @compare_func which should be a `qsort()`-style | |
| 31378 | 31849 | comparison function (returns less than zero for first arg is less | |
| 31379 | 31850 | than second arg, zero for equal, greater than zero if first arg is | |
| 31380 | 31851 | greater than second arg). | |
| 31381 | 31852 | ||
| 31382 | - | Note that the comparison function for g_ptr_array_sort() doesn't | |
| 31853 | + | Note that the comparison function for [func@GLib.PtrArray.sort] doesn’t | |
| 31383 | 31854 | take the pointers from the array as arguments, it takes pointers to | |
| 31384 | 31855 | the pointers in the array. | |
| 31385 | 31856 | ||
| 31386 | - | Use g_ptr_array_sort_values() if you want to use normal | |
| 31387 | - | #GCompareFuncs, otherwise here is a full example of use: | |
| 31857 | + | Use [func@GLib.PtrArray.sort_values] if you want to use normal | |
| 31858 | + | [callback@GLib.CompareFunc] instances, otherwise here is a full example of | |
| 31859 | + | use: | |
| 31388 | 31860 | ||
| 31389 | - | |[<!-- language="C" --> | |
| 31861 | + | ```c | |
| 31390 | 31862 | typedef struct | |
| 31391 | 31863 | { | |
| 31392 | 31864 | gchar *name; | |
| @@ -31409,7 +31881,7 @@ g_autoptr (GPtrArray) file_list = NULL; | |||
| 31409 | 31881 | ... | |
| 31410 | 31882 | // now sort it with | |
| 31411 | 31883 | g_ptr_array_sort (file_list, sort_filelist); | |
| 31412 | - | ]| | |
| 31884 | + | ``` | |
| 31413 | 31885 | ||
| 31414 | 31886 | This is guaranteed to be a stable sort since version 2.32.</doc> | |
| 31415 | 31887 | <source-position filename="glib/garray.h" line="239"/> | |
| @@ -31420,15 +31892,17 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 31420 | 31892 | <parameter name="array" transfer-ownership="none"> | |
| 31421 | 31893 | <doc xml:space="preserve" | |
| 31422 | 31894 | filename="glib/garray.c" | |
| 31423 | - | line="2366">a #GPtrArray</doc> | |
| 31895 | + | line="2383">a pointer array</doc> | |
| 31424 | 31896 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31425 | 31897 | <type name="gpointer" c:type="gpointer"/> | |
| 31426 | 31898 | </array> | |
| 31427 | 31899 | </parameter> | |
| 31428 | - | <parameter name="compare_func" transfer-ownership="none"> | |
| 31900 | + | <parameter name="compare_func" | |
| 31901 | + | transfer-ownership="none" | |
| 31902 | + | scope="call"> | |
| 31429 | 31903 | <doc xml:space="preserve" | |
| 31430 | 31904 | filename="glib/garray.c" | |
| 31431 | - | line="2367">comparison function</doc> | |
| 31905 | + | line="2384">a comparison function</doc> | |
| 31432 | 31906 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 31433 | 31907 | </parameter> | |
| 31434 | 31908 | </parameters> | |
| @@ -31439,7 +31913,7 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 31439 | 31913 | introspectable="0"> | |
| 31440 | 31914 | <doc xml:space="preserve" | |
| 31441 | 31915 | filename="glib/garray.c" | |
| 31442 | - | line="2513">Sorts the array, using @compare_func which should be a qsort()-style | |
| 31916 | + | line="2532">Sorts the array, using @compare_func which should be a `qsort()`-style | |
| 31443 | 31917 | comparison function (returns less than zero for first arg is less | |
| 31444 | 31918 | than second arg, zero for equal, greater than zero if first arg is | |
| 31445 | 31919 | greater than second arg). | |
| @@ -31453,15 +31927,17 @@ This is guaranteed to be a stable sort.</doc> | |||
| 31453 | 31927 | <parameter name="array" transfer-ownership="none"> | |
| 31454 | 31928 | <doc xml:space="preserve" | |
| 31455 | 31929 | filename="glib/garray.c" | |
| 31456 | - | line="2515">a #GPtrArray</doc> | |
| 31930 | + | line="2534">a pointer array</doc> | |
| 31457 | 31931 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31458 | 31932 | <type name="gpointer" c:type="gpointer"/> | |
| 31459 | 31933 | </array> | |
| 31460 | 31934 | </parameter> | |
| 31461 | - | <parameter name="compare_func" transfer-ownership="none"> | |
| 31935 | + | <parameter name="compare_func" | |
| 31936 | + | transfer-ownership="none" | |
| 31937 | + | scope="call"> | |
| 31462 | 31938 | <doc xml:space="preserve" | |
| 31463 | 31939 | filename="glib/garray.c" | |
| 31464 | - | line="2516">a #GCompareFunc comparison function</doc> | |
| 31940 | + | line="2535">a comparison function</doc> | |
| 31465 | 31941 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 31466 | 31942 | </parameter> | |
| 31467 | 31943 | </parameters> | |
| @@ -31472,8 +31948,8 @@ This is guaranteed to be a stable sort.</doc> | |||
| 31472 | 31948 | introspectable="0"> | |
| 31473 | 31949 | <doc xml:space="preserve" | |
| 31474 | 31950 | filename="glib/garray.c" | |
| 31475 | - | line="2552">Like g_ptr_array_sort_values(), but the comparison function has an extra | |
| 31476 | - | user data argument. | |
| 31951 | + | line="2571">Like [func@GLib.PtrArray.sort_values], but the comparison function has an | |
| 31952 | + | extra user data argument. | |
| 31477 | 31953 | ||
| 31478 | 31954 | This is guaranteed to be a stable sort.</doc> | |
| 31479 | 31955 | <source-position filename="glib/garray.h" line="249"/> | |
| @@ -31484,15 +31960,18 @@ This is guaranteed to be a stable sort.</doc> | |||
| 31484 | 31960 | <parameter name="array" transfer-ownership="none"> | |
| 31485 | 31961 | <doc xml:space="preserve" | |
| 31486 | 31962 | filename="glib/garray.c" | |
| 31487 | - | line="2554">a #GPtrArray</doc> | |
| 31963 | + | line="2573">a pointer array</doc> | |
| 31488 | 31964 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31489 | 31965 | <type name="gpointer" c:type="gpointer"/> | |
| 31490 | 31966 | </array> | |
| 31491 | 31967 | </parameter> | |
| 31492 | - | <parameter name="compare_func" transfer-ownership="none" closure="2"> | |
| 31968 | + | <parameter name="compare_func" | |
| 31969 | + | transfer-ownership="none" | |
| 31970 | + | scope="call" | |
| 31971 | + | closure="2"> | |
| 31493 | 31972 | <doc xml:space="preserve" | |
| 31494 | 31973 | filename="glib/garray.c" | |
| 31495 | - | line="2555">a #GCompareDataFunc comparison function</doc> | |
| 31974 | + | line="2574">a comparison function</doc> | |
| 31496 | 31975 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 31497 | 31976 | </parameter> | |
| 31498 | 31977 | <parameter name="user_data" | |
| @@ -31501,7 +31980,7 @@ This is guaranteed to be a stable sort.</doc> | |||
| 31501 | 31980 | allow-none="1"> | |
| 31502 | 31981 | <doc xml:space="preserve" | |
| 31503 | 31982 | filename="glib/garray.c" | |
| 31504 | - | line="2556">data to pass to @compare_func</doc> | |
| 31983 | + | line="2575">the data to pass to @compare_func</doc> | |
| 31505 | 31984 | <type name="gpointer" c:type="gpointer"/> | |
| 31506 | 31985 | </parameter> | |
| 31507 | 31986 | </parameters> | |
| @@ -31511,17 +31990,18 @@ This is guaranteed to be a stable sort.</doc> | |||
| 31511 | 31990 | introspectable="0"> | |
| 31512 | 31991 | <doc xml:space="preserve" | |
| 31513 | 31992 | filename="glib/garray.c" | |
| 31514 | - | line="2425">Like g_ptr_array_sort(), but the comparison function has an extra | |
| 31993 | + | line="2443">Like [func@GLib.PtrArray.sort], but the comparison function has an extra | |
| 31515 | 31994 | user data argument. | |
| 31516 | 31995 | ||
| 31517 | - | Note that the comparison function for g_ptr_array_sort_with_data() | |
| 31518 | - | doesn't take the pointers from the array as arguments, it takes | |
| 31996 | + | Note that the comparison function for [func@GLib.PtrArray.sort_with_data] | |
| 31997 | + | doesn’t take the pointers from the array as arguments, it takes | |
| 31519 | 31998 | pointers to the pointers in the array. | |
| 31520 | 31999 | ||
| 31521 | - | Use g_ptr_array_sort_values_with_data() if you want to use normal | |
| 31522 | - | #GCompareDataFuncs, otherwise here is a full example of use: | |
| 32000 | + | Use [func@GLib.PtrArray.sort_values_with_data] if you want to use normal | |
| 32001 | + | [callback@GLib.CompareDataFunc] instances, otherwise here is a full example | |
| 32002 | + | of use: | |
| 31523 | 32003 | ||
| 31524 | - | |[<!-- language="C" --> | |
| 32004 | + | ```c | |
| 31525 | 32005 | typedef enum { SORT_NAME, SORT_SIZE } SortMode; | |
| 31526 | 32006 | ||
| 31527 | 32007 | typedef struct | |
| @@ -31564,7 +32044,7 @@ sort_mode = SORT_NAME; | |||
| 31564 | 32044 | g_ptr_array_sort_with_data (file_list, | |
| 31565 | 32045 | sort_filelist, | |
| 31566 | 32046 | GINT_TO_POINTER (sort_mode)); | |
| 31567 | - | ]| | |
| 32047 | + | ``` | |
| 31568 | 32048 | ||
| 31569 | 32049 | This is guaranteed to be a stable sort since version 2.32.</doc> | |
| 31570 | 32050 | <source-position filename="glib/garray.h" line="242"/> | |
| @@ -31575,15 +32055,18 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 31575 | 32055 | <parameter name="array" transfer-ownership="none"> | |
| 31576 | 32056 | <doc xml:space="preserve" | |
| 31577 | 32057 | filename="glib/garray.c" | |
| 31578 | - | line="2427">a #GPtrArray</doc> | |
| 32058 | + | line="2445">a pointer array</doc> | |
| 31579 | 32059 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31580 | 32060 | <type name="gpointer" c:type="gpointer"/> | |
| 31581 | 32061 | </array> | |
| 31582 | 32062 | </parameter> | |
| 31583 | - | <parameter name="compare_func" transfer-ownership="none" closure="2"> | |
| 32063 | + | <parameter name="compare_func" | |
| 32064 | + | transfer-ownership="none" | |
| 32065 | + | scope="call" | |
| 32066 | + | closure="2"> | |
| 31584 | 32067 | <doc xml:space="preserve" | |
| 31585 | 32068 | filename="glib/garray.c" | |
| 31586 | - | line="2428">comparison function</doc> | |
| 32069 | + | line="2446">a comparison function</doc> | |
| 31587 | 32070 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 31588 | 32071 | </parameter> | |
| 31589 | 32072 | <parameter name="user_data" | |
| @@ -31592,7 +32075,7 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 31592 | 32075 | allow-none="1"> | |
| 31593 | 32076 | <doc xml:space="preserve" | |
| 31594 | 32077 | filename="glib/garray.c" | |
| 31595 | - | line="2429">data to pass to @compare_func</doc> | |
| 32078 | + | line="2447">the data to pass to @compare_func</doc> | |
| 31596 | 32079 | <type name="gpointer" c:type="gpointer"/> | |
| 31597 | 32080 | </parameter> | |
| 31598 | 32081 | </parameters> | |
| @@ -31603,20 +32086,20 @@ This is guaranteed to be a stable sort since version 2.32.</doc> | |||
| 31603 | 32086 | introspectable="0"> | |
| 31604 | 32087 | <doc xml:space="preserve" | |
| 31605 | 32088 | filename="glib/garray.c" | |
| 31606 | - | line="1407">Frees the data in the array and resets the size to zero, while | |
| 32089 | + | line="1421">Frees the data in the array and resets the size to zero, while | |
| 31607 | 32090 | the underlying array is preserved for use elsewhere and returned | |
| 31608 | 32091 | to the caller. | |
| 31609 | 32092 | ||
| 31610 | - | Note that if the array is %NULL terminated this may still return | |
| 31611 | - | %NULL if the length of the array was zero and pdata was not yet | |
| 32093 | + | Note that if the array is `NULL` terminated this may still return | |
| 32094 | + | `NULL` if the length of the array was zero and pdata was not yet | |
| 31612 | 32095 | allocated. | |
| 31613 | 32096 | ||
| 31614 | - | Even if set, the #GDestroyNotify function will never be called | |
| 32097 | + | Even if set, the [callback@GLib.DestroyNotify] function will never be called | |
| 31615 | 32098 | on the current contents of the array and the caller is | |
| 31616 | 32099 | responsible for freeing the array elements. | |
| 31617 | 32100 | ||
| 31618 | 32101 | An example of use: | |
| 31619 | - | |[<!-- language="C" --> | |
| 32102 | + | ```c | |
| 31620 | 32103 | g_autoptr(GPtrArray) chunk_buffer = g_ptr_array_new_with_free_func (g_bytes_unref); | |
| 31621 | 32104 | ||
| 31622 | 32105 | // Some part of your application appends a number of chunks to the pointer array. | |
| @@ -31646,21 +32129,22 @@ g_free (chunks); | |||
| 31646 | 32129 | // After calling g_ptr_array_steal(), the pointer array can be reused for the | |
| 31647 | 32130 | // next set of chunks. | |
| 31648 | 32131 | g_assert (chunk_buffer->len == 0); | |
| 31649 | - | ]|</doc> | |
| 32132 | + | ```</doc> | |
| 31650 | 32133 | <source-position filename="glib/garray.h" line="165"/> | |
| 31651 | 32134 | <return-value transfer-ownership="full" nullable="1"> | |
| 31652 | 32135 | <doc xml:space="preserve" | |
| 31653 | 32136 | filename="glib/garray.c" | |
| 31654 | - | line="1458">the element data, which should be | |
| 31655 | - | freed using g_free(). This may be %NULL if the array doesn’t have any | |
| 31656 | - | elements (i.e. if `*len` is zero).</doc> | |
| 31657 | - | <type name="gpointer" c:type="gpointer*"/> | |
| 32137 | + | line="1472">The allocated element data. | |
| 32138 | + | This may be `NULL`if the array doesn’t have any elements (i.e. if `*len` is zero).</doc> | |
| 32139 | + | <array length="1" zero-terminated="0" c:type="gpointer*"> | |
| 32140 | + | <type name="gpointer" c:type="gpointer"/> | |
| 32141 | + | </array> | |
| 31658 | 32142 | </return-value> | |
| 31659 | 32143 | <parameters> | |
| 31660 | 32144 | <parameter name="array" transfer-ownership="none"> | |
| 31661 | 32145 | <doc xml:space="preserve" | |
| 31662 | 32146 | filename="glib/garray.c" | |
| 31663 | - | line="1409">a #GPtrArray.</doc> | |
| 32147 | + | line="1423">a pointer array</doc> | |
| 31664 | 32148 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31665 | 32149 | <type name="gpointer" c:type="gpointer"/> | |
| 31666 | 32150 | </array> | |
| @@ -31673,7 +32157,7 @@ g_assert (chunk_buffer->len == 0); | |||
| 31673 | 32157 | allow-none="1"> | |
| 31674 | 32158 | <doc xml:space="preserve" | |
| 31675 | 32159 | filename="glib/garray.c" | |
| 31676 | - | line="1410">pointer to retrieve the number of | |
| 32160 | + | line="1424">a pointer to retrieve the number of | |
| 31677 | 32161 | elements of the original array</doc> | |
| 31678 | 32162 | <type name="gsize" c:type="gsize*"/> | |
| 31679 | 32163 | </parameter> | |
| @@ -31685,22 +32169,23 @@ g_assert (chunk_buffer->len == 0); | |||
| 31685 | 32169 | introspectable="0"> | |
| 31686 | 32170 | <doc xml:space="preserve" | |
| 31687 | 32171 | filename="glib/garray.c" | |
| 31688 | - | line="2030">Removes the pointer at the given index from the pointer array. | |
| 31689 | - | The following elements are moved down one place. The #GDestroyNotify for | |
| 32172 | + | line="2046">Removes the pointer at the given index from the pointer array. | |
| 32173 | + | The following elements are moved down one place. The | |
| 32174 | + | [callback@GLib.DestroyNotify] for | |
| 31690 | 32175 | @array is *not* called on the removed element; ownership is transferred to | |
| 31691 | 32176 | the caller of this function.</doc> | |
| 31692 | 32177 | <source-position filename="glib/garray.h" line="208"/> | |
| 31693 | 32178 | <return-value transfer-ownership="full" nullable="1"> | |
| 31694 | 32179 | <doc xml:space="preserve" | |
| 31695 | 32180 | filename="glib/garray.c" | |
| 31696 | - | line="2040">the pointer which was removed</doc> | |
| 32181 | + | line="2057">The pointer which was removed</doc> | |
| 31697 | 32182 | <type name="gpointer" c:type="gpointer"/> | |
| 31698 | 32183 | </return-value> | |
| 31699 | 32184 | <parameters> | |
| 31700 | 32185 | <parameter name="array" transfer-ownership="none"> | |
| 31701 | 32186 | <doc xml:space="preserve" | |
| 31702 | 32187 | filename="glib/garray.c" | |
| 31703 | - | line="2032">a #GPtrArray</doc> | |
| 32188 | + | line="2048">a pointer array</doc> | |
| 31704 | 32189 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31705 | 32190 | <type name="gpointer" c:type="gpointer"/> | |
| 31706 | 32191 | </array> | |
| @@ -31708,7 +32193,7 @@ the caller of this function.</doc> | |||
| 31708 | 32193 | <parameter name="index_" transfer-ownership="none"> | |
| 31709 | 32194 | <doc xml:space="preserve" | |
| 31710 | 32195 | filename="glib/garray.c" | |
| 31711 | - | line="2033">the index of the pointer to steal</doc> | |
| 32196 | + | line="2049">the index of the pointer to steal</doc> | |
| 31712 | 32197 | <type name="guint" c:type="guint"/> | |
| 31713 | 32198 | </parameter> | |
| 31714 | 32199 | </parameters> | |
| @@ -31719,24 +32204,25 @@ the caller of this function.</doc> | |||
| 31719 | 32204 | introspectable="0"> | |
| 31720 | 32205 | <doc xml:space="preserve" | |
| 31721 | 32206 | filename="glib/garray.c" | |
| 31722 | - | line="2050">Removes the pointer at the given index from the pointer array. | |
| 32207 | + | line="2067">Removes the pointer at the given index from the pointer array. | |
| 31723 | 32208 | The last element in the array is used to fill in the space, so | |
| 31724 | 32209 | this function does not preserve the order of the array. But it | |
| 31725 | - | is faster than g_ptr_array_steal_index(). The #GDestroyNotify for @array is | |
| 32210 | + | is faster than [func@GLib.PtrArray.steal_index]. The | |
| 32211 | + | [callback@GLib.DestroyNotify] for @array is | |
| 31726 | 32212 | *not* called on the removed element; ownership is transferred to the caller | |
| 31727 | 32213 | of this function.</doc> | |
| 31728 | 32214 | <source-position filename="glib/garray.h" line="211"/> | |
| 31729 | 32215 | <return-value transfer-ownership="full" nullable="1"> | |
| 31730 | 32216 | <doc xml:space="preserve" | |
| 31731 | 32217 | filename="glib/garray.c" | |
| 31732 | - | line="2062">the pointer which was removed</doc> | |
| 32218 | + | line="2080">The pointer which was removed</doc> | |
| 31733 | 32219 | <type name="gpointer" c:type="gpointer"/> | |
| 31734 | 32220 | </return-value> | |
| 31735 | 32221 | <parameters> | |
| 31736 | 32222 | <parameter name="array" transfer-ownership="none"> | |
| 31737 | 32223 | <doc xml:space="preserve" | |
| 31738 | 32224 | filename="glib/garray.c" | |
| 31739 | - | line="2052">a #GPtrArray</doc> | |
| 32225 | + | line="2069">a pointer array</doc> | |
| 31740 | 32226 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31741 | 32227 | <type name="gpointer" c:type="gpointer"/> | |
| 31742 | 32228 | </array> | |
| @@ -31744,7 +32230,7 @@ of this function.</doc> | |||
| 31744 | 32230 | <parameter name="index_" transfer-ownership="none"> | |
| 31745 | 32231 | <doc xml:space="preserve" | |
| 31746 | 32232 | filename="glib/garray.c" | |
| 31747 | - | line="2053">the index of the pointer to steal</doc> | |
| 32233 | + | line="2070">the index of the pointer to steal</doc> | |
| 31748 | 32234 | <type name="guint" c:type="guint"/> | |
| 31749 | 32235 | </parameter> | |
| 31750 | 32236 | </parameters> | |
| @@ -31755,19 +32241,19 @@ of this function.</doc> | |||
| 31755 | 32241 | introspectable="0"> | |
| 31756 | 32242 | <doc xml:space="preserve" | |
| 31757 | 32243 | filename="glib/garray.c" | |
| 31758 | - | line="1754">Atomically decrements the reference count of @array by one. If the | |
| 32244 | + | line="1769">Atomically decrements the reference count of @array by one. If the | |
| 31759 | 32245 | reference count drops to 0, the effect is the same as calling | |
| 31760 | - | g_ptr_array_free() with @free_segment set to %TRUE. This function | |
| 32246 | + | [func@GLib.PtrArray.free] with @free_segment set to true. This function | |
| 31761 | 32247 | is thread-safe and may be called from any thread.</doc> | |
| 31762 | 32248 | <source-position filename="glib/garray.h" line="194"/> | |
| 31763 | 32249 | <return-value transfer-ownership="none"> | |
| 31764 | 32250 | <type name="none" c:type="void"/> | |
| 31765 | 32251 | </return-value> | |
| 31766 | 32252 | <parameters> | |
| 31767 | - | <parameter name="array" transfer-ownership="none"> | |
| 32253 | + | <parameter name="array" transfer-ownership="full"> | |
| 31768 | 32254 | <doc xml:space="preserve" | |
| 31769 | 32255 | filename="glib/garray.c" | |
| 31770 | - | line="1756">A #GPtrArray</doc> | |
| 32256 | + | line="1771">a pointer array</doc> | |
| 31771 | 32257 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 31772 | 32258 | <type name="gpointer" c:type="gpointer"/> | |
| 31773 | 32259 | </array> | |
| @@ -33525,13 +34011,13 @@ variable, which could be before any statement in the case | |||
| 33525 | 34011 | c:symbol-prefix="rand"> | |
| 33526 | 34012 | <doc xml:space="preserve" | |
| 33527 | 34013 | filename="glib/grand.c" | |
| 33528 | - | line="65">The GRand struct is an opaque data structure. It should only be | |
| 34014 | + | line="66">The GRand struct is an opaque data structure. It should only be | |
| 33529 | 34015 | accessed through the g_rand_* functions.</doc> | |
| 33530 | 34016 | <source-position filename="glib/grand.h" line="38"/> | |
| 33531 | 34017 | <constructor name="new" c:identifier="g_rand_new"> | |
| 33532 | 34018 | <doc xml:space="preserve" | |
| 33533 | 34019 | filename="glib/grand.c" | |
| 33534 | - | line="158">Creates a new random number generator initialized with a seed taken | |
| 34020 | + | line="159">Creates a new random number generator initialized with a seed taken | |
| 33535 | 34021 | either from `/dev/urandom` (if existing) or from the current time | |
| 33536 | 34022 | (as a fallback). | |
| 33537 | 34023 | ||
| @@ -33540,26 +34026,26 @@ On Windows, the seed is taken from rand_s().</doc> | |||
| 33540 | 34026 | <return-value transfer-ownership="full"> | |
| 33541 | 34027 | <doc xml:space="preserve" | |
| 33542 | 34028 | filename="glib/grand.c" | |
| 33543 | - | line="167">the new #GRand</doc> | |
| 34029 | + | line="168">the new #GRand</doc> | |
| 33544 | 34030 | <type name="Rand" c:type="GRand*"/> | |
| 33545 | 34031 | </return-value> | |
| 33546 | 34032 | </constructor> | |
| 33547 | 34033 | <constructor name="new_with_seed" c:identifier="g_rand_new_with_seed"> | |
| 33548 | 34034 | <doc xml:space="preserve" | |
| 33549 | 34035 | filename="glib/grand.c" | |
| 33550 | - | line="121">Creates a new random number generator initialized with @seed.</doc> | |
| 34036 | + | line="122">Creates a new random number generator initialized with @seed.</doc> | |
| 33551 | 34037 | <source-position filename="glib/grand.h" line="50"/> | |
| 33552 | 34038 | <return-value transfer-ownership="full"> | |
| 33553 | 34039 | <doc xml:space="preserve" | |
| 33554 | 34040 | filename="glib/grand.c" | |
| 33555 | - | line="127">the new #GRand</doc> | |
| 34041 | + | line="128">the new #GRand</doc> | |
| 33556 | 34042 | <type name="Rand" c:type="GRand*"/> | |
| 33557 | 34043 | </return-value> | |
| 33558 | 34044 | <parameters> | |
| 33559 | 34045 | <parameter name="seed" transfer-ownership="none"> | |
| 33560 | 34046 | <doc xml:space="preserve" | |
| 33561 | 34047 | filename="glib/grand.c" | |
| 33562 | - | line="123">a value to initialize the random number generator</doc> | |
| 34048 | + | line="124">a value to initialize the random number generator</doc> | |
| 33563 | 34049 | <type name="guint32" c:type="guint32"/> | |
| 33564 | 34050 | </parameter> | |
| 33565 | 34051 | </parameters> | |
| @@ -33569,25 +34055,25 @@ On Windows, the seed is taken from rand_s().</doc> | |||
| 33569 | 34055 | version="2.4"> | |
| 33570 | 34056 | <doc xml:space="preserve" | |
| 33571 | 34057 | filename="glib/grand.c" | |
| 33572 | - | line="137">Creates a new random number generator initialized with @seed.</doc> | |
| 34058 | + | line="138">Creates a new random number generator initialized with @seed.</doc> | |
| 33573 | 34059 | <source-position filename="glib/grand.h" line="52"/> | |
| 33574 | 34060 | <return-value transfer-ownership="full"> | |
| 33575 | 34061 | <doc xml:space="preserve" | |
| 33576 | 34062 | filename="glib/grand.c" | |
| 33577 | - | line="145">the new #GRand</doc> | |
| 34063 | + | line="146">the new #GRand</doc> | |
| 33578 | 34064 | <type name="Rand" c:type="GRand*"/> | |
| 33579 | 34065 | </return-value> | |
| 33580 | 34066 | <parameters> | |
| 33581 | 34067 | <parameter name="seed" transfer-ownership="none"> | |
| 33582 | 34068 | <doc xml:space="preserve" | |
| 33583 | 34069 | filename="glib/grand.c" | |
| 33584 | - | line="139">an array of seeds to initialize the random number generator</doc> | |
| 34070 | + | line="140">an array of seeds to initialize the random number generator</doc> | |
| 33585 | 34071 | <type name="guint32" c:type="const guint32*"/> | |
| 33586 | 34072 | </parameter> | |
| 33587 | 34073 | <parameter name="seed_length" transfer-ownership="none"> | |
| 33588 | 34074 | <doc xml:space="preserve" | |
| 33589 | 34075 | filename="glib/grand.c" | |
| 33590 | - | line="140">an array of seeds to initialize the random number | |
| 34076 | + | line="141">an array of seeds to initialize the random number | |
| 33591 | 34077 | generator</doc> | |
| 33592 | 34078 | <type name="guint" c:type="guint"/> | |
| 33593 | 34079 | </parameter> | |
| @@ -33596,21 +34082,21 @@ On Windows, the seed is taken from rand_s().</doc> | |||
| 33596 | 34082 | <method name="copy" c:identifier="g_rand_copy" version="2.4"> | |
| 33597 | 34083 | <doc xml:space="preserve" | |
| 33598 | 34084 | filename="glib/grand.c" | |
| 33599 | - | line="254">Copies a #GRand into a new one with the same exact state as before. | |
| 34085 | + | line="255">Copies a #GRand into a new one with the same exact state as before. | |
| 33600 | 34086 | This way you can take a snapshot of the random number generator for | |
| 33601 | 34087 | replaying later.</doc> | |
| 33602 | 34088 | <source-position filename="glib/grand.h" line="59"/> | |
| 33603 | 34089 | <return-value transfer-ownership="full"> | |
| 33604 | 34090 | <doc xml:space="preserve" | |
| 33605 | 34091 | filename="glib/grand.c" | |
| 33606 | - | line="262">the new #GRand</doc> | |
| 34092 | + | line="263">the new #GRand</doc> | |
| 33607 | 34093 | <type name="Rand" c:type="GRand*"/> | |
| 33608 | 34094 | </return-value> | |
| 33609 | 34095 | <parameters> | |
| 33610 | 34096 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33611 | 34097 | <doc xml:space="preserve" | |
| 33612 | 34098 | filename="glib/grand.c" | |
| 33613 | - | line="256">a #GRand</doc> | |
| 34099 | + | line="257">a #GRand</doc> | |
| 33614 | 34100 | <type name="Rand" c:type="GRand*"/> | |
| 33615 | 34101 | </instance-parameter> | |
| 33616 | 34102 | </parameters> | |
| @@ -33618,20 +34104,20 @@ replaying later.</doc> | |||
| 33618 | 34104 | <method name="double" c:identifier="g_rand_double"> | |
| 33619 | 34105 | <doc xml:space="preserve" | |
| 33620 | 34106 | filename="glib/grand.c" | |
| 33621 | - | line="523">Returns the next random #gdouble from @rand_ equally distributed over | |
| 34107 | + | line="524">Returns the next random #gdouble from @rand_ equally distributed over | |
| 33622 | 34108 | the range [0..1).</doc> | |
| 33623 | 34109 | <source-position filename="glib/grand.h" line="77"/> | |
| 33624 | 34110 | <return-value transfer-ownership="none"> | |
| 33625 | 34111 | <doc xml:space="preserve" | |
| 33626 | 34112 | filename="glib/grand.c" | |
| 33627 | - | line="530">a random number</doc> | |
| 34113 | + | line="531">a random number</doc> | |
| 33628 | 34114 | <type name="gdouble" c:type="gdouble"/> | |
| 33629 | 34115 | </return-value> | |
| 33630 | 34116 | <parameters> | |
| 33631 | 34117 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33632 | 34118 | <doc xml:space="preserve" | |
| 33633 | 34119 | filename="glib/grand.c" | |
| 33634 | - | line="525">a #GRand</doc> | |
| 34120 | + | line="526">a #GRand</doc> | |
| 33635 | 34121 | <type name="Rand" c:type="GRand*"/> | |
| 33636 | 34122 | </instance-parameter> | |
| 33637 | 34123 | </parameters> | |
| @@ -33639,32 +34125,32 @@ the range [0..1).</doc> | |||
| 33639 | 34125 | <method name="double_range" c:identifier="g_rand_double_range"> | |
| 33640 | 34126 | <doc xml:space="preserve" | |
| 33641 | 34127 | filename="glib/grand.c" | |
| 33642 | - | line="548">Returns the next random #gdouble from @rand_ equally distributed over | |
| 34128 | + | line="549">Returns the next random #gdouble from @rand_ equally distributed over | |
| 33643 | 34129 | the range [@begin..@end).</doc> | |
| 33644 | 34130 | <source-position filename="glib/grand.h" line="79"/> | |
| 33645 | 34131 | <return-value transfer-ownership="none"> | |
| 33646 | 34132 | <doc xml:space="preserve" | |
| 33647 | 34133 | filename="glib/grand.c" | |
| 33648 | - | line="557">a random number</doc> | |
| 34134 | + | line="558">a random number</doc> | |
| 33649 | 34135 | <type name="gdouble" c:type="gdouble"/> | |
| 33650 | 34136 | </return-value> | |
| 33651 | 34137 | <parameters> | |
| 33652 | 34138 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33653 | 34139 | <doc xml:space="preserve" | |
| 33654 | 34140 | filename="glib/grand.c" | |
| 33655 | - | line="550">a #GRand</doc> | |
| 34141 | + | line="551">a #GRand</doc> | |
| 33656 | 34142 | <type name="Rand" c:type="GRand*"/> | |
| 33657 | 34143 | </instance-parameter> | |
| 33658 | 34144 | <parameter name="begin" transfer-ownership="none"> | |
| 33659 | 34145 | <doc xml:space="preserve" | |
| 33660 | 34146 | filename="glib/grand.c" | |
| 33661 | - | line="551">lower closed bound of the interval</doc> | |
| 34147 | + | line="552">lower closed bound of the interval</doc> | |
| 33662 | 34148 | <type name="gdouble" c:type="gdouble"/> | |
| 33663 | 34149 | </parameter> | |
| 33664 | 34150 | <parameter name="end" transfer-ownership="none"> | |
| 33665 | 34151 | <doc xml:space="preserve" | |
| 33666 | 34152 | filename="glib/grand.c" | |
| 33667 | - | line="552">upper open bound of the interval</doc> | |
| 34153 | + | line="553">upper open bound of the interval</doc> | |
| 33668 | 34154 | <type name="gdouble" c:type="gdouble"/> | |
| 33669 | 34155 | </parameter> | |
| 33670 | 34156 | </parameters> | |
| @@ -33672,7 +34158,7 @@ the range [@begin..@end).</doc> | |||
| 33672 | 34158 | <method name="free" c:identifier="g_rand_free"> | |
| 33673 | 34159 | <doc xml:space="preserve" | |
| 33674 | 34160 | filename="glib/grand.c" | |
| 33675 | - | line="240">Frees the memory allocated for the #GRand.</doc> | |
| 34161 | + | line="241">Frees the memory allocated for the #GRand.</doc> | |
| 33676 | 34162 | <source-position filename="glib/grand.h" line="57"/> | |
| 33677 | 34163 | <return-value transfer-ownership="none"> | |
| 33678 | 34164 | <type name="none" c:type="void"/> | |
| @@ -33681,7 +34167,7 @@ the range [@begin..@end).</doc> | |||
| 33681 | 34167 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33682 | 34168 | <doc xml:space="preserve" | |
| 33683 | 34169 | filename="glib/grand.c" | |
| 33684 | - | line="242">a #GRand</doc> | |
| 34170 | + | line="243">a #GRand</doc> | |
| 33685 | 34171 | <type name="Rand" c:type="GRand*"/> | |
| 33686 | 34172 | </instance-parameter> | |
| 33687 | 34173 | </parameters> | |
| @@ -33689,20 +34175,20 @@ the range [@begin..@end).</doc> | |||
| 33689 | 34175 | <method name="int" c:identifier="g_rand_int"> | |
| 33690 | 34176 | <doc xml:space="preserve" | |
| 33691 | 34177 | filename="glib/grand.c" | |
| 33692 | - | line="392">Returns the next random #guint32 from @rand_ equally distributed over | |
| 34178 | + | line="393">Returns the next random #guint32 from @rand_ equally distributed over | |
| 33693 | 34179 | the range [0..2^32-1].</doc> | |
| 33694 | 34180 | <source-position filename="glib/grand.h" line="71"/> | |
| 33695 | 34181 | <return-value transfer-ownership="none"> | |
| 33696 | 34182 | <doc xml:space="preserve" | |
| 33697 | 34183 | filename="glib/grand.c" | |
| 33698 | - | line="399">a random number</doc> | |
| 34184 | + | line="400">a random number</doc> | |
| 33699 | 34185 | <type name="guint32" c:type="guint32"/> | |
| 33700 | 34186 | </return-value> | |
| 33701 | 34187 | <parameters> | |
| 33702 | 34188 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33703 | 34189 | <doc xml:space="preserve" | |
| 33704 | 34190 | filename="glib/grand.c" | |
| 33705 | - | line="394">a #GRand</doc> | |
| 34191 | + | line="395">a #GRand</doc> | |
| 33706 | 34192 | <type name="Rand" c:type="GRand*"/> | |
| 33707 | 34193 | </instance-parameter> | |
| 33708 | 34194 | </parameters> | |
| @@ -33710,32 +34196,32 @@ the range [0..2^32-1].</doc> | |||
| 33710 | 34196 | <method name="int_range" c:identifier="g_rand_int_range"> | |
| 33711 | 34197 | <doc xml:space="preserve" | |
| 33712 | 34198 | filename="glib/grand.c" | |
| 33713 | - | line="439">Returns the next random #gint32 from @rand_ equally distributed over | |
| 34199 | + | line="440">Returns the next random #gint32 from @rand_ equally distributed over | |
| 33714 | 34200 | the range [@begin..@end-1].</doc> | |
| 33715 | 34201 | <source-position filename="glib/grand.h" line="73"/> | |
| 33716 | 34202 | <return-value transfer-ownership="none"> | |
| 33717 | 34203 | <doc xml:space="preserve" | |
| 33718 | 34204 | filename="glib/grand.c" | |
| 33719 | - | line="448">a random number</doc> | |
| 34205 | + | line="449">a random number</doc> | |
| 33720 | 34206 | <type name="gint32" c:type="gint32"/> | |
| 33721 | 34207 | </return-value> | |
| 33722 | 34208 | <parameters> | |
| 33723 | 34209 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33724 | 34210 | <doc xml:space="preserve" | |
| 33725 | 34211 | filename="glib/grand.c" | |
| 33726 | - | line="441">a #GRand</doc> | |
| 34212 | + | line="442">a #GRand</doc> | |
| 33727 | 34213 | <type name="Rand" c:type="GRand*"/> | |
| 33728 | 34214 | </instance-parameter> | |
| 33729 | 34215 | <parameter name="begin" transfer-ownership="none"> | |
| 33730 | 34216 | <doc xml:space="preserve" | |
| 33731 | 34217 | filename="glib/grand.c" | |
| 33732 | - | line="442">lower closed bound of the interval</doc> | |
| 34218 | + | line="443">lower closed bound of the interval</doc> | |
| 33733 | 34219 | <type name="gint32" c:type="gint32"/> | |
| 33734 | 34220 | </parameter> | |
| 33735 | 34221 | <parameter name="end" transfer-ownership="none"> | |
| 33736 | 34222 | <doc xml:space="preserve" | |
| 33737 | 34223 | filename="glib/grand.c" | |
| 33738 | - | line="443">upper open bound of the interval</doc> | |
| 34224 | + | line="444">upper open bound of the interval</doc> | |
| 33739 | 34225 | <type name="gint32" c:type="gint32"/> | |
| 33740 | 34226 | </parameter> | |
| 33741 | 34227 | </parameters> | |
| @@ -33743,7 +34229,7 @@ the range [@begin..@end-1].</doc> | |||
| 33743 | 34229 | <method name="set_seed" c:identifier="g_rand_set_seed"> | |
| 33744 | 34230 | <doc xml:space="preserve" | |
| 33745 | 34231 | filename="glib/grand.c" | |
| 33746 | - | line="279">Sets the seed for the random number generator #GRand to @seed.</doc> | |
| 34232 | + | line="280">Sets the seed for the random number generator #GRand to @seed.</doc> | |
| 33747 | 34233 | <source-position filename="glib/grand.h" line="61"/> | |
| 33748 | 34234 | <return-value transfer-ownership="none"> | |
| 33749 | 34235 | <type name="none" c:type="void"/> | |
| @@ -33752,13 +34238,13 @@ the range [@begin..@end-1].</doc> | |||
| 33752 | 34238 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33753 | 34239 | <doc xml:space="preserve" | |
| 33754 | 34240 | filename="glib/grand.c" | |
| 33755 | - | line="281">a #GRand</doc> | |
| 34241 | + | line="282">a #GRand</doc> | |
| 33756 | 34242 | <type name="Rand" c:type="GRand*"/> | |
| 33757 | 34243 | </instance-parameter> | |
| 33758 | 34244 | <parameter name="seed" transfer-ownership="none"> | |
| 33759 | 34245 | <doc xml:space="preserve" | |
| 33760 | 34246 | filename="glib/grand.c" | |
| 33761 | - | line="282">a value to reinitialize the random number generator</doc> | |
| 34247 | + | line="283">a value to reinitialize the random number generator</doc> | |
| 33762 | 34248 | <type name="guint32" c:type="guint32"/> | |
| 33763 | 34249 | </parameter> | |
| 33764 | 34250 | </parameters> | |
| @@ -33768,7 +34254,7 @@ the range [@begin..@end-1].</doc> | |||
| 33768 | 34254 | version="2.4"> | |
| 33769 | 34255 | <doc xml:space="preserve" | |
| 33770 | 34256 | filename="glib/grand.c" | |
| 33771 | - | line="323">Initializes the random number generator by an array of longs. | |
| 34257 | + | line="324">Initializes the random number generator by an array of longs. | |
| 33772 | 34258 | Array can be of arbitrary size, though only the first 624 values | |
| 33773 | 34259 | are taken. This function is useful if you have many low entropy | |
| 33774 | 34260 | seeds, or if you require more then 32 bits of actual entropy for | |
| @@ -33781,19 +34267,19 @@ your application.</doc> | |||
| 33781 | 34267 | <instance-parameter name="rand_" transfer-ownership="none"> | |
| 33782 | 34268 | <doc xml:space="preserve" | |
| 33783 | 34269 | filename="glib/grand.c" | |
| 33784 | - | line="325">a #GRand</doc> | |
| 34270 | + | line="326">a #GRand</doc> | |
| 33785 | 34271 | <type name="Rand" c:type="GRand*"/> | |
| 33786 | 34272 | </instance-parameter> | |
| 33787 | 34273 | <parameter name="seed" transfer-ownership="none"> | |
| 33788 | 34274 | <doc xml:space="preserve" | |
| 33789 | 34275 | filename="glib/grand.c" | |
| 33790 | - | line="326">array to initialize with</doc> | |
| 34276 | + | line="327">array to initialize with</doc> | |
| 33791 | 34277 | <type name="guint32" c:type="const guint32*"/> | |
| 33792 | 34278 | </parameter> | |
| 33793 | 34279 | <parameter name="seed_length" transfer-ownership="none"> | |
| 33794 | 34280 | <doc xml:space="preserve" | |
| 33795 | 34281 | filename="glib/grand.c" | |
| 33796 | - | line="327">length of array</doc> | |
| 34282 | + | line="328">length of array</doc> | |
| 33797 | 34283 | <type name="guint" c:type="guint"/> | |
| 33798 | 34284 | </parameter> | |
| 33799 | 34285 | </parameters> | |
| @@ -33965,58 +34451,133 @@ locked by the current thread leads to undefined behaviour.</doc> | |||
| 33965 | 34451 | c:symbol-prefix="regex"> | |
| 33966 | 34452 | <doc xml:space="preserve" | |
| 33967 | 34453 | filename="glib/gregex.c" | |
| 33968 | - | line="42">A `GRegex` is the "compiled" form of a regular expression pattern. | |
| 34454 | + | line="42">A `GRegex` is a compiled form of a regular expression. | |
| 34455 | + | ||
| 34456 | + | After instantiating a `GRegex`, you can use its methods to find matches | |
| 34457 | + | in a string, replace matches within a string, or split the string at matches. | |
| 33969 | 34458 | ||
| 33970 | 34459 | `GRegex` implements regular expression pattern matching using syntax and | |
| 33971 | - | semantics similar to Perl regular expression. See the | |
| 33972 | - | [PCRE documentation](man:pcrepattern(3)) for the syntax definition. | |
| 33973 | - | ||
| 33974 | - | Some functions accept a @start_position argument, setting it differs | |
| 33975 | - | from just passing over a shortened string and setting %G_REGEX_MATCH_NOTBOL | |
| 33976 | - | in the case of a pattern that begins with any kind of lookbehind assertion. | |
| 33977 | - | For example, consider the pattern "\Biss\B" which finds occurrences of "iss" | |
| 33978 | - | in the middle of words. ("\B" matches only if the current position in the | |
| 33979 | - | subject is not a word boundary.) When applied to the string "Mississipi" | |
| 33980 | - | from the fourth byte, namely "issipi", it does not match, because "\B" is | |
| 33981 | - | always false at the start of the subject, which is deemed to be a word | |
| 33982 | - | boundary. However, if the entire string is passed , but with | |
| 33983 | - | @start_position set to 4, it finds the second occurrence of "iss" because | |
| 33984 | - | it is able to look behind the starting point to discover that it is | |
| 33985 | - | preceded by a letter. | |
| 33986 | - | ||
| 33987 | - | Note that, unless you set the %G_REGEX_RAW flag, all the strings passed | |
| 33988 | - | to these functions must be encoded in UTF-8. The lengths and the positions | |
| 33989 | - | inside the strings are in bytes and not in characters, so, for instance, | |
| 33990 | - | "\xc3\xa0" (i.e. "à") is two bytes long but it is treated as a | |
| 33991 | - | single character. If you set %G_REGEX_RAW the strings can be non-valid | |
| 33992 | - | UTF-8 strings and a byte is treated as a character, so "\xc3\xa0" is two | |
| 33993 | - | bytes and two characters long. | |
| 33994 | - | ||
| 33995 | - | When matching a pattern, "\n" matches only against a "\n" character in | |
| 33996 | - | the string, and "\r" matches only a "\r" character. To match any newline | |
| 33997 | - | sequence use "\R". This particular group matches either the two-character | |
| 33998 | - | sequence CR + LF ("\r\n"), or one of the single characters LF (linefeed, | |
| 33999 | - | U+000A, "\n"), VT vertical tab, U+000B, "\v"), FF (formfeed, U+000C, "\f"), | |
| 34000 | - | CR (carriage return, U+000D, "\r"), NEL (next line, U+0085), LS (line | |
| 34001 | - | separator, U+2028), or PS (paragraph separator, U+2029). | |
| 34460 | + | semantics (such as character classes, quantifiers, and capture groups) | |
| 34461 | + | similar to Perl regular expression. See the | |
| 34462 | + | [PCRE documentation](man:pcre2pattern(3)) for details. | |
| 34463 | + | ||
| 34464 | + | A typical scenario for regex pattern matching is to check if a string | |
| 34465 | + | matches a pattern. The following statements implement this scenario. | |
| 34466 | + | ||
| 34467 | + | ``` { .c } | |
| 34468 | + | const char *regex_pattern = ".*GLib.*"; | |
| 34469 | + | const char *string_to_search = "You will love the GLib implementation of regex"; | |
| 34470 | + | g_autoptr(GMatchInfo) match_info = NULL; | |
| 34471 | + | g_autoptr(GRegex) regex = NULL; | |
| 34472 | + | ||
| 34473 | + | regex = g_regex_new (regex_pattern, G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, NULL); | |
| 34474 | + | g_assert (regex != NULL); | |
| 34475 | + | ||
| 34476 | + | if (g_regex_match (regex, string_to_search, G_REGEX_MATCH_DEFAULT, &match_info)) | |
| 34477 | + | { | |
| 34478 | + | int start_pos, end_pos; | |
| 34479 | + | g_match_info_fetch_pos (match_info, 0, &start_pos, &end_pos); | |
| 34480 | + | g_print ("Match successful! Overall pattern matches bytes %d to %d\n", start_pos, end_pos); | |
| 34481 | + | } | |
| 34482 | + | else | |
| 34483 | + | { | |
| 34484 | + | g_print ("No match!\n"); | |
| 34485 | + | } | |
| 34486 | + | ``` | |
| 34487 | + | ||
| 34488 | + | The constructor for `GRegex` includes two sets of bitmapped flags: | |
| 34489 | + | ||
| 34490 | + | * [flags@GLib.RegexCompileFlags]—These flags | |
| 34491 | + | control how GLib compiles the regex. There are options for case | |
| 34492 | + | sensitivity, multiline, ignoring whitespace, etc. | |
| 34493 | + | * [flags@GLib.RegexMatchFlags]—These flags control | |
| 34494 | + | `GRegex`’s matching behavior, such as anchoring and customizing definitions | |
| 34495 | + | for newline characters. | |
| 34496 | + | ||
| 34497 | + | Some regex patterns include backslash assertions, such as `\d` (digit) or | |
| 34498 | + | `\D` (non-digit). The regex pattern must escape those backslashes. For | |
| 34499 | + | example, the pattern `"\\d\\D"` matches a digit followed by a non-digit. | |
| 34500 | + | ||
| 34501 | + | GLib’s implementation of pattern matching includes a `start_position` | |
| 34502 | + | argument for some of the match, replace, and split methods. Specifying | |
| 34503 | + | a start position provides flexibility when you want to ignore the first | |
| 34504 | + | _n_ characters of a string, but want to incorporate backslash assertions | |
| 34505 | + | at character _n_ - 1. For example, a database field contains inconsistent | |
| 34506 | + | spelling for a job title: `healthcare provider` and `health-care provider`. | |
| 34507 | + | The database manager wants to make the spelling consistent by adding a | |
| 34508 | + | hyphen when it is missing. The following regex pattern tests for the string | |
| 34509 | + | `care` preceded by a non-word boundary character (instead of a hyphen) | |
| 34510 | + | and followed by a space. | |
| 34511 | + | ||
| 34512 | + | ``` { .c } | |
| 34513 | + | const char *regex_pattern = "\\Bcare\\s"; | |
| 34514 | + | ``` | |
| 34515 | + | ||
| 34516 | + | An efficient way to match with this pattern is to start examining at | |
| 34517 | + | `start_position` 6 in the string `healthcare` or `health-care`. | |
| 34518 | + | ||
| 34519 | + | ``` { .c } | |
| 34520 | + | const char *regex_pattern = "\\Bcare\\s"; | |
| 34521 | + | const char *string_to_search = "healthcare provider"; | |
| 34522 | + | g_autoptr(GMatchInfo) match_info = NULL; | |
| 34523 | + | g_autoptr(GRegex) regex = NULL; | |
| 34524 | + | ||
| 34525 | + | regex = g_regex_new ( | |
| 34526 | + | regex_pattern, | |
| 34527 | + | G_REGEX_DEFAULT, | |
| 34528 | + | G_REGEX_MATCH_DEFAULT, | |
| 34529 | + | NULL); | |
| 34530 | + | g_assert (regex != NULL); | |
| 34531 | + | ||
| 34532 | + | g_regex_match_full ( | |
| 34533 | + | regex, | |
| 34534 | + | string_to_search, | |
| 34535 | + | -1, | |
| 34536 | + | 6, // position of 'c' in the test string. | |
| 34537 | + | G_REGEX_MATCH_DEFAULT, | |
| 34538 | + | &match_info, | |
| 34539 | + | NULL); | |
| 34540 | + | ``` | |
| 34541 | + | ||
| 34542 | + | The method [method@GLib.Regex.match_full] (and other methods implementing | |
| 34543 | + | `start_pos`) allow for lookback before the start position to determine if | |
| 34544 | + | the previous character satisfies an assertion. | |
| 34545 | + | ||
| 34546 | + | Unless you set the [flags@GLib.RegexCompileFlags.RAW] as one of | |
| 34547 | + | the `GRegexCompileFlags`, all the strings passed to `GRegex` methods must | |
| 34548 | + | be encoded in UTF-8. The lengths and the positions inside the strings are | |
| 34549 | + | in bytes and not in characters, so, for instance, `\xc3\xa0` (i.e., `à`) | |
| 34550 | + | is two bytes long but it is treated as a single character. If you set | |
| 34551 | + | `G_REGEX_RAW`, the strings can be non-valid UTF-8 strings and a byte is | |
| 34552 | + | treated as a character, so `\xc3\xa0` is two bytes and two characters long. | |
| 34553 | + | ||
| 34554 | + | Regarding line endings, `\n` matches a `\n` character, and `\r` matches | |
| 34555 | + | a `\r` character. More generally, `\R` matches all typical line endings: | |
| 34556 | + | CR + LF (`\r\n`), LF (linefeed, U+000A, `\n`), VT (vertical tab, U+000B, | |
| 34557 | + | `\v`), FF (formfeed, U+000C, `\f`), CR (carriage return, U+000D, `\r`), | |
| 34558 | + | NEL (next line, U+0085), LS (line separator, U+2028), and PS (paragraph | |
| 34559 | + | separator, U+2029). | |
| 34002 | 34560 | ||
| 34003 | 34561 | The behaviour of the dot, circumflex, and dollar metacharacters are | |
| 34004 | - | affected by newline characters, the default is to recognize any newline | |
| 34005 | - | character (the same characters recognized by "\R"). This can be changed | |
| 34006 | - | with `G_REGEX_NEWLINE_CR`, `G_REGEX_NEWLINE_LF` and `G_REGEX_NEWLINE_CRLF` | |
| 34007 | - | compile options, and with `G_REGEX_MATCH_NEWLINE_ANY`, | |
| 34008 | - | `G_REGEX_MATCH_NEWLINE_CR`, `G_REGEX_MATCH_NEWLINE_LF` and | |
| 34009 | - | `G_REGEX_MATCH_NEWLINE_CRLF` match options. These settings are also | |
| 34010 | - | relevant when compiling a pattern if `G_REGEX_EXTENDED` is set, and an | |
| 34011 | - | unescaped "#" outside a character class is encountered. This indicates | |
| 34012 | - | a comment that lasts until after the next newline. | |
| 34013 | - | ||
| 34014 | - | Creating and manipulating the same `GRegex` structure from different | |
| 34015 | - | threads is not a problem as `GRegex` does not modify its internal | |
| 34016 | - | state between creation and destruction, on the other hand `GMatchInfo` | |
| 34017 | - | is not threadsafe. | |
| 34018 | - | ||
| 34019 | - | The regular expressions low-level functionalities are obtained through | |
| 34562 | + | affected by newline characters. By default, `GRegex` matches any newline | |
| 34563 | + | character matched by `\R`. You can limit the matched newline characters by | |
| 34564 | + | specifying the [flags@GLib.RegexMatchFlags.NEWLINE_CR], | |
| 34565 | + | [flags@GLib.RegexMatchFlags.NEWLINE_LF], and | |
| 34566 | + | [flags@GLib.RegexMatchFlags.NEWLINE_CRLF] compile options, and | |
| 34567 | + | with [flags@GLib.RegexMatchFlags.NEWLINE_ANY], | |
| 34568 | + | [flags@GLib.RegexMatchFlags.NEWLINE_CR], | |
| 34569 | + | [flags@GLib.RegexMatchFlags.NEWLINE_LF] and | |
| 34570 | + | [flags@GLib.RegexMatchFlags.NEWLINE_CRLF] match options. | |
| 34571 | + | These settings are also relevant when compiling a pattern if | |
| 34572 | + | [flags@GLib.RegexCompileFlags.EXTENDED] is set and an unescaped | |
| 34573 | + | `#` outside a character class is encountered. This indicates a comment | |
| 34574 | + | that lasts until after the next newline. | |
| 34575 | + | ||
| 34576 | + | Because `GRegex` does not modify its internal state between creation and | |
| 34577 | + | destruction, you can create and modify the same `GRegex` instance from | |
| 34578 | + | different threads. In contrast, [struct@GLib.MatchInfo] is not thread safe. | |
| 34579 | + | ||
| 34580 | + | The regular expression low-level functionalities are obtained through | |
| 34020 | 34581 | the excellent [PCRE](http://www.pcre.org/) library written by Philip Hazel.</doc> | |
| 34021 | 34582 | <source-position filename="glib/gregex.h" line="416"/> | |
| 34022 | 34583 | <constructor name="new" | |
| @@ -34025,13 +34586,13 @@ the excellent [PCRE](http://www.pcre.org/) library written by Philip Hazel.</doc | |||
| 34025 | 34586 | throws="1"> | |
| 34026 | 34587 | <doc xml:space="preserve" | |
| 34027 | 34588 | filename="glib/gregex.c" | |
| 34028 | - | line="1710">Compiles the regular expression to an internal form, and does | |
| 34589 | + | line="1980">Compiles the regular expression to an internal form, and does | |
| 34029 | 34590 | the initial setup of the #GRegex structure.</doc> | |
| 34030 | 34591 | <source-position filename="glib/gregex.h" line="450"/> | |
| 34031 | 34592 | <return-value transfer-ownership="full" nullable="1"> | |
| 34032 | 34593 | <doc xml:space="preserve" | |
| 34033 | 34594 | filename="glib/gregex.c" | |
| 34034 | - | line="1720">a #GRegex structure or %NULL if an error occurred. Call | |
| 34595 | + | line="1990">a #GRegex structure or %NULL if an error occurred. Call | |
| 34035 | 34596 | g_regex_unref() when you are done with it</doc> | |
| 34036 | 34597 | <type name="Regex" c:type="GRegex*"/> | |
| 34037 | 34598 | </return-value> | |
| @@ -34039,19 +34600,19 @@ the initial setup of the #GRegex structure.</doc> | |||
| 34039 | 34600 | <parameter name="pattern" transfer-ownership="none"> | |
| 34040 | 34601 | <doc xml:space="preserve" | |
| 34041 | 34602 | filename="glib/gregex.c" | |
| 34042 | - | line="1712">the regular expression</doc> | |
| 34603 | + | line="1982">the regular expression</doc> | |
| 34043 | 34604 | <type name="utf8" c:type="const gchar*"/> | |
| 34044 | 34605 | </parameter> | |
| 34045 | 34606 | <parameter name="compile_options" transfer-ownership="none"> | |
| 34046 | 34607 | <doc xml:space="preserve" | |
| 34047 | 34608 | filename="glib/gregex.c" | |
| 34048 | - | line="1713">compile options for the regular expression, or 0</doc> | |
| 34609 | + | line="1983">compile options for the regular expression, or 0</doc> | |
| 34049 | 34610 | <type name="RegexCompileFlags" c:type="GRegexCompileFlags"/> | |
| 34050 | 34611 | </parameter> | |
| 34051 | 34612 | <parameter name="match_options" transfer-ownership="none"> | |
| 34052 | 34613 | <doc xml:space="preserve" | |
| 34053 | 34614 | filename="glib/gregex.c" | |
| 34054 | - | line="1714">match options for the regular expression, or 0</doc> | |
| 34615 | + | line="1984">match options for the regular expression, or 0</doc> | |
| 34055 | 34616 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34056 | 34617 | </parameter> | |
| 34057 | 34618 | </parameters> | |
| @@ -34061,19 +34622,19 @@ the initial setup of the #GRegex structure.</doc> | |||
| 34061 | 34622 | version="2.14"> | |
| 34062 | 34623 | <doc xml:space="preserve" | |
| 34063 | 34624 | filename="glib/gregex.c" | |
| 34064 | - | line="1959">Returns the number of capturing subpatterns in the pattern.</doc> | |
| 34625 | + | line="2229">Returns the number of capturing subpatterns in the pattern.</doc> | |
| 34065 | 34626 | <source-position filename="glib/gregex.h" line="463"/> | |
| 34066 | 34627 | <return-value transfer-ownership="none"> | |
| 34067 | 34628 | <doc xml:space="preserve" | |
| 34068 | 34629 | filename="glib/gregex.c" | |
| 34069 | - | line="1965">the number of capturing subpatterns</doc> | |
| 34630 | + | line="2235">the number of capturing subpatterns</doc> | |
| 34070 | 34631 | <type name="gint" c:type="gint"/> | |
| 34071 | 34632 | </return-value> | |
| 34072 | 34633 | <parameters> | |
| 34073 | 34634 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34074 | 34635 | <doc xml:space="preserve" | |
| 34075 | 34636 | filename="glib/gregex.c" | |
| 34076 | - | line="1961">a #GRegex</doc> | |
| 34637 | + | line="2231">a #GRegex</doc> | |
| 34077 | 34638 | <type name="Regex" c:type="const GRegex*"/> | |
| 34078 | 34639 | </instance-parameter> | |
| 34079 | 34640 | </parameters> | |
| @@ -34083,7 +34644,7 @@ the initial setup of the #GRegex structure.</doc> | |||
| 34083 | 34644 | version="2.26"> | |
| 34084 | 34645 | <doc xml:space="preserve" | |
| 34085 | 34646 | filename="glib/gregex.c" | |
| 34086 | - | line="2022">Returns the compile options that @regex was created with. | |
| 34647 | + | line="2292">Returns the compile options that @regex was created with. | |
| 34087 | 34648 | ||
| 34088 | 34649 | Depending on the version of PCRE that is used, this may or may not | |
| 34089 | 34650 | include flags set by option expressions such as `(?i)` found at the | |
| @@ -34092,14 +34653,14 @@ top-level within the compiled pattern.</doc> | |||
| 34092 | 34653 | <return-value transfer-ownership="none"> | |
| 34093 | 34654 | <doc xml:space="preserve" | |
| 34094 | 34655 | filename="glib/gregex.c" | |
| 34095 | - | line="2032">flags from #GRegexCompileFlags</doc> | |
| 34656 | + | line="2302">flags from #GRegexCompileFlags</doc> | |
| 34096 | 34657 | <type name="RegexCompileFlags" c:type="GRegexCompileFlags"/> | |
| 34097 | 34658 | </return-value> | |
| 34098 | 34659 | <parameters> | |
| 34099 | 34660 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34100 | 34661 | <doc xml:space="preserve" | |
| 34101 | 34662 | filename="glib/gregex.c" | |
| 34102 | - | line="2024">a #GRegex</doc> | |
| 34663 | + | line="2294">a #GRegex</doc> | |
| 34103 | 34664 | <type name="Regex" c:type="const GRegex*"/> | |
| 34104 | 34665 | </instance-parameter> | |
| 34105 | 34666 | </parameters> | |
| @@ -34109,19 +34670,19 @@ top-level within the compiled pattern.</doc> | |||
| 34109 | 34670 | version="2.34"> | |
| 34110 | 34671 | <doc xml:space="preserve" | |
| 34111 | 34672 | filename="glib/gregex.c" | |
| 34112 | - | line="1979">Checks whether the pattern contains explicit CR or LF references.</doc> | |
| 34673 | + | line="2249">Checks whether the pattern contains explicit CR or LF references.</doc> | |
| 34113 | 34674 | <source-position filename="glib/gregex.h" line="465"/> | |
| 34114 | 34675 | <return-value transfer-ownership="none"> | |
| 34115 | 34676 | <doc xml:space="preserve" | |
| 34116 | 34677 | filename="glib/gregex.c" | |
| 34117 | - | line="1985">%TRUE if the pattern contains explicit CR or LF references</doc> | |
| 34678 | + | line="2255">%TRUE if the pattern contains explicit CR or LF references</doc> | |
| 34118 | 34679 | <type name="gboolean" c:type="gboolean"/> | |
| 34119 | 34680 | </return-value> | |
| 34120 | 34681 | <parameters> | |
| 34121 | 34682 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34122 | 34683 | <doc xml:space="preserve" | |
| 34123 | 34684 | filename="glib/gregex.c" | |
| 34124 | - | line="1981">a #GRegex structure</doc> | |
| 34685 | + | line="2251">a #GRegex structure</doc> | |
| 34125 | 34686 | <type name="Regex" c:type="const GRegex*"/> | |
| 34126 | 34687 | </instance-parameter> | |
| 34127 | 34688 | </parameters> | |
| @@ -34131,19 +34692,19 @@ top-level within the compiled pattern.</doc> | |||
| 34131 | 34692 | version="2.26"> | |
| 34132 | 34693 | <doc xml:space="preserve" | |
| 34133 | 34694 | filename="glib/gregex.c" | |
| 34134 | - | line="2081">Returns the match options that @regex was created with.</doc> | |
| 34695 | + | line="2351">Returns the match options that @regex was created with.</doc> | |
| 34135 | 34696 | <source-position filename="glib/gregex.h" line="481"/> | |
| 34136 | 34697 | <return-value transfer-ownership="none"> | |
| 34137 | 34698 | <doc xml:space="preserve" | |
| 34138 | 34699 | filename="glib/gregex.c" | |
| 34139 | - | line="2087">flags from #GRegexMatchFlags</doc> | |
| 34700 | + | line="2357">flags from #GRegexMatchFlags</doc> | |
| 34140 | 34701 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34141 | 34702 | </return-value> | |
| 34142 | 34703 | <parameters> | |
| 34143 | 34704 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34144 | 34705 | <doc xml:space="preserve" | |
| 34145 | 34706 | filename="glib/gregex.c" | |
| 34146 | - | line="2083">a #GRegex</doc> | |
| 34707 | + | line="2353">a #GRegex</doc> | |
| 34147 | 34708 | <type name="Regex" c:type="const GRegex*"/> | |
| 34148 | 34709 | </instance-parameter> | |
| 34149 | 34710 | </parameters> | |
| @@ -34153,21 +34714,21 @@ top-level within the compiled pattern.</doc> | |||
| 34153 | 34714 | version="2.14"> | |
| 34154 | 34715 | <doc xml:space="preserve" | |
| 34155 | 34716 | filename="glib/gregex.c" | |
| 34156 | - | line="1937">Returns the number of the highest back reference | |
| 34717 | + | line="2207">Returns the number of the highest back reference | |
| 34157 | 34718 | in the pattern, or 0 if the pattern does not contain | |
| 34158 | 34719 | back references.</doc> | |
| 34159 | 34720 | <source-position filename="glib/gregex.h" line="461"/> | |
| 34160 | 34721 | <return-value transfer-ownership="none"> | |
| 34161 | 34722 | <doc xml:space="preserve" | |
| 34162 | 34723 | filename="glib/gregex.c" | |
| 34163 | - | line="1945">the number of the highest back reference</doc> | |
| 34724 | + | line="2215">the number of the highest back reference</doc> | |
| 34164 | 34725 | <type name="gint" c:type="gint"/> | |
| 34165 | 34726 | </return-value> | |
| 34166 | 34727 | <parameters> | |
| 34167 | 34728 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34168 | 34729 | <doc xml:space="preserve" | |
| 34169 | 34730 | filename="glib/gregex.c" | |
| 34170 | - | line="1939">a #GRegex</doc> | |
| 34731 | + | line="2209">a #GRegex</doc> | |
| 34171 | 34732 | <type name="Regex" c:type="const GRegex*"/> | |
| 34172 | 34733 | </instance-parameter> | |
| 34173 | 34734 | </parameters> | |
| @@ -34177,21 +34738,21 @@ back references.</doc> | |||
| 34177 | 34738 | version="2.38"> | |
| 34178 | 34739 | <doc xml:space="preserve" | |
| 34179 | 34740 | filename="glib/gregex.c" | |
| 34180 | - | line="1999">Gets the number of characters in the longest lookbehind assertion in the | |
| 34741 | + | line="2269">Gets the number of characters in the longest lookbehind assertion in the | |
| 34181 | 34742 | pattern. This information is useful when doing multi-segment matching using | |
| 34182 | 34743 | the partial matching facilities.</doc> | |
| 34183 | 34744 | <source-position filename="glib/gregex.h" line="467"/> | |
| 34184 | 34745 | <return-value transfer-ownership="none"> | |
| 34185 | 34746 | <doc xml:space="preserve" | |
| 34186 | 34747 | filename="glib/gregex.c" | |
| 34187 | - | line="2007">the number of characters in the longest lookbehind assertion.</doc> | |
| 34748 | + | line="2277">the number of characters in the longest lookbehind assertion.</doc> | |
| 34188 | 34749 | <type name="gint" c:type="gint"/> | |
| 34189 | 34750 | </return-value> | |
| 34190 | 34751 | <parameters> | |
| 34191 | 34752 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34192 | 34753 | <doc xml:space="preserve" | |
| 34193 | 34754 | filename="glib/gregex.c" | |
| 34194 | - | line="2001">a #GRegex structure</doc> | |
| 34755 | + | line="2271">a #GRegex structure</doc> | |
| 34195 | 34756 | <type name="Regex" c:type="const GRegex*"/> | |
| 34196 | 34757 | </instance-parameter> | |
| 34197 | 34758 | </parameters> | |
| @@ -34201,20 +34762,20 @@ the partial matching facilities.</doc> | |||
| 34201 | 34762 | version="2.14"> | |
| 34202 | 34763 | <doc xml:space="preserve" | |
| 34203 | 34764 | filename="glib/gregex.c" | |
| 34204 | - | line="1918">Gets the pattern string associated with @regex, i.e. a copy of | |
| 34765 | + | line="2188">Gets the pattern string associated with @regex, i.e. a copy of | |
| 34205 | 34766 | the string passed to g_regex_new().</doc> | |
| 34206 | 34767 | <source-position filename="glib/gregex.h" line="459"/> | |
| 34207 | 34768 | <return-value transfer-ownership="none"> | |
| 34208 | 34769 | <doc xml:space="preserve" | |
| 34209 | 34770 | filename="glib/gregex.c" | |
| 34210 | - | line="1925">the pattern of @regex</doc> | |
| 34771 | + | line="2195">the pattern of @regex</doc> | |
| 34211 | 34772 | <type name="utf8" c:type="const gchar*"/> | |
| 34212 | 34773 | </return-value> | |
| 34213 | 34774 | <parameters> | |
| 34214 | 34775 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34215 | 34776 | <doc xml:space="preserve" | |
| 34216 | 34777 | filename="glib/gregex.c" | |
| 34217 | - | line="1920">a #GRegex structure</doc> | |
| 34778 | + | line="2190">a #GRegex structure</doc> | |
| 34218 | 34779 | <type name="Regex" c:type="const GRegex*"/> | |
| 34219 | 34780 | </instance-parameter> | |
| 34220 | 34781 | </parameters> | |
| @@ -34224,12 +34785,12 @@ the string passed to g_regex_new().</doc> | |||
| 34224 | 34785 | version="2.14"> | |
| 34225 | 34786 | <doc xml:space="preserve" | |
| 34226 | 34787 | filename="glib/gregex.c" | |
| 34227 | - | line="2503">Retrieves the number of the subexpression named @name.</doc> | |
| 34788 | + | line="2773">Retrieves the number of the subexpression named @name.</doc> | |
| 34228 | 34789 | <source-position filename="glib/gregex.h" line="469"/> | |
| 34229 | 34790 | <return-value transfer-ownership="none"> | |
| 34230 | 34791 | <doc xml:space="preserve" | |
| 34231 | 34792 | filename="glib/gregex.c" | |
| 34232 | - | line="2510">The number of the subexpression or -1 if @name | |
| 34793 | + | line="2780">The number of the subexpression or -1 if @name | |
| 34233 | 34794 | does not exists</doc> | |
| 34234 | 34795 | <type name="gint" c:type="gint"/> | |
| 34235 | 34796 | </return-value> | |
| @@ -34237,13 +34798,13 @@ the string passed to g_regex_new().</doc> | |||
| 34237 | 34798 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34238 | 34799 | <doc xml:space="preserve" | |
| 34239 | 34800 | filename="glib/gregex.c" | |
| 34240 | - | line="2505">#GRegex structure</doc> | |
| 34801 | + | line="2775">#GRegex structure</doc> | |
| 34241 | 34802 | <type name="Regex" c:type="const GRegex*"/> | |
| 34242 | 34803 | </instance-parameter> | |
| 34243 | 34804 | <parameter name="name" transfer-ownership="none"> | |
| 34244 | 34805 | <doc xml:space="preserve" | |
| 34245 | 34806 | filename="glib/gregex.c" | |
| 34246 | - | line="2506">name of the subexpression</doc> | |
| 34807 | + | line="2776">name of the subexpression</doc> | |
| 34247 | 34808 | <type name="utf8" c:type="const gchar*"/> | |
| 34248 | 34809 | </parameter> | |
| 34249 | 34810 | </parameters> | |
| @@ -34251,7 +34812,7 @@ the string passed to g_regex_new().</doc> | |||
| 34251 | 34812 | <method name="match" c:identifier="g_regex_match" version="2.14"> | |
| 34252 | 34813 | <doc xml:space="preserve" | |
| 34253 | 34814 | filename="glib/gregex.c" | |
| 34254 | - | line="2144">Scans for a match in @string for the pattern in @regex. | |
| 34815 | + | line="2414">Scans for a match in @string for the pattern in @regex. | |
| 34255 | 34816 | The @match_options are combined with the match options specified | |
| 34256 | 34817 | when the @regex structure was created, letting you have more | |
| 34257 | 34818 | flexibility in reusing #GRegex structures. | |
| @@ -34295,26 +34856,26 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34295 | 34856 | <return-value transfer-ownership="none"> | |
| 34296 | 34857 | <doc xml:space="preserve" | |
| 34297 | 34858 | filename="glib/gregex.c" | |
| 34298 | - | line="2193">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 34859 | + | line="2463">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 34299 | 34860 | <type name="gboolean" c:type="gboolean"/> | |
| 34300 | 34861 | </return-value> | |
| 34301 | 34862 | <parameters> | |
| 34302 | 34863 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34303 | 34864 | <doc xml:space="preserve" | |
| 34304 | 34865 | filename="glib/gregex.c" | |
| 34305 | - | line="2146">a #GRegex structure from g_regex_new()</doc> | |
| 34866 | + | line="2416">a #GRegex structure from g_regex_new()</doc> | |
| 34306 | 34867 | <type name="Regex" c:type="const GRegex*"/> | |
| 34307 | 34868 | </instance-parameter> | |
| 34308 | 34869 | <parameter name="string" transfer-ownership="none"> | |
| 34309 | 34870 | <doc xml:space="preserve" | |
| 34310 | 34871 | filename="glib/gregex.c" | |
| 34311 | - | line="2147">the string to scan for matches</doc> | |
| 34872 | + | line="2417">the string to scan for matches</doc> | |
| 34312 | 34873 | <type name="utf8" c:type="const gchar*"/> | |
| 34313 | 34874 | </parameter> | |
| 34314 | 34875 | <parameter name="match_options" transfer-ownership="none"> | |
| 34315 | 34876 | <doc xml:space="preserve" | |
| 34316 | 34877 | filename="glib/gregex.c" | |
| 34317 | - | line="2148">match options</doc> | |
| 34878 | + | line="2418">match options</doc> | |
| 34318 | 34879 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34319 | 34880 | </parameter> | |
| 34320 | 34881 | <parameter name="match_info" | |
| @@ -34325,7 +34886,7 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34325 | 34886 | allow-none="1"> | |
| 34326 | 34887 | <doc xml:space="preserve" | |
| 34327 | 34888 | filename="glib/gregex.c" | |
| 34328 | - | line="2149">pointer to location where to store | |
| 34889 | + | line="2419">pointer to location where to store | |
| 34329 | 34890 | the #GMatchInfo, or %NULL if you do not need it</doc> | |
| 34330 | 34891 | <type name="MatchInfo" c:type="GMatchInfo**"/> | |
| 34331 | 34892 | </parameter> | |
| @@ -34334,7 +34895,7 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34334 | 34895 | <method name="match_all" c:identifier="g_regex_match_all" version="2.14"> | |
| 34335 | 34896 | <doc xml:space="preserve" | |
| 34336 | 34897 | filename="glib/gregex.c" | |
| 34337 | - | line="2303">Using the standard algorithm for regular expression matching only | |
| 34898 | + | line="2573">Using the standard algorithm for regular expression matching only | |
| 34338 | 34899 | the longest match in the string is retrieved. This function uses | |
| 34339 | 34900 | a different algorithm so it can retrieve all the possible matches. | |
| 34340 | 34901 | For more documentation see g_regex_match_all_full(). | |
| @@ -34352,26 +34913,26 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34352 | 34913 | <return-value transfer-ownership="none"> | |
| 34353 | 34914 | <doc xml:space="preserve" | |
| 34354 | 34915 | filename="glib/gregex.c" | |
| 34355 | - | line="2326">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 34916 | + | line="2596">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 34356 | 34917 | <type name="gboolean" c:type="gboolean"/> | |
| 34357 | 34918 | </return-value> | |
| 34358 | 34919 | <parameters> | |
| 34359 | 34920 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34360 | 34921 | <doc xml:space="preserve" | |
| 34361 | 34922 | filename="glib/gregex.c" | |
| 34362 | - | line="2305">a #GRegex structure from g_regex_new()</doc> | |
| 34923 | + | line="2575">a #GRegex structure from g_regex_new()</doc> | |
| 34363 | 34924 | <type name="Regex" c:type="const GRegex*"/> | |
| 34364 | 34925 | </instance-parameter> | |
| 34365 | 34926 | <parameter name="string" transfer-ownership="none"> | |
| 34366 | 34927 | <doc xml:space="preserve" | |
| 34367 | 34928 | filename="glib/gregex.c" | |
| 34368 | - | line="2306">the string to scan for matches</doc> | |
| 34929 | + | line="2576">the string to scan for matches</doc> | |
| 34369 | 34930 | <type name="utf8" c:type="const gchar*"/> | |
| 34370 | 34931 | </parameter> | |
| 34371 | 34932 | <parameter name="match_options" transfer-ownership="none"> | |
| 34372 | 34933 | <doc xml:space="preserve" | |
| 34373 | 34934 | filename="glib/gregex.c" | |
| 34374 | - | line="2307">match options</doc> | |
| 34935 | + | line="2577">match options</doc> | |
| 34375 | 34936 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34376 | 34937 | </parameter> | |
| 34377 | 34938 | <parameter name="match_info" | |
| @@ -34382,7 +34943,7 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34382 | 34943 | allow-none="1"> | |
| 34383 | 34944 | <doc xml:space="preserve" | |
| 34384 | 34945 | filename="glib/gregex.c" | |
| 34385 | - | line="2308">pointer to location where to store | |
| 34946 | + | line="2578">pointer to location where to store | |
| 34386 | 34947 | the #GMatchInfo, or %NULL if you do not need it</doc> | |
| 34387 | 34948 | <type name="MatchInfo" c:type="GMatchInfo**"/> | |
| 34388 | 34949 | </parameter> | |
| @@ -34394,7 +34955,7 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34394 | 34955 | throws="1"> | |
| 34395 | 34956 | <doc xml:space="preserve" | |
| 34396 | 34957 | filename="glib/gregex.c" | |
| 34397 | - | line="2340">Using the standard algorithm for regular expression matching only | |
| 34958 | + | line="2610">Using the standard algorithm for regular expression matching only | |
| 34398 | 34959 | the longest match in the @string is retrieved, it is not possible | |
| 34399 | 34960 | to obtain all the available matches. For instance matching | |
| 34400 | 34961 | `"<a> <b> <c>"` against the pattern `"<.*>"` | |
| @@ -34436,20 +34997,20 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34436 | 34997 | <return-value transfer-ownership="none"> | |
| 34437 | 34998 | <doc xml:space="preserve" | |
| 34438 | 34999 | filename="glib/gregex.c" | |
| 34439 | - | line="2390">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 35000 | + | line="2660">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 34440 | 35001 | <type name="gboolean" c:type="gboolean"/> | |
| 34441 | 35002 | </return-value> | |
| 34442 | 35003 | <parameters> | |
| 34443 | 35004 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34444 | 35005 | <doc xml:space="preserve" | |
| 34445 | 35006 | filename="glib/gregex.c" | |
| 34446 | - | line="2342">a #GRegex structure from g_regex_new()</doc> | |
| 35007 | + | line="2612">a #GRegex structure from g_regex_new()</doc> | |
| 34447 | 35008 | <type name="Regex" c:type="const GRegex*"/> | |
| 34448 | 35009 | </instance-parameter> | |
| 34449 | 35010 | <parameter name="string" transfer-ownership="none"> | |
| 34450 | 35011 | <doc xml:space="preserve" | |
| 34451 | 35012 | filename="glib/gregex.c" | |
| 34452 | - | line="2343">the string to scan for matches</doc> | |
| 35013 | + | line="2613">the string to scan for matches</doc> | |
| 34453 | 35014 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 34454 | 35015 | <type name="utf8" c:type="gchar"/> | |
| 34455 | 35016 | </array> | |
| @@ -34457,19 +35018,19 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34457 | 35018 | <parameter name="string_len" transfer-ownership="none"> | |
| 34458 | 35019 | <doc xml:space="preserve" | |
| 34459 | 35020 | filename="glib/gregex.c" | |
| 34460 | - | line="2344">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35021 | + | line="2614">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 34461 | 35022 | <type name="gssize" c:type="gssize"/> | |
| 34462 | 35023 | </parameter> | |
| 34463 | 35024 | <parameter name="start_position" transfer-ownership="none"> | |
| 34464 | 35025 | <doc xml:space="preserve" | |
| 34465 | 35026 | filename="glib/gregex.c" | |
| 34466 | - | line="2345">starting index of the string to match, in bytes</doc> | |
| 35027 | + | line="2615">starting index of the string to match, in bytes</doc> | |
| 34467 | 35028 | <type name="gint" c:type="gint"/> | |
| 34468 | 35029 | </parameter> | |
| 34469 | 35030 | <parameter name="match_options" transfer-ownership="none"> | |
| 34470 | 35031 | <doc xml:space="preserve" | |
| 34471 | 35032 | filename="glib/gregex.c" | |
| 34472 | - | line="2346">match options</doc> | |
| 35033 | + | line="2616">match options</doc> | |
| 34473 | 35034 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34474 | 35035 | </parameter> | |
| 34475 | 35036 | <parameter name="match_info" | |
| @@ -34480,7 +35041,7 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34480 | 35041 | allow-none="1"> | |
| 34481 | 35042 | <doc xml:space="preserve" | |
| 34482 | 35043 | filename="glib/gregex.c" | |
| 34483 | - | line="2347">pointer to location where to store | |
| 35044 | + | line="2617">pointer to location where to store | |
| 34484 | 35045 | the #GMatchInfo, or %NULL if you do not need it</doc> | |
| 34485 | 35046 | <type name="MatchInfo" c:type="GMatchInfo**"/> | |
| 34486 | 35047 | </parameter> | |
| @@ -34492,7 +35053,7 @@ freeing or modifying @string then the behaviour is undefined.</doc> | |||
| 34492 | 35053 | throws="1"> | |
| 34493 | 35054 | <doc xml:space="preserve" | |
| 34494 | 35055 | filename="glib/gregex.c" | |
| 34495 | - | line="2207">Scans for a match in @string for the pattern in @regex. | |
| 35056 | + | line="2477">Scans for a match in @string for the pattern in @regex. | |
| 34496 | 35057 | The @match_options are combined with the match options specified | |
| 34497 | 35058 | when the @regex structure was created, letting you have more | |
| 34498 | 35059 | flexibility in reusing #GRegex structures. | |
| @@ -34547,20 +35108,20 @@ print_uppercase_words (const gchar *string) | |||
| 34547 | 35108 | <return-value transfer-ownership="none"> | |
| 34548 | 35109 | <doc xml:space="preserve" | |
| 34549 | 35110 | filename="glib/gregex.c" | |
| 34550 | - | line="2270">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 35111 | + | line="2540">%TRUE is the string matched, %FALSE otherwise</doc> | |
| 34551 | 35112 | <type name="gboolean" c:type="gboolean"/> | |
| 34552 | 35113 | </return-value> | |
| 34553 | 35114 | <parameters> | |
| 34554 | 35115 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34555 | 35116 | <doc xml:space="preserve" | |
| 34556 | 35117 | filename="glib/gregex.c" | |
| 34557 | - | line="2209">a #GRegex structure from g_regex_new()</doc> | |
| 35118 | + | line="2479">a #GRegex structure from g_regex_new()</doc> | |
| 34558 | 35119 | <type name="Regex" c:type="const GRegex*"/> | |
| 34559 | 35120 | </instance-parameter> | |
| 34560 | 35121 | <parameter name="string" transfer-ownership="none"> | |
| 34561 | 35122 | <doc xml:space="preserve" | |
| 34562 | 35123 | filename="glib/gregex.c" | |
| 34563 | - | line="2210">the string to scan for matches</doc> | |
| 35124 | + | line="2480">the string to scan for matches</doc> | |
| 34564 | 35125 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 34565 | 35126 | <type name="utf8" c:type="gchar"/> | |
| 34566 | 35127 | </array> | |
| @@ -34568,19 +35129,19 @@ print_uppercase_words (const gchar *string) | |||
| 34568 | 35129 | <parameter name="string_len" transfer-ownership="none"> | |
| 34569 | 35130 | <doc xml:space="preserve" | |
| 34570 | 35131 | filename="glib/gregex.c" | |
| 34571 | - | line="2211">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35132 | + | line="2481">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 34572 | 35133 | <type name="gssize" c:type="gssize"/> | |
| 34573 | 35134 | </parameter> | |
| 34574 | 35135 | <parameter name="start_position" transfer-ownership="none"> | |
| 34575 | 35136 | <doc xml:space="preserve" | |
| 34576 | 35137 | filename="glib/gregex.c" | |
| 34577 | - | line="2212">starting index of the string to match, in bytes</doc> | |
| 35138 | + | line="2482">starting index of the string to match, in bytes</doc> | |
| 34578 | 35139 | <type name="gint" c:type="gint"/> | |
| 34579 | 35140 | </parameter> | |
| 34580 | 35141 | <parameter name="match_options" transfer-ownership="none"> | |
| 34581 | 35142 | <doc xml:space="preserve" | |
| 34582 | 35143 | filename="glib/gregex.c" | |
| 34583 | - | line="2213">match options</doc> | |
| 35144 | + | line="2483">match options</doc> | |
| 34584 | 35145 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34585 | 35146 | </parameter> | |
| 34586 | 35147 | <parameter name="match_info" | |
| @@ -34591,7 +35152,7 @@ print_uppercase_words (const gchar *string) | |||
| 34591 | 35152 | allow-none="1"> | |
| 34592 | 35153 | <doc xml:space="preserve" | |
| 34593 | 35154 | filename="glib/gregex.c" | |
| 34594 | - | line="2214">pointer to location where to store | |
| 35155 | + | line="2484">pointer to location where to store | |
| 34595 | 35156 | the #GMatchInfo, or %NULL if you do not need it</doc> | |
| 34596 | 35157 | <type name="MatchInfo" c:type="GMatchInfo**"/> | |
| 34597 | 35158 | </parameter> | |
| @@ -34600,19 +35161,19 @@ print_uppercase_words (const gchar *string) | |||
| 34600 | 35161 | <method name="ref" c:identifier="g_regex_ref" version="2.14"> | |
| 34601 | 35162 | <doc xml:space="preserve" | |
| 34602 | 35163 | filename="glib/gregex.c" | |
| 34603 | - | line="1660">Increases reference count of @regex by 1.</doc> | |
| 35164 | + | line="1930">Increases reference count of @regex by 1.</doc> | |
| 34604 | 35165 | <source-position filename="glib/gregex.h" line="455"/> | |
| 34605 | 35166 | <return-value transfer-ownership="full"> | |
| 34606 | 35167 | <doc xml:space="preserve" | |
| 34607 | 35168 | filename="glib/gregex.c" | |
| 34608 | - | line="1666">@regex</doc> | |
| 35169 | + | line="1936">@regex</doc> | |
| 34609 | 35170 | <type name="Regex" c:type="GRegex*"/> | |
| 34610 | 35171 | </return-value> | |
| 34611 | 35172 | <parameters> | |
| 34612 | 35173 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34613 | 35174 | <doc xml:space="preserve" | |
| 34614 | 35175 | filename="glib/gregex.c" | |
| 34615 | - | line="1662">a #GRegex</doc> | |
| 35176 | + | line="1932">a #GRegex</doc> | |
| 34616 | 35177 | <type name="Regex" c:type="GRegex*"/> | |
| 34617 | 35178 | </instance-parameter> | |
| 34618 | 35179 | </parameters> | |
| @@ -34623,7 +35184,7 @@ print_uppercase_words (const gchar *string) | |||
| 34623 | 35184 | throws="1"> | |
| 34624 | 35185 | <doc xml:space="preserve" | |
| 34625 | 35186 | filename="glib/gregex.c" | |
| 34626 | - | line="3257">Replaces all occurrences of the pattern in @regex with the | |
| 35187 | + | line="3527">Replaces all occurrences of the pattern in @regex with the | |
| 34627 | 35188 | replacement text. Backreferences of the form `\number` or | |
| 34628 | 35189 | `\g<number>` in the replacement text are interpolated by the | |
| 34629 | 35190 | number-th captured subexpression of the match, `\g<name>` refers | |
| @@ -34653,20 +35214,20 @@ begins with any kind of lookbehind assertion, such as "\b".</doc> | |||
| 34653 | 35214 | <return-value transfer-ownership="full"> | |
| 34654 | 35215 | <doc xml:space="preserve" | |
| 34655 | 35216 | filename="glib/gregex.c" | |
| 34656 | - | line="3294">a newly allocated string containing the replacements</doc> | |
| 35217 | + | line="3564">a newly allocated string containing the replacements</doc> | |
| 34657 | 35218 | <type name="utf8" c:type="gchar*"/> | |
| 34658 | 35219 | </return-value> | |
| 34659 | 35220 | <parameters> | |
| 34660 | 35221 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34661 | 35222 | <doc xml:space="preserve" | |
| 34662 | 35223 | filename="glib/gregex.c" | |
| 34663 | - | line="3259">a #GRegex structure</doc> | |
| 35224 | + | line="3529">a #GRegex structure</doc> | |
| 34664 | 35225 | <type name="Regex" c:type="const GRegex*"/> | |
| 34665 | 35226 | </instance-parameter> | |
| 34666 | 35227 | <parameter name="string" transfer-ownership="none"> | |
| 34667 | 35228 | <doc xml:space="preserve" | |
| 34668 | 35229 | filename="glib/gregex.c" | |
| 34669 | - | line="3260">the string to perform matches against</doc> | |
| 35230 | + | line="3530">the string to perform matches against</doc> | |
| 34670 | 35231 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 34671 | 35232 | <type name="utf8" c:type="gchar"/> | |
| 34672 | 35233 | </array> | |
| @@ -34674,25 +35235,25 @@ begins with any kind of lookbehind assertion, such as "\b".</doc> | |||
| 34674 | 35235 | <parameter name="string_len" transfer-ownership="none"> | |
| 34675 | 35236 | <doc xml:space="preserve" | |
| 34676 | 35237 | filename="glib/gregex.c" | |
| 34677 | - | line="3261">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35238 | + | line="3531">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 34678 | 35239 | <type name="gssize" c:type="gssize"/> | |
| 34679 | 35240 | </parameter> | |
| 34680 | 35241 | <parameter name="start_position" transfer-ownership="none"> | |
| 34681 | 35242 | <doc xml:space="preserve" | |
| 34682 | 35243 | filename="glib/gregex.c" | |
| 34683 | - | line="3262">starting index of the string to match, in bytes</doc> | |
| 35244 | + | line="3532">starting index of the string to match, in bytes</doc> | |
| 34684 | 35245 | <type name="gint" c:type="gint"/> | |
| 34685 | 35246 | </parameter> | |
| 34686 | 35247 | <parameter name="replacement" transfer-ownership="none"> | |
| 34687 | 35248 | <doc xml:space="preserve" | |
| 34688 | 35249 | filename="glib/gregex.c" | |
| 34689 | - | line="3263">text to replace each match with</doc> | |
| 35250 | + | line="3533">text to replace each match with</doc> | |
| 34690 | 35251 | <type name="utf8" c:type="const gchar*"/> | |
| 34691 | 35252 | </parameter> | |
| 34692 | 35253 | <parameter name="match_options" transfer-ownership="none"> | |
| 34693 | 35254 | <doc xml:space="preserve" | |
| 34694 | 35255 | filename="glib/gregex.c" | |
| 34695 | - | line="3264">options for the match</doc> | |
| 35256 | + | line="3534">options for the match</doc> | |
| 34696 | 35257 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34697 | 35258 | </parameter> | |
| 34698 | 35259 | </parameters> | |
| @@ -34703,7 +35264,7 @@ begins with any kind of lookbehind assertion, such as "\b".</doc> | |||
| 34703 | 35264 | throws="1"> | |
| 34704 | 35265 | <doc xml:space="preserve" | |
| 34705 | 35266 | filename="glib/gregex.c" | |
| 34706 | - | line="3391">Replaces occurrences of the pattern in regex with the output of | |
| 35267 | + | line="3661">Replaces occurrences of the pattern in regex with the output of | |
| 34707 | 35268 | @eval for that occurrence. | |
| 34708 | 35269 | ||
| 34709 | 35270 | Setting @start_position differs from just passing over a shortened | |
| @@ -34752,20 +35313,20 @@ g_hash_table_destroy (h); | |||
| 34752 | 35313 | <return-value transfer-ownership="full"> | |
| 34753 | 35314 | <doc xml:space="preserve" | |
| 34754 | 35315 | filename="glib/gregex.c" | |
| 34755 | - | line="3448">a newly allocated string containing the replacements</doc> | |
| 35316 | + | line="3718">a newly allocated string containing the replacements</doc> | |
| 34756 | 35317 | <type name="utf8" c:type="gchar*"/> | |
| 34757 | 35318 | </return-value> | |
| 34758 | 35319 | <parameters> | |
| 34759 | 35320 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34760 | 35321 | <doc xml:space="preserve" | |
| 34761 | 35322 | filename="glib/gregex.c" | |
| 34762 | - | line="3393">a #GRegex structure from g_regex_new()</doc> | |
| 35323 | + | line="3663">a #GRegex structure from g_regex_new()</doc> | |
| 34763 | 35324 | <type name="Regex" c:type="const GRegex*"/> | |
| 34764 | 35325 | </instance-parameter> | |
| 34765 | 35326 | <parameter name="string" transfer-ownership="none"> | |
| 34766 | 35327 | <doc xml:space="preserve" | |
| 34767 | 35328 | filename="glib/gregex.c" | |
| 34768 | - | line="3394">string to perform matches against</doc> | |
| 35329 | + | line="3664">string to perform matches against</doc> | |
| 34769 | 35330 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 34770 | 35331 | <type name="utf8" c:type="gchar"/> | |
| 34771 | 35332 | </array> | |
| @@ -34773,19 +35334,19 @@ g_hash_table_destroy (h); | |||
| 34773 | 35334 | <parameter name="string_len" transfer-ownership="none"> | |
| 34774 | 35335 | <doc xml:space="preserve" | |
| 34775 | 35336 | filename="glib/gregex.c" | |
| 34776 | - | line="3395">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35337 | + | line="3665">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 34777 | 35338 | <type name="gssize" c:type="gssize"/> | |
| 34778 | 35339 | </parameter> | |
| 34779 | 35340 | <parameter name="start_position" transfer-ownership="none"> | |
| 34780 | 35341 | <doc xml:space="preserve" | |
| 34781 | 35342 | filename="glib/gregex.c" | |
| 34782 | - | line="3396">starting index of the string to match, in bytes</doc> | |
| 35343 | + | line="3666">starting index of the string to match, in bytes</doc> | |
| 34783 | 35344 | <type name="gint" c:type="gint"/> | |
| 34784 | 35345 | </parameter> | |
| 34785 | 35346 | <parameter name="match_options" transfer-ownership="none"> | |
| 34786 | 35347 | <doc xml:space="preserve" | |
| 34787 | 35348 | filename="glib/gregex.c" | |
| 34788 | - | line="3397">options for the match</doc> | |
| 35349 | + | line="3667">options for the match</doc> | |
| 34789 | 35350 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34790 | 35351 | </parameter> | |
| 34791 | 35352 | <parameter name="eval" | |
| @@ -34794,7 +35355,7 @@ g_hash_table_destroy (h); | |||
| 34794 | 35355 | closure="5"> | |
| 34795 | 35356 | <doc xml:space="preserve" | |
| 34796 | 35357 | filename="glib/gregex.c" | |
| 34797 | - | line="3398">a function to call for each match</doc> | |
| 35358 | + | line="3668">a function to call for each match</doc> | |
| 34798 | 35359 | <type name="RegexEvalCallback" c:type="GRegexEvalCallback"/> | |
| 34799 | 35360 | </parameter> | |
| 34800 | 35361 | <parameter name="user_data" | |
| @@ -34803,7 +35364,7 @@ g_hash_table_destroy (h); | |||
| 34803 | 35364 | allow-none="1"> | |
| 34804 | 35365 | <doc xml:space="preserve" | |
| 34805 | 35366 | filename="glib/gregex.c" | |
| 34806 | - | line="3399">user data to pass to the function</doc> | |
| 35367 | + | line="3669">user data to pass to the function</doc> | |
| 34807 | 35368 | <type name="gpointer" c:type="gpointer"/> | |
| 34808 | 35369 | </parameter> | |
| 34809 | 35370 | </parameters> | |
| @@ -34814,7 +35375,7 @@ g_hash_table_destroy (h); | |||
| 34814 | 35375 | throws="1"> | |
| 34815 | 35376 | <doc xml:space="preserve" | |
| 34816 | 35377 | filename="glib/gregex.c" | |
| 34817 | - | line="3348">Replaces all occurrences of the pattern in @regex with the | |
| 35378 | + | line="3618">Replaces all occurrences of the pattern in @regex with the | |
| 34818 | 35379 | replacement text. @replacement is replaced literally, to | |
| 34819 | 35380 | include backreferences use g_regex_replace(). | |
| 34820 | 35381 | ||
| @@ -34826,20 +35387,20 @@ assertion, such as "\b".</doc> | |||
| 34826 | 35387 | <return-value transfer-ownership="full"> | |
| 34827 | 35388 | <doc xml:space="preserve" | |
| 34828 | 35389 | filename="glib/gregex.c" | |
| 34829 | - | line="3367">a newly allocated string containing the replacements</doc> | |
| 35390 | + | line="3637">a newly allocated string containing the replacements</doc> | |
| 34830 | 35391 | <type name="utf8" c:type="gchar*"/> | |
| 34831 | 35392 | </return-value> | |
| 34832 | 35393 | <parameters> | |
| 34833 | 35394 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34834 | 35395 | <doc xml:space="preserve" | |
| 34835 | 35396 | filename="glib/gregex.c" | |
| 34836 | - | line="3350">a #GRegex structure</doc> | |
| 35397 | + | line="3620">a #GRegex structure</doc> | |
| 34837 | 35398 | <type name="Regex" c:type="const GRegex*"/> | |
| 34838 | 35399 | </instance-parameter> | |
| 34839 | 35400 | <parameter name="string" transfer-ownership="none"> | |
| 34840 | 35401 | <doc xml:space="preserve" | |
| 34841 | 35402 | filename="glib/gregex.c" | |
| 34842 | - | line="3351">the string to perform matches against</doc> | |
| 35403 | + | line="3621">the string to perform matches against</doc> | |
| 34843 | 35404 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 34844 | 35405 | <type name="utf8" c:type="gchar"/> | |
| 34845 | 35406 | </array> | |
| @@ -34847,25 +35408,25 @@ assertion, such as "\b".</doc> | |||
| 34847 | 35408 | <parameter name="string_len" transfer-ownership="none"> | |
| 34848 | 35409 | <doc xml:space="preserve" | |
| 34849 | 35410 | filename="glib/gregex.c" | |
| 34850 | - | line="3352">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35411 | + | line="3622">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 34851 | 35412 | <type name="gssize" c:type="gssize"/> | |
| 34852 | 35413 | </parameter> | |
| 34853 | 35414 | <parameter name="start_position" transfer-ownership="none"> | |
| 34854 | 35415 | <doc xml:space="preserve" | |
| 34855 | 35416 | filename="glib/gregex.c" | |
| 34856 | - | line="3353">starting index of the string to match, in bytes</doc> | |
| 35417 | + | line="3623">starting index of the string to match, in bytes</doc> | |
| 34857 | 35418 | <type name="gint" c:type="gint"/> | |
| 34858 | 35419 | </parameter> | |
| 34859 | 35420 | <parameter name="replacement" transfer-ownership="none"> | |
| 34860 | 35421 | <doc xml:space="preserve" | |
| 34861 | 35422 | filename="glib/gregex.c" | |
| 34862 | - | line="3354">text to replace each match with</doc> | |
| 35423 | + | line="3624">text to replace each match with</doc> | |
| 34863 | 35424 | <type name="utf8" c:type="const gchar*"/> | |
| 34864 | 35425 | </parameter> | |
| 34865 | 35426 | <parameter name="match_options" transfer-ownership="none"> | |
| 34866 | 35427 | <doc xml:space="preserve" | |
| 34867 | 35428 | filename="glib/gregex.c" | |
| 34868 | - | line="3355">options for the match</doc> | |
| 35429 | + | line="3625">options for the match</doc> | |
| 34869 | 35430 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34870 | 35431 | </parameter> | |
| 34871 | 35432 | </parameters> | |
| @@ -34873,7 +35434,7 @@ assertion, such as "\b".</doc> | |||
| 34873 | 35434 | <method name="split" c:identifier="g_regex_split" version="2.14"> | |
| 34874 | 35435 | <doc xml:space="preserve" | |
| 34875 | 35436 | filename="glib/gregex.c" | |
| 34876 | - | line="2589">Breaks the string on the pattern, and returns an array of the tokens. | |
| 35437 | + | line="2859">Breaks the string on the pattern, and returns an array of the tokens. | |
| 34877 | 35438 | If the pattern contains capturing parentheses, then the text for each | |
| 34878 | 35439 | of the substrings will also be returned. If the pattern does not match | |
| 34879 | 35440 | anywhere in the string, then the whole string is returned as the first | |
| @@ -34894,7 +35455,7 @@ For example splitting "ab c" using as a separator "\s*", you will get | |||
| 34894 | 35455 | <return-value transfer-ownership="full"> | |
| 34895 | 35456 | <doc xml:space="preserve" | |
| 34896 | 35457 | filename="glib/gregex.c" | |
| 34897 | - | line="2613">a %NULL-terminated gchar ** array. Free | |
| 35458 | + | line="2883">a %NULL-terminated gchar ** array. Free | |
| 34898 | 35459 | it using g_strfreev()</doc> | |
| 34899 | 35460 | <array c:type="gchar**"> | |
| 34900 | 35461 | <type name="utf8"/> | |
| @@ -34904,19 +35465,19 @@ it using g_strfreev()</doc> | |||
| 34904 | 35465 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34905 | 35466 | <doc xml:space="preserve" | |
| 34906 | 35467 | filename="glib/gregex.c" | |
| 34907 | - | line="2591">a #GRegex structure</doc> | |
| 35468 | + | line="2861">a #GRegex structure</doc> | |
| 34908 | 35469 | <type name="Regex" c:type="const GRegex*"/> | |
| 34909 | 35470 | </instance-parameter> | |
| 34910 | 35471 | <parameter name="string" transfer-ownership="none"> | |
| 34911 | 35472 | <doc xml:space="preserve" | |
| 34912 | 35473 | filename="glib/gregex.c" | |
| 34913 | - | line="2592">the string to split with the pattern</doc> | |
| 35474 | + | line="2862">the string to split with the pattern</doc> | |
| 34914 | 35475 | <type name="utf8" c:type="const gchar*"/> | |
| 34915 | 35476 | </parameter> | |
| 34916 | 35477 | <parameter name="match_options" transfer-ownership="none"> | |
| 34917 | 35478 | <doc xml:space="preserve" | |
| 34918 | 35479 | filename="glib/gregex.c" | |
| 34919 | - | line="2593">match time option flags</doc> | |
| 35480 | + | line="2863">match time option flags</doc> | |
| 34920 | 35481 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34921 | 35482 | </parameter> | |
| 34922 | 35483 | </parameters> | |
| @@ -34927,7 +35488,7 @@ it using g_strfreev()</doc> | |||
| 34927 | 35488 | throws="1"> | |
| 34928 | 35489 | <doc xml:space="preserve" | |
| 34929 | 35490 | filename="glib/gregex.c" | |
| 34930 | - | line="2627">Breaks the string on the pattern, and returns an array of the tokens. | |
| 35491 | + | line="2897">Breaks the string on the pattern, and returns an array of the tokens. | |
| 34931 | 35492 | If the pattern contains capturing parentheses, then the text for each | |
| 34932 | 35493 | of the substrings will also be returned. If the pattern does not match | |
| 34933 | 35494 | anywhere in the string, then the whole string is returned as the first | |
| @@ -34952,7 +35513,7 @@ that begins with any kind of lookbehind assertion, such as "\b".</doc> | |||
| 34952 | 35513 | <return-value transfer-ownership="full"> | |
| 34953 | 35514 | <doc xml:space="preserve" | |
| 34954 | 35515 | filename="glib/gregex.c" | |
| 34955 | - | line="2660">a %NULL-terminated gchar ** array. Free | |
| 35516 | + | line="2930">a %NULL-terminated gchar ** array. Free | |
| 34956 | 35517 | it using g_strfreev()</doc> | |
| 34957 | 35518 | <array c:type="gchar**"> | |
| 34958 | 35519 | <type name="utf8"/> | |
| @@ -34962,13 +35523,13 @@ it using g_strfreev()</doc> | |||
| 34962 | 35523 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 34963 | 35524 | <doc xml:space="preserve" | |
| 34964 | 35525 | filename="glib/gregex.c" | |
| 34965 | - | line="2629">a #GRegex structure</doc> | |
| 35526 | + | line="2899">a #GRegex structure</doc> | |
| 34966 | 35527 | <type name="Regex" c:type="const GRegex*"/> | |
| 34967 | 35528 | </instance-parameter> | |
| 34968 | 35529 | <parameter name="string" transfer-ownership="none"> | |
| 34969 | 35530 | <doc xml:space="preserve" | |
| 34970 | 35531 | filename="glib/gregex.c" | |
| 34971 | - | line="2630">the string to split with the pattern</doc> | |
| 35532 | + | line="2900">the string to split with the pattern</doc> | |
| 34972 | 35533 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 34973 | 35534 | <type name="utf8" c:type="gchar"/> | |
| 34974 | 35535 | </array> | |
| @@ -34976,25 +35537,25 @@ it using g_strfreev()</doc> | |||
| 34976 | 35537 | <parameter name="string_len" transfer-ownership="none"> | |
| 34977 | 35538 | <doc xml:space="preserve" | |
| 34978 | 35539 | filename="glib/gregex.c" | |
| 34979 | - | line="2631">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35540 | + | line="2901">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 34980 | 35541 | <type name="gssize" c:type="gssize"/> | |
| 34981 | 35542 | </parameter> | |
| 34982 | 35543 | <parameter name="start_position" transfer-ownership="none"> | |
| 34983 | 35544 | <doc xml:space="preserve" | |
| 34984 | 35545 | filename="glib/gregex.c" | |
| 34985 | - | line="2632">starting index of the string to match, in bytes</doc> | |
| 35546 | + | line="2902">starting index of the string to match, in bytes</doc> | |
| 34986 | 35547 | <type name="gint" c:type="gint"/> | |
| 34987 | 35548 | </parameter> | |
| 34988 | 35549 | <parameter name="match_options" transfer-ownership="none"> | |
| 34989 | 35550 | <doc xml:space="preserve" | |
| 34990 | 35551 | filename="glib/gregex.c" | |
| 34991 | - | line="2633">match time option flags</doc> | |
| 35552 | + | line="2903">match time option flags</doc> | |
| 34992 | 35553 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 34993 | 35554 | </parameter> | |
| 34994 | 35555 | <parameter name="max_tokens" transfer-ownership="none"> | |
| 34995 | 35556 | <doc xml:space="preserve" | |
| 34996 | 35557 | filename="glib/gregex.c" | |
| 34997 | - | line="2634">the maximum number of tokens to split @string into. | |
| 35558 | + | line="2904">the maximum number of tokens to split @string into. | |
| 34998 | 35559 | If this is less than 1, the string is split completely</doc> | |
| 34999 | 35560 | <type name="gint" c:type="gint"/> | |
| 35000 | 35561 | </parameter> | |
| @@ -35003,7 +35564,7 @@ it using g_strfreev()</doc> | |||
| 35003 | 35564 | <method name="unref" c:identifier="g_regex_unref" version="2.14"> | |
| 35004 | 35565 | <doc xml:space="preserve" | |
| 35005 | 35566 | filename="glib/gregex.c" | |
| 35006 | - | line="1678">Decreases reference count of @regex by 1. When reference count drops | |
| 35567 | + | line="1948">Decreases reference count of @regex by 1. When reference count drops | |
| 35007 | 35568 | to zero, it frees all the memory associated with the regex structure.</doc> | |
| 35008 | 35569 | <source-position filename="glib/gregex.h" line="457"/> | |
| 35009 | 35570 | <return-value transfer-ownership="none"> | |
| @@ -35013,7 +35574,7 @@ to zero, it frees all the memory associated with the regex structure.</doc> | |||
| 35013 | 35574 | <instance-parameter name="regex" transfer-ownership="none"> | |
| 35014 | 35575 | <doc xml:space="preserve" | |
| 35015 | 35576 | filename="glib/gregex.c" | |
| 35016 | - | line="1680">a #GRegex</doc> | |
| 35577 | + | line="1950">a #GRegex</doc> | |
| 35017 | 35578 | <type name="Regex" c:type="GRegex*"/> | |
| 35018 | 35579 | </instance-parameter> | |
| 35019 | 35580 | </parameters> | |
| @@ -35024,7 +35585,7 @@ to zero, it frees all the memory associated with the regex structure.</doc> | |||
| 35024 | 35585 | throws="1"> | |
| 35025 | 35586 | <doc xml:space="preserve" | |
| 35026 | 35587 | filename="glib/gregex.c" | |
| 35027 | - | line="3503">Checks whether @replacement is a valid replacement string | |
| 35588 | + | line="3773">Checks whether @replacement is a valid replacement string | |
| 35028 | 35589 | (see g_regex_replace()), i.e. that all escape sequences in | |
| 35029 | 35590 | it are valid. | |
| 35030 | 35591 | ||
| @@ -35037,14 +35598,14 @@ subpattern) requires valid #GMatchInfo object.</doc> | |||
| 35037 | 35598 | <return-value transfer-ownership="none"> | |
| 35038 | 35599 | <doc xml:space="preserve" | |
| 35039 | 35600 | filename="glib/gregex.c" | |
| 35040 | - | line="3520">whether @replacement is a valid replacement string</doc> | |
| 35601 | + | line="3790">whether @replacement is a valid replacement string</doc> | |
| 35041 | 35602 | <type name="gboolean" c:type="gboolean"/> | |
| 35042 | 35603 | </return-value> | |
| 35043 | 35604 | <parameters> | |
| 35044 | 35605 | <parameter name="replacement" transfer-ownership="none"> | |
| 35045 | 35606 | <doc xml:space="preserve" | |
| 35046 | 35607 | filename="glib/gregex.c" | |
| 35047 | - | line="3505">the replacement string</doc> | |
| 35608 | + | line="3775">the replacement string</doc> | |
| 35048 | 35609 | <type name="utf8" c:type="const gchar*"/> | |
| 35049 | 35610 | </parameter> | |
| 35050 | 35611 | <parameter name="has_references" | |
| @@ -35055,7 +35616,7 @@ subpattern) requires valid #GMatchInfo object.</doc> | |||
| 35055 | 35616 | allow-none="1"> | |
| 35056 | 35617 | <doc xml:space="preserve" | |
| 35057 | 35618 | filename="glib/gregex.c" | |
| 35058 | - | line="3506">location to store information about | |
| 35619 | + | line="3776">location to store information about | |
| 35059 | 35620 | references in @replacement or %NULL</doc> | |
| 35060 | 35621 | <type name="gboolean" c:type="gboolean*"/> | |
| 35061 | 35622 | </parameter> | |
| @@ -35071,7 +35632,7 @@ subpattern) requires valid #GMatchInfo object.</doc> | |||
| 35071 | 35632 | version="2.30"> | |
| 35072 | 35633 | <doc xml:space="preserve" | |
| 35073 | 35634 | filename="glib/gregex.c" | |
| 35074 | - | line="3548">Escapes the nul characters in @string to "\x00". It can be used | |
| 35635 | + | line="3818">Escapes the nul characters in @string to "\x00". It can be used | |
| 35075 | 35636 | to compile a regex with embedded nul characters. | |
| 35076 | 35637 | ||
| 35077 | 35638 | For completeness, @length can be -1 for a nul-terminated string. | |
| @@ -35080,20 +35641,20 @@ In this case the output string will be of course equal to @string.</doc> | |||
| 35080 | 35641 | <return-value transfer-ownership="full"> | |
| 35081 | 35642 | <doc xml:space="preserve" | |
| 35082 | 35643 | filename="glib/gregex.c" | |
| 35083 | - | line="3559">a newly-allocated escaped string</doc> | |
| 35644 | + | line="3829">a newly-allocated escaped string</doc> | |
| 35084 | 35645 | <type name="utf8" c:type="gchar*"/> | |
| 35085 | 35646 | </return-value> | |
| 35086 | 35647 | <parameters> | |
| 35087 | 35648 | <parameter name="string" transfer-ownership="none"> | |
| 35088 | 35649 | <doc xml:space="preserve" | |
| 35089 | 35650 | filename="glib/gregex.c" | |
| 35090 | - | line="3550">the string to escape</doc> | |
| 35651 | + | line="3820">the string to escape</doc> | |
| 35091 | 35652 | <type name="utf8" c:type="const gchar*"/> | |
| 35092 | 35653 | </parameter> | |
| 35093 | 35654 | <parameter name="length" transfer-ownership="none"> | |
| 35094 | 35655 | <doc xml:space="preserve" | |
| 35095 | 35656 | filename="glib/gregex.c" | |
| 35096 | - | line="3551">the length of @string</doc> | |
| 35657 | + | line="3821">the length of @string</doc> | |
| 35097 | 35658 | <type name="gint" c:type="gint"/> | |
| 35098 | 35659 | </parameter> | |
| 35099 | 35660 | </parameters> | |
| @@ -35103,7 +35664,7 @@ In this case the output string will be of course equal to @string.</doc> | |||
| 35103 | 35664 | version="2.14"> | |
| 35104 | 35665 | <doc xml:space="preserve" | |
| 35105 | 35666 | filename="glib/gregex.c" | |
| 35106 | - | line="3616">Escapes the special characters used for regular expressions | |
| 35667 | + | line="3886">Escapes the special characters used for regular expressions | |
| 35107 | 35668 | in @string, for instance "a.b*c" becomes "a\.b\*c". This | |
| 35108 | 35669 | function is useful to dynamically generate regular expressions. | |
| 35109 | 35670 | ||
| @@ -35114,20 +35675,20 @@ in @length.</doc> | |||
| 35114 | 35675 | <return-value transfer-ownership="full"> | |
| 35115 | 35676 | <doc xml:space="preserve" | |
| 35116 | 35677 | filename="glib/gregex.c" | |
| 35117 | - | line="3629">a newly-allocated escaped string</doc> | |
| 35678 | + | line="3899">a newly-allocated escaped string</doc> | |
| 35118 | 35679 | <type name="utf8" c:type="gchar*"/> | |
| 35119 | 35680 | </return-value> | |
| 35120 | 35681 | <parameters> | |
| 35121 | 35682 | <parameter name="string" transfer-ownership="none"> | |
| 35122 | 35683 | <doc xml:space="preserve" | |
| 35123 | 35684 | filename="glib/gregex.c" | |
| 35124 | - | line="3618">the string to escape</doc> | |
| 35685 | + | line="3888">the string to escape</doc> | |
| 35125 | 35686 | <type name="utf8" c:type="const gchar*"/> | |
| 35126 | 35687 | </parameter> | |
| 35127 | 35688 | <parameter name="length" transfer-ownership="none"> | |
| 35128 | 35689 | <doc xml:space="preserve" | |
| 35129 | 35690 | filename="glib/gregex.c" | |
| 35130 | - | line="3619">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35691 | + | line="3889">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 35131 | 35692 | <type name="gint" c:type="gint"/> | |
| 35132 | 35693 | </parameter> | |
| 35133 | 35694 | </parameters> | |
| @@ -35137,7 +35698,7 @@ in @length.</doc> | |||
| 35137 | 35698 | version="2.14"> | |
| 35138 | 35699 | <doc xml:space="preserve" | |
| 35139 | 35700 | filename="glib/gregex.c" | |
| 35140 | - | line="2105">Scans for a match in @string for @pattern. | |
| 35701 | + | line="2375">Scans for a match in @string for @pattern. | |
| 35141 | 35702 | ||
| 35142 | 35703 | This function is equivalent to g_regex_match() but it does not | |
| 35143 | 35704 | require to compile the pattern with g_regex_new(), avoiding some | |
| @@ -35151,32 +35712,32 @@ g_regex_new() and then use g_regex_match().</doc> | |||
| 35151 | 35712 | <return-value transfer-ownership="none"> | |
| 35152 | 35713 | <doc xml:space="preserve" | |
| 35153 | 35714 | filename="glib/gregex.c" | |
| 35154 | - | line="2123">%TRUE if the string matched, %FALSE otherwise</doc> | |
| 35715 | + | line="2393">%TRUE if the string matched, %FALSE otherwise</doc> | |
| 35155 | 35716 | <type name="gboolean" c:type="gboolean"/> | |
| 35156 | 35717 | </return-value> | |
| 35157 | 35718 | <parameters> | |
| 35158 | 35719 | <parameter name="pattern" transfer-ownership="none"> | |
| 35159 | 35720 | <doc xml:space="preserve" | |
| 35160 | 35721 | filename="glib/gregex.c" | |
| 35161 | - | line="2107">the regular expression</doc> | |
| 35722 | + | line="2377">the regular expression</doc> | |
| 35162 | 35723 | <type name="utf8" c:type="const gchar*"/> | |
| 35163 | 35724 | </parameter> | |
| 35164 | 35725 | <parameter name="string" transfer-ownership="none"> | |
| 35165 | 35726 | <doc xml:space="preserve" | |
| 35166 | 35727 | filename="glib/gregex.c" | |
| 35167 | - | line="2108">the string to scan for matches</doc> | |
| 35728 | + | line="2378">the string to scan for matches</doc> | |
| 35168 | 35729 | <type name="utf8" c:type="const gchar*"/> | |
| 35169 | 35730 | </parameter> | |
| 35170 | 35731 | <parameter name="compile_options" transfer-ownership="none"> | |
| 35171 | 35732 | <doc xml:space="preserve" | |
| 35172 | 35733 | filename="glib/gregex.c" | |
| 35173 | - | line="2109">compile options for the regular expression, or 0</doc> | |
| 35734 | + | line="2379">compile options for the regular expression, or 0</doc> | |
| 35174 | 35735 | <type name="RegexCompileFlags" c:type="GRegexCompileFlags"/> | |
| 35175 | 35736 | </parameter> | |
| 35176 | 35737 | <parameter name="match_options" transfer-ownership="none"> | |
| 35177 | 35738 | <doc xml:space="preserve" | |
| 35178 | 35739 | filename="glib/gregex.c" | |
| 35179 | - | line="2110">match options, or 0</doc> | |
| 35740 | + | line="2380">match options, or 0</doc> | |
| 35180 | 35741 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 35181 | 35742 | </parameter> | |
| 35182 | 35743 | </parameters> | |
| @@ -35186,7 +35747,7 @@ g_regex_new() and then use g_regex_match().</doc> | |||
| 35186 | 35747 | version="2.14"> | |
| 35187 | 35748 | <doc xml:space="preserve" | |
| 35188 | 35749 | filename="glib/gregex.c" | |
| 35189 | - | line="2531">Breaks the string on the pattern, and returns an array of | |
| 35750 | + | line="2801">Breaks the string on the pattern, and returns an array of | |
| 35190 | 35751 | the tokens. If the pattern contains capturing parentheses, | |
| 35191 | 35752 | then the text for each of the substrings will also be returned. | |
| 35192 | 35753 | If the pattern does not match anywhere in the string, then the | |
| @@ -35217,7 +35778,7 @@ characters. For example splitting "ab c" using as a separator | |||
| 35217 | 35778 | <return-value transfer-ownership="full"> | |
| 35218 | 35779 | <doc xml:space="preserve" | |
| 35219 | 35780 | filename="glib/gregex.c" | |
| 35220 | - | line="2566">a %NULL-terminated array of strings. Free | |
| 35781 | + | line="2836">a %NULL-terminated array of strings. Free | |
| 35221 | 35782 | it using g_strfreev()</doc> | |
| 35222 | 35783 | <array c:type="gchar**"> | |
| 35223 | 35784 | <type name="utf8"/> | |
| @@ -35227,25 +35788,25 @@ it using g_strfreev()</doc> | |||
| 35227 | 35788 | <parameter name="pattern" transfer-ownership="none"> | |
| 35228 | 35789 | <doc xml:space="preserve" | |
| 35229 | 35790 | filename="glib/gregex.c" | |
| 35230 | - | line="2533">the regular expression</doc> | |
| 35791 | + | line="2803">the regular expression</doc> | |
| 35231 | 35792 | <type name="utf8" c:type="const gchar*"/> | |
| 35232 | 35793 | </parameter> | |
| 35233 | 35794 | <parameter name="string" transfer-ownership="none"> | |
| 35234 | 35795 | <doc xml:space="preserve" | |
| 35235 | 35796 | filename="glib/gregex.c" | |
| 35236 | - | line="2534">the string to scan for matches</doc> | |
| 35797 | + | line="2804">the string to scan for matches</doc> | |
| 35237 | 35798 | <type name="utf8" c:type="const gchar*"/> | |
| 35238 | 35799 | </parameter> | |
| 35239 | 35800 | <parameter name="compile_options" transfer-ownership="none"> | |
| 35240 | 35801 | <doc xml:space="preserve" | |
| 35241 | 35802 | filename="glib/gregex.c" | |
| 35242 | - | line="2535">compile options for the regular expression, or 0</doc> | |
| 35803 | + | line="2805">compile options for the regular expression, or 0</doc> | |
| 35243 | 35804 | <type name="RegexCompileFlags" c:type="GRegexCompileFlags"/> | |
| 35244 | 35805 | </parameter> | |
| 35245 | 35806 | <parameter name="match_options" transfer-ownership="none"> | |
| 35246 | 35807 | <doc xml:space="preserve" | |
| 35247 | 35808 | filename="glib/gregex.c" | |
| 35248 | - | line="2536">match options, or 0</doc> | |
| 35809 | + | line="2806">match options, or 0</doc> | |
| 35249 | 35810 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 35250 | 35811 | </parameter> | |
| 35251 | 35812 | </parameters> | |
| @@ -36119,21 +36680,21 @@ used.</doc> | |||
| 36119 | 36680 | deprecated-version="2.26"> | |
| 36120 | 36681 | <doc xml:space="preserve" | |
| 36121 | 36682 | filename="glib/deprecated/grel.c" | |
| 36122 | - | line="485">Returns the number of tuples in a #GRelation that have the given | |
| 36683 | + | line="519">Returns the number of tuples in a #GRelation that have the given | |
| 36123 | 36684 | value in the given field.</doc> | |
| 36124 | 36685 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 36125 | 36686 | <source-position filename="glib/deprecated/grel.h" line="67"/> | |
| 36126 | 36687 | <return-value transfer-ownership="none"> | |
| 36127 | 36688 | <doc xml:space="preserve" | |
| 36128 | 36689 | filename="glib/deprecated/grel.c" | |
| 36129 | - | line="494">the number of matches.</doc> | |
| 36690 | + | line="528">the number of matches.</doc> | |
| 36130 | 36691 | <type name="gint" c:type="gint"/> | |
| 36131 | 36692 | </return-value> | |
| 36132 | 36693 | <parameters> | |
| 36133 | 36694 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36134 | 36695 | <doc xml:space="preserve" | |
| 36135 | 36696 | filename="glib/deprecated/grel.c" | |
| 36136 | - | line="487">a #GRelation.</doc> | |
| 36697 | + | line="521">a #GRelation.</doc> | |
| 36137 | 36698 | <type name="Relation" c:type="GRelation*"/> | |
| 36138 | 36699 | </instance-parameter> | |
| 36139 | 36700 | <parameter name="key" | |
| @@ -36142,13 +36703,13 @@ value in the given field.</doc> | |||
| 36142 | 36703 | allow-none="1"> | |
| 36143 | 36704 | <doc xml:space="preserve" | |
| 36144 | 36705 | filename="glib/deprecated/grel.c" | |
| 36145 | - | line="488">the value to compare with.</doc> | |
| 36706 | + | line="522">the value to compare with.</doc> | |
| 36146 | 36707 | <type name="gpointer" c:type="gconstpointer"/> | |
| 36147 | 36708 | </parameter> | |
| 36148 | 36709 | <parameter name="field" transfer-ownership="none"> | |
| 36149 | 36710 | <doc xml:space="preserve" | |
| 36150 | 36711 | filename="glib/deprecated/grel.c" | |
| 36151 | - | line="489">the field of each record to match.</doc> | |
| 36712 | + | line="523">the field of each record to match.</doc> | |
| 36152 | 36713 | <type name="gint" c:type="gint"/> | |
| 36153 | 36714 | </parameter> | |
| 36154 | 36715 | </parameters> | |
| @@ -36159,21 +36720,21 @@ value in the given field.</doc> | |||
| 36159 | 36720 | deprecated-version="2.26"> | |
| 36160 | 36721 | <doc xml:space="preserve" | |
| 36161 | 36722 | filename="glib/deprecated/grel.c" | |
| 36162 | - | line="372">Deletes any records from a #GRelation that have the given key value | |
| 36723 | + | line="377">Deletes any records from a #GRelation that have the given key value | |
| 36163 | 36724 | in the given field.</doc> | |
| 36164 | 36725 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 36165 | 36726 | <source-position filename="glib/deprecated/grel.h" line="59"/> | |
| 36166 | 36727 | <return-value transfer-ownership="none"> | |
| 36167 | 36728 | <doc xml:space="preserve" | |
| 36168 | 36729 | filename="glib/deprecated/grel.c" | |
| 36169 | - | line="381">the number of records deleted.</doc> | |
| 36730 | + | line="386">the number of records deleted.</doc> | |
| 36170 | 36731 | <type name="gint" c:type="gint"/> | |
| 36171 | 36732 | </return-value> | |
| 36172 | 36733 | <parameters> | |
| 36173 | 36734 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36174 | 36735 | <doc xml:space="preserve" | |
| 36175 | 36736 | filename="glib/deprecated/grel.c" | |
| 36176 | - | line="374">a #GRelation.</doc> | |
| 36737 | + | line="379">a #GRelation.</doc> | |
| 36177 | 36738 | <type name="Relation" c:type="GRelation*"/> | |
| 36178 | 36739 | </instance-parameter> | |
| 36179 | 36740 | <parameter name="key" | |
| @@ -36182,13 +36743,13 @@ in the given field.</doc> | |||
| 36182 | 36743 | allow-none="1"> | |
| 36183 | 36744 | <doc xml:space="preserve" | |
| 36184 | 36745 | filename="glib/deprecated/grel.c" | |
| 36185 | - | line="375">the value to compare with.</doc> | |
| 36746 | + | line="380">the value to compare with.</doc> | |
| 36186 | 36747 | <type name="gpointer" c:type="gconstpointer"/> | |
| 36187 | 36748 | </parameter> | |
| 36188 | 36749 | <parameter name="field" transfer-ownership="none"> | |
| 36189 | 36750 | <doc xml:space="preserve" | |
| 36190 | 36751 | filename="glib/deprecated/grel.c" | |
| 36191 | - | line="376">the field of each record to match.</doc> | |
| 36752 | + | line="381">the field of each record to match.</doc> | |
| 36192 | 36753 | <type name="gint" c:type="gint"/> | |
| 36193 | 36754 | </parameter> | |
| 36194 | 36755 | </parameters> | |
| @@ -36199,7 +36760,7 @@ in the given field.</doc> | |||
| 36199 | 36760 | deprecated-version="2.26"> | |
| 36200 | 36761 | <doc xml:space="preserve" | |
| 36201 | 36762 | filename="glib/deprecated/grel.c" | |
| 36202 | - | line="222">Destroys the #GRelation, freeing all memory allocated. However, it | |
| 36763 | + | line="231">Destroys the #GRelation, freeing all memory allocated. However, it | |
| 36203 | 36764 | does not free memory allocated for the tuple data, so you should | |
| 36204 | 36765 | free that first if appropriate.</doc> | |
| 36205 | 36766 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -36211,7 +36772,7 @@ free that first if appropriate.</doc> | |||
| 36211 | 36772 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36212 | 36773 | <doc xml:space="preserve" | |
| 36213 | 36774 | filename="glib/deprecated/grel.c" | |
| 36214 | - | line="224">a #GRelation.</doc> | |
| 36775 | + | line="233">a #GRelation.</doc> | |
| 36215 | 36776 | <type name="Relation" c:type="GRelation*"/> | |
| 36216 | 36777 | </instance-parameter> | |
| 36217 | 36778 | </parameters> | |
| @@ -36223,7 +36784,7 @@ free that first if appropriate.</doc> | |||
| 36223 | 36784 | deprecated-version="2.26"> | |
| 36224 | 36785 | <doc xml:space="preserve" | |
| 36225 | 36786 | filename="glib/deprecated/grel.c" | |
| 36226 | - | line="520">Returns %TRUE if a record with the given values exists in a | |
| 36787 | + | line="547">Returns %TRUE if a record with the given values exists in a | |
| 36227 | 36788 | #GRelation. Note that the values are compared directly, so that, for | |
| 36228 | 36789 | example, two copies of the same string will not match.</doc> | |
| 36229 | 36790 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -36231,20 +36792,20 @@ example, two copies of the same string will not match.</doc> | |||
| 36231 | 36792 | <return-value transfer-ownership="none"> | |
| 36232 | 36793 | <doc xml:space="preserve" | |
| 36233 | 36794 | filename="glib/deprecated/grel.c" | |
| 36234 | - | line="530">%TRUE if a record matches.</doc> | |
| 36795 | + | line="557">%TRUE if a record matches.</doc> | |
| 36235 | 36796 | <type name="gboolean" c:type="gboolean"/> | |
| 36236 | 36797 | </return-value> | |
| 36237 | 36798 | <parameters> | |
| 36238 | 36799 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36239 | 36800 | <doc xml:space="preserve" | |
| 36240 | 36801 | filename="glib/deprecated/grel.c" | |
| 36241 | - | line="522">a #GRelation.</doc> | |
| 36802 | + | line="549">a #GRelation.</doc> | |
| 36242 | 36803 | <type name="Relation" c:type="GRelation*"/> | |
| 36243 | 36804 | </instance-parameter> | |
| 36244 | 36805 | <parameter name="..." transfer-ownership="none"> | |
| 36245 | 36806 | <doc xml:space="preserve" | |
| 36246 | 36807 | filename="glib/deprecated/grel.c" | |
| 36247 | - | line="523">the fields of the record to compare. The number must match | |
| 36808 | + | line="550">the fields of the record to compare. The number must match | |
| 36248 | 36809 | the number of fields in the #GRelation.</doc> | |
| 36249 | 36810 | <varargs/> | |
| 36250 | 36811 | </parameter> | |
| @@ -36257,7 +36818,7 @@ example, two copies of the same string will not match.</doc> | |||
| 36257 | 36818 | deprecated-version="2.26"> | |
| 36258 | 36819 | <doc xml:space="preserve" | |
| 36259 | 36820 | filename="glib/deprecated/grel.c" | |
| 36260 | - | line="256">Creates an index on the given field. Note that this must be called | |
| 36821 | + | line="263">Creates an index on the given field. Note that this must be called | |
| 36261 | 36822 | before any records are added to the #GRelation.</doc> | |
| 36262 | 36823 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 36263 | 36824 | <source-position filename="glib/deprecated/grel.h" line="51"/> | |
| @@ -36268,25 +36829,25 @@ before any records are added to the #GRelation.</doc> | |||
| 36268 | 36829 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36269 | 36830 | <doc xml:space="preserve" | |
| 36270 | 36831 | filename="glib/deprecated/grel.c" | |
| 36271 | - | line="258">a #GRelation.</doc> | |
| 36832 | + | line="265">a #GRelation.</doc> | |
| 36272 | 36833 | <type name="Relation" c:type="GRelation*"/> | |
| 36273 | 36834 | </instance-parameter> | |
| 36274 | 36835 | <parameter name="field" transfer-ownership="none"> | |
| 36275 | 36836 | <doc xml:space="preserve" | |
| 36276 | 36837 | filename="glib/deprecated/grel.c" | |
| 36277 | - | line="259">the field to index, counting from 0.</doc> | |
| 36838 | + | line="266">the field to index, counting from 0.</doc> | |
| 36278 | 36839 | <type name="gint" c:type="gint"/> | |
| 36279 | 36840 | </parameter> | |
| 36280 | 36841 | <parameter name="hash_func" transfer-ownership="none"> | |
| 36281 | 36842 | <doc xml:space="preserve" | |
| 36282 | 36843 | filename="glib/deprecated/grel.c" | |
| 36283 | - | line="260">a function to produce a hash value from the field data.</doc> | |
| 36844 | + | line="267">a function to produce a hash value from the field data.</doc> | |
| 36284 | 36845 | <type name="HashFunc" c:type="GHashFunc"/> | |
| 36285 | 36846 | </parameter> | |
| 36286 | 36847 | <parameter name="key_equal_func" transfer-ownership="none"> | |
| 36287 | 36848 | <doc xml:space="preserve" | |
| 36288 | 36849 | filename="glib/deprecated/grel.c" | |
| 36289 | - | line="261">a function to compare two values of the given field.</doc> | |
| 36850 | + | line="268">a function to compare two values of the given field.</doc> | |
| 36290 | 36851 | <type name="EqualFunc" c:type="GEqualFunc"/> | |
| 36291 | 36852 | </parameter> | |
| 36292 | 36853 | </parameters> | |
| @@ -36298,7 +36859,7 @@ before any records are added to the #GRelation.</doc> | |||
| 36298 | 36859 | deprecated-version="2.26"> | |
| 36299 | 36860 | <doc xml:space="preserve" | |
| 36300 | 36861 | filename="glib/deprecated/grel.c" | |
| 36301 | - | line="281">Inserts a record into a #GRelation.</doc> | |
| 36862 | + | line="288">Inserts a record into a #GRelation.</doc> | |
| 36302 | 36863 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 36303 | 36864 | <source-position filename="glib/deprecated/grel.h" line="56"/> | |
| 36304 | 36865 | <return-value transfer-ownership="none"> | |
| @@ -36308,13 +36869,13 @@ before any records are added to the #GRelation.</doc> | |||
| 36308 | 36869 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36309 | 36870 | <doc xml:space="preserve" | |
| 36310 | 36871 | filename="glib/deprecated/grel.c" | |
| 36311 | - | line="283">a #GRelation.</doc> | |
| 36872 | + | line="290">a #GRelation.</doc> | |
| 36312 | 36873 | <type name="Relation" c:type="GRelation*"/> | |
| 36313 | 36874 | </instance-parameter> | |
| 36314 | 36875 | <parameter name="..." transfer-ownership="none"> | |
| 36315 | 36876 | <doc xml:space="preserve" | |
| 36316 | 36877 | filename="glib/deprecated/grel.c" | |
| 36317 | - | line="284">the fields of the record to add. These must match the | |
| 36878 | + | line="291">the fields of the record to add. These must match the | |
| 36318 | 36879 | number of fields in the #GRelation, and of type #gpointer | |
| 36319 | 36880 | or #gconstpointer.</doc> | |
| 36320 | 36881 | <varargs/> | |
| @@ -36327,7 +36888,7 @@ before any records are added to the #GRelation.</doc> | |||
| 36327 | 36888 | deprecated-version="2.26"> | |
| 36328 | 36889 | <doc xml:space="preserve" | |
| 36329 | 36890 | filename="glib/deprecated/grel.c" | |
| 36330 | - | line="649">Outputs information about all records in a #GRelation, as well as | |
| 36891 | + | line="679">Outputs information about all records in a #GRelation, as well as | |
| 36331 | 36892 | the indexes. It is for debugging.</doc> | |
| 36332 | 36893 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 36333 | 36894 | <source-position filename="glib/deprecated/grel.h" line="74"/> | |
| @@ -36338,7 +36899,7 @@ the indexes. It is for debugging.</doc> | |||
| 36338 | 36899 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36339 | 36900 | <doc xml:space="preserve" | |
| 36340 | 36901 | filename="glib/deprecated/grel.c" | |
| 36341 | - | line="651">a #GRelation.</doc> | |
| 36902 | + | line="681">a #GRelation.</doc> | |
| 36342 | 36903 | <type name="Relation" c:type="GRelation*"/> | |
| 36343 | 36904 | </instance-parameter> | |
| 36344 | 36905 | </parameters> | |
| @@ -36350,7 +36911,7 @@ the indexes. It is for debugging.</doc> | |||
| 36350 | 36911 | deprecated-version="2.26"> | |
| 36351 | 36912 | <doc xml:space="preserve" | |
| 36352 | 36913 | filename="glib/deprecated/grel.c" | |
| 36353 | - | line="437">Returns all of the tuples which have the given key in the given | |
| 36914 | + | line="445">Returns all of the tuples which have the given key in the given | |
| 36354 | 36915 | field. Use g_tuples_index() to access the returned records. The | |
| 36355 | 36916 | returned records should be freed with g_tuples_destroy().</doc> | |
| 36356 | 36917 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -36358,14 +36919,14 @@ returned records should be freed with g_tuples_destroy().</doc> | |||
| 36358 | 36919 | <return-value> | |
| 36359 | 36920 | <doc xml:space="preserve" | |
| 36360 | 36921 | filename="glib/deprecated/grel.c" | |
| 36361 | - | line="447">the records (tuples) that matched.</doc> | |
| 36922 | + | line="455">the records (tuples) that matched.</doc> | |
| 36362 | 36923 | <type name="Tuples" c:type="GTuples*"/> | |
| 36363 | 36924 | </return-value> | |
| 36364 | 36925 | <parameters> | |
| 36365 | 36926 | <instance-parameter name="relation" transfer-ownership="none"> | |
| 36366 | 36927 | <doc xml:space="preserve" | |
| 36367 | 36928 | filename="glib/deprecated/grel.c" | |
| 36368 | - | line="439">a #GRelation.</doc> | |
| 36929 | + | line="447">a #GRelation.</doc> | |
| 36369 | 36930 | <type name="Relation" c:type="GRelation*"/> | |
| 36370 | 36931 | </instance-parameter> | |
| 36371 | 36932 | <parameter name="key" | |
| @@ -36374,13 +36935,13 @@ returned records should be freed with g_tuples_destroy().</doc> | |||
| 36374 | 36935 | allow-none="1"> | |
| 36375 | 36936 | <doc xml:space="preserve" | |
| 36376 | 36937 | filename="glib/deprecated/grel.c" | |
| 36377 | - | line="440">the value to compare with.</doc> | |
| 36938 | + | line="448">the value to compare with.</doc> | |
| 36378 | 36939 | <type name="gpointer" c:type="gconstpointer"/> | |
| 36379 | 36940 | </parameter> | |
| 36380 | 36941 | <parameter name="field" transfer-ownership="none"> | |
| 36381 | 36942 | <doc xml:space="preserve" | |
| 36382 | 36943 | filename="glib/deprecated/grel.c" | |
| 36383 | - | line="441">the field of each record to match.</doc> | |
| 36944 | + | line="449">the field of each record to match.</doc> | |
| 36384 | 36945 | <type name="gint" c:type="gint"/> | |
| 36385 | 36946 | </parameter> | |
| 36386 | 36947 | </parameters> | |
| @@ -36392,21 +36953,21 @@ returned records should be freed with g_tuples_destroy().</doc> | |||
| 36392 | 36953 | deprecated-version="2.26"> | |
| 36393 | 36954 | <doc xml:space="preserve" | |
| 36394 | 36955 | filename="glib/deprecated/grel.c" | |
| 36395 | - | line="183">Creates a new #GRelation with the given number of fields. Note that | |
| 36956 | + | line="187">Creates a new #GRelation with the given number of fields. Note that | |
| 36396 | 36957 | currently the number of fields must be 2.</doc> | |
| 36397 | 36958 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| 36398 | 36959 | <source-position filename="glib/deprecated/grel.h" line="47"/> | |
| 36399 | 36960 | <return-value> | |
| 36400 | 36961 | <doc xml:space="preserve" | |
| 36401 | 36962 | filename="glib/deprecated/grel.c" | |
| 36402 | - | line="190">a new #GRelation.</doc> | |
| 36963 | + | line="194">a new #GRelation.</doc> | |
| 36403 | 36964 | <type name="Relation" c:type="GRelation*"/> | |
| 36404 | 36965 | </return-value> | |
| 36405 | 36966 | <parameters> | |
| 36406 | 36967 | <parameter name="fields" transfer-ownership="none"> | |
| 36407 | 36968 | <doc xml:space="preserve" | |
| 36408 | 36969 | filename="glib/deprecated/grel.c" | |
| 36409 | - | line="185">the number of fields.</doc> | |
| 36970 | + | line="189">the number of fields.</doc> | |
| 36410 | 36971 | <type name="gint" c:type="gint"/> | |
| 36411 | 36972 | </parameter> | |
| 36412 | 36973 | </parameters> | |
| @@ -36513,8 +37074,8 @@ g_slist_insert_sorted() functions and so is rarely used on its own.</doc> | |||
| 36513 | 37074 | filename="glib/gslist.c" | |
| 36514 | 37075 | line="153">Adds a new element on to the end of the list. | |
| 36515 | 37076 | ||
| 36516 | - | The return value is the new start of the list, which may | |
| 36517 | - | have changed, so make sure you store the new value. | |
| 37077 | + | Note that the return value is the new start of the list | |
| 37078 | + | if @list was empty; make sure you store the new value. | |
| 36518 | 37079 | ||
| 36519 | 37080 | Note that g_slist_append() has to traverse the entire list | |
| 36520 | 37081 | to find the end, which is inefficient when adding multiple | |
| @@ -36537,7 +37098,7 @@ number_list = g_slist_append (number_list, GINT_TO_POINTER (14)); | |||
| 36537 | 37098 | <return-value> | |
| 36538 | 37099 | <doc xml:space="preserve" | |
| 36539 | 37100 | filename="glib/gslist.c" | |
| 36540 | - | line="181">the new start of the #GSList</doc> | |
| 37101 | + | line="181">either @list or the new start of the #GSList if @list was %NULL</doc> | |
| 36541 | 37102 | <type name="GLib.SList" c:type="GSList*"> | |
| 36542 | 37103 | <type name="gpointer" c:type="gpointer"/> | |
| 36543 | 37104 | </type> | |
| @@ -36565,14 +37126,14 @@ number_list = g_slist_append (number_list, GINT_TO_POINTER (14)); | |||
| 36565 | 37126 | <function name="concat" c:identifier="g_slist_concat" introspectable="0"> | |
| 36566 | 37127 | <doc xml:space="preserve" | |
| 36567 | 37128 | filename="glib/gslist.c" | |
| 36568 | - | line="339">Adds the second #GSList onto the end of the first #GSList. | |
| 37129 | + | line="340">Adds the second #GSList onto the end of the first #GSList. | |
| 36569 | 37130 | Note that the elements of the second #GSList are not copied. | |
| 36570 | 37131 | They are used directly.</doc> | |
| 36571 | 37132 | <source-position filename="glib/gslist.h" line="83"/> | |
| 36572 | 37133 | <return-value> | |
| 36573 | 37134 | <doc xml:space="preserve" | |
| 36574 | 37135 | filename="glib/gslist.c" | |
| 36575 | - | line="348">the start of the new #GSList</doc> | |
| 37136 | + | line="349">the start of the new #GSList</doc> | |
| 36576 | 37137 | <type name="GLib.SList" c:type="GSList*"> | |
| 36577 | 37138 | <type name="gpointer" c:type="gpointer"/> | |
| 36578 | 37139 | </type> | |
| @@ -36581,7 +37142,7 @@ They are used directly.</doc> | |||
| 36581 | 37142 | <parameter name="list1" transfer-ownership="none"> | |
| 36582 | 37143 | <doc xml:space="preserve" | |
| 36583 | 37144 | filename="glib/gslist.c" | |
| 36584 | - | line="341">a #GSList</doc> | |
| 37145 | + | line="342">a #GSList</doc> | |
| 36585 | 37146 | <type name="GLib.SList" c:type="GSList*"> | |
| 36586 | 37147 | <type name="gpointer" c:type="gpointer"/> | |
| 36587 | 37148 | </type> | |
| @@ -36589,7 +37150,7 @@ They are used directly.</doc> | |||
| 36589 | 37150 | <parameter name="list2" transfer-ownership="none"> | |
| 36590 | 37151 | <doc xml:space="preserve" | |
| 36591 | 37152 | filename="glib/gslist.c" | |
| 36592 | - | line="342">the #GSList to add to the end of the first #GSList</doc> | |
| 37153 | + | line="343">the #GSList to add to the end of the first #GSList</doc> | |
| 36593 | 37154 | <type name="GLib.SList" c:type="GSList*"> | |
| 36594 | 37155 | <type name="gpointer" c:type="gpointer"/> | |
| 36595 | 37156 | </type> | |
| @@ -36599,7 +37160,7 @@ They are used directly.</doc> | |||
| 36599 | 37160 | <function name="copy" c:identifier="g_slist_copy" introspectable="0"> | |
| 36600 | 37161 | <doc xml:space="preserve" | |
| 36601 | 37162 | filename="glib/gslist.c" | |
| 36602 | - | line="502">Copies a #GSList. | |
| 37163 | + | line="503">Copies a #GSList. | |
| 36603 | 37164 | ||
| 36604 | 37165 | Note that this is a "shallow" copy. If the list elements | |
| 36605 | 37166 | consist of pointers to data, the pointers are copied but | |
| @@ -36609,7 +37170,7 @@ to copy the data as well.</doc> | |||
| 36609 | 37170 | <return-value> | |
| 36610 | 37171 | <doc xml:space="preserve" | |
| 36611 | 37172 | filename="glib/gslist.c" | |
| 36612 | - | line="513">a copy of @list</doc> | |
| 37173 | + | line="514">a copy of @list</doc> | |
| 36613 | 37174 | <type name="GLib.SList" c:type="GSList*"> | |
| 36614 | 37175 | <type name="gpointer" c:type="gpointer"/> | |
| 36615 | 37176 | </type> | |
| @@ -36618,7 +37179,7 @@ to copy the data as well.</doc> | |||
| 36618 | 37179 | <parameter name="list" transfer-ownership="none"> | |
| 36619 | 37180 | <doc xml:space="preserve" | |
| 36620 | 37181 | filename="glib/gslist.c" | |
| 36621 | - | line="504">a #GSList</doc> | |
| 37182 | + | line="505">a #GSList</doc> | |
| 36622 | 37183 | <type name="GLib.SList" c:type="GSList*"> | |
| 36623 | 37184 | <type name="gpointer" c:type="gpointer"/> | |
| 36624 | 37185 | </type> | |
| @@ -36631,7 +37192,7 @@ to copy the data as well.</doc> | |||
| 36631 | 37192 | introspectable="0"> | |
| 36632 | 37193 | <doc xml:space="preserve" | |
| 36633 | 37194 | filename="glib/gslist.c" | |
| 36634 | - | line="521">Makes a full (deep) copy of a #GSList. | |
| 37195 | + | line="522">Makes a full (deep) copy of a #GSList. | |
| 36635 | 37196 | ||
| 36636 | 37197 | In contrast with g_slist_copy(), this function uses @func to make a copy of | |
| 36637 | 37198 | each list element, in addition to copying the list container itself. | |
| @@ -36655,7 +37216,7 @@ g_slist_free_full (another_list, g_object_unref); | |||
| 36655 | 37216 | <return-value> | |
| 36656 | 37217 | <doc xml:space="preserve" | |
| 36657 | 37218 | filename="glib/gslist.c" | |
| 36658 | - | line="548">a full copy of @list, use g_slist_free_full() to free it</doc> | |
| 37219 | + | line="549">a full copy of @list, use g_slist_free_full() to free it</doc> | |
| 36659 | 37220 | <type name="GLib.SList" c:type="GSList*"> | |
| 36660 | 37221 | <type name="gpointer" c:type="gpointer"/> | |
| 36661 | 37222 | </type> | |
| @@ -36664,7 +37225,7 @@ g_slist_free_full (another_list, g_object_unref); | |||
| 36664 | 37225 | <parameter name="list" transfer-ownership="none"> | |
| 36665 | 37226 | <doc xml:space="preserve" | |
| 36666 | 37227 | filename="glib/gslist.c" | |
| 36667 | - | line="523">a #GSList</doc> | |
| 37228 | + | line="524">a #GSList</doc> | |
| 36668 | 37229 | <type name="GLib.SList" c:type="GSList*"> | |
| 36669 | 37230 | <type name="gpointer" c:type="gpointer"/> | |
| 36670 | 37231 | </type> | |
| @@ -36675,7 +37236,7 @@ g_slist_free_full (another_list, g_object_unref); | |||
| 36675 | 37236 | closure="2"> | |
| 36676 | 37237 | <doc xml:space="preserve" | |
| 36677 | 37238 | filename="glib/gslist.c" | |
| 36678 | - | line="524">a copy function used to copy every element in the list</doc> | |
| 37239 | + | line="525">a copy function used to copy every element in the list</doc> | |
| 36679 | 37240 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 36680 | 37241 | </parameter> | |
| 36681 | 37242 | <parameter name="user_data" | |
| @@ -36684,7 +37245,7 @@ g_slist_free_full (another_list, g_object_unref); | |||
| 36684 | 37245 | allow-none="1"> | |
| 36685 | 37246 | <doc xml:space="preserve" | |
| 36686 | 37247 | filename="glib/gslist.c" | |
| 36687 | - | line="525">user data passed to the copy function @func, or #NULL</doc> | |
| 37248 | + | line="526">user data passed to the copy function @func, or #NULL</doc> | |
| 36688 | 37249 | <type name="gpointer" c:type="gpointer"/> | |
| 36689 | 37250 | </parameter> | |
| 36690 | 37251 | </parameters> | |
| @@ -36694,7 +37255,7 @@ g_slist_free_full (another_list, g_object_unref); | |||
| 36694 | 37255 | introspectable="0"> | |
| 36695 | 37256 | <doc xml:space="preserve" | |
| 36696 | 37257 | filename="glib/gslist.c" | |
| 36697 | - | line="475">Removes the node link_ from the list and frees it. | |
| 37258 | + | line="476">Removes the node link_ from the list and frees it. | |
| 36698 | 37259 | Compare this to g_slist_remove_link() which removes the node | |
| 36699 | 37260 | without freeing it. | |
| 36700 | 37261 | ||
| @@ -36707,7 +37268,7 @@ consider a different data structure, such as the doubly-linked | |||
| 36707 | 37268 | <return-value> | |
| 36708 | 37269 | <doc xml:space="preserve" | |
| 36709 | 37270 | filename="glib/gslist.c" | |
| 36710 | - | line="490">the new head of @list</doc> | |
| 37271 | + | line="491">the new head of @list</doc> | |
| 36711 | 37272 | <type name="GLib.SList" c:type="GSList*"> | |
| 36712 | 37273 | <type name="gpointer" c:type="gpointer"/> | |
| 36713 | 37274 | </type> | |
| @@ -36716,7 +37277,7 @@ consider a different data structure, such as the doubly-linked | |||
| 36716 | 37277 | <parameter name="list" transfer-ownership="none"> | |
| 36717 | 37278 | <doc xml:space="preserve" | |
| 36718 | 37279 | filename="glib/gslist.c" | |
| 36719 | - | line="477">a #GSList</doc> | |
| 37280 | + | line="478">a #GSList</doc> | |
| 36720 | 37281 | <type name="GLib.SList" c:type="GSList*"> | |
| 36721 | 37282 | <type name="gpointer" c:type="gpointer"/> | |
| 36722 | 37283 | </type> | |
| @@ -36724,7 +37285,7 @@ consider a different data structure, such as the doubly-linked | |||
| 36724 | 37285 | <parameter name="link_" transfer-ownership="none"> | |
| 36725 | 37286 | <doc xml:space="preserve" | |
| 36726 | 37287 | filename="glib/gslist.c" | |
| 36727 | - | line="478">node to delete</doc> | |
| 37288 | + | line="479">node to delete</doc> | |
| 36728 | 37289 | <type name="GLib.SList" c:type="GSList*"> | |
| 36729 | 37290 | <type name="gpointer" c:type="gpointer"/> | |
| 36730 | 37291 | </type> | |
| @@ -36734,13 +37295,13 @@ consider a different data structure, such as the doubly-linked | |||
| 36734 | 37295 | <function name="find" c:identifier="g_slist_find" introspectable="0"> | |
| 36735 | 37296 | <doc xml:space="preserve" | |
| 36736 | 37297 | filename="glib/gslist.c" | |
| 36737 | - | line="650">Finds the element in a #GSList which | |
| 37298 | + | line="651">Finds the element in a #GSList which | |
| 36738 | 37299 | contains the given data.</doc> | |
| 36739 | 37300 | <source-position filename="glib/gslist.h" line="110"/> | |
| 36740 | 37301 | <return-value> | |
| 36741 | 37302 | <doc xml:space="preserve" | |
| 36742 | 37303 | filename="glib/gslist.c" | |
| 36743 | - | line="658">the found #GSList element, | |
| 37304 | + | line="659">the found #GSList element, | |
| 36744 | 37305 | or %NULL if it is not found</doc> | |
| 36745 | 37306 | <type name="GLib.SList" c:type="GSList*"> | |
| 36746 | 37307 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -36750,7 +37311,7 @@ contains the given data.</doc> | |||
| 36750 | 37311 | <parameter name="list" transfer-ownership="none"> | |
| 36751 | 37312 | <doc xml:space="preserve" | |
| 36752 | 37313 | filename="glib/gslist.c" | |
| 36753 | - | line="652">a #GSList</doc> | |
| 37314 | + | line="653">a #GSList</doc> | |
| 36754 | 37315 | <type name="GLib.SList" c:type="GSList*"> | |
| 36755 | 37316 | <type name="gpointer" c:type="gpointer"/> | |
| 36756 | 37317 | </type> | |
| @@ -36761,7 +37322,7 @@ contains the given data.</doc> | |||
| 36761 | 37322 | allow-none="1"> | |
| 36762 | 37323 | <doc xml:space="preserve" | |
| 36763 | 37324 | filename="glib/gslist.c" | |
| 36764 | - | line="653">the element data to find</doc> | |
| 37325 | + | line="654">the element data to find</doc> | |
| 36765 | 37326 | <type name="gpointer" c:type="gconstpointer"/> | |
| 36766 | 37327 | </parameter> | |
| 36767 | 37328 | </parameters> | |
| @@ -36771,7 +37332,7 @@ contains the given data.</doc> | |||
| 36771 | 37332 | introspectable="0"> | |
| 36772 | 37333 | <doc xml:space="preserve" | |
| 36773 | 37334 | filename="glib/gslist.c" | |
| 36774 | - | line="676">Finds an element in a #GSList, using a supplied function to | |
| 37335 | + | line="677">Finds an element in a #GSList, using a supplied function to | |
| 36775 | 37336 | find the desired element. It iterates over the list, calling | |
| 36776 | 37337 | the given function which should return 0 when the desired | |
| 36777 | 37338 | element is found. The function takes two #gconstpointer arguments, | |
| @@ -36781,7 +37342,7 @@ given user data.</doc> | |||
| 36781 | 37342 | <return-value> | |
| 36782 | 37343 | <doc xml:space="preserve" | |
| 36783 | 37344 | filename="glib/gslist.c" | |
| 36784 | - | line="690">the found #GSList element, or %NULL if it is not found</doc> | |
| 37345 | + | line="691">the found #GSList element, or %NULL if it is not found</doc> | |
| 36785 | 37346 | <type name="GLib.SList" c:type="GSList*"> | |
| 36786 | 37347 | <type name="gpointer" c:type="gpointer"/> | |
| 36787 | 37348 | </type> | |
| @@ -36790,7 +37351,7 @@ given user data.</doc> | |||
| 36790 | 37351 | <parameter name="list" transfer-ownership="none"> | |
| 36791 | 37352 | <doc xml:space="preserve" | |
| 36792 | 37353 | filename="glib/gslist.c" | |
| 36793 | - | line="678">a #GSList</doc> | |
| 37354 | + | line="679">a #GSList</doc> | |
| 36794 | 37355 | <type name="GLib.SList" c:type="GSList*"> | |
| 36795 | 37356 | <type name="gpointer" c:type="gpointer"/> | |
| 36796 | 37357 | </type> | |
| @@ -36801,13 +37362,13 @@ given user data.</doc> | |||
| 36801 | 37362 | allow-none="1"> | |
| 36802 | 37363 | <doc xml:space="preserve" | |
| 36803 | 37364 | filename="glib/gslist.c" | |
| 36804 | - | line="679">user data passed to the function</doc> | |
| 37365 | + | line="680">user data passed to the function</doc> | |
| 36805 | 37366 | <type name="gpointer" c:type="gconstpointer"/> | |
| 36806 | 37367 | </parameter> | |
| 36807 | 37368 | <parameter name="func" transfer-ownership="none" scope="call"> | |
| 36808 | 37369 | <doc xml:space="preserve" | |
| 36809 | 37370 | filename="glib/gslist.c" | |
| 36810 | - | line="680">the function to call for each element. | |
| 37371 | + | line="681">the function to call for each element. | |
| 36811 | 37372 | It should return 0 when the desired element is found</doc> | |
| 36812 | 37373 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 36813 | 37374 | </parameter> | |
| @@ -36818,7 +37379,7 @@ given user data.</doc> | |||
| 36818 | 37379 | introspectable="0"> | |
| 36819 | 37380 | <doc xml:space="preserve" | |
| 36820 | 37381 | filename="glib/gslist.c" | |
| 36821 | - | line="817">Calls a function for each element of a #GSList. | |
| 37382 | + | line="818">Calls a function for each element of a #GSList. | |
| 36822 | 37383 | ||
| 36823 | 37384 | It is safe for @func to remove the element from @list, but it must | |
| 36824 | 37385 | not modify any part of the list after that element.</doc> | |
| @@ -36830,7 +37391,7 @@ not modify any part of the list after that element.</doc> | |||
| 36830 | 37391 | <parameter name="list" transfer-ownership="none"> | |
| 36831 | 37392 | <doc xml:space="preserve" | |
| 36832 | 37393 | filename="glib/gslist.c" | |
| 36833 | - | line="819">a #GSList</doc> | |
| 37394 | + | line="820">a #GSList</doc> | |
| 36834 | 37395 | <type name="GLib.SList" c:type="GSList*"> | |
| 36835 | 37396 | <type name="gpointer" c:type="gpointer"/> | |
| 36836 | 37397 | </type> | |
| @@ -36841,7 +37402,7 @@ not modify any part of the list after that element.</doc> | |||
| 36841 | 37402 | closure="2"> | |
| 36842 | 37403 | <doc xml:space="preserve" | |
| 36843 | 37404 | filename="glib/gslist.c" | |
| 36844 | - | line="820">the function to call with each element's data</doc> | |
| 37405 | + | line="821">the function to call with each element's data</doc> | |
| 36845 | 37406 | <type name="Func" c:type="GFunc"/> | |
| 36846 | 37407 | </parameter> | |
| 36847 | 37408 | <parameter name="user_data" | |
| @@ -36850,7 +37411,7 @@ not modify any part of the list after that element.</doc> | |||
| 36850 | 37411 | allow-none="1"> | |
| 36851 | 37412 | <doc xml:space="preserve" | |
| 36852 | 37413 | filename="glib/gslist.c" | |
| 36853 | - | line="821">user data to pass to the function</doc> | |
| 37414 | + | line="822">user data to pass to the function</doc> | |
| 36854 | 37415 | <type name="gpointer" c:type="gpointer"/> | |
| 36855 | 37416 | </parameter> | |
| 36856 | 37417 | </parameters> | |
| @@ -36950,13 +37511,13 @@ g_slist_free_full (g_steal_pointer (&list_of_owned_things), g_object_unref); | |||
| 36950 | 37511 | <function name="index" c:identifier="g_slist_index" introspectable="0"> | |
| 36951 | 37512 | <doc xml:space="preserve" | |
| 36952 | 37513 | filename="glib/gslist.c" | |
| 36953 | - | line="738">Gets the position of the element containing | |
| 37514 | + | line="739">Gets the position of the element containing | |
| 36954 | 37515 | the given data (starting from 0).</doc> | |
| 36955 | 37516 | <source-position filename="glib/gslist.h" line="120"/> | |
| 36956 | 37517 | <return-value transfer-ownership="none"> | |
| 36957 | 37518 | <doc xml:space="preserve" | |
| 36958 | 37519 | filename="glib/gslist.c" | |
| 36959 | - | line="746">the index of the element containing the data, | |
| 37520 | + | line="747">the index of the element containing the data, | |
| 36960 | 37521 | or -1 if the data is not found</doc> | |
| 36961 | 37522 | <type name="gint" c:type="gint"/> | |
| 36962 | 37523 | </return-value> | |
| @@ -36964,7 +37525,7 @@ the given data (starting from 0).</doc> | |||
| 36964 | 37525 | <parameter name="list" transfer-ownership="none"> | |
| 36965 | 37526 | <doc xml:space="preserve" | |
| 36966 | 37527 | filename="glib/gslist.c" | |
| 36967 | - | line="740">a #GSList</doc> | |
| 37528 | + | line="741">a #GSList</doc> | |
| 36968 | 37529 | <type name="GLib.SList" c:type="GSList*"> | |
| 36969 | 37530 | <type name="gpointer" c:type="gpointer"/> | |
| 36970 | 37531 | </type> | |
| @@ -36975,7 +37536,7 @@ the given data (starting from 0).</doc> | |||
| 36975 | 37536 | allow-none="1"> | |
| 36976 | 37537 | <doc xml:space="preserve" | |
| 36977 | 37538 | filename="glib/gslist.c" | |
| 36978 | - | line="741">the data to find</doc> | |
| 37539 | + | line="742">the data to find</doc> | |
| 36979 | 37540 | <type name="gpointer" c:type="gconstpointer"/> | |
| 36980 | 37541 | </parameter> | |
| 36981 | 37542 | </parameters> | |
| @@ -36983,12 +37544,12 @@ the given data (starting from 0).</doc> | |||
| 36983 | 37544 | <function name="insert" c:identifier="g_slist_insert" introspectable="0"> | |
| 36984 | 37545 | <doc xml:space="preserve" | |
| 36985 | 37546 | filename="glib/gslist.c" | |
| 36986 | - | line="238">Inserts a new element into the list at the given position.</doc> | |
| 37547 | + | line="239">Inserts a new element into the list at the given position.</doc> | |
| 36987 | 37548 | <source-position filename="glib/gslist.h" line="66"/> | |
| 36988 | 37549 | <return-value> | |
| 36989 | 37550 | <doc xml:space="preserve" | |
| 36990 | 37551 | filename="glib/gslist.c" | |
| 36991 | - | line="249">the new start of the #GSList</doc> | |
| 37552 | + | line="250">the (possibly changed) start of the #GSList</doc> | |
| 36992 | 37553 | <type name="GLib.SList" c:type="GSList*"> | |
| 36993 | 37554 | <type name="gpointer" c:type="gpointer"/> | |
| 36994 | 37555 | </type> | |
| @@ -36997,7 +37558,7 @@ the given data (starting from 0).</doc> | |||
| 36997 | 37558 | <parameter name="list" transfer-ownership="none"> | |
| 36998 | 37559 | <doc xml:space="preserve" | |
| 36999 | 37560 | filename="glib/gslist.c" | |
| 37000 | - | line="240">a #GSList</doc> | |
| 37561 | + | line="241">a #GSList</doc> | |
| 37001 | 37562 | <type name="GLib.SList" c:type="GSList*"> | |
| 37002 | 37563 | <type name="gpointer" c:type="gpointer"/> | |
| 37003 | 37564 | </type> | |
| @@ -37008,13 +37569,13 @@ the given data (starting from 0).</doc> | |||
| 37008 | 37569 | allow-none="1"> | |
| 37009 | 37570 | <doc xml:space="preserve" | |
| 37010 | 37571 | filename="glib/gslist.c" | |
| 37011 | - | line="241">the data for the new element</doc> | |
| 37572 | + | line="242">the data for the new element</doc> | |
| 37012 | 37573 | <type name="gpointer" c:type="gpointer"/> | |
| 37013 | 37574 | </parameter> | |
| 37014 | 37575 | <parameter name="position" transfer-ownership="none"> | |
| 37015 | 37576 | <doc xml:space="preserve" | |
| 37016 | 37577 | filename="glib/gslist.c" | |
| 37017 | - | line="242">the position to insert the element. | |
| 37578 | + | line="243">the position to insert the element. | |
| 37018 | 37579 | If this is negative, or is larger than the number | |
| 37019 | 37580 | of elements in the list, the new element is added on | |
| 37020 | 37581 | to the end of the list.</doc> | |
| @@ -37027,12 +37588,12 @@ the given data (starting from 0).</doc> | |||
| 37027 | 37588 | introspectable="0"> | |
| 37028 | 37589 | <doc xml:space="preserve" | |
| 37029 | 37590 | filename="glib/gslist.c" | |
| 37030 | - | line="289">Inserts a node before @sibling containing @data.</doc> | |
| 37591 | + | line="290">Inserts a node before @sibling containing @data.</doc> | |
| 37031 | 37592 | <source-position filename="glib/gslist.h" line="79"/> | |
| 37032 | 37593 | <return-value> | |
| 37033 | 37594 | <doc xml:space="preserve" | |
| 37034 | 37595 | filename="glib/gslist.c" | |
| 37035 | - | line="297">the new head of the list.</doc> | |
| 37596 | + | line="298">the new head of the list.</doc> | |
| 37036 | 37597 | <type name="GLib.SList" c:type="GSList*"> | |
| 37037 | 37598 | <type name="gpointer" c:type="gpointer"/> | |
| 37038 | 37599 | </type> | |
| @@ -37041,7 +37602,7 @@ the given data (starting from 0).</doc> | |||
| 37041 | 37602 | <parameter name="slist" transfer-ownership="none"> | |
| 37042 | 37603 | <doc xml:space="preserve" | |
| 37043 | 37604 | filename="glib/gslist.c" | |
| 37044 | - | line="291">a #GSList</doc> | |
| 37605 | + | line="292">a #GSList</doc> | |
| 37045 | 37606 | <type name="GLib.SList" c:type="GSList*"> | |
| 37046 | 37607 | <type name="gpointer" c:type="gpointer"/> | |
| 37047 | 37608 | </type> | |
| @@ -37049,7 +37610,7 @@ the given data (starting from 0).</doc> | |||
| 37049 | 37610 | <parameter name="sibling" transfer-ownership="none"> | |
| 37050 | 37611 | <doc xml:space="preserve" | |
| 37051 | 37612 | filename="glib/gslist.c" | |
| 37052 | - | line="292">node to insert @data before</doc> | |
| 37613 | + | line="293">node to insert @data before</doc> | |
| 37053 | 37614 | <type name="GLib.SList" c:type="GSList*"> | |
| 37054 | 37615 | <type name="gpointer" c:type="gpointer"/> | |
| 37055 | 37616 | </type> | |
| @@ -37060,7 +37621,7 @@ the given data (starting from 0).</doc> | |||
| 37060 | 37621 | allow-none="1"> | |
| 37061 | 37622 | <doc xml:space="preserve" | |
| 37062 | 37623 | filename="glib/gslist.c" | |
| 37063 | - | line="293">data to put in the newly-inserted node</doc> | |
| 37624 | + | line="294">data to put in the newly-inserted node</doc> | |
| 37064 | 37625 | <type name="gpointer" c:type="gpointer"/> | |
| 37065 | 37626 | </parameter> | |
| 37066 | 37627 | </parameters> | |
| @@ -37070,13 +37631,13 @@ the given data (starting from 0).</doc> | |||
| 37070 | 37631 | introspectable="0"> | |
| 37071 | 37632 | <doc xml:space="preserve" | |
| 37072 | 37633 | filename="glib/gslist.c" | |
| 37073 | - | line="895">Inserts a new element into the list, using the given | |
| 37634 | + | line="896">Inserts a new element into the list, using the given | |
| 37074 | 37635 | comparison function to determine its position.</doc> | |
| 37075 | 37636 | <source-position filename="glib/gslist.h" line="70"/> | |
| 37076 | 37637 | <return-value> | |
| 37077 | 37638 | <doc xml:space="preserve" | |
| 37078 | 37639 | filename="glib/gslist.c" | |
| 37079 | - | line="906">the new start of the #GSList</doc> | |
| 37640 | + | line="907">the new start of the #GSList</doc> | |
| 37080 | 37641 | <type name="GLib.SList" c:type="GSList*"> | |
| 37081 | 37642 | <type name="gpointer" c:type="gpointer"/> | |
| 37082 | 37643 | </type> | |
| @@ -37085,7 +37646,7 @@ comparison function to determine its position.</doc> | |||
| 37085 | 37646 | <parameter name="list" transfer-ownership="none"> | |
| 37086 | 37647 | <doc xml:space="preserve" | |
| 37087 | 37648 | filename="glib/gslist.c" | |
| 37088 | - | line="897">a #GSList</doc> | |
| 37649 | + | line="898">a #GSList</doc> | |
| 37089 | 37650 | <type name="GLib.SList" c:type="GSList*"> | |
| 37090 | 37651 | <type name="gpointer" c:type="gpointer"/> | |
| 37091 | 37652 | </type> | |
| @@ -37096,13 +37657,13 @@ comparison function to determine its position.</doc> | |||
| 37096 | 37657 | allow-none="1"> | |
| 37097 | 37658 | <doc xml:space="preserve" | |
| 37098 | 37659 | filename="glib/gslist.c" | |
| 37099 | - | line="898">the data for the new element</doc> | |
| 37660 | + | line="899">the data for the new element</doc> | |
| 37100 | 37661 | <type name="gpointer" c:type="gpointer"/> | |
| 37101 | 37662 | </parameter> | |
| 37102 | 37663 | <parameter name="func" transfer-ownership="none" scope="call"> | |
| 37103 | 37664 | <doc xml:space="preserve" | |
| 37104 | 37665 | filename="glib/gslist.c" | |
| 37105 | - | line="899">the function to compare elements in the list. | |
| 37666 | + | line="900">the function to compare elements in the list. | |
| 37106 | 37667 | It should return a number > 0 if the first parameter | |
| 37107 | 37668 | comes after the second parameter in the sort order.</doc> | |
| 37108 | 37669 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| @@ -37115,13 +37676,13 @@ comparison function to determine its position.</doc> | |||
| 37115 | 37676 | introspectable="0"> | |
| 37116 | 37677 | <doc xml:space="preserve" | |
| 37117 | 37678 | filename="glib/gslist.c" | |
| 37118 | - | line="916">Inserts a new element into the list, using the given | |
| 37679 | + | line="917">Inserts a new element into the list, using the given | |
| 37119 | 37680 | comparison function to determine its position.</doc> | |
| 37120 | 37681 | <source-position filename="glib/gslist.h" line="74"/> | |
| 37121 | 37682 | <return-value> | |
| 37122 | 37683 | <doc xml:space="preserve" | |
| 37123 | 37684 | filename="glib/gslist.c" | |
| 37124 | - | line="928">the new start of the #GSList</doc> | |
| 37685 | + | line="929">the new start of the #GSList</doc> | |
| 37125 | 37686 | <type name="GLib.SList" c:type="GSList*"> | |
| 37126 | 37687 | <type name="gpointer" c:type="gpointer"/> | |
| 37127 | 37688 | </type> | |
| @@ -37130,7 +37691,7 @@ comparison function to determine its position.</doc> | |||
| 37130 | 37691 | <parameter name="list" transfer-ownership="none"> | |
| 37131 | 37692 | <doc xml:space="preserve" | |
| 37132 | 37693 | filename="glib/gslist.c" | |
| 37133 | - | line="918">a #GSList</doc> | |
| 37694 | + | line="919">a #GSList</doc> | |
| 37134 | 37695 | <type name="GLib.SList" c:type="GSList*"> | |
| 37135 | 37696 | <type name="gpointer" c:type="gpointer"/> | |
| 37136 | 37697 | </type> | |
| @@ -37141,7 +37702,7 @@ comparison function to determine its position.</doc> | |||
| 37141 | 37702 | allow-none="1"> | |
| 37142 | 37703 | <doc xml:space="preserve" | |
| 37143 | 37704 | filename="glib/gslist.c" | |
| 37144 | - | line="919">the data for the new element</doc> | |
| 37705 | + | line="920">the data for the new element</doc> | |
| 37145 | 37706 | <type name="gpointer" c:type="gpointer"/> | |
| 37146 | 37707 | </parameter> | |
| 37147 | 37708 | <parameter name="func" | |
| @@ -37150,7 +37711,7 @@ comparison function to determine its position.</doc> | |||
| 37150 | 37711 | closure="3"> | |
| 37151 | 37712 | <doc xml:space="preserve" | |
| 37152 | 37713 | filename="glib/gslist.c" | |
| 37153 | - | line="920">the function to compare elements in the list. | |
| 37714 | + | line="921">the function to compare elements in the list. | |
| 37154 | 37715 | It should return a number > 0 if the first parameter | |
| 37155 | 37716 | comes after the second parameter in the sort order.</doc> | |
| 37156 | 37717 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| @@ -37161,7 +37722,7 @@ comparison function to determine its position.</doc> | |||
| 37161 | 37722 | allow-none="1"> | |
| 37162 | 37723 | <doc xml:space="preserve" | |
| 37163 | 37724 | filename="glib/gslist.c" | |
| 37164 | - | line="923">data to pass to comparison function</doc> | |
| 37725 | + | line="924">data to pass to comparison function</doc> | |
| 37165 | 37726 | <type name="gpointer" c:type="gpointer"/> | |
| 37166 | 37727 | </parameter> | |
| 37167 | 37728 | </parameters> | |
| @@ -37169,14 +37730,14 @@ comparison function to determine its position.</doc> | |||
| 37169 | 37730 | <function name="last" c:identifier="g_slist_last" introspectable="0"> | |
| 37170 | 37731 | <doc xml:space="preserve" | |
| 37171 | 37732 | filename="glib/gslist.c" | |
| 37172 | - | line="767">Gets the last element in a #GSList. | |
| 37733 | + | line="768">Gets the last element in a #GSList. | |
| 37173 | 37734 | ||
| 37174 | 37735 | This function iterates over the whole list.</doc> | |
| 37175 | 37736 | <source-position filename="glib/gslist.h" line="123"/> | |
| 37176 | 37737 | <return-value> | |
| 37177 | 37738 | <doc xml:space="preserve" | |
| 37178 | 37739 | filename="glib/gslist.c" | |
| 37179 | - | line="775">the last element in the #GSList, | |
| 37740 | + | line="776">the last element in the #GSList, | |
| 37180 | 37741 | or %NULL if the #GSList has no elements</doc> | |
| 37181 | 37742 | <type name="GLib.SList" c:type="GSList*"> | |
| 37182 | 37743 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -37186,7 +37747,7 @@ This function iterates over the whole list.</doc> | |||
| 37186 | 37747 | <parameter name="list" transfer-ownership="none"> | |
| 37187 | 37748 | <doc xml:space="preserve" | |
| 37188 | 37749 | filename="glib/gslist.c" | |
| 37189 | - | line="769">a #GSList</doc> | |
| 37750 | + | line="770">a #GSList</doc> | |
| 37190 | 37751 | <type name="GLib.SList" c:type="GSList*"> | |
| 37191 | 37752 | <type name="gpointer" c:type="gpointer"/> | |
| 37192 | 37753 | </type> | |
| @@ -37196,7 +37757,7 @@ This function iterates over the whole list.</doc> | |||
| 37196 | 37757 | <function name="length" c:identifier="g_slist_length" introspectable="0"> | |
| 37197 | 37758 | <doc xml:space="preserve" | |
| 37198 | 37759 | filename="glib/gslist.c" | |
| 37199 | - | line="790">Gets the number of elements in a #GSList. | |
| 37760 | + | line="791">Gets the number of elements in a #GSList. | |
| 37200 | 37761 | ||
| 37201 | 37762 | This function iterates over the whole list to | |
| 37202 | 37763 | count its elements. To check whether the list is non-empty, it is faster to | |
| @@ -37205,14 +37766,14 @@ check @list against %NULL.</doc> | |||
| 37205 | 37766 | <return-value transfer-ownership="none"> | |
| 37206 | 37767 | <doc xml:space="preserve" | |
| 37207 | 37768 | filename="glib/gslist.c" | |
| 37208 | - | line="800">the number of elements in the #GSList</doc> | |
| 37769 | + | line="801">the number of elements in the #GSList</doc> | |
| 37209 | 37770 | <type name="guint" c:type="guint"/> | |
| 37210 | 37771 | </return-value> | |
| 37211 | 37772 | <parameters> | |
| 37212 | 37773 | <parameter name="list" transfer-ownership="none"> | |
| 37213 | 37774 | <doc xml:space="preserve" | |
| 37214 | 37775 | filename="glib/gslist.c" | |
| 37215 | - | line="792">a #GSList</doc> | |
| 37776 | + | line="793">a #GSList</doc> | |
| 37216 | 37777 | <type name="GLib.SList" c:type="GSList*"> | |
| 37217 | 37778 | <type name="gpointer" c:type="gpointer"/> | |
| 37218 | 37779 | </type> | |
| @@ -37222,12 +37783,12 @@ check @list against %NULL.</doc> | |||
| 37222 | 37783 | <function name="nth" c:identifier="g_slist_nth" introspectable="0"> | |
| 37223 | 37784 | <doc xml:space="preserve" | |
| 37224 | 37785 | filename="glib/gslist.c" | |
| 37225 | - | line="610">Gets the element at the given position in a #GSList.</doc> | |
| 37786 | + | line="611">Gets the element at the given position in a #GSList.</doc> | |
| 37226 | 37787 | <source-position filename="glib/gslist.h" line="107"/> | |
| 37227 | 37788 | <return-value> | |
| 37228 | 37789 | <doc xml:space="preserve" | |
| 37229 | 37790 | filename="glib/gslist.c" | |
| 37230 | - | line="617">the element, or %NULL if the position is off | |
| 37791 | + | line="618">the element, or %NULL if the position is off | |
| 37231 | 37792 | the end of the #GSList</doc> | |
| 37232 | 37793 | <type name="GLib.SList" c:type="GSList*"> | |
| 37233 | 37794 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -37237,7 +37798,7 @@ check @list against %NULL.</doc> | |||
| 37237 | 37798 | <parameter name="list" transfer-ownership="none"> | |
| 37238 | 37799 | <doc xml:space="preserve" | |
| 37239 | 37800 | filename="glib/gslist.c" | |
| 37240 | - | line="612">a #GSList</doc> | |
| 37801 | + | line="613">a #GSList</doc> | |
| 37241 | 37802 | <type name="GLib.SList" c:type="GSList*"> | |
| 37242 | 37803 | <type name="gpointer" c:type="gpointer"/> | |
| 37243 | 37804 | </type> | |
| @@ -37245,7 +37806,7 @@ check @list against %NULL.</doc> | |||
| 37245 | 37806 | <parameter name="n" transfer-ownership="none"> | |
| 37246 | 37807 | <doc xml:space="preserve" | |
| 37247 | 37808 | filename="glib/gslist.c" | |
| 37248 | - | line="613">the position of the element, counting from 0</doc> | |
| 37809 | + | line="614">the position of the element, counting from 0</doc> | |
| 37249 | 37810 | <type name="guint" c:type="guint"/> | |
| 37250 | 37811 | </parameter> | |
| 37251 | 37812 | </parameters> | |
| @@ -37255,12 +37816,12 @@ check @list against %NULL.</doc> | |||
| 37255 | 37816 | introspectable="0"> | |
| 37256 | 37817 | <doc xml:space="preserve" | |
| 37257 | 37818 | filename="glib/gslist.c" | |
| 37258 | - | line="630">Gets the data of the element at the given position.</doc> | |
| 37819 | + | line="631">Gets the data of the element at the given position.</doc> | |
| 37259 | 37820 | <source-position filename="glib/gslist.h" line="138"/> | |
| 37260 | 37821 | <return-value transfer-ownership="none" nullable="1"> | |
| 37261 | 37822 | <doc xml:space="preserve" | |
| 37262 | 37823 | filename="glib/gslist.c" | |
| 37263 | - | line="637">the element's data, or %NULL if the position | |
| 37824 | + | line="638">the element's data, or %NULL if the position | |
| 37264 | 37825 | is off the end of the #GSList</doc> | |
| 37265 | 37826 | <type name="gpointer" c:type="gpointer"/> | |
| 37266 | 37827 | </return-value> | |
| @@ -37268,7 +37829,7 @@ check @list against %NULL.</doc> | |||
| 37268 | 37829 | <parameter name="list" transfer-ownership="none"> | |
| 37269 | 37830 | <doc xml:space="preserve" | |
| 37270 | 37831 | filename="glib/gslist.c" | |
| 37271 | - | line="632">a #GSList</doc> | |
| 37832 | + | line="633">a #GSList</doc> | |
| 37272 | 37833 | <type name="GLib.SList" c:type="GSList*"> | |
| 37273 | 37834 | <type name="gpointer" c:type="gpointer"/> | |
| 37274 | 37835 | </type> | |
| @@ -37276,12 +37837,15 @@ check @list against %NULL.</doc> | |||
| 37276 | 37837 | <parameter name="n" transfer-ownership="none"> | |
| 37277 | 37838 | <doc xml:space="preserve" | |
| 37278 | 37839 | filename="glib/gslist.c" | |
| 37279 | - | line="633">the position of the element</doc> | |
| 37840 | + | line="634">the position of the element</doc> | |
| 37280 | 37841 | <type name="guint" c:type="guint"/> | |
| 37281 | 37842 | </parameter> | |
| 37282 | 37843 | </parameters> | |
| 37283 | 37844 | </function> | |
| 37284 | - | <function name="pop_allocator" c:identifier="g_slist_pop_allocator"> | |
| 37845 | + | <function name="pop_allocator" | |
| 37846 | + | c:identifier="g_slist_pop_allocator" | |
| 37847 | + | deprecated="1" | |
| 37848 | + | deprecated-version="2.10"> | |
| 37285 | 37849 | <source-position filename="glib/deprecated/gallocator.h" line="80"/> | |
| 37286 | 37850 | <return-value transfer-ownership="none"> | |
| 37287 | 37851 | <type name="none" c:type="void"/> | |
| @@ -37292,13 +37856,13 @@ check @list against %NULL.</doc> | |||
| 37292 | 37856 | introspectable="0"> | |
| 37293 | 37857 | <doc xml:space="preserve" | |
| 37294 | 37858 | filename="glib/gslist.c" | |
| 37295 | - | line="709">Gets the position of the given element | |
| 37859 | + | line="710">Gets the position of the given element | |
| 37296 | 37860 | in the #GSList (starting from 0).</doc> | |
| 37297 | 37861 | <source-position filename="glib/gslist.h" line="117"/> | |
| 37298 | 37862 | <return-value transfer-ownership="none"> | |
| 37299 | 37863 | <doc xml:space="preserve" | |
| 37300 | 37864 | filename="glib/gslist.c" | |
| 37301 | - | line="717">the position of the element in the #GSList, | |
| 37865 | + | line="718">the position of the element in the #GSList, | |
| 37302 | 37866 | or -1 if the element is not found</doc> | |
| 37303 | 37867 | <type name="gint" c:type="gint"/> | |
| 37304 | 37868 | </return-value> | |
| @@ -37306,7 +37870,7 @@ in the #GSList (starting from 0).</doc> | |||
| 37306 | 37870 | <parameter name="list" transfer-ownership="none"> | |
| 37307 | 37871 | <doc xml:space="preserve" | |
| 37308 | 37872 | filename="glib/gslist.c" | |
| 37309 | - | line="711">a #GSList</doc> | |
| 37873 | + | line="712">a #GSList</doc> | |
| 37310 | 37874 | <type name="GLib.SList" c:type="GSList*"> | |
| 37311 | 37875 | <type name="gpointer" c:type="gpointer"/> | |
| 37312 | 37876 | </type> | |
| @@ -37314,7 +37878,7 @@ in the #GSList (starting from 0).</doc> | |||
| 37314 | 37878 | <parameter name="llink" transfer-ownership="none"> | |
| 37315 | 37879 | <doc xml:space="preserve" | |
| 37316 | 37880 | filename="glib/gslist.c" | |
| 37317 | - | line="712">an element in the #GSList</doc> | |
| 37881 | + | line="713">an element in the #GSList</doc> | |
| 37318 | 37882 | <type name="GLib.SList" c:type="GSList*"> | |
| 37319 | 37883 | <type name="gpointer" c:type="gpointer"/> | |
| 37320 | 37884 | </type> | |
| @@ -37328,8 +37892,8 @@ in the #GSList (starting from 0).</doc> | |||
| 37328 | 37892 | filename="glib/gslist.c" | |
| 37329 | 37893 | line="206">Adds a new element on to the start of the list. | |
| 37330 | 37894 | ||
| 37331 | - | The return value is the new start of the list, which | |
| 37332 | - | may have changed, so make sure you store the new value. | |
| 37895 | + | Note that the return value is the new start of the list, | |
| 37896 | + | which will have changed, so make sure you store the new value. | |
| 37333 | 37897 | ||
| 37334 | 37898 | |[<!-- language="C" --> | |
| 37335 | 37899 | // Notice that it is initialized to the empty list. | |
| @@ -37341,7 +37905,8 @@ list = g_slist_prepend (list, "first"); | |||
| 37341 | 37905 | <return-value> | |
| 37342 | 37906 | <doc xml:space="preserve" | |
| 37343 | 37907 | filename="glib/gslist.c" | |
| 37344 | - | line="223">the new start of the #GSList</doc> | |
| 37908 | + | line="223">a pointer to the newly prepended element, | |
| 37909 | + | which is the new start of the #GSList</doc> | |
| 37345 | 37910 | <type name="GLib.SList" c:type="GSList*"> | |
| 37346 | 37911 | <type name="gpointer" c:type="gpointer"/> | |
| 37347 | 37912 | </type> | |
| @@ -37366,7 +37931,10 @@ list = g_slist_prepend (list, "first"); | |||
| 37366 | 37931 | </parameter> | |
| 37367 | 37932 | </parameters> | |
| 37368 | 37933 | </function> | |
| 37369 | - | <function name="push_allocator" c:identifier="g_slist_push_allocator"> | |
| 37934 | + | <function name="push_allocator" | |
| 37935 | + | c:identifier="g_slist_push_allocator" | |
| 37936 | + | deprecated="1" | |
| 37937 | + | deprecated-version="2.10"> | |
| 37370 | 37938 | <source-position filename="glib/deprecated/gallocator.h" line="78"/> | |
| 37371 | 37939 | <return-value transfer-ownership="none"> | |
| 37372 | 37940 | <type name="none" c:type="void"/> | |
| @@ -37380,14 +37948,14 @@ list = g_slist_prepend (list, "first"); | |||
| 37380 | 37948 | <function name="remove" c:identifier="g_slist_remove" introspectable="0"> | |
| 37381 | 37949 | <doc xml:space="preserve" | |
| 37382 | 37950 | filename="glib/gslist.c" | |
| 37383 | - | line="390">Removes an element from a #GSList. | |
| 37951 | + | line="391">Removes an element from a #GSList. | |
| 37384 | 37952 | If two elements contain the same data, only the first is removed. | |
| 37385 | 37953 | If none of the elements contain the data, the #GSList is unchanged.</doc> | |
| 37386 | 37954 | <source-position filename="glib/gslist.h" line="86"/> | |
| 37387 | 37955 | <return-value> | |
| 37388 | 37956 | <doc xml:space="preserve" | |
| 37389 | 37957 | filename="glib/gslist.c" | |
| 37390 | - | line="399">the new start of the #GSList</doc> | |
| 37958 | + | line="400">the new start of the #GSList</doc> | |
| 37391 | 37959 | <type name="GLib.SList" c:type="GSList*"> | |
| 37392 | 37960 | <type name="gpointer" c:type="gpointer"/> | |
| 37393 | 37961 | </type> | |
| @@ -37396,7 +37964,7 @@ If none of the elements contain the data, the #GSList is unchanged.</doc> | |||
| 37396 | 37964 | <parameter name="list" transfer-ownership="none"> | |
| 37397 | 37965 | <doc xml:space="preserve" | |
| 37398 | 37966 | filename="glib/gslist.c" | |
| 37399 | - | line="392">a #GSList</doc> | |
| 37967 | + | line="393">a #GSList</doc> | |
| 37400 | 37968 | <type name="GLib.SList" c:type="GSList*"> | |
| 37401 | 37969 | <type name="gpointer" c:type="gpointer"/> | |
| 37402 | 37970 | </type> | |
| @@ -37407,7 +37975,7 @@ If none of the elements contain the data, the #GSList is unchanged.</doc> | |||
| 37407 | 37975 | allow-none="1"> | |
| 37408 | 37976 | <doc xml:space="preserve" | |
| 37409 | 37977 | filename="glib/gslist.c" | |
| 37410 | - | line="393">the data of the element to remove</doc> | |
| 37978 | + | line="394">the data of the element to remove</doc> | |
| 37411 | 37979 | <type name="gpointer" c:type="gconstpointer"/> | |
| 37412 | 37980 | </parameter> | |
| 37413 | 37981 | </parameters> | |
| @@ -37417,7 +37985,7 @@ If none of the elements contain the data, the #GSList is unchanged.</doc> | |||
| 37417 | 37985 | introspectable="0"> | |
| 37418 | 37986 | <doc xml:space="preserve" | |
| 37419 | 37987 | filename="glib/gslist.c" | |
| 37420 | - | line="408">Removes all list nodes with data equal to @data. | |
| 37988 | + | line="409">Removes all list nodes with data equal to @data. | |
| 37421 | 37989 | Returns the new head of the list. Contrast with | |
| 37422 | 37990 | g_slist_remove() which removes only the first node | |
| 37423 | 37991 | matching the given data.</doc> | |
| @@ -37425,7 +37993,7 @@ matching the given data.</doc> | |||
| 37425 | 37993 | <return-value> | |
| 37426 | 37994 | <doc xml:space="preserve" | |
| 37427 | 37995 | filename="glib/gslist.c" | |
| 37428 | - | line="418">new head of @list</doc> | |
| 37996 | + | line="419">new head of @list</doc> | |
| 37429 | 37997 | <type name="GLib.SList" c:type="GSList*"> | |
| 37430 | 37998 | <type name="gpointer" c:type="gpointer"/> | |
| 37431 | 37999 | </type> | |
| @@ -37434,7 +38002,7 @@ matching the given data.</doc> | |||
| 37434 | 38002 | <parameter name="list" transfer-ownership="none"> | |
| 37435 | 38003 | <doc xml:space="preserve" | |
| 37436 | 38004 | filename="glib/gslist.c" | |
| 37437 | - | line="410">a #GSList</doc> | |
| 38005 | + | line="411">a #GSList</doc> | |
| 37438 | 38006 | <type name="GLib.SList" c:type="GSList*"> | |
| 37439 | 38007 | <type name="gpointer" c:type="gpointer"/> | |
| 37440 | 38008 | </type> | |
| @@ -37445,7 +38013,7 @@ matching the given data.</doc> | |||
| 37445 | 38013 | allow-none="1"> | |
| 37446 | 38014 | <doc xml:space="preserve" | |
| 37447 | 38015 | filename="glib/gslist.c" | |
| 37448 | - | line="411">data to remove</doc> | |
| 38016 | + | line="412">data to remove</doc> | |
| 37449 | 38017 | <type name="gpointer" c:type="gconstpointer"/> | |
| 37450 | 38018 | </parameter> | |
| 37451 | 38019 | </parameters> | |
| @@ -37455,7 +38023,7 @@ matching the given data.</doc> | |||
| 37455 | 38023 | introspectable="0"> | |
| 37456 | 38024 | <doc xml:space="preserve" | |
| 37457 | 38025 | filename="glib/gslist.c" | |
| 37458 | - | line="450">Removes an element from a #GSList, without | |
| 38026 | + | line="451">Removes an element from a #GSList, without | |
| 37459 | 38027 | freeing the element. The removed element's next | |
| 37460 | 38028 | link is set to %NULL, so that it becomes a | |
| 37461 | 38029 | self-contained list with one element. | |
| @@ -37469,7 +38037,7 @@ such as the doubly-linked #GList.</doc> | |||
| 37469 | 38037 | <return-value> | |
| 37470 | 38038 | <doc xml:space="preserve" | |
| 37471 | 38039 | filename="glib/gslist.c" | |
| 37472 | - | line="466">the new start of the #GSList, without the element</doc> | |
| 38040 | + | line="467">the new start of the #GSList, without the element</doc> | |
| 37473 | 38041 | <type name="GLib.SList" c:type="GSList*"> | |
| 37474 | 38042 | <type name="gpointer" c:type="gpointer"/> | |
| 37475 | 38043 | </type> | |
| @@ -37478,7 +38046,7 @@ such as the doubly-linked #GList.</doc> | |||
| 37478 | 38046 | <parameter name="list" transfer-ownership="none"> | |
| 37479 | 38047 | <doc xml:space="preserve" | |
| 37480 | 38048 | filename="glib/gslist.c" | |
| 37481 | - | line="452">a #GSList</doc> | |
| 38049 | + | line="453">a #GSList</doc> | |
| 37482 | 38050 | <type name="GLib.SList" c:type="GSList*"> | |
| 37483 | 38051 | <type name="gpointer" c:type="gpointer"/> | |
| 37484 | 38052 | </type> | |
| @@ -37486,7 +38054,7 @@ such as the doubly-linked #GList.</doc> | |||
| 37486 | 38054 | <parameter name="link_" transfer-ownership="none"> | |
| 37487 | 38055 | <doc xml:space="preserve" | |
| 37488 | 38056 | filename="glib/gslist.c" | |
| 37489 | - | line="453">an element in the #GSList</doc> | |
| 38057 | + | line="454">an element in the #GSList</doc> | |
| 37490 | 38058 | <type name="GLib.SList" c:type="GSList*"> | |
| 37491 | 38059 | <type name="gpointer" c:type="gpointer"/> | |
| 37492 | 38060 | </type> | |
| @@ -37498,12 +38066,12 @@ such as the doubly-linked #GList.</doc> | |||
| 37498 | 38066 | introspectable="0"> | |
| 37499 | 38067 | <doc xml:space="preserve" | |
| 37500 | 38068 | filename="glib/gslist.c" | |
| 37501 | - | line="584">Reverses a #GSList.</doc> | |
| 38069 | + | line="585">Reverses a #GSList.</doc> | |
| 37502 | 38070 | <source-position filename="glib/gslist.h" line="98"/> | |
| 37503 | 38071 | <return-value> | |
| 37504 | 38072 | <doc xml:space="preserve" | |
| 37505 | 38073 | filename="glib/gslist.c" | |
| 37506 | - | line="590">the start of the reversed #GSList</doc> | |
| 38074 | + | line="591">the start of the reversed #GSList</doc> | |
| 37507 | 38075 | <type name="GLib.SList" c:type="GSList*"> | |
| 37508 | 38076 | <type name="gpointer" c:type="gpointer"/> | |
| 37509 | 38077 | </type> | |
| @@ -37512,7 +38080,7 @@ such as the doubly-linked #GList.</doc> | |||
| 37512 | 38080 | <parameter name="list" transfer-ownership="none"> | |
| 37513 | 38081 | <doc xml:space="preserve" | |
| 37514 | 38082 | filename="glib/gslist.c" | |
| 37515 | - | line="586">a #GSList</doc> | |
| 38083 | + | line="587">a #GSList</doc> | |
| 37516 | 38084 | <type name="GLib.SList" c:type="GSList*"> | |
| 37517 | 38085 | <type name="gpointer" c:type="gpointer"/> | |
| 37518 | 38086 | </type> | |
| @@ -37522,13 +38090,13 @@ such as the doubly-linked #GList.</doc> | |||
| 37522 | 38090 | <function name="sort" c:identifier="g_slist_sort" introspectable="0"> | |
| 37523 | 38091 | <doc xml:space="preserve" | |
| 37524 | 38092 | filename="glib/gslist.c" | |
| 37525 | - | line="1002">Sorts a #GSList using the given comparison function. The algorithm | |
| 38093 | + | line="1003">Sorts a #GSList using the given comparison function. The algorithm | |
| 37526 | 38094 | used is a stable sort.</doc> | |
| 37527 | 38095 | <source-position filename="glib/gslist.h" line="131"/> | |
| 37528 | 38096 | <return-value> | |
| 37529 | 38097 | <doc xml:space="preserve" | |
| 37530 | 38098 | filename="glib/gslist.c" | |
| 37531 | - | line="1014">the start of the sorted #GSList</doc> | |
| 38099 | + | line="1015">the start of the sorted #GSList</doc> | |
| 37532 | 38100 | <type name="GLib.SList" c:type="GSList*"> | |
| 37533 | 38101 | <type name="gpointer" c:type="gpointer"/> | |
| 37534 | 38102 | </type> | |
| @@ -37537,7 +38105,7 @@ used is a stable sort.</doc> | |||
| 37537 | 38105 | <parameter name="list" transfer-ownership="none"> | |
| 37538 | 38106 | <doc xml:space="preserve" | |
| 37539 | 38107 | filename="glib/gslist.c" | |
| 37540 | - | line="1004">a #GSList</doc> | |
| 38108 | + | line="1005">a #GSList</doc> | |
| 37541 | 38109 | <type name="GLib.SList" c:type="GSList*"> | |
| 37542 | 38110 | <type name="gpointer" c:type="gpointer"/> | |
| 37543 | 38111 | </type> | |
| @@ -37547,7 +38115,7 @@ used is a stable sort.</doc> | |||
| 37547 | 38115 | scope="call"> | |
| 37548 | 38116 | <doc xml:space="preserve" | |
| 37549 | 38117 | filename="glib/gslist.c" | |
| 37550 | - | line="1005">the comparison function used to sort the #GSList. | |
| 38118 | + | line="1006">the comparison function used to sort the #GSList. | |
| 37551 | 38119 | This function is passed the data from 2 elements of the #GSList | |
| 37552 | 38120 | and should return 0 if they are equal, a negative value if the | |
| 37553 | 38121 | first element comes before the second, or a positive value if | |
| @@ -37561,12 +38129,12 @@ used is a stable sort.</doc> | |||
| 37561 | 38129 | introspectable="0"> | |
| 37562 | 38130 | <doc xml:space="preserve" | |
| 37563 | 38131 | filename="glib/gslist.c" | |
| 37564 | - | line="1023">Like g_slist_sort(), but the sort function accepts a user data argument.</doc> | |
| 38132 | + | line="1024">Like g_slist_sort(), but the sort function accepts a user data argument.</doc> | |
| 37565 | 38133 | <source-position filename="glib/gslist.h" line="134"/> | |
| 37566 | 38134 | <return-value> | |
| 37567 | 38135 | <doc xml:space="preserve" | |
| 37568 | 38136 | filename="glib/gslist.c" | |
| 37569 | - | line="1031">new head of the list</doc> | |
| 38137 | + | line="1032">new head of the list</doc> | |
| 37570 | 38138 | <type name="GLib.SList" c:type="GSList*"> | |
| 37571 | 38139 | <type name="gpointer" c:type="gpointer"/> | |
| 37572 | 38140 | </type> | |
| @@ -37575,7 +38143,7 @@ used is a stable sort.</doc> | |||
| 37575 | 38143 | <parameter name="list" transfer-ownership="none"> | |
| 37576 | 38144 | <doc xml:space="preserve" | |
| 37577 | 38145 | filename="glib/gslist.c" | |
| 37578 | - | line="1025">a #GSList</doc> | |
| 38146 | + | line="1026">a #GSList</doc> | |
| 37579 | 38147 | <type name="GLib.SList" c:type="GSList*"> | |
| 37580 | 38148 | <type name="gpointer" c:type="gpointer"/> | |
| 37581 | 38149 | </type> | |
| @@ -37586,7 +38154,7 @@ used is a stable sort.</doc> | |||
| 37586 | 38154 | closure="2"> | |
| 37587 | 38155 | <doc xml:space="preserve" | |
| 37588 | 38156 | filename="glib/gslist.c" | |
| 37589 | - | line="1026">comparison function</doc> | |
| 38157 | + | line="1027">comparison function</doc> | |
| 37590 | 38158 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 37591 | 38159 | </parameter> | |
| 37592 | 38160 | <parameter name="user_data" | |
| @@ -37595,7 +38163,7 @@ used is a stable sort.</doc> | |||
| 37595 | 38163 | allow-none="1"> | |
| 37596 | 38164 | <doc xml:space="preserve" | |
| 37597 | 38165 | filename="glib/gslist.c" | |
| 37598 | - | line="1027">data to pass to comparison function</doc> | |
| 38166 | + | line="1028">data to pass to comparison function</doc> | |
| 37599 | 38167 | <type name="gpointer" c:type="gpointer"/> | |
| 37600 | 38168 | </parameter> | |
| 37601 | 38169 | </parameters> | |
| @@ -37607,9 +38175,9 @@ used is a stable sort.</doc> | |||
| 37607 | 38175 | version="2.32"> | |
| 37608 | 38176 | <doc xml:space="preserve" | |
| 37609 | 38177 | filename="glib/gmain.h" | |
| 37610 | - | line="474">Use this macro as the return value of a [callback@GLib.SourceFunc] to leave | |
| 38178 | + | line="475">Use this macro as the return value of a [callback@GLib.SourceFunc] to leave | |
| 37611 | 38179 | the [struct@GLib.Source] in the main loop.</doc> | |
| 37612 | - | <source-position filename="glib/gmain.h" line="482"/> | |
| 38180 | + | <source-position filename="glib/gmain.h" line="483"/> | |
| 37613 | 38181 | <type name="gboolean" c:type="gboolean"/> | |
| 37614 | 38182 | </constant> | |
| 37615 | 38183 | <function-macro name="SOURCE_FUNC" | |
| @@ -37618,7 +38186,7 @@ the [struct@GLib.Source] in the main loop.</doc> | |||
| 37618 | 38186 | introspectable="0"> | |
| 37619 | 38187 | <doc xml:space="preserve" | |
| 37620 | 38188 | filename="glib/gmain.h" | |
| 37621 | - | line="215">Cast a function pointer to a [callback@GLib.SourceFunc], suppressing | |
| 38189 | + | line="216">Cast a function pointer to a [callback@GLib.SourceFunc], suppressing | |
| 37622 | 38190 | warnings from GCC 8 onwards with `-Wextra` or `-Wcast-function-type` enabled | |
| 37623 | 38191 | about the function types being incompatible. | |
| 37624 | 38192 | ||
| @@ -37628,12 +38196,12 @@ arguments than [callback@GLib.SourceFunc]. Casting the function with | |||
| 37628 | 38196 | `(GSourceFunc)` to call [method@GLib.Source.set_callback] will trigger a | |
| 37629 | 38197 | warning, even though it will be cast back to the correct type before it is | |
| 37630 | 38198 | called by the source.</doc> | |
| 37631 | - | <source-position filename="glib/gmain.h" line="232"/> | |
| 38199 | + | <source-position filename="glib/gmain.h" line="233"/> | |
| 37632 | 38200 | <parameters> | |
| 37633 | 38201 | <parameter name="f"> | |
| 37634 | 38202 | <doc xml:space="preserve" | |
| 37635 | 38203 | filename="glib/gmain.h" | |
| 37636 | - | line="217">a function pointer.</doc> | |
| 38204 | + | line="218">a function pointer.</doc> | |
| 37637 | 38205 | </parameter> | |
| 37638 | 38206 | </parameters> | |
| 37639 | 38207 | </function-macro> | |
| @@ -37643,9 +38211,9 @@ called by the source.</doc> | |||
| 37643 | 38211 | version="2.32"> | |
| 37644 | 38212 | <doc xml:space="preserve" | |
| 37645 | 38213 | filename="glib/gmain.h" | |
| 37646 | - | line="464">Use this macro as the return value of a [callback@GLib.SourceFunc] to remove | |
| 38214 | + | line="465">Use this macro as the return value of a [callback@GLib.SourceFunc] to remove | |
| 37647 | 38215 | the [struct@GLib.Source] from the main loop.</doc> | |
| 37648 | - | <source-position filename="glib/gmain.h" line="472"/> | |
| 38216 | + | <source-position filename="glib/gmain.h" line="473"/> | |
| 37649 | 38217 | <type name="gboolean" c:type="gboolean"/> | |
| 37650 | 38218 | </constant> | |
| 37651 | 38219 | <constant name="SQRT2" value="1.414214" c:type="G_SQRT2"> | |
| @@ -40251,7 +40819,7 @@ if @a comes before @b, and a positive value if @b comes before @a.</doc> | |||
| 40251 | 40819 | filename="glib/gmain.h" | |
| 40252 | 40820 | line="80">The `GSource` struct is an opaque data type | |
| 40253 | 40821 | representing an event source.</doc> | |
| 40254 | - | <source-position filename="glib/gmain.h" line="289"/> | |
| 40822 | + | <source-position filename="glib/gmain.h" line="290"/> | |
| 40255 | 40823 | <field name="callback_data" readable="0" private="1"> | |
| 40256 | 40824 | <type name="gpointer" c:type="gpointer"/> | |
| 40257 | 40825 | </field> | |
| @@ -40296,33 +40864,35 @@ representing an event source.</doc> | |||
| 40296 | 40864 | <constructor name="new" c:identifier="g_source_new"> | |
| 40297 | 40865 | <doc xml:space="preserve" | |
| 40298 | 40866 | filename="glib/gmain.c" | |
| 40299 | - | line="907">Creates a new [struct@GLib.Source] structure. The size is specified to | |
| 40867 | + | line="948">Creates a new [struct@GLib.Source] structure. | |
| 40868 | + | ||
| 40869 | + | The size is specified to | |
| 40300 | 40870 | allow creating structures derived from [struct@GLib.Source] that contain | |
| 40301 | 40871 | additional data. The size passed in must be at least | |
| 40302 | 40872 | `sizeof (GSource)`. | |
| 40303 | 40873 | ||
| 40304 | - | The source will not initially be associated with any #GMainContext | |
| 40874 | + | The source will not initially be associated with any [struct@GLib.MainContext] | |
| 40305 | 40875 | and must be added to one with [method@GLib.Source.attach] before it will be | |
| 40306 | 40876 | executed.</doc> | |
| 40307 | - | <source-position filename="glib/gmain.h" line="694"/> | |
| 40877 | + | <source-position filename="glib/gmain.h" line="695"/> | |
| 40308 | 40878 | <return-value transfer-ownership="full"> | |
| 40309 | 40879 | <doc xml:space="preserve" | |
| 40310 | 40880 | filename="glib/gmain.c" | |
| 40311 | - | line="922">the newly-created #GSource.</doc> | |
| 40881 | + | line="965">the newly-created source</doc> | |
| 40312 | 40882 | <type name="Source" c:type="GSource*"/> | |
| 40313 | 40883 | </return-value> | |
| 40314 | 40884 | <parameters> | |
| 40315 | 40885 | <parameter name="source_funcs" transfer-ownership="none"> | |
| 40316 | 40886 | <doc xml:space="preserve" | |
| 40317 | 40887 | filename="glib/gmain.c" | |
| 40318 | - | line="909">structure containing functions that implement | |
| 40319 | - | the sources behavior.</doc> | |
| 40888 | + | line="950">structure containing functions that implement | |
| 40889 | + | the source‘s behavior</doc> | |
| 40320 | 40890 | <type name="SourceFuncs" c:type="GSourceFuncs*"/> | |
| 40321 | 40891 | </parameter> | |
| 40322 | 40892 | <parameter name="struct_size" transfer-ownership="none"> | |
| 40323 | 40893 | <doc xml:space="preserve" | |
| 40324 | 40894 | filename="glib/gmain.c" | |
| 40325 | - | line="911">size of the [struct@GLib.Source] structure to create.</doc> | |
| 40895 | + | line="952">size of the [struct@GLib.Source] structure to create, in bytes</doc> | |
| 40326 | 40896 | <type name="guint" c:type="guint"/> | |
| 40327 | 40897 | </parameter> | |
| 40328 | 40898 | </parameters> | |
| @@ -40332,25 +40902,26 @@ executed.</doc> | |||
| 40332 | 40902 | version="2.28"> | |
| 40333 | 40903 | <doc xml:space="preserve" | |
| 40334 | 40904 | filename="glib/gmain.c" | |
| 40335 | - | line="1514">Adds @child_source to @source as a "polled" source; when @source is | |
| 40336 | - | added to a [struct@GLib.MainContext], @child_source will be automatically | |
| 40337 | - | added with the same priority, when @child_source is triggered, it will | |
| 40338 | - | cause @source to dispatch (in addition to calling its own | |
| 40339 | - | callback), and when @source is destroyed, it will destroy | |
| 40340 | - | @child_source as well. (@source will also still be dispatched if | |
| 40341 | - | its own prepare/check functions indicate that it is ready.) | |
| 40342 | - | ||
| 40343 | - | If you don't need @child_source to do anything on its own when it | |
| 40344 | - | triggers, you can call g_source_set_dummy_callback() on it to set a | |
| 40345 | - | callback that does nothing (except return %TRUE if appropriate). | |
| 40346 | - | ||
| 40347 | - | @source will hold a reference on @child_source while @child_source | |
| 40905 | + | line="1624">Adds @child_source to @source as a ‘polled’ source. | |
| 40906 | + | ||
| 40907 | + | When @source is added to a [struct@GLib.MainContext], @child_source will be | |
| 40908 | + | automatically added with the same priority. When @child_source is triggered, | |
| 40909 | + | it will cause @source to dispatch (in addition to calling its own callback), | |
| 40910 | + | and when @source is destroyed, it will destroy @child_source as well. | |
| 40911 | + | ||
| 40912 | + | The @source will also still be dispatched if its own prepare/check functions | |
| 40913 | + | indicate that it is ready. | |
| 40914 | + | ||
| 40915 | + | If you don’t need @child_source to do anything on its own when it | |
| 40916 | + | triggers, you can call `g_source_set_dummy_callback()` on it to set a | |
| 40917 | + | callback that does nothing (except return true if appropriate). | |
| 40918 | + | ||
| 40919 | + | The @source will hold a reference on @child_source while @child_source | |
| 40348 | 40920 | is attached to it. | |
| 40349 | 40921 | ||
| 40350 | - | This API is only intended to be used by implementations of | |
| 40351 | - | [struct@GLib.Source]. Do not call this API on a [struct@GLib.Source] that | |
| 40352 | - | you did not create.</doc> | |
| 40353 | - | <source-position filename="glib/gmain.h" line="791"/> | |
| 40922 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 40923 | + | Do not call this API on a [struct@GLib.Source] that you did not create.</doc> | |
| 40924 | + | <source-position filename="glib/gmain.h" line="794"/> | |
| 40354 | 40925 | <return-value transfer-ownership="none"> | |
| 40355 | 40926 | <type name="none" c:type="void"/> | |
| 40356 | 40927 | </return-value> | |
| @@ -40358,13 +40929,13 @@ you did not create.</doc> | |||
| 40358 | 40929 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40359 | 40930 | <doc xml:space="preserve" | |
| 40360 | 40931 | filename="glib/gmain.c" | |
| 40361 | - | line="1516">a #GSource</doc> | |
| 40932 | + | line="1626">a source</doc> | |
| 40362 | 40933 | <type name="Source" c:type="GSource*"/> | |
| 40363 | 40934 | </instance-parameter> | |
| 40364 | 40935 | <parameter name="child_source" transfer-ownership="none"> | |
| 40365 | 40936 | <doc xml:space="preserve" | |
| 40366 | 40937 | filename="glib/gmain.c" | |
| 40367 | - | line="1517">a second #GSource that @source should "poll"</doc> | |
| 40938 | + | line="1627">a second source that @source should ‘poll’</doc> | |
| 40368 | 40939 | <type name="Source" c:type="GSource*"/> | |
| 40369 | 40940 | </parameter> | |
| 40370 | 40941 | </parameters> | |
| @@ -40372,19 +40943,21 @@ you did not create.</doc> | |||
| 40372 | 40943 | <method name="add_poll" c:identifier="g_source_add_poll"> | |
| 40373 | 40944 | <doc xml:space="preserve" | |
| 40374 | 40945 | filename="glib/gmain.c" | |
| 40375 | - | line="1432">Adds a file descriptor to the set of file descriptors polled for | |
| 40376 | - | this source. This is usually combined with [ctor@GLib.Source.new] to add an | |
| 40377 | - | event source. The event source's check function will typically test | |
| 40378 | - | the @revents field in the #GPollFD struct and return %TRUE if events need | |
| 40379 | - | to be processed. | |
| 40946 | + | line="1537">Adds a file descriptor to the set of file descriptors polled for | |
| 40947 | + | this source. | |
| 40948 | + | ||
| 40949 | + | This is usually combined with [ctor@GLib.Source.new] to add an | |
| 40950 | + | event source. The event source’s check function will typically test | |
| 40951 | + | the @revents field in the [struct@GLib.PollFD] struct and return true if | |
| 40952 | + | events need to be processed. | |
| 40380 | 40953 | ||
| 40381 | 40954 | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 40382 | 40955 | Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 40383 | 40956 | ||
| 40384 | 40957 | Using this API forces the linear scanning of event sources on each | |
| 40385 | 40958 | main loop iteration. Newly-written event sources should try to use | |
| 40386 | - | `g_source_add_unix_fd` instead of this API.</doc> | |
| 40387 | - | <source-position filename="glib/gmain.h" line="784"/> | |
| 40959 | + | `g_source_add_unix_fd()` instead of this API.</doc> | |
| 40960 | + | <source-position filename="glib/gmain.h" line="787"/> | |
| 40388 | 40961 | <return-value transfer-ownership="none"> | |
| 40389 | 40962 | <type name="none" c:type="void"/> | |
| 40390 | 40963 | </return-value> | |
| @@ -40392,14 +40965,14 @@ main loop iteration. Newly-written event sources should try to use | |||
| 40392 | 40965 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40393 | 40966 | <doc xml:space="preserve" | |
| 40394 | 40967 | filename="glib/gmain.c" | |
| 40395 | - | line="1434">a #GSource</doc> | |
| 40968 | + | line="1539">a source</doc> | |
| 40396 | 40969 | <type name="Source" c:type="GSource*"/> | |
| 40397 | 40970 | </instance-parameter> | |
| 40398 | 40971 | <parameter name="fd" transfer-ownership="none"> | |
| 40399 | 40972 | <doc xml:space="preserve" | |
| 40400 | 40973 | filename="glib/gmain.c" | |
| 40401 | - | line="1435">a #GPollFD structure holding information about a file | |
| 40402 | - | descriptor to watch.</doc> | |
| 40974 | + | line="1540">a [struct@GLib.PollFD] structure holding information about a file | |
| 40975 | + | descriptor to watch</doc> | |
| 40403 | 40976 | <type name="PollFD" c:type="GPollFD*"/> | |
| 40404 | 40977 | </parameter> | |
| 40405 | 40978 | </parameters> | |
| @@ -40409,43 +40982,43 @@ main loop iteration. Newly-written event sources should try to use | |||
| 40409 | 40982 | version="2.36"> | |
| 40410 | 40983 | <doc xml:space="preserve" | |
| 40411 | 40984 | filename="glib/gmain.c" | |
| 40412 | - | line="2652">Monitors @fd for the IO events in @events. | |
| 40985 | + | line="2812">Monitors @fd for the IO events in @events. | |
| 40413 | 40986 | ||
| 40414 | 40987 | The tag returned by this function can be used to remove or modify the | |
| 40415 | - | monitoring of the fd using [method@GLib.Source.remove_unix_fd] or | |
| 40988 | + | monitoring of the @fd using [method@GLib.Source.remove_unix_fd] or | |
| 40416 | 40989 | [method@GLib.Source.modify_unix_fd]. | |
| 40417 | 40990 | ||
| 40418 | - | It is not necessary to remove the fd before destroying the source; it | |
| 40419 | - | will be cleaned up automatically. | |
| 40991 | + | It is not necessary to remove the file descriptor before destroying the | |
| 40992 | + | source; it will be cleaned up automatically. | |
| 40420 | 40993 | ||
| 40421 | - | This API is only intended to be used by implementations of #GSource. | |
| 40422 | - | Do not call this API on a #GSource that you did not create. | |
| 40994 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 40995 | + | Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 40423 | 40996 | ||
| 40424 | 40997 | As the name suggests, this function is not available on Windows.</doc> | |
| 40425 | - | <source-position filename="glib/gmain.h" line="762"/> | |
| 40998 | + | <source-position filename="glib/gmain.h" line="765"/> | |
| 40426 | 40999 | <return-value transfer-ownership="none"> | |
| 40427 | 41000 | <doc xml:space="preserve" | |
| 40428 | 41001 | filename="glib/gmain.c" | |
| 40429 | - | line="2672">an opaque tag</doc> | |
| 41002 | + | line="2832">an opaque tag</doc> | |
| 40430 | 41003 | <type name="gpointer" c:type="gpointer"/> | |
| 40431 | 41004 | </return-value> | |
| 40432 | 41005 | <parameters> | |
| 40433 | 41006 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40434 | 41007 | <doc xml:space="preserve" | |
| 40435 | 41008 | filename="glib/gmain.c" | |
| 40436 | - | line="2654">a #GSource</doc> | |
| 41009 | + | line="2814">a source</doc> | |
| 40437 | 41010 | <type name="Source" c:type="GSource*"/> | |
| 40438 | 41011 | </instance-parameter> | |
| 40439 | 41012 | <parameter name="fd" transfer-ownership="none"> | |
| 40440 | 41013 | <doc xml:space="preserve" | |
| 40441 | 41014 | filename="glib/gmain.c" | |
| 40442 | - | line="2655">the fd to monitor</doc> | |
| 41015 | + | line="2815">the file descriptor to monitor</doc> | |
| 40443 | 41016 | <type name="gint" c:type="gint"/> | |
| 40444 | 41017 | </parameter> | |
| 40445 | 41018 | <parameter name="events" transfer-ownership="none"> | |
| 40446 | 41019 | <doc xml:space="preserve" | |
| 40447 | 41020 | filename="glib/gmain.c" | |
| 40448 | - | line="2656">an event mask</doc> | |
| 41021 | + | line="2816">an event mask</doc> | |
| 40449 | 41022 | <type name="IOCondition" c:type="GIOCondition"/> | |
| 40450 | 41023 | </parameter> | |
| 40451 | 41024 | </parameters> | |
| @@ -40453,24 +41026,26 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 40453 | 41026 | <method name="attach" c:identifier="g_source_attach"> | |
| 40454 | 41027 | <doc xml:space="preserve" | |
| 40455 | 41028 | filename="glib/gmain.c" | |
| 40456 | - | line="1237">Adds a [struct@GLib.Source] to a @context so that it will be executed within | |
| 40457 | - | that context. Remove it by calling [method@GLib.Source.destroy]. | |
| 41029 | + | line="1283">Adds a [struct@GLib.Source] to a @context so that it will be executed within | |
| 41030 | + | that context. | |
| 41031 | + | ||
| 41032 | + | Remove it by calling [method@GLib.Source.destroy]. | |
| 40458 | 41033 | ||
| 40459 | 41034 | This function is safe to call from any thread, regardless of which thread | |
| 40460 | 41035 | the @context is running in.</doc> | |
| 40461 | - | <source-position filename="glib/gmain.h" line="709"/> | |
| 41036 | + | <source-position filename="glib/gmain.h" line="710"/> | |
| 40462 | 41037 | <return-value transfer-ownership="none"> | |
| 40463 | 41038 | <doc xml:space="preserve" | |
| 40464 | 41039 | filename="glib/gmain.c" | |
| 40465 | - | line="1249">the ID (greater than 0) for the source within the | |
| 40466 | - | #GMainContext.</doc> | |
| 41040 | + | line="1297">the ID (greater than 0) for the source within the | |
| 41041 | + | [struct@GLib.MainContext]</doc> | |
| 40467 | 41042 | <type name="guint" c:type="guint"/> | |
| 40468 | 41043 | </return-value> | |
| 40469 | 41044 | <parameters> | |
| 40470 | 41045 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40471 | 41046 | <doc xml:space="preserve" | |
| 40472 | 41047 | filename="glib/gmain.c" | |
| 40473 | - | line="1239">a #GSource</doc> | |
| 41048 | + | line="1285">a source</doc> | |
| 40474 | 41049 | <type name="Source" c:type="GSource*"/> | |
| 40475 | 41050 | </instance-parameter> | |
| 40476 | 41051 | <parameter name="context" | |
| @@ -40479,7 +41054,7 @@ the @context is running in.</doc> | |||
| 40479 | 41054 | allow-none="1"> | |
| 40480 | 41055 | <doc xml:space="preserve" | |
| 40481 | 41056 | filename="glib/gmain.c" | |
| 40482 | - | line="1240">a #GMainContext (if %NULL, the global-default | |
| 41057 | + | line="1286">a main context (if `NULL`, the global-default | |
| 40483 | 41058 | main context will be used)</doc> | |
| 40484 | 41059 | <type name="MainContext" c:type="GMainContext*"/> | |
| 40485 | 41060 | </parameter> | |
| @@ -40488,8 +41063,10 @@ the @context is running in.</doc> | |||
| 40488 | 41063 | <method name="destroy" c:identifier="g_source_destroy"> | |
| 40489 | 41064 | <doc xml:space="preserve" | |
| 40490 | 41065 | filename="glib/gmain.c" | |
| 40491 | - | line="1336">Removes a source from its [struct@GLib.MainContext], if any, and mark it as | |
| 40492 | - | destroyed. The source cannot be subsequently added to another | |
| 41066 | + | line="1400">Removes a source from its [struct@GLib.MainContext], if any, and marks it as | |
| 41067 | + | destroyed. | |
| 41068 | + | ||
| 41069 | + | The source cannot be subsequently added to another | |
| 40493 | 41070 | context. It is safe to call this on sources which have already been | |
| 40494 | 41071 | removed from their context. | |
| 40495 | 41072 | ||
| @@ -40501,9 +41078,9 @@ the [struct@GLib.MainContext] is running in. | |||
| 40501 | 41078 | ||
| 40502 | 41079 | If the source is currently attached to a [struct@GLib.MainContext], | |
| 40503 | 41080 | destroying it will effectively unset the callback similar to calling | |
| 40504 | - | [method@GLib.Source.set_callback]. This can mean, that the data's | |
| 40505 | - | #GDestroyNotify gets called right away.</doc> | |
| 40506 | - | <source-position filename="glib/gmain.h" line="712"/> | |
| 41081 | + | [method@GLib.Source.set_callback]. This can mean, that the data’s | |
| 41082 | + | [callback@GLib.DestroyNotify] gets called right away.</doc> | |
| 41083 | + | <source-position filename="glib/gmain.h" line="713"/> | |
| 40507 | 41084 | <return-value transfer-ownership="none"> | |
| 40508 | 41085 | <type name="none" c:type="void"/> | |
| 40509 | 41086 | </return-value> | |
| @@ -40511,7 +41088,36 @@ destroying it will effectively unset the callback similar to calling | |||
| 40511 | 41088 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40512 | 41089 | <doc xml:space="preserve" | |
| 40513 | 41090 | filename="glib/gmain.c" | |
| 40514 | - | line="1338">a #GSource</doc> | |
| 41091 | + | line="1402">a source</doc> | |
| 41092 | + | <type name="Source" c:type="GSource*"/> | |
| 41093 | + | </instance-parameter> | |
| 41094 | + | </parameters> | |
| 41095 | + | </method> | |
| 41096 | + | <method name="dup_context" | |
| 41097 | + | c:identifier="g_source_dup_context" | |
| 41098 | + | version="2.86"> | |
| 41099 | + | <doc xml:space="preserve" | |
| 41100 | + | filename="glib/gmain.c" | |
| 41101 | + | line="1511">Gets a reference to the [struct@GLib.MainContext] with which the source is | |
| 41102 | + | associated. | |
| 41103 | + | ||
| 41104 | + | You can call this on a source that has been destroyed. You can | |
| 41105 | + | always call this function on the source returned from | |
| 41106 | + | [func@GLib.main_current_source].</doc> | |
| 41107 | + | <source-position filename="glib/gmain.h" line="731"/> | |
| 41108 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 41109 | + | <doc xml:space="preserve" | |
| 41110 | + | filename="glib/gmain.c" | |
| 41111 | + | line="1522">the [struct@GLib.MainContext] with which | |
| 41112 | + | the source is associated, or `NULL` if the context has not yet been added | |
| 41113 | + | to a source</doc> | |
| 41114 | + | <type name="MainContext" c:type="GMainContext*"/> | |
| 41115 | + | </return-value> | |
| 41116 | + | <parameters> | |
| 41117 | + | <instance-parameter name="source" transfer-ownership="none"> | |
| 41118 | + | <doc xml:space="preserve" | |
| 41119 | + | filename="glib/gmain.c" | |
| 41120 | + | line="1513">a source</doc> | |
| 40515 | 41121 | <type name="Source" c:type="GSource*"/> | |
| 40516 | 41122 | </instance-parameter> | |
| 40517 | 41123 | </parameters> | |
| @@ -40519,20 +41125,21 @@ destroying it will effectively unset the callback similar to calling | |||
| 40519 | 41125 | <method name="get_can_recurse" c:identifier="g_source_get_can_recurse"> | |
| 40520 | 41126 | <doc xml:space="preserve" | |
| 40521 | 41127 | filename="glib/gmain.c" | |
| 40522 | - | line="2025">Checks whether a source is allowed to be called recursively. | |
| 40523 | - | see [method@GLib.Source.set_can_recurse].</doc> | |
| 40524 | - | <source-position filename="glib/gmain.h" line="723"/> | |
| 41128 | + | line="2161">Checks whether a source is allowed to be called recursively. | |
| 41129 | + | ||
| 41130 | + | See [method@GLib.Source.set_can_recurse].</doc> | |
| 41131 | + | <source-position filename="glib/gmain.h" line="724"/> | |
| 40525 | 41132 | <return-value transfer-ownership="none"> | |
| 40526 | 41133 | <doc xml:space="preserve" | |
| 40527 | 41134 | filename="glib/gmain.c" | |
| 40528 | - | line="2032">whether recursion is allowed.</doc> | |
| 41135 | + | line="2169">whether recursion is allowed</doc> | |
| 40529 | 41136 | <type name="gboolean" c:type="gboolean"/> | |
| 40530 | 41137 | </return-value> | |
| 40531 | 41138 | <parameters> | |
| 40532 | 41139 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40533 | 41140 | <doc xml:space="preserve" | |
| 40534 | 41141 | filename="glib/gmain.c" | |
| 40535 | - | line="2027">a #GSource</doc> | |
| 41142 | + | line="2163">a source</doc> | |
| 40536 | 41143 | <type name="Source" c:type="GSource*"/> | |
| 40537 | 41144 | </instance-parameter> | |
| 40538 | 41145 | </parameters> | |
| @@ -40540,28 +41147,32 @@ see [method@GLib.Source.set_can_recurse].</doc> | |||
| 40540 | 41147 | <method name="get_context" c:identifier="g_source_get_context"> | |
| 40541 | 41148 | <doc xml:space="preserve" | |
| 40542 | 41149 | filename="glib/gmain.c" | |
| 40543 | - | line="1405">Gets the [struct@GLib.MainContext] with which the source is associated. | |
| 41150 | + | line="1480">Gets the [struct@GLib.MainContext] with which the source is associated. | |
| 40544 | 41151 | ||
| 40545 | 41152 | You can call this on a source that has been destroyed, provided | |
| 40546 | 41153 | that the [struct@GLib.MainContext] it was attached to still exists (in which | |
| 40547 | 41154 | case it will return that [struct@GLib.MainContext]). In particular, you can | |
| 40548 | 41155 | always call this function on the source returned from | |
| 40549 | 41156 | [func@GLib.main_current_source]. But calling this function on a source | |
| 40550 | - | whose [struct@GLib.MainContext] has been destroyed is an error.</doc> | |
| 40551 | - | <source-position filename="glib/gmain.h" line="728"/> | |
| 41157 | + | whose [struct@GLib.MainContext] has been destroyed is an error. | |
| 41158 | + | ||
| 41159 | + | If the associated [struct@GLib.MainContext] could be destroy concurrently from | |
| 41160 | + | a different thread, then this function is not safe to call and | |
| 41161 | + | [method@GLib.Source.dup_context] should be used instead.</doc> | |
| 41162 | + | <source-position filename="glib/gmain.h" line="729"/> | |
| 40552 | 41163 | <return-value transfer-ownership="none" nullable="1"> | |
| 40553 | 41164 | <doc xml:space="preserve" | |
| 40554 | 41165 | filename="glib/gmain.c" | |
| 40555 | - | line="1418">the #GMainContext with which the | |
| 40556 | - | source is associated, or %NULL if the context has not | |
| 40557 | - | yet been added to a source.</doc> | |
| 41166 | + | line="1497">the main context with which the | |
| 41167 | + | source is associated, or `NULL` if the context has not yet been added to a | |
| 41168 | + | source</doc> | |
| 40558 | 41169 | <type name="MainContext" c:type="GMainContext*"/> | |
| 40559 | 41170 | </return-value> | |
| 40560 | 41171 | <parameters> | |
| 40561 | 41172 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40562 | 41173 | <doc xml:space="preserve" | |
| 40563 | 41174 | filename="glib/gmain.c" | |
| 40564 | - | line="1407">a #GSource</doc> | |
| 41175 | + | line="1482">a source</doc> | |
| 40565 | 41176 | <type name="Source" c:type="GSource*"/> | |
| 40566 | 41177 | </instance-parameter> | |
| 40567 | 41178 | </parameters> | |
| @@ -40572,10 +41183,10 @@ whose [struct@GLib.MainContext] has been destroyed is an error.</doc> | |||
| 40572 | 41183 | deprecated-version="2.28"> | |
| 40573 | 41184 | <doc xml:space="preserve" | |
| 40574 | 41185 | filename="glib/gmain.c" | |
| 40575 | - | line="4837">This function ignores @source and is otherwise the same as | |
| 41186 | + | line="5018">This function ignores @source and is otherwise the same as | |
| 40576 | 41187 | [func@GLib.get_current_time].</doc> | |
| 40577 | 41188 | <doc-deprecated xml:space="preserve">use [method@GLib.Source.get_time] instead</doc-deprecated> | |
| 40578 | - | <source-position filename="glib/gmain.h" line="799"/> | |
| 41189 | + | <source-position filename="glib/gmain.h" line="802"/> | |
| 40579 | 41190 | <return-value transfer-ownership="none"> | |
| 40580 | 41191 | <type name="none" c:type="void"/> | |
| 40581 | 41192 | </return-value> | |
| @@ -40583,13 +41194,13 @@ whose [struct@GLib.MainContext] has been destroyed is an error.</doc> | |||
| 40583 | 41194 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40584 | 41195 | <doc xml:space="preserve" | |
| 40585 | 41196 | filename="glib/gmain.c" | |
| 40586 | - | line="4839">a #GSource</doc> | |
| 41197 | + | line="5020">a source</doc> | |
| 40587 | 41198 | <type name="Source" c:type="GSource*"/> | |
| 40588 | 41199 | </instance-parameter> | |
| 40589 | 41200 | <parameter name="timeval" transfer-ownership="none"> | |
| 40590 | 41201 | <doc xml:space="preserve" | |
| 40591 | 41202 | filename="glib/gmain.c" | |
| 40592 | - | line="4840">#GTimeVal structure in which to store current time.</doc> | |
| 41203 | + | line="5021">[struct@GLib.TimeVal] structure in which to store current time</doc> | |
| 40593 | 41204 | <type name="TimeVal" c:type="GTimeVal*"/> | |
| 40594 | 41205 | </parameter> | |
| 40595 | 41206 | </parameters> | |
| @@ -40597,7 +41208,9 @@ whose [struct@GLib.MainContext] has been destroyed is an error.</doc> | |||
| 40597 | 41208 | <method name="get_id" c:identifier="g_source_get_id"> | |
| 40598 | 41209 | <doc xml:space="preserve" | |
| 40599 | 41210 | filename="glib/gmain.c" | |
| 40600 | - | line="1372">Returns the numeric ID for a particular source. The ID of a source | |
| 41211 | + | line="1441">Returns the numeric ID for a particular source. | |
| 41212 | + | ||
| 41213 | + | The ID of a source | |
| 40601 | 41214 | is a positive integer which is unique within a particular main loop | |
| 40602 | 41215 | context. The reverse mapping from ID to source is done by | |
| 40603 | 41216 | [method@GLib.MainContext.find_source_by_id]. | |
| @@ -40607,18 +41220,18 @@ You can only call this function while the source is associated to a | |||
| 40607 | 41220 | [method@GLib.Source.attach] or after [method@GLib.Source.destroy] yields | |
| 40608 | 41221 | undefined behavior. The ID returned is unique within the | |
| 40609 | 41222 | [struct@GLib.MainContext] instance passed to [method@GLib.Source.attach].</doc> | |
| 40610 | - | <source-position filename="glib/gmain.h" line="725"/> | |
| 41223 | + | <source-position filename="glib/gmain.h" line="726"/> | |
| 40611 | 41224 | <return-value transfer-ownership="none"> | |
| 40612 | 41225 | <doc xml:space="preserve" | |
| 40613 | 41226 | filename="glib/gmain.c" | |
| 40614 | - | line="1387">the ID (greater than 0) for the source</doc> | |
| 41227 | + | line="1458">the ID (greater than 0) for the source</doc> | |
| 40615 | 41228 | <type name="guint" c:type="guint"/> | |
| 40616 | 41229 | </return-value> | |
| 40617 | 41230 | <parameters> | |
| 40618 | 41231 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40619 | 41232 | <doc xml:space="preserve" | |
| 40620 | 41233 | filename="glib/gmain.c" | |
| 40621 | - | line="1374">a #GSource</doc> | |
| 41234 | + | line="1443">a source</doc> | |
| 40622 | 41235 | <type name="Source" c:type="GSource*"/> | |
| 40623 | 41236 | </instance-parameter> | |
| 40624 | 41237 | </parameters> | |
| @@ -40626,20 +41239,22 @@ undefined behavior. The ID returned is unique within the | |||
| 40626 | 41239 | <method name="get_name" c:identifier="g_source_get_name" version="2.26"> | |
| 40627 | 41240 | <doc xml:space="preserve" | |
| 40628 | 41241 | filename="glib/gmain.c" | |
| 40629 | - | line="2130">Gets a name for the source, used in debugging and profiling. The | |
| 40630 | - | name may be #NULL if it has never been set with [method@GLib.Source.set_name].</doc> | |
| 40631 | - | <source-position filename="glib/gmain.h" line="749"/> | |
| 41242 | + | line="2272">Gets a name for the source, used in debugging and profiling. | |
| 41243 | + | ||
| 41244 | + | The | |
| 41245 | + | name may be `NULL` if it has never been set with [method@GLib.Source.set_name].</doc> | |
| 41246 | + | <source-position filename="glib/gmain.h" line="752"/> | |
| 40632 | 41247 | <return-value transfer-ownership="none" nullable="1"> | |
| 40633 | 41248 | <doc xml:space="preserve" | |
| 40634 | 41249 | filename="glib/gmain.c" | |
| 40635 | - | line="2137">the name of the source</doc> | |
| 41250 | + | line="2281">the name of the source</doc> | |
| 40636 | 41251 | <type name="utf8" c:type="const char*"/> | |
| 40637 | 41252 | </return-value> | |
| 40638 | 41253 | <parameters> | |
| 40639 | 41254 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40640 | 41255 | <doc xml:space="preserve" | |
| 40641 | 41256 | filename="glib/gmain.c" | |
| 40642 | - | line="2132">a #GSource</doc> | |
| 41257 | + | line="2274">a source</doc> | |
| 40643 | 41258 | <type name="Source" c:type="GSource*"/> | |
| 40644 | 41259 | </instance-parameter> | |
| 40645 | 41260 | </parameters> | |
| @@ -40647,19 +41262,19 @@ name may be #NULL if it has never been set with [method@GLib.Source.set_name].</ | |||
| 40647 | 41262 | <method name="get_priority" c:identifier="g_source_get_priority"> | |
| 40648 | 41263 | <doc xml:space="preserve" | |
| 40649 | 41264 | filename="glib/gmain.c" | |
| 40650 | - | line="1888">Gets the priority of a source.</doc> | |
| 40651 | - | <source-position filename="glib/gmain.h" line="718"/> | |
| 41265 | + | line="2015">Gets the priority of a source.</doc> | |
| 41266 | + | <source-position filename="glib/gmain.h" line="719"/> | |
| 40652 | 41267 | <return-value transfer-ownership="none"> | |
| 40653 | 41268 | <doc xml:space="preserve" | |
| 40654 | 41269 | filename="glib/gmain.c" | |
| 40655 | - | line="1894">the priority of the source</doc> | |
| 41270 | + | line="2021">the priority of the source</doc> | |
| 40656 | 41271 | <type name="gint" c:type="gint"/> | |
| 40657 | 41272 | </return-value> | |
| 40658 | 41273 | <parameters> | |
| 40659 | 41274 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40660 | 41275 | <doc xml:space="preserve" | |
| 40661 | 41276 | filename="glib/gmain.c" | |
| 40662 | - | line="1890">a #GSource</doc> | |
| 41277 | + | line="2017">a source</doc> | |
| 40663 | 41278 | <type name="Source" c:type="GSource*"/> | |
| 40664 | 41279 | </instance-parameter> | |
| 40665 | 41280 | </parameters> | |
| @@ -40667,23 +41282,23 @@ name may be #NULL if it has never been set with [method@GLib.Source.set_name].</ | |||
| 40667 | 41282 | <method name="get_ready_time" c:identifier="g_source_get_ready_time"> | |
| 40668 | 41283 | <doc xml:space="preserve" | |
| 40669 | 41284 | filename="glib/gmain.c" | |
| 40670 | - | line="1971">Gets the "ready time" of @source, as set by | |
| 41285 | + | line="2103">Gets the ‘ready time’ of @source, as set by | |
| 40671 | 41286 | [method@GLib.Source.set_ready_time]. | |
| 40672 | 41287 | ||
| 40673 | - | Any time before or equal to the current monotonic time (including 0) | |
| 41288 | + | Any time before or equal to the current monotonic time (including zero) | |
| 40674 | 41289 | is an indication that the source will fire immediately.</doc> | |
| 40675 | - | <source-position filename="glib/gmain.h" line="758"/> | |
| 41290 | + | <source-position filename="glib/gmain.h" line="761"/> | |
| 40676 | 41291 | <return-value transfer-ownership="none"> | |
| 40677 | 41292 | <doc xml:space="preserve" | |
| 40678 | 41293 | filename="glib/gmain.c" | |
| 40679 | - | line="1981">the monotonic ready time, -1 for "never"</doc> | |
| 41294 | + | line="2113">the monotonic ready time, `-1` for ‘never’</doc> | |
| 40680 | 41295 | <type name="gint64" c:type="gint64"/> | |
| 40681 | 41296 | </return-value> | |
| 40682 | 41297 | <parameters> | |
| 40683 | 41298 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40684 | 41299 | <doc xml:space="preserve" | |
| 40685 | 41300 | filename="glib/gmain.c" | |
| 40686 | - | line="1973">a #GSource</doc> | |
| 41301 | + | line="2105">a source</doc> | |
| 40687 | 41302 | <type name="Source" c:type="GSource*"/> | |
| 40688 | 41303 | </instance-parameter> | |
| 40689 | 41304 | </parameters> | |
| @@ -40691,25 +41306,27 @@ is an indication that the source will fire immediately.</doc> | |||
| 40691 | 41306 | <method name="get_time" c:identifier="g_source_get_time" version="2.28"> | |
| 40692 | 41307 | <doc xml:space="preserve" | |
| 40693 | 41308 | filename="glib/gmain.c" | |
| 40694 | - | line="4856">Gets the time to be used when checking this source. The advantage of | |
| 41309 | + | line="5037">Gets the time to be used when checking this source. | |
| 41310 | + | ||
| 41311 | + | The advantage of | |
| 40695 | 41312 | calling this function over calling [func@GLib.get_monotonic_time] directly is | |
| 40696 | 41313 | that when checking multiple sources, GLib can cache a single value | |
| 40697 | 41314 | instead of having to repeatedly get the system monotonic time. | |
| 40698 | 41315 | ||
| 40699 | 41316 | The time here is the system monotonic time, if available, or some | |
| 40700 | 41317 | other reasonable alternative otherwise. See [func@GLib.get_monotonic_time].</doc> | |
| 40701 | - | <source-position filename="glib/gmain.h" line="804"/> | |
| 41318 | + | <source-position filename="glib/gmain.h" line="807"/> | |
| 40702 | 41319 | <return-value transfer-ownership="none"> | |
| 40703 | 41320 | <doc xml:space="preserve" | |
| 40704 | 41321 | filename="glib/gmain.c" | |
| 40705 | - | line="4868">the monotonic time in microseconds</doc> | |
| 41322 | + | line="5051">the monotonic time in microseconds</doc> | |
| 40706 | 41323 | <type name="gint64" c:type="gint64"/> | |
| 40707 | 41324 | </return-value> | |
| 40708 | 41325 | <parameters> | |
| 40709 | 41326 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40710 | 41327 | <doc xml:space="preserve" | |
| 40711 | 41328 | filename="glib/gmain.c" | |
| 40712 | - | line="4858">a #GSource</doc> | |
| 41329 | + | line="5039">a source</doc> | |
| 40713 | 41330 | <type name="Source" c:type="GSource*"/> | |
| 40714 | 41331 | </instance-parameter> | |
| 40715 | 41332 | </parameters> | |
| @@ -40719,13 +41336,13 @@ other reasonable alternative otherwise. See [func@GLib.get_monotonic_time].</do | |||
| 40719 | 41336 | version="2.12"> | |
| 40720 | 41337 | <doc xml:space="preserve" | |
| 40721 | 41338 | filename="glib/gmain.c" | |
| 40722 | - | line="3172">Returns whether @source has been destroyed. | |
| 41339 | + | line="3338">Returns whether @source has been destroyed. | |
| 40723 | 41340 | ||
| 40724 | 41341 | This is important when you operate upon your objects | |
| 40725 | 41342 | from within idle handlers, but may have freed the object | |
| 40726 | 41343 | before the dispatch of your idle handler. | |
| 40727 | 41344 | ||
| 40728 | - | |[<!-- language="C" --> | |
| 41345 | + | ```c | |
| 40729 | 41346 | static gboolean | |
| 40730 | 41347 | idle_callback (gpointer data) | |
| 40731 | 41348 | { | |
| @@ -40767,7 +41384,7 @@ some_widget_finalize (GObject *object) | |||
| 40767 | 41384 | ||
| 40768 | 41385 | G_OBJECT_CLASS (parent_class)->finalize (object); | |
| 40769 | 41386 | } | |
| 40770 | - | ]| | |
| 41387 | + | ``` | |
| 40771 | 41388 | ||
| 40772 | 41389 | This will fail in a multi-threaded application if the | |
| 40773 | 41390 | widget is destroyed before the idle handler fires due | |
| @@ -40775,7 +41392,7 @@ to the use after free in the callback. A solution, to | |||
| 40775 | 41392 | this particular problem, is to check to if the source | |
| 40776 | 41393 | has already been destroy within the callback. | |
| 40777 | 41394 | ||
| 40778 | - | |[<!-- language="C" --> | |
| 41395 | + | ```c | |
| 40779 | 41396 | static gboolean | |
| 40780 | 41397 | idle_callback (gpointer data) | |
| 40781 | 41398 | { | |
| @@ -40790,25 +41407,25 @@ idle_callback (gpointer data) | |||
| 40790 | 41407 | ||
| 40791 | 41408 | return FALSE; | |
| 40792 | 41409 | } | |
| 40793 | - | ]| | |
| 41410 | + | ``` | |
| 40794 | 41411 | ||
| 40795 | 41412 | Calls to this function from a thread other than the one acquired by the | |
| 40796 | - | [struct@GLib.MainContext] the #GSource is attached to are typically | |
| 41413 | + | [struct@GLib.MainContext] the [struct@GLib.Source] is attached to are typically | |
| 40797 | 41414 | redundant, as the source could be destroyed immediately after this function | |
| 40798 | 41415 | returns. However, once a source is destroyed it cannot be un-destroyed, so | |
| 40799 | 41416 | this function can be used for opportunistic checks from any thread.</doc> | |
| 40800 | - | <source-position filename="glib/gmain.h" line="740"/> | |
| 41417 | + | <source-position filename="glib/gmain.h" line="743"/> | |
| 40801 | 41418 | <return-value transfer-ownership="none"> | |
| 40802 | 41419 | <doc xml:space="preserve" | |
| 40803 | 41420 | filename="glib/gmain.c" | |
| 40804 | - | line="3255">%TRUE if the source has been destroyed</doc> | |
| 41421 | + | line="3421">true if the source has been destroyed, false otherwise</doc> | |
| 40805 | 41422 | <type name="gboolean" c:type="gboolean"/> | |
| 40806 | 41423 | </return-value> | |
| 40807 | 41424 | <parameters> | |
| 40808 | 41425 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40809 | 41426 | <doc xml:space="preserve" | |
| 40810 | 41427 | filename="glib/gmain.c" | |
| 40811 | - | line="3174">a #GSource</doc> | |
| 41428 | + | line="3340">a source</doc> | |
| 40812 | 41429 | <type name="Source" c:type="GSource*"/> | |
| 40813 | 41430 | </instance-parameter> | |
| 40814 | 41431 | </parameters> | |
| @@ -40818,18 +41435,18 @@ this function can be used for opportunistic checks from any thread.</doc> | |||
| 40818 | 41435 | version="2.36"> | |
| 40819 | 41436 | <doc xml:space="preserve" | |
| 40820 | 41437 | filename="glib/gmain.c" | |
| 40821 | - | line="2710">Updates the event mask to watch for the fd identified by @tag. | |
| 41438 | + | line="2870">Updates the event mask to watch for the file descriptor identified by @tag. | |
| 40822 | 41439 | ||
| 40823 | - | @tag is the tag returned from [method@GLib.Source.add_unix_fd]. | |
| 41440 | + | The @tag is the tag returned from [method@GLib.Source.add_unix_fd]. | |
| 40824 | 41441 | ||
| 40825 | - | If you want to remove a fd, don't set its event mask to zero. | |
| 41442 | + | If you want to remove a file descriptor, don’t set its event mask to zero. | |
| 40826 | 41443 | Instead, call [method@GLib.Source.remove_unix_fd]. | |
| 40827 | 41444 | ||
| 40828 | - | This API is only intended to be used by implementations of #GSource. | |
| 40829 | - | Do not call this API on a #GSource that you did not create. | |
| 41445 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 41446 | + | Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 40830 | 41447 | ||
| 40831 | 41448 | As the name suggests, this function is not available on Windows.</doc> | |
| 40832 | - | <source-position filename="glib/gmain.h" line="766"/> | |
| 41449 | + | <source-position filename="glib/gmain.h" line="769"/> | |
| 40833 | 41450 | <return-value transfer-ownership="none"> | |
| 40834 | 41451 | <type name="none" c:type="void"/> | |
| 40835 | 41452 | </return-value> | |
| @@ -40837,19 +41454,19 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 40837 | 41454 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40838 | 41455 | <doc xml:space="preserve" | |
| 40839 | 41456 | filename="glib/gmain.c" | |
| 40840 | - | line="2712">a #GSource</doc> | |
| 41457 | + | line="2872">a source</doc> | |
| 40841 | 41458 | <type name="Source" c:type="GSource*"/> | |
| 40842 | 41459 | </instance-parameter> | |
| 40843 | 41460 | <parameter name="tag" transfer-ownership="none"> | |
| 40844 | 41461 | <doc xml:space="preserve" | |
| 40845 | 41462 | filename="glib/gmain.c" | |
| 40846 | - | line="2713">the tag from [method@GLib.Source.add_unix_fd]</doc> | |
| 41463 | + | line="2873">the tag from [method@GLib.Source.add_unix_fd]</doc> | |
| 40847 | 41464 | <type name="gpointer" c:type="gpointer"/> | |
| 40848 | 41465 | </parameter> | |
| 40849 | 41466 | <parameter name="new_events" transfer-ownership="none"> | |
| 40850 | 41467 | <doc xml:space="preserve" | |
| 40851 | 41468 | filename="glib/gmain.c" | |
| 40852 | - | line="2714">the new event mask to watch</doc> | |
| 41469 | + | line="2874">the new event mask to watch</doc> | |
| 40853 | 41470 | <type name="IOCondition" c:type="GIOCondition"/> | |
| 40854 | 41471 | </parameter> | |
| 40855 | 41472 | </parameters> | |
| @@ -40859,34 +41476,34 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 40859 | 41476 | version="2.36"> | |
| 40860 | 41477 | <doc xml:space="preserve" | |
| 40861 | 41478 | filename="glib/gmain.c" | |
| 40862 | - | line="2799">Queries the events reported for the fd corresponding to @tag on | |
| 40863 | - | @source during the last poll. | |
| 41479 | + | line="2963">Queries the events reported for the file descriptor corresponding to @tag | |
| 41480 | + | on @source during the last poll. | |
| 40864 | 41481 | ||
| 40865 | 41482 | The return value of this function is only defined when the function | |
| 40866 | 41483 | is called from the check or dispatch functions for @source. | |
| 40867 | 41484 | ||
| 40868 | - | This API is only intended to be used by implementations of #GSource. | |
| 40869 | - | Do not call this API on a #GSource that you did not create. | |
| 41485 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 41486 | + | Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 40870 | 41487 | ||
| 40871 | 41488 | As the name suggests, this function is not available on Windows.</doc> | |
| 40872 | - | <source-position filename="glib/gmain.h" line="773"/> | |
| 41489 | + | <source-position filename="glib/gmain.h" line="776"/> | |
| 40873 | 41490 | <return-value transfer-ownership="none"> | |
| 40874 | 41491 | <doc xml:space="preserve" | |
| 40875 | 41492 | filename="glib/gmain.c" | |
| 40876 | - | line="2815">the conditions reported on the fd</doc> | |
| 41493 | + | line="2979">the conditions reported on the file descriptor</doc> | |
| 40877 | 41494 | <type name="IOCondition" c:type="GIOCondition"/> | |
| 40878 | 41495 | </return-value> | |
| 40879 | 41496 | <parameters> | |
| 40880 | 41497 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40881 | 41498 | <doc xml:space="preserve" | |
| 40882 | 41499 | filename="glib/gmain.c" | |
| 40883 | - | line="2801">a #GSource</doc> | |
| 41500 | + | line="2965">a source</doc> | |
| 40884 | 41501 | <type name="Source" c:type="GSource*"/> | |
| 40885 | 41502 | </instance-parameter> | |
| 40886 | 41503 | <parameter name="tag" transfer-ownership="none"> | |
| 40887 | 41504 | <doc xml:space="preserve" | |
| 40888 | 41505 | filename="glib/gmain.c" | |
| 40889 | - | line="2802">the tag from [method@GLib.Source.add_unix_fd]</doc> | |
| 41506 | + | line="2966">the tag from [method@GLib.Source.add_unix_fd]</doc> | |
| 40890 | 41507 | <type name="gpointer" c:type="gpointer"/> | |
| 40891 | 41508 | </parameter> | |
| 40892 | 41509 | </parameters> | |
| @@ -40894,19 +41511,19 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 40894 | 41511 | <method name="ref" c:identifier="g_source_ref"> | |
| 40895 | 41512 | <doc xml:space="preserve" | |
| 40896 | 41513 | filename="glib/gmain.c" | |
| 40897 | - | line="2190">Increases the reference count on a source by one.</doc> | |
| 40898 | - | <source-position filename="glib/gmain.h" line="704"/> | |
| 41514 | + | line="2333">Increases the reference count on a source by one.</doc> | |
| 41515 | + | <source-position filename="glib/gmain.h" line="705"/> | |
| 40899 | 41516 | <return-value transfer-ownership="full"> | |
| 40900 | 41517 | <doc xml:space="preserve" | |
| 40901 | 41518 | filename="glib/gmain.c" | |
| 40902 | - | line="2196">@source</doc> | |
| 41519 | + | line="2339">@source</doc> | |
| 40903 | 41520 | <type name="Source" c:type="GSource*"/> | |
| 40904 | 41521 | </return-value> | |
| 40905 | 41522 | <parameters> | |
| 40906 | 41523 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40907 | 41524 | <doc xml:space="preserve" | |
| 40908 | 41525 | filename="glib/gmain.c" | |
| 40909 | - | line="2192">a #GSource</doc> | |
| 41526 | + | line="2335">a source</doc> | |
| 40910 | 41527 | <type name="Source" c:type="GSource*"/> | |
| 40911 | 41528 | </instance-parameter> | |
| 40912 | 41529 | </parameters> | |
| @@ -40916,11 +41533,11 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 40916 | 41533 | version="2.28"> | |
| 40917 | 41534 | <doc xml:space="preserve" | |
| 40918 | 41535 | filename="glib/gmain.c" | |
| 40919 | - | line="1590">Detaches @child_source from @source and destroys it. | |
| 41536 | + | line="1702">Detaches @child_source from @source and destroys it. | |
| 40920 | 41537 | ||
| 40921 | - | This API is only intended to be used by implementations of #GSource. | |
| 40922 | - | Do not call this API on a #GSource that you did not create.</doc> | |
| 40923 | - | <source-position filename="glib/gmain.h" line="794"/> | |
| 41538 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 41539 | + | Do not call this API on a [struct@GLib.Source] that you did not create.</doc> | |
| 41540 | + | <source-position filename="glib/gmain.h" line="797"/> | |
| 40924 | 41541 | <return-value transfer-ownership="none"> | |
| 40925 | 41542 | <type name="none" c:type="void"/> | |
| 40926 | 41543 | </return-value> | |
| @@ -40928,14 +41545,14 @@ Do not call this API on a #GSource that you did not create.</doc> | |||
| 40928 | 41545 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40929 | 41546 | <doc xml:space="preserve" | |
| 40930 | 41547 | filename="glib/gmain.c" | |
| 40931 | - | line="1592">a #GSource</doc> | |
| 41548 | + | line="1704">a source</doc> | |
| 40932 | 41549 | <type name="Source" c:type="GSource*"/> | |
| 40933 | 41550 | </instance-parameter> | |
| 40934 | 41551 | <parameter name="child_source" transfer-ownership="none"> | |
| 40935 | 41552 | <doc xml:space="preserve" | |
| 40936 | 41553 | filename="glib/gmain.c" | |
| 40937 | - | line="1593">a #GSource previously passed to | |
| 40938 | - | [method@GLib.Source.add_child_source].</doc> | |
| 41554 | + | line="1705">a source previously passed to | |
| 41555 | + | [method@GLib.Source.add_child_source]</doc> | |
| 40939 | 41556 | <type name="Source" c:type="GSource*"/> | |
| 40940 | 41557 | </parameter> | |
| 40941 | 41558 | </parameters> | |
| @@ -40943,12 +41560,12 @@ Do not call this API on a #GSource that you did not create.</doc> | |||
| 40943 | 41560 | <method name="remove_poll" c:identifier="g_source_remove_poll"> | |
| 40944 | 41561 | <doc xml:space="preserve" | |
| 40945 | 41562 | filename="glib/gmain.c" | |
| 40946 | - | line="1477">Removes a file descriptor from the set of file descriptors polled for | |
| 41563 | + | line="1585">Removes a file descriptor from the set of file descriptors polled for | |
| 40947 | 41564 | this source. | |
| 40948 | 41565 | ||
| 40949 | 41566 | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 40950 | 41567 | Do not call this API on a [struct@GLib.Source] that you did not create.</doc> | |
| 40951 | - | <source-position filename="glib/gmain.h" line="787"/> | |
| 41568 | + | <source-position filename="glib/gmain.h" line="790"/> | |
| 40952 | 41569 | <return-value transfer-ownership="none"> | |
| 40953 | 41570 | <type name="none" c:type="void"/> | |
| 40954 | 41571 | </return-value> | |
| @@ -40956,13 +41573,14 @@ Do not call this API on a [struct@GLib.Source] that you did not create.</doc> | |||
| 40956 | 41573 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40957 | 41574 | <doc xml:space="preserve" | |
| 40958 | 41575 | filename="glib/gmain.c" | |
| 40959 | - | line="1479">a #GSource</doc> | |
| 41576 | + | line="1587">a source</doc> | |
| 40960 | 41577 | <type name="Source" c:type="GSource*"/> | |
| 40961 | 41578 | </instance-parameter> | |
| 40962 | 41579 | <parameter name="fd" transfer-ownership="none"> | |
| 40963 | 41580 | <doc xml:space="preserve" | |
| 40964 | 41581 | filename="glib/gmain.c" | |
| 40965 | - | line="1480">a #GPollFD structure previously passed to [method@GLib.Source.add_poll].</doc> | |
| 41582 | + | line="1588">a [struct@GLib.PollFD] structure previously passed to | |
| 41583 | + | [method@GLib.Source.add_poll]</doc> | |
| 40966 | 41584 | <type name="PollFD" c:type="GPollFD*"/> | |
| 40967 | 41585 | </parameter> | |
| 40968 | 41586 | </parameters> | |
| @@ -40972,17 +41590,17 @@ Do not call this API on a [struct@GLib.Source] that you did not create.</doc> | |||
| 40972 | 41590 | version="2.36"> | |
| 40973 | 41591 | <doc xml:space="preserve" | |
| 40974 | 41592 | filename="glib/gmain.c" | |
| 40975 | - | line="2751">Reverses the effect of a previous call to [method@GLib.Source.add_unix_fd]. | |
| 41593 | + | line="2914">Reverses the effect of a previous call to [method@GLib.Source.add_unix_fd]. | |
| 40976 | 41594 | ||
| 40977 | - | You only need to call this if you want to remove an fd from being | |
| 41595 | + | You only need to call this if you want to remove a file descriptor from being | |
| 40978 | 41596 | watched while keeping the same source around. In the normal case you | |
| 40979 | 41597 | will just want to destroy the source. | |
| 40980 | 41598 | ||
| 40981 | - | This API is only intended to be used by implementations of #GSource. | |
| 40982 | - | Do not call this API on a #GSource that you did not create. | |
| 41599 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 41600 | + | Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 40983 | 41601 | ||
| 40984 | 41602 | As the name suggests, this function is not available on Windows.</doc> | |
| 40985 | - | <source-position filename="glib/gmain.h" line="770"/> | |
| 41603 | + | <source-position filename="glib/gmain.h" line="773"/> | |
| 40986 | 41604 | <return-value transfer-ownership="none"> | |
| 40987 | 41605 | <type name="none" c:type="void"/> | |
| 40988 | 41606 | </return-value> | |
| @@ -40990,13 +41608,13 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 40990 | 41608 | <instance-parameter name="source" transfer-ownership="none"> | |
| 40991 | 41609 | <doc xml:space="preserve" | |
| 40992 | 41610 | filename="glib/gmain.c" | |
| 40993 | - | line="2753">a #GSource</doc> | |
| 41611 | + | line="2916">a source</doc> | |
| 40994 | 41612 | <type name="Source" c:type="GSource*"/> | |
| 40995 | 41613 | </instance-parameter> | |
| 40996 | 41614 | <parameter name="tag" transfer-ownership="none"> | |
| 40997 | 41615 | <doc xml:space="preserve" | |
| 40998 | 41616 | filename="glib/gmain.c" | |
| 40999 | - | line="2754">the tag from [method@GLib.Source.add_unix_fd]</doc> | |
| 41617 | + | line="2917">the tag from [method@GLib.Source.add_unix_fd]</doc> | |
| 41000 | 41618 | <type name="gpointer" c:type="gpointer"/> | |
| 41001 | 41619 | </parameter> | |
| 41002 | 41620 | </parameters> | |
| @@ -41004,18 +41622,18 @@ As the name suggests, this function is not available on Windows.</doc> | |||
| 41004 | 41622 | <method name="set_callback" c:identifier="g_source_set_callback"> | |
| 41005 | 41623 | <doc xml:space="preserve" | |
| 41006 | 41624 | filename="glib/gmain.c" | |
| 41007 | - | line="1724">Sets the callback function for a source. The callback for a source is | |
| 41008 | - | called from the source's dispatch function. | |
| 41625 | + | line="1844">Sets the callback function for a source. The callback for a source is | |
| 41626 | + | called from the source’s dispatch function. | |
| 41009 | 41627 | ||
| 41010 | 41628 | The exact type of @func depends on the type of source; ie. you | |
| 41011 | 41629 | should not count on @func being called with @data as its first | |
| 41012 | 41630 | parameter. Cast @func with [func@GLib.SOURCE_FUNC] to avoid warnings about | |
| 41013 | 41631 | incompatible function types. | |
| 41014 | 41632 | ||
| 41015 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 41633 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 41016 | 41634 | on how to handle memory management of @data. | |
| 41017 | 41635 | ||
| 41018 | - | Typically, you won't use this function. Instead use functions specific | |
| 41636 | + | Typically, you won’t use this function. Instead use functions specific | |
| 41019 | 41637 | to the type of source you are using, such as [func@GLib.idle_add] or | |
| 41020 | 41638 | [func@GLib.timeout_add]. | |
| 41021 | 41639 | ||
| @@ -41025,7 +41643,7 @@ the source is dispatched after this call returns. | |||
| 41025 | 41643 | ||
| 41026 | 41644 | Note that [method@GLib.Source.destroy] for a currently attached source has the effect | |
| 41027 | 41645 | of also unsetting the callback.</doc> | |
| 41028 | - | <source-position filename="glib/gmain.h" line="731"/> | |
| 41646 | + | <source-position filename="glib/gmain.h" line="734"/> | |
| 41029 | 41647 | <return-value transfer-ownership="none"> | |
| 41030 | 41648 | <type name="none" c:type="void"/> | |
| 41031 | 41649 | </return-value> | |
| @@ -41033,7 +41651,7 @@ of also unsetting the callback.</doc> | |||
| 41033 | 41651 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41034 | 41652 | <doc xml:space="preserve" | |
| 41035 | 41653 | filename="glib/gmain.c" | |
| 41036 | - | line="1726">the source</doc> | |
| 41654 | + | line="1846">the source</doc> | |
| 41037 | 41655 | <type name="Source" c:type="GSource*"/> | |
| 41038 | 41656 | </instance-parameter> | |
| 41039 | 41657 | <parameter name="func" | |
| @@ -41043,7 +41661,7 @@ of also unsetting the callback.</doc> | |||
| 41043 | 41661 | destroy="2"> | |
| 41044 | 41662 | <doc xml:space="preserve" | |
| 41045 | 41663 | filename="glib/gmain.c" | |
| 41046 | - | line="1727">a callback function</doc> | |
| 41664 | + | line="1847">a callback function</doc> | |
| 41047 | 41665 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 41048 | 41666 | </parameter> | |
| 41049 | 41667 | <parameter name="data" | |
| @@ -41052,7 +41670,7 @@ of also unsetting the callback.</doc> | |||
| 41052 | 41670 | allow-none="1"> | |
| 41053 | 41671 | <doc xml:space="preserve" | |
| 41054 | 41672 | filename="glib/gmain.c" | |
| 41055 | - | line="1728">the data to pass to callback function</doc> | |
| 41673 | + | line="1848">the data to pass to callback function</doc> | |
| 41056 | 41674 | <type name="gpointer" c:type="gpointer"/> | |
| 41057 | 41675 | </parameter> | |
| 41058 | 41676 | <parameter name="notify" | |
| @@ -41062,7 +41680,7 @@ of also unsetting the callback.</doc> | |||
| 41062 | 41680 | scope="async"> | |
| 41063 | 41681 | <doc xml:space="preserve" | |
| 41064 | 41682 | filename="glib/gmain.c" | |
| 41065 | - | line="1729">a function to call when @data is no longer in use, or %NULL.</doc> | |
| 41683 | + | line="1849">a function to call when @data is no longer in use</doc> | |
| 41066 | 41684 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 41067 | 41685 | </parameter> | |
| 41068 | 41686 | </parameters> | |
| @@ -41071,17 +41689,19 @@ of also unsetting the callback.</doc> | |||
| 41071 | 41689 | c:identifier="g_source_set_callback_indirect"> | |
| 41072 | 41690 | <doc xml:space="preserve" | |
| 41073 | 41691 | filename="glib/gmain.c" | |
| 41074 | - | line="1667">Sets the callback function storing the data as a refcounted callback | |
| 41075 | - | "object". This is used internally. Note that calling | |
| 41692 | + | line="1782">Sets the callback function storing the data as a reference counted callback | |
| 41693 | + | ‘object’. | |
| 41694 | + | ||
| 41695 | + | This is used internally. Note that calling | |
| 41076 | 41696 | [method@GLib.Source.set_callback_indirect] assumes | |
| 41077 | 41697 | an initial reference count on @callback_data, and thus | |
| 41078 | - | @callback_funcs->unref will eventually be called once more | |
| 41079 | - | than @callback_funcs->ref. | |
| 41698 | + | `callback_funcs->unref` will eventually be called once more than | |
| 41699 | + | `callback_funcs->ref`. | |
| 41080 | 41700 | ||
| 41081 | 41701 | It is safe to call this function multiple times on a source which has already | |
| 41082 | 41702 | been attached to a context. The changes will take effect for the next time | |
| 41083 | 41703 | the source is dispatched after this call returns.</doc> | |
| 41084 | - | <source-position filename="glib/gmain.h" line="779"/> | |
| 41704 | + | <source-position filename="glib/gmain.h" line="782"/> | |
| 41085 | 41705 | <return-value transfer-ownership="none"> | |
| 41086 | 41706 | <type name="none" c:type="void"/> | |
| 41087 | 41707 | </return-value> | |
| @@ -41089,7 +41709,7 @@ the source is dispatched after this call returns.</doc> | |||
| 41089 | 41709 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41090 | 41710 | <doc xml:space="preserve" | |
| 41091 | 41711 | filename="glib/gmain.c" | |
| 41092 | - | line="1669">the source</doc> | |
| 41712 | + | line="1784">the source</doc> | |
| 41093 | 41713 | <type name="Source" c:type="GSource*"/> | |
| 41094 | 41714 | </instance-parameter> | |
| 41095 | 41715 | <parameter name="callback_data" | |
| @@ -41098,14 +41718,14 @@ the source is dispatched after this call returns.</doc> | |||
| 41098 | 41718 | allow-none="1"> | |
| 41099 | 41719 | <doc xml:space="preserve" | |
| 41100 | 41720 | filename="glib/gmain.c" | |
| 41101 | - | line="1670">pointer to callback data "object"</doc> | |
| 41721 | + | line="1785">pointer to callback data ‘object’</doc> | |
| 41102 | 41722 | <type name="gpointer" c:type="gpointer"/> | |
| 41103 | 41723 | </parameter> | |
| 41104 | 41724 | <parameter name="callback_funcs" transfer-ownership="none"> | |
| 41105 | 41725 | <doc xml:space="preserve" | |
| 41106 | 41726 | filename="glib/gmain.c" | |
| 41107 | - | line="1671">functions for reference counting @callback_data | |
| 41108 | - | and getting the callback and data</doc> | |
| 41727 | + | line="1786">functions for reference counting @callback_data | |
| 41728 | + | and getting the callback and data</doc> | |
| 41109 | 41729 | <type name="SourceCallbackFuncs" c:type="GSourceCallbackFuncs*"/> | |
| 41110 | 41730 | </parameter> | |
| 41111 | 41731 | </parameters> | |
| @@ -41113,11 +41733,12 @@ the source is dispatched after this call returns.</doc> | |||
| 41113 | 41733 | <method name="set_can_recurse" c:identifier="g_source_set_can_recurse"> | |
| 41114 | 41734 | <doc xml:space="preserve" | |
| 41115 | 41735 | filename="glib/gmain.c" | |
| 41116 | - | line="1992">Sets whether a source can be called recursively. If @can_recurse is | |
| 41117 | - | %TRUE, then while the source is being dispatched then this source | |
| 41118 | - | will be processed normally. Otherwise, all processing of this | |
| 41736 | + | line="2124">Sets whether a source can be called recursively. | |
| 41737 | + | ||
| 41738 | + | If @can_recurse is true, then while the source is being dispatched then this | |
| 41739 | + | source will be processed normally. Otherwise, all processing of this | |
| 41119 | 41740 | source is blocked until the dispatch function returns.</doc> | |
| 41120 | - | <source-position filename="glib/gmain.h" line="720"/> | |
| 41741 | + | <source-position filename="glib/gmain.h" line="721"/> | |
| 41121 | 41742 | <return-value transfer-ownership="none"> | |
| 41122 | 41743 | <type name="none" c:type="void"/> | |
| 41123 | 41744 | </return-value> | |
| @@ -41125,13 +41746,13 @@ source is blocked until the dispatch function returns.</doc> | |||
| 41125 | 41746 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41126 | 41747 | <doc xml:space="preserve" | |
| 41127 | 41748 | filename="glib/gmain.c" | |
| 41128 | - | line="1994">a #GSource</doc> | |
| 41749 | + | line="2126">a source</doc> | |
| 41129 | 41750 | <type name="Source" c:type="GSource*"/> | |
| 41130 | 41751 | </instance-parameter> | |
| 41131 | 41752 | <parameter name="can_recurse" transfer-ownership="none"> | |
| 41132 | 41753 | <doc xml:space="preserve" | |
| 41133 | 41754 | filename="glib/gmain.c" | |
| 41134 | - | line="1995">whether recursion is allowed for this source</doc> | |
| 41755 | + | line="2127">whether recursion is allowed for this source</doc> | |
| 41135 | 41756 | <type name="gboolean" c:type="gboolean"/> | |
| 41136 | 41757 | </parameter> | |
| 41137 | 41758 | </parameters> | |
| @@ -41142,24 +41763,27 @@ source is blocked until the dispatch function returns.</doc> | |||
| 41142 | 41763 | introspectable="0"> | |
| 41143 | 41764 | <doc xml:space="preserve" | |
| 41144 | 41765 | filename="glib/gmain.c" | |
| 41145 | - | line="953">Set @dispose as dispose function on @source. @dispose will be called once | |
| 41146 | - | the reference count of @source reaches 0 but before any of the state of the | |
| 41147 | - | source is freed, especially before the finalize function is called. | |
| 41766 | + | line="996">Set @dispose as dispose function on @source. | |
| 41767 | + | ||
| 41768 | + | The @dispose function will be called once the reference count of @source | |
| 41769 | + | reaches zero but before any of the state of the source is freed, especially | |
| 41770 | + | before the finalize function (set as part of the [type@GLib.SourceFuncs]) is | |
| 41771 | + | called. | |
| 41148 | 41772 | ||
| 41149 | 41773 | This means that at this point @source is still a valid [struct@GLib.Source] | |
| 41150 | 41774 | and it is allow for the reference count to increase again until @dispose | |
| 41151 | 41775 | returns. | |
| 41152 | 41776 | ||
| 41153 | - | The dispose function can be used to clear any "weak" references to the | |
| 41154 | - | @source in other data structures in a thread-safe way where it is possible | |
| 41155 | - | for another thread to increase the reference count of @source again while | |
| 41156 | - | it is being freed. | |
| 41777 | + | The dispose function can be used to clear any ‘weak’ references to | |
| 41778 | + | the @source in other data structures in a thread-safe way where it is | |
| 41779 | + | possible for another thread to increase the reference count of @source again | |
| 41780 | + | while it is being freed. | |
| 41157 | 41781 | ||
| 41158 | - | The finalize function can not be used for this purpose as at that point | |
| 41159 | - | @source is already partially freed and not valid anymore. | |
| 41782 | + | The finalize function can not be used for this purpose as at that | |
| 41783 | + | point @source is already partially freed and not valid any more. | |
| 41160 | 41784 | ||
| 41161 | - | This should only ever be called from #GSource implementations.</doc> | |
| 41162 | - | <source-position filename="glib/gmain.h" line="699"/> | |
| 41785 | + | This should only ever be called from [struct@GLib.Source] implementations.</doc> | |
| 41786 | + | <source-position filename="glib/gmain.h" line="700"/> | |
| 41163 | 41787 | <return-value transfer-ownership="none"> | |
| 41164 | 41788 | <type name="none" c:type="void"/> | |
| 41165 | 41789 | </return-value> | |
| @@ -41167,13 +41791,13 @@ This should only ever be called from #GSource implementations.</doc> | |||
| 41167 | 41791 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41168 | 41792 | <doc xml:space="preserve" | |
| 41169 | 41793 | filename="glib/gmain.c" | |
| 41170 | - | line="955">A #GSource to set the dispose function on</doc> | |
| 41794 | + | line="998">a source to set the dispose function on</doc> | |
| 41171 | 41795 | <type name="Source" c:type="GSource*"/> | |
| 41172 | 41796 | </instance-parameter> | |
| 41173 | 41797 | <parameter name="dispose" transfer-ownership="none"> | |
| 41174 | 41798 | <doc xml:space="preserve" | |
| 41175 | 41799 | filename="glib/gmain.c" | |
| 41176 | - | line="956">#GSourceDisposeFunc to set on the source</doc> | |
| 41800 | + | line="999">dispose function to set on the source</doc> | |
| 41177 | 41801 | <type name="SourceDisposeFunc" c:type="GSourceDisposeFunc"/> | |
| 41178 | 41802 | </parameter> | |
| 41179 | 41803 | </parameters> | |
| @@ -41183,9 +41807,11 @@ This should only ever be called from #GSource implementations.</doc> | |||
| 41183 | 41807 | version="2.12"> | |
| 41184 | 41808 | <doc xml:space="preserve" | |
| 41185 | 41809 | filename="glib/gmain.c" | |
| 41186 | - | line="1777">Sets the source functions (can be used to override | |
| 41187 | - | default implementations) of an unattached source.</doc> | |
| 41188 | - | <source-position filename="glib/gmain.h" line="737"/> | |
| 41810 | + | line="1897">Sets the source functions of an unattached source. | |
| 41811 | + | ||
| 41812 | + | These can be used to override the default implementations for the type | |
| 41813 | + | of @source.</doc> | |
| 41814 | + | <source-position filename="glib/gmain.h" line="740"/> | |
| 41189 | 41815 | <return-value transfer-ownership="none"> | |
| 41190 | 41816 | <type name="none" c:type="void"/> | |
| 41191 | 41817 | </return-value> | |
| @@ -41193,13 +41819,13 @@ default implementations) of an unattached source.</doc> | |||
| 41193 | 41819 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41194 | 41820 | <doc xml:space="preserve" | |
| 41195 | 41821 | filename="glib/gmain.c" | |
| 41196 | - | line="1779">a #GSource</doc> | |
| 41822 | + | line="1899">a source</doc> | |
| 41197 | 41823 | <type name="Source" c:type="GSource*"/> | |
| 41198 | 41824 | </instance-parameter> | |
| 41199 | 41825 | <parameter name="funcs" transfer-ownership="none"> | |
| 41200 | 41826 | <doc xml:space="preserve" | |
| 41201 | 41827 | filename="glib/gmain.c" | |
| 41202 | - | line="1780">the new #GSourceFuncs</doc> | |
| 41828 | + | line="1900">the new source functions</doc> | |
| 41203 | 41829 | <type name="SourceFuncs" c:type="GSourceFuncs*"/> | |
| 41204 | 41830 | </parameter> | |
| 41205 | 41831 | </parameters> | |
| @@ -41207,17 +41833,19 @@ default implementations) of an unattached source.</doc> | |||
| 41207 | 41833 | <method name="set_name" c:identifier="g_source_set_name" version="2.26"> | |
| 41208 | 41834 | <doc xml:space="preserve" | |
| 41209 | 41835 | filename="glib/gmain.c" | |
| 41210 | - | line="2079">Sets a name for the source, used in debugging and profiling. | |
| 41211 | - | The name defaults to #NULL. | |
| 41836 | + | line="2219">Sets a name for the source, used in debugging and profiling. | |
| 41837 | + | ||
| 41838 | + | The name defaults to `NULL`. | |
| 41212 | 41839 | ||
| 41213 | 41840 | The source name should describe in a human-readable way | |
| 41214 | - | what the source does. For example, "X11 event queue" | |
| 41215 | - | or "GTK repaint idle handler" or whatever it is. | |
| 41841 | + | what the source does. For example, ‘X11 event queue’ | |
| 41842 | + | or ‘GTK repaint idle handler’. | |
| 41216 | 41843 | ||
| 41217 | 41844 | It is permitted to call this function multiple times, but is not | |
| 41218 | 41845 | recommended due to the potential performance impact. For example, | |
| 41219 | - | one could change the name in the "check" function of a #GSourceFuncs | |
| 41220 | - | to include details like the event type in the source name. | |
| 41846 | + | one could change the name in the `check` function of a | |
| 41847 | + | [struct@GLib.SourceFuncs] to include details like the event type in the | |
| 41848 | + | source name. | |
| 41221 | 41849 | ||
| 41222 | 41850 | Use caution if changing the name while another thread may be | |
| 41223 | 41851 | accessing it with [method@GLib.Source.get_name]; that function does not copy | |
| @@ -41225,7 +41853,7 @@ the value, and changing the value will free it while the other thread | |||
| 41225 | 41853 | may be attempting to use it. | |
| 41226 | 41854 | ||
| 41227 | 41855 | Also see [method@GLib.Source.set_static_name].</doc> | |
| 41228 | - | <source-position filename="glib/gmain.h" line="743"/> | |
| 41856 | + | <source-position filename="glib/gmain.h" line="746"/> | |
| 41229 | 41857 | <return-value transfer-ownership="none"> | |
| 41230 | 41858 | <type name="none" c:type="void"/> | |
| 41231 | 41859 | </return-value> | |
| @@ -41233,13 +41861,13 @@ Also see [method@GLib.Source.set_static_name].</doc> | |||
| 41233 | 41861 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41234 | 41862 | <doc xml:space="preserve" | |
| 41235 | 41863 | filename="glib/gmain.c" | |
| 41236 | - | line="2081">a #GSource</doc> | |
| 41864 | + | line="2221">a source</doc> | |
| 41237 | 41865 | <type name="Source" c:type="GSource*"/> | |
| 41238 | 41866 | </instance-parameter> | |
| 41239 | 41867 | <parameter name="name" transfer-ownership="none"> | |
| 41240 | 41868 | <doc xml:space="preserve" | |
| 41241 | 41869 | filename="glib/gmain.c" | |
| 41242 | - | line="2082">debug name for the source</doc> | |
| 41870 | + | line="2222">debug name for the source</doc> | |
| 41243 | 41871 | <type name="utf8" c:type="const char*"/> | |
| 41244 | 41872 | </parameter> | |
| 41245 | 41873 | </parameters> | |
| @@ -41247,7 +41875,9 @@ Also see [method@GLib.Source.set_static_name].</doc> | |||
| 41247 | 41875 | <method name="set_priority" c:identifier="g_source_set_priority"> | |
| 41248 | 41876 | <doc xml:space="preserve" | |
| 41249 | 41877 | filename="glib/gmain.c" | |
| 41250 | - | line="1855">Sets the priority of a source. While the main loop is being run, a | |
| 41878 | + | line="1977">Sets the priority of a source. | |
| 41879 | + | ||
| 41880 | + | While the main loop is being run, a | |
| 41251 | 41881 | source will be dispatched if it is ready to be dispatched and no | |
| 41252 | 41882 | sources at a higher (numerically smaller) priority are ready to be | |
| 41253 | 41883 | dispatched. | |
| @@ -41255,7 +41885,7 @@ dispatched. | |||
| 41255 | 41885 | A child source always has the same priority as its parent. It is not | |
| 41256 | 41886 | permitted to change the priority of a source once it has been added | |
| 41257 | 41887 | as a child of another source.</doc> | |
| 41258 | - | <source-position filename="glib/gmain.h" line="715"/> | |
| 41888 | + | <source-position filename="glib/gmain.h" line="716"/> | |
| 41259 | 41889 | <return-value transfer-ownership="none"> | |
| 41260 | 41890 | <type name="none" c:type="void"/> | |
| 41261 | 41891 | </return-value> | |
| @@ -41263,13 +41893,13 @@ as a child of another source.</doc> | |||
| 41263 | 41893 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41264 | 41894 | <doc xml:space="preserve" | |
| 41265 | 41895 | filename="glib/gmain.c" | |
| 41266 | - | line="1857">a #GSource</doc> | |
| 41896 | + | line="1979">a source</doc> | |
| 41267 | 41897 | <type name="Source" c:type="GSource*"/> | |
| 41268 | 41898 | </instance-parameter> | |
| 41269 | 41899 | <parameter name="priority" transfer-ownership="none"> | |
| 41270 | 41900 | <doc xml:space="preserve" | |
| 41271 | 41901 | filename="glib/gmain.c" | |
| 41272 | - | line="1858">the new priority.</doc> | |
| 41902 | + | line="1980">the new priority</doc> | |
| 41273 | 41903 | <type name="gint" c:type="gint"/> | |
| 41274 | 41904 | </parameter> | |
| 41275 | 41905 | </parameters> | |
| @@ -41279,12 +41909,14 @@ as a child of another source.</doc> | |||
| 41279 | 41909 | version="2.36"> | |
| 41280 | 41910 | <doc xml:space="preserve" | |
| 41281 | 41911 | filename="glib/gmain.c" | |
| 41282 | - | line="1905">Sets a #GSource to be dispatched when the given monotonic time is | |
| 41283 | - | reached (or passed). If the monotonic time is in the past (as it | |
| 41284 | - | always will be if @ready_time is 0) then the source will be | |
| 41912 | + | line="2032">Sets a source to be dispatched when the given monotonic time is | |
| 41913 | + | reached (or passed). | |
| 41914 | + | ||
| 41915 | + | If the monotonic time is in the past (as it | |
| 41916 | + | always will be if @ready_time is `0`) then the source will be | |
| 41285 | 41917 | dispatched immediately. | |
| 41286 | 41918 | ||
| 41287 | - | If @ready_time is -1 then the source is never woken up on the basis | |
| 41919 | + | If @ready_time is `-1` then the source is never woken up on the basis | |
| 41288 | 41920 | of the passage of time. | |
| 41289 | 41921 | ||
| 41290 | 41922 | Dispatching the source does not reset the ready time. You should do | |
| @@ -41296,12 +41928,12 @@ other suggests that it would be delivered first, and the ready time | |||
| 41296 | 41928 | for both sources is reached during the same main context iteration, | |
| 41297 | 41929 | then the order of dispatch is undefined. | |
| 41298 | 41930 | ||
| 41299 | - | It is a no-op to call this function on a #GSource which has already been | |
| 41300 | - | destroyed with [method@GLib.Source.destroy]. | |
| 41931 | + | It is a no-op to call this function on a [struct@GLib.Source] which has | |
| 41932 | + | already been destroyed with [method@GLib.Source.destroy]. | |
| 41301 | 41933 | ||
| 41302 | - | This API is only intended to be used by implementations of #GSource. | |
| 41303 | - | Do not call this API on a #GSource that you did not create.</doc> | |
| 41304 | - | <source-position filename="glib/gmain.h" line="755"/> | |
| 41934 | + | This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 41935 | + | Do not call this API on a [struct@GLib.Source] that you did not create.</doc> | |
| 41936 | + | <source-position filename="glib/gmain.h" line="758"/> | |
| 41305 | 41937 | <return-value transfer-ownership="none"> | |
| 41306 | 41938 | <type name="none" c:type="void"/> | |
| 41307 | 41939 | </return-value> | |
| @@ -41309,14 +41941,14 @@ Do not call this API on a #GSource that you did not create.</doc> | |||
| 41309 | 41941 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41310 | 41942 | <doc xml:space="preserve" | |
| 41311 | 41943 | filename="glib/gmain.c" | |
| 41312 | - | line="1907">a #GSource</doc> | |
| 41944 | + | line="2034">a source</doc> | |
| 41313 | 41945 | <type name="Source" c:type="GSource*"/> | |
| 41314 | 41946 | </instance-parameter> | |
| 41315 | 41947 | <parameter name="ready_time" transfer-ownership="none"> | |
| 41316 | 41948 | <doc xml:space="preserve" | |
| 41317 | 41949 | filename="glib/gmain.c" | |
| 41318 | - | line="1908">the monotonic time at which the source will be ready, | |
| 41319 | - | 0 for "immediately", -1 for "never"</doc> | |
| 41950 | + | line="2035">the monotonic time at which the source will be ready; | |
| 41951 | + | `0` for ‘immediately’, `-1` for ‘never’</doc> | |
| 41320 | 41952 | <type name="gint64" c:type="gint64"/> | |
| 41321 | 41953 | </parameter> | |
| 41322 | 41954 | </parameters> | |
| @@ -41326,10 +41958,10 @@ Do not call this API on a #GSource that you did not create.</doc> | |||
| 41326 | 41958 | version="2.70"> | |
| 41327 | 41959 | <doc xml:space="preserve" | |
| 41328 | 41960 | filename="glib/gmain.c" | |
| 41329 | - | line="2112">A variant of [method@GLib.Source.set_name] that does not | |
| 41961 | + | line="2254">A variant of [method@GLib.Source.set_name] that does not | |
| 41330 | 41962 | duplicate the @name, and can only be used with | |
| 41331 | 41963 | string literals.</doc> | |
| 41332 | - | <source-position filename="glib/gmain.h" line="746"/> | |
| 41964 | + | <source-position filename="glib/gmain.h" line="749"/> | |
| 41333 | 41965 | <return-value transfer-ownership="none"> | |
| 41334 | 41966 | <type name="none" c:type="void"/> | |
| 41335 | 41967 | </return-value> | |
| @@ -41337,13 +41969,13 @@ string literals.</doc> | |||
| 41337 | 41969 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41338 | 41970 | <doc xml:space="preserve" | |
| 41339 | 41971 | filename="glib/gmain.c" | |
| 41340 | - | line="2114">a #GSource</doc> | |
| 41972 | + | line="2256">a source</doc> | |
| 41341 | 41973 | <type name="Source" c:type="GSource*"/> | |
| 41342 | 41974 | </instance-parameter> | |
| 41343 | 41975 | <parameter name="name" transfer-ownership="none"> | |
| 41344 | 41976 | <doc xml:space="preserve" | |
| 41345 | 41977 | filename="glib/gmain.c" | |
| 41346 | - | line="2115">debug name for the source</doc> | |
| 41978 | + | line="2257">debug name for the source</doc> | |
| 41347 | 41979 | <type name="utf8" c:type="const char*"/> | |
| 41348 | 41980 | </parameter> | |
| 41349 | 41981 | </parameters> | |
| @@ -41351,10 +41983,11 @@ string literals.</doc> | |||
| 41351 | 41983 | <method name="unref" c:identifier="g_source_unref"> | |
| 41352 | 41984 | <doc xml:space="preserve" | |
| 41353 | 41985 | filename="glib/gmain.c" | |
| 41354 | - | line="2361">Decreases the reference count of a source by one. If the | |
| 41355 | - | resulting reference count is zero the source and associated | |
| 41986 | + | line="2504">Decreases the reference count of a source by one. | |
| 41987 | + | ||
| 41988 | + | If the resulting reference count is zero the source and associated | |
| 41356 | 41989 | memory will be destroyed.</doc> | |
| 41357 | - | <source-position filename="glib/gmain.h" line="706"/> | |
| 41990 | + | <source-position filename="glib/gmain.h" line="707"/> | |
| 41358 | 41991 | <return-value transfer-ownership="none"> | |
| 41359 | 41992 | <type name="none" c:type="void"/> | |
| 41360 | 41993 | </return-value> | |
| @@ -41362,7 +41995,7 @@ memory will be destroyed.</doc> | |||
| 41362 | 41995 | <instance-parameter name="source" transfer-ownership="none"> | |
| 41363 | 41996 | <doc xml:space="preserve" | |
| 41364 | 41997 | filename="glib/gmain.c" | |
| 41365 | - | line="2363">a #GSource</doc> | |
| 41998 | + | line="2506">a source</doc> | |
| 41366 | 41999 | <type name="Source" c:type="GSource*"/> | |
| 41367 | 42000 | </instance-parameter> | |
| 41368 | 42001 | </parameters> | |
| @@ -41370,10 +42003,12 @@ memory will be destroyed.</doc> | |||
| 41370 | 42003 | <function name="remove" c:identifier="g_source_remove"> | |
| 41371 | 42004 | <doc xml:space="preserve" | |
| 41372 | 42005 | filename="glib/gmain.c" | |
| 41373 | - | line="2521">Removes the source with the given ID from the default main context. You must | |
| 42006 | + | line="2676">Removes the source with the given ID from the default main context. | |
| 42007 | + | ||
| 42008 | + | You must | |
| 41374 | 42009 | use [method@GLib.Source.destroy] for sources added to a non-default main context. | |
| 41375 | 42010 | ||
| 41376 | - | The ID of a #GSource is given by [method@GLib.Source.get_id], or will be | |
| 42011 | + | The ID of a [struct@GLib.Source] is given by [method@GLib.Source.get_id], or will be | |
| 41377 | 42012 | returned by the functions [method@GLib.Source.attach], [func@GLib.idle_add], | |
| 41378 | 42013 | [func@GLib.idle_add_full], [func@GLib.timeout_add], | |
| 41379 | 42014 | [func@GLib.timeout_add_full], [func@GLib.child_watch_add], | |
| @@ -41390,18 +42025,18 @@ idle may already have run and been removed by the time this function | |||
| 41390 | 42025 | is called on its (now invalid) source ID. This source ID may have | |
| 41391 | 42026 | been reissued, leading to the operation being performed against the | |
| 41392 | 42027 | wrong source.</doc> | |
| 41393 | - | <source-position filename="glib/gmain.h" line="836"/> | |
| 42028 | + | <source-position filename="glib/gmain.h" line="839"/> | |
| 41394 | 42029 | <return-value transfer-ownership="none"> | |
| 41395 | 42030 | <doc xml:space="preserve" | |
| 41396 | 42031 | filename="glib/gmain.c" | |
| 41397 | - | line="2546">%TRUE if the source was found and removed.</doc> | |
| 42032 | + | line="2703">true if the source was found and removed, false otherwise</doc> | |
| 41398 | 42033 | <type name="gboolean" c:type="gboolean"/> | |
| 41399 | 42034 | </return-value> | |
| 41400 | 42035 | <parameters> | |
| 41401 | 42036 | <parameter name="tag" transfer-ownership="none"> | |
| 41402 | 42037 | <doc xml:space="preserve" | |
| 41403 | 42038 | filename="glib/gmain.c" | |
| 41404 | - | line="2523">the ID of the source to remove.</doc> | |
| 42039 | + | line="2678">the ID of the source to remove.</doc> | |
| 41405 | 42040 | <type name="guint" c:type="guint"/> | |
| 41406 | 42041 | </parameter> | |
| 41407 | 42042 | </parameters> | |
| @@ -41410,21 +42045,23 @@ wrong source.</doc> | |||
| 41410 | 42045 | c:identifier="g_source_remove_by_funcs_user_data"> | |
| 41411 | 42046 | <doc xml:space="preserve" | |
| 41412 | 42047 | filename="glib/gmain.c" | |
| 41413 | - | line="2589">Removes a source from the default main loop context given the | |
| 41414 | - | source functions and user data. If multiple sources exist with the | |
| 41415 | - | same source functions and user data, only one will be destroyed.</doc> | |
| 41416 | - | <source-position filename="glib/gmain.h" line="840"/> | |
| 42048 | + | line="2747">Removes a source from the default main loop context given the | |
| 42049 | + | source functions and user data. | |
| 42050 | + | ||
| 42051 | + | If multiple sources exist with the same source functions and user data, only | |
| 42052 | + | one will be destroyed.</doc> | |
| 42053 | + | <source-position filename="glib/gmain.h" line="843"/> | |
| 41417 | 42054 | <return-value transfer-ownership="none"> | |
| 41418 | 42055 | <doc xml:space="preserve" | |
| 41419 | 42056 | filename="glib/gmain.c" | |
| 41420 | - | line="2598">%TRUE if a source was found and removed.</doc> | |
| 42057 | + | line="2758">true if a source was found and removed, false otherwise</doc> | |
| 41421 | 42058 | <type name="gboolean" c:type="gboolean"/> | |
| 41422 | 42059 | </return-value> | |
| 41423 | 42060 | <parameters> | |
| 41424 | 42061 | <parameter name="funcs" transfer-ownership="none"> | |
| 41425 | 42062 | <doc xml:space="preserve" | |
| 41426 | 42063 | filename="glib/gmain.c" | |
| 41427 | - | line="2591">The @source_funcs passed to [ctor@GLib.Source.new]</doc> | |
| 42064 | + | line="2749">the @source_funcs passed to [ctor@GLib.Source.new]</doc> | |
| 41428 | 42065 | <type name="SourceFuncs" c:type="GSourceFuncs*"/> | |
| 41429 | 42066 | </parameter> | |
| 41430 | 42067 | <parameter name="user_data" | |
| @@ -41433,7 +42070,7 @@ same source functions and user data, only one will be destroyed.</doc> | |||
| 41433 | 42070 | allow-none="1"> | |
| 41434 | 42071 | <doc xml:space="preserve" | |
| 41435 | 42072 | filename="glib/gmain.c" | |
| 41436 | - | line="2592">the user data for the callback</doc> | |
| 42073 | + | line="2750">the user data for the callback</doc> | |
| 41437 | 42074 | <type name="gpointer" c:type="gpointer"/> | |
| 41438 | 42075 | </parameter> | |
| 41439 | 42076 | </parameters> | |
| @@ -41442,14 +42079,15 @@ same source functions and user data, only one will be destroyed.</doc> | |||
| 41442 | 42079 | c:identifier="g_source_remove_by_user_data"> | |
| 41443 | 42080 | <doc xml:space="preserve" | |
| 41444 | 42081 | filename="glib/gmain.c" | |
| 41445 | - | line="2564">Removes a source from the default main loop context given the user | |
| 41446 | - | data for the callback. If multiple sources exist with the same user | |
| 41447 | - | data, only one will be destroyed.</doc> | |
| 41448 | - | <source-position filename="glib/gmain.h" line="838"/> | |
| 42082 | + | line="2721">Removes a source from the default main loop context given the user | |
| 42083 | + | data for the callback. | |
| 42084 | + | ||
| 42085 | + | If multiple sources exist with the same user data, only one will be destroyed.</doc> | |
| 42086 | + | <source-position filename="glib/gmain.h" line="841"/> | |
| 41449 | 42087 | <return-value transfer-ownership="none"> | |
| 41450 | 42088 | <doc xml:space="preserve" | |
| 41451 | 42089 | filename="glib/gmain.c" | |
| 41452 | - | line="2572">%TRUE if a source was found and removed.</doc> | |
| 42090 | + | line="2730">true if a source was found and removed, false otherwise</doc> | |
| 41453 | 42091 | <type name="gboolean" c:type="gboolean"/> | |
| 41454 | 42092 | </return-value> | |
| 41455 | 42093 | <parameters> | |
| @@ -41459,7 +42097,7 @@ data, only one will be destroyed.</doc> | |||
| 41459 | 42097 | allow-none="1"> | |
| 41460 | 42098 | <doc xml:space="preserve" | |
| 41461 | 42099 | filename="glib/gmain.c" | |
| 41462 | - | line="2566">the user_data for the callback.</doc> | |
| 42100 | + | line="2723">the user_data for the callback</doc> | |
| 41463 | 42101 | <type name="gpointer" c:type="gpointer"/> | |
| 41464 | 42102 | </parameter> | |
| 41465 | 42103 | </parameters> | |
| @@ -41469,7 +42107,7 @@ data, only one will be destroyed.</doc> | |||
| 41469 | 42107 | version="2.26"> | |
| 41470 | 42108 | <doc xml:space="preserve" | |
| 41471 | 42109 | filename="glib/gmain.c" | |
| 41472 | - | line="2150">Sets the name of a source using its ID. | |
| 42110 | + | line="2293">Sets the name of a source using its ID. | |
| 41473 | 42111 | ||
| 41474 | 42112 | This is a convenience utility to set source names from the return | |
| 41475 | 42113 | value of [func@GLib.idle_add], [func@GLib.timeout_add], etc. | |
| @@ -41485,7 +42123,7 @@ idle may already have run and been removed by the time this function | |||
| 41485 | 42123 | is called on its (now invalid) source ID. This source ID may have | |
| 41486 | 42124 | been reissued, leading to the operation being performed against the | |
| 41487 | 42125 | wrong source.</doc> | |
| 41488 | - | <source-position filename="glib/gmain.h" line="751"/> | |
| 42126 | + | <source-position filename="glib/gmain.h" line="754"/> | |
| 41489 | 42127 | <return-value transfer-ownership="none"> | |
| 41490 | 42128 | <type name="none" c:type="void"/> | |
| 41491 | 42129 | </return-value> | |
| @@ -41493,13 +42131,13 @@ wrong source.</doc> | |||
| 41493 | 42131 | <parameter name="tag" transfer-ownership="none"> | |
| 41494 | 42132 | <doc xml:space="preserve" | |
| 41495 | 42133 | filename="glib/gmain.c" | |
| 41496 | - | line="2152">a #GSource ID</doc> | |
| 42134 | + | line="2295">a source ID</doc> | |
| 41497 | 42135 | <type name="guint" c:type="guint"/> | |
| 41498 | 42136 | </parameter> | |
| 41499 | 42137 | <parameter name="name" transfer-ownership="none"> | |
| 41500 | 42138 | <doc xml:space="preserve" | |
| 41501 | 42139 | filename="glib/gmain.c" | |
| 41502 | - | line="2153">debug name for the source</doc> | |
| 42140 | + | line="2296">debug name for the source</doc> | |
| 41503 | 42141 | <type name="utf8" c:type="const char*"/> | |
| 41504 | 42142 | </parameter> | |
| 41505 | 42143 | </parameters> | |
| @@ -41510,13 +42148,13 @@ wrong source.</doc> | |||
| 41510 | 42148 | filename="glib/gmain.h" | |
| 41511 | 42149 | line="89">The `GSourceCallbackFuncs` struct contains | |
| 41512 | 42150 | functions for managing callback objects.</doc> | |
| 41513 | - | <source-position filename="glib/gmain.h" line="299"/> | |
| 42151 | + | <source-position filename="glib/gmain.h" line="300"/> | |
| 41514 | 42152 | <field name="ref"> | |
| 41515 | 42153 | <doc xml:space="preserve" | |
| 41516 | 42154 | filename="glib/gmain.h" | |
| 41517 | 42155 | line="91">Called when a reference is added to the callback object</doc> | |
| 41518 | 42156 | <callback name="ref"> | |
| 41519 | - | <source-position filename="glib/gmain.h" line="293"/> | |
| 42157 | + | <source-position filename="glib/gmain.h" line="294"/> | |
| 41520 | 42158 | <return-value transfer-ownership="none"> | |
| 41521 | 42159 | <type name="none" c:type="void"/> | |
| 41522 | 42160 | </return-value> | |
| @@ -41532,7 +42170,7 @@ functions for managing callback objects.</doc> | |||
| 41532 | 42170 | filename="glib/gmain.h" | |
| 41533 | 42171 | line="92">Called when a reference to the callback object is dropped</doc> | |
| 41534 | 42172 | <callback name="unref"> | |
| 41535 | - | <source-position filename="glib/gmain.h" line="294"/> | |
| 42173 | + | <source-position filename="glib/gmain.h" line="295"/> | |
| 41536 | 42174 | <return-value transfer-ownership="none"> | |
| 41537 | 42175 | <type name="none" c:type="void"/> | |
| 41538 | 42176 | </return-value> | |
| @@ -41549,7 +42187,7 @@ functions for managing callback objects.</doc> | |||
| 41549 | 42187 | line="93">Called to extract the callback function and data from the | |
| 41550 | 42188 | callback object.</doc> | |
| 41551 | 42189 | <callback name="get" introspectable="0"> | |
| 41552 | - | <source-position filename="glib/gmain.h" line="295"/> | |
| 42190 | + | <source-position filename="glib/gmain.h" line="296"/> | |
| 41553 | 42191 | <return-value transfer-ownership="none"> | |
| 41554 | 42192 | <type name="none" c:type="void"/> | |
| 41555 | 42193 | </return-value> | |
| @@ -41578,9 +42216,9 @@ functions for managing callback objects.</doc> | |||
| 41578 | 42216 | version="2.64"> | |
| 41579 | 42217 | <doc xml:space="preserve" | |
| 41580 | 42218 | filename="glib/gmain.h" | |
| 41581 | - | line="254">Dispose function for @source. See [method@GLib.Source.set_dispose_function] | |
| 42219 | + | line="255">Dispose function for @source. See [method@GLib.Source.set_dispose_function] | |
| 41582 | 42220 | for details.</doc> | |
| 41583 | - | <source-position filename="glib/gmain.h" line="264"/> | |
| 42221 | + | <source-position filename="glib/gmain.h" line="265"/> | |
| 41584 | 42222 | <return-value transfer-ownership="none"> | |
| 41585 | 42223 | <type name="none" c:type="void"/> | |
| 41586 | 42224 | </return-value> | |
| @@ -41588,7 +42226,7 @@ for details.</doc> | |||
| 41588 | 42226 | <parameter name="source" transfer-ownership="none"> | |
| 41589 | 42227 | <doc xml:space="preserve" | |
| 41590 | 42228 | filename="glib/gmain.h" | |
| 41591 | - | line="256">#GSource that is currently being disposed</doc> | |
| 42229 | + | line="257">#GSource that is currently being disposed</doc> | |
| 41592 | 42230 | <type name="Source" c:type="GSource*"/> | |
| 41593 | 42231 | </parameter> | |
| 41594 | 42232 | </parameters> | |
| @@ -41596,9 +42234,9 @@ for details.</doc> | |||
| 41596 | 42234 | <callback name="SourceDummyMarshal" c:type="GSourceDummyMarshal"> | |
| 41597 | 42235 | <doc xml:space="preserve" | |
| 41598 | 42236 | filename="glib/gmain.h" | |
| 41599 | - | line="301">This is just a placeholder for #GClosureMarshal, | |
| 42237 | + | line="302">This is just a placeholder for #GClosureMarshal, | |
| 41600 | 42238 | which cannot be used here for dependency reasons.</doc> | |
| 41601 | - | <source-position filename="glib/gmain.h" line="307"/> | |
| 42239 | + | <source-position filename="glib/gmain.h" line="308"/> | |
| 41602 | 42240 | <return-value transfer-ownership="none"> | |
| 41603 | 42241 | <type name="none" c:type="void"/> | |
| 41604 | 42242 | </return-value> | |
| @@ -41606,18 +42244,18 @@ which cannot be used here for dependency reasons.</doc> | |||
| 41606 | 42244 | <callback name="SourceFunc" c:type="GSourceFunc"> | |
| 41607 | 42245 | <doc xml:space="preserve" | |
| 41608 | 42246 | filename="glib/gmain.h" | |
| 41609 | - | line="182">Specifies the type of function passed to [func@GLib.timeout_add], | |
| 42247 | + | line="183">Specifies the type of function passed to [func@GLib.timeout_add], | |
| 41610 | 42248 | [func@GLib.timeout_add_full], [func@GLib.idle_add], and | |
| 41611 | 42249 | [func@GLib.idle_add_full]. | |
| 41612 | 42250 | ||
| 41613 | 42251 | When calling [method@GLib.Source.set_callback], you may need to cast a | |
| 41614 | 42252 | function of a different type to this type. Use [func@GLib.SOURCE_FUNC] to | |
| 41615 | 42253 | avoid warnings about incompatible function types.</doc> | |
| 41616 | - | <source-position filename="glib/gmain.h" line="199"/> | |
| 42254 | + | <source-position filename="glib/gmain.h" line="200"/> | |
| 41617 | 42255 | <return-value transfer-ownership="none"> | |
| 41618 | 42256 | <doc xml:space="preserve" | |
| 41619 | 42257 | filename="glib/gmain.h" | |
| 41620 | - | line="195">%FALSE if the source should be removed. | |
| 42258 | + | line="196">%FALSE if the source should be removed. | |
| 41621 | 42259 | [const@GLib.SOURCE_CONTINUE] and [const@GLib.SOURCE_REMOVE] are more | |
| 41622 | 42260 | memorable names for the return value.</doc> | |
| 41623 | 42261 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -41630,7 +42268,7 @@ memorable names for the return value.</doc> | |||
| 41630 | 42268 | closure="0"> | |
| 41631 | 42269 | <doc xml:space="preserve" | |
| 41632 | 42270 | filename="glib/gmain.h" | |
| 41633 | - | line="184">data passed to the function, set when the source was | |
| 42271 | + | line="185">data passed to the function, set when the source was | |
| 41634 | 42272 | created with one of the above functions</doc> | |
| 41635 | 42273 | <type name="gpointer" c:type="gpointer"/> | |
| 41636 | 42274 | </parameter> | |
| @@ -41659,12 +42297,12 @@ any events need to be processed. It sets the returned timeout to -1 to | |||
| 41659 | 42297 | indicate that it doesn't mind how long the poll() call blocks. In the | |
| 41660 | 42298 | check function, it tests the results of the poll() call to see if the | |
| 41661 | 42299 | required condition has been met, and returns %TRUE if so.</doc> | |
| 41662 | - | <source-position filename="glib/gmain.h" line="409"/> | |
| 42300 | + | <source-position filename="glib/gmain.h" line="410"/> | |
| 41663 | 42301 | <field name="prepare" writable="1"> | |
| 41664 | 42302 | <doc xml:space="preserve" | |
| 41665 | 42303 | filename="glib/gmain.h" | |
| 41666 | - | line="103">Called before all the file descriptors are polled. If the | |
| 41667 | - | source can determine that it is ready here (without waiting for the | |
| 42304 | + | line="103">Called before all the file descriptors are polled. If | |
| 42305 | + | the source can determine that it is ready here (without waiting for the | |
| 41668 | 42306 | results of the poll() call) it should return %TRUE. It can also return | |
| 41669 | 42307 | a @timeout_ value which should be the maximum timeout (in milliseconds) | |
| 41670 | 42308 | which should be passed to the poll() call. The actual timeout used will | |
| @@ -41679,9 +42317,9 @@ required condition has been met, and returns %TRUE if so.</doc> | |||
| 41679 | 42317 | <field name="check" writable="1"> | |
| 41680 | 42318 | <doc xml:space="preserve" | |
| 41681 | 42319 | filename="glib/gmain.h" | |
| 41682 | - | line="114">Called after all the file descriptors are polled. The source | |
| 41683 | - | should return %TRUE if it is ready to be dispatched. Note that some | |
| 41684 | - | time may have passed since the previous prepare function was called, | |
| 42320 | + | line="114">Called after all the file descriptors are polled. The | |
| 42321 | + | source should return %TRUE if it is ready to be dispatched. Note that | |
| 42322 | + | some time may have passed since the previous prepare function was called, | |
| 41685 | 42323 | so the source should be checked again here. Since 2.36 this may | |
| 41686 | 42324 | be %NULL, in which case the effect is as if the function always returns | |
| 41687 | 42325 | %FALSE.</doc> | |
| @@ -41706,11 +42344,12 @@ required condition has been met, and returns %TRUE if so.</doc> | |||
| 41706 | 42344 | <field name="finalize" writable="1"> | |
| 41707 | 42345 | <doc xml:space="preserve" | |
| 41708 | 42346 | filename="glib/gmain.h" | |
| 41709 | - | line="130">Called when the source is finalized. At this point, the source | |
| 41710 | - | will have been destroyed, had its callback cleared, and have been removed | |
| 41711 | - | from its [struct@GLib.MainContext], but it will still have its final | |
| 41712 | - | reference count, so methods can be called on it from within this | |
| 41713 | - | function.</doc> | |
| 42347 | + | line="130">Called when the source is finalized. At this point, | |
| 42348 | + | the source will have been destroyed, had its callback cleared, and have | |
| 42349 | + | been removed from its [struct@GLib.MainContext], but it will still have | |
| 42350 | + | its final reference count, so methods can be called on it from within | |
| 42351 | + | this function. This may be %NULL, in which case the effect is as if the | |
| 42352 | + | function does nothing and returns.</doc> | |
| 41714 | 42353 | <type name="SourceFuncsFinalizeFunc" | |
| 41715 | 42354 | c:type="GSourceFuncsFinalizeFunc"/> | |
| 41716 | 42355 | </field> | |
| @@ -41726,7 +42365,7 @@ required condition has been met, and returns %TRUE if so.</doc> | |||
| 41726 | 42365 | version="2.82"> | |
| 41727 | 42366 | <doc xml:space="preserve" | |
| 41728 | 42367 | filename="glib/gmain.h" | |
| 41729 | - | line="336">Checks if the source is ready to be dispatched. | |
| 42368 | + | line="337">Checks if the source is ready to be dispatched. | |
| 41730 | 42369 | ||
| 41731 | 42370 | Called after all the file descriptors are polled. The source | |
| 41732 | 42371 | should return %TRUE if it is ready to be dispatched. Note that some | |
| @@ -41735,18 +42374,18 @@ so the source should be checked again here. | |||
| 41735 | 42374 | ||
| 41736 | 42375 | Since 2.36 this may be `NULL`, in which case the effect is | |
| 41737 | 42376 | as if the function always returns `FALSE`.</doc> | |
| 41738 | - | <source-position filename="glib/gmain.h" line="354"/> | |
| 42377 | + | <source-position filename="glib/gmain.h" line="355"/> | |
| 41739 | 42378 | <return-value transfer-ownership="none"> | |
| 41740 | 42379 | <doc xml:space="preserve" | |
| 41741 | 42380 | filename="glib/gmain.h" | |
| 41742 | - | line="350">%TRUE if ready to be dispatched, %FALSE otherwise</doc> | |
| 42381 | + | line="351">%TRUE if ready to be dispatched, %FALSE otherwise</doc> | |
| 41743 | 42382 | <type name="gboolean" c:type="gboolean"/> | |
| 41744 | 42383 | </return-value> | |
| 41745 | 42384 | <parameters> | |
| 41746 | 42385 | <parameter name="source" transfer-ownership="none"> | |
| 41747 | 42386 | <doc xml:space="preserve" | |
| 41748 | 42387 | filename="glib/gmain.h" | |
| 41749 | - | line="338">The #GSource</doc> | |
| 42388 | + | line="339">The #GSource</doc> | |
| 41750 | 42389 | <type name="Source" c:type="GSource*"/> | |
| 41751 | 42390 | </parameter> | |
| 41752 | 42391 | </parameters> | |
| @@ -41757,7 +42396,7 @@ as if the function always returns `FALSE`.</doc> | |||
| 41757 | 42396 | introspectable="0"> | |
| 41758 | 42397 | <doc xml:space="preserve" | |
| 41759 | 42398 | filename="glib/gmain.h" | |
| 41760 | - | line="356">Dispatches the source callback. | |
| 42399 | + | line="357">Dispatches the source callback. | |
| 41761 | 42400 | ||
| 41762 | 42401 | Called to dispatch the event source, after it has returned | |
| 41763 | 42402 | `TRUE` in either its prepare or its check function, or if a ready time | |
| @@ -41768,11 +42407,11 @@ function should call the callback function with @user_data and whatever | |||
| 41768 | 42407 | additional parameters are needed for this type of event source. The | |
| 41769 | 42408 | return value of the dispatch function should be [const@GLib.SOURCE_REMOVE] | |
| 41770 | 42409 | if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it.</doc> | |
| 41771 | - | <source-position filename="glib/gmain.h" line="379"/> | |
| 42410 | + | <source-position filename="glib/gmain.h" line="380"/> | |
| 41772 | 42411 | <return-value transfer-ownership="none"> | |
| 41773 | 42412 | <doc xml:space="preserve" | |
| 41774 | 42413 | filename="glib/gmain.h" | |
| 41775 | - | line="374">[const@GLib.SOURCE_REMOVE] if the source should be removed, | |
| 42414 | + | line="375">[const@GLib.SOURCE_REMOVE] if the source should be removed, | |
| 41776 | 42415 | [const@GLib.SOURCE_CONTINUE] otherwise.</doc> | |
| 41777 | 42416 | <type name="gboolean" c:type="gboolean"/> | |
| 41778 | 42417 | </return-value> | |
| @@ -41780,7 +42419,7 @@ if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it.</doc | |||
| 41780 | 42419 | <parameter name="source" transfer-ownership="none"> | |
| 41781 | 42420 | <doc xml:space="preserve" | |
| 41782 | 42421 | filename="glib/gmain.h" | |
| 41783 | - | line="358">The #GSource</doc> | |
| 42422 | + | line="359">The #GSource</doc> | |
| 41784 | 42423 | <type name="Source" c:type="GSource*"/> | |
| 41785 | 42424 | </parameter> | |
| 41786 | 42425 | <parameter name="callback" | |
| @@ -41790,7 +42429,7 @@ if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it.</doc | |||
| 41790 | 42429 | closure="2"> | |
| 41791 | 42430 | <doc xml:space="preserve" | |
| 41792 | 42431 | filename="glib/gmain.h" | |
| 41793 | - | line="359">The #GSourceFunc to call</doc> | |
| 42432 | + | line="360">The #GSourceFunc to call</doc> | |
| 41794 | 42433 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 41795 | 42434 | </parameter> | |
| 41796 | 42435 | <parameter name="user_data" | |
| @@ -41800,7 +42439,7 @@ if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it.</doc | |||
| 41800 | 42439 | closure="2"> | |
| 41801 | 42440 | <doc xml:space="preserve" | |
| 41802 | 42441 | filename="glib/gmain.h" | |
| 41803 | - | line="360">data to pass to @callback</doc> | |
| 42442 | + | line="361">data to pass to @callback</doc> | |
| 41804 | 42443 | <type name="gpointer" c:type="gpointer"/> | |
| 41805 | 42444 | </parameter> | |
| 41806 | 42445 | </parameters> | |
| @@ -41810,13 +42449,13 @@ if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it.</doc | |||
| 41810 | 42449 | version="2.82"> | |
| 41811 | 42450 | <doc xml:space="preserve" | |
| 41812 | 42451 | filename="glib/gmain.h" | |
| 41813 | - | line="383">Finalizes the source. | |
| 42452 | + | line="384">Finalizes the source. | |
| 41814 | 42453 | ||
| 41815 | 42454 | Called when the source is finalized. At this point, the source | |
| 41816 | 42455 | will have been destroyed, had its callback cleared, and have been removed | |
| 41817 | 42456 | from its [type@GLib.MainContext], but it will still have its final reference | |
| 41818 | 42457 | count, so methods can be called on it from within this function.</doc> | |
| 41819 | - | <source-position filename="glib/gmain.h" line="396"/> | |
| 42458 | + | <source-position filename="glib/gmain.h" line="397"/> | |
| 41820 | 42459 | <return-value transfer-ownership="none"> | |
| 41821 | 42460 | <type name="none" c:type="void"/> | |
| 41822 | 42461 | </return-value> | |
| @@ -41824,7 +42463,7 @@ count, so methods can be called on it from within this function.</doc> | |||
| 41824 | 42463 | <parameter name="source" transfer-ownership="none"> | |
| 41825 | 42464 | <doc xml:space="preserve" | |
| 41826 | 42465 | filename="glib/gmain.h" | |
| 41827 | - | line="385">The #GSource</doc> | |
| 42466 | + | line="386">The #GSource</doc> | |
| 41828 | 42467 | <type name="Source" c:type="GSource*"/> | |
| 41829 | 42468 | </parameter> | |
| 41830 | 42469 | </parameters> | |
| @@ -41834,7 +42473,7 @@ count, so methods can be called on it from within this function.</doc> | |||
| 41834 | 42473 | version="2.82"> | |
| 41835 | 42474 | <doc xml:space="preserve" | |
| 41836 | 42475 | filename="glib/gmain.h" | |
| 41837 | - | line="309">Checks the source for readiness. | |
| 42476 | + | line="310">Checks the source for readiness. | |
| 41838 | 42477 | ||
| 41839 | 42478 | Called before all the file descriptors are polled. If the | |
| 41840 | 42479 | source can determine that it is ready here (without waiting for the | |
| @@ -41848,18 +42487,18 @@ ready time set, then the lower of the two will be used. | |||
| 41848 | 42487 | ||
| 41849 | 42488 | Since 2.36 this may be `NULL`, in which case the effect is as if the | |
| 41850 | 42489 | function always returns `FALSE` with a timeout of `-1`.</doc> | |
| 41851 | - | <source-position filename="glib/gmain.h" line="333"/> | |
| 42490 | + | <source-position filename="glib/gmain.h" line="334"/> | |
| 41852 | 42491 | <return-value transfer-ownership="none"> | |
| 41853 | 42492 | <doc xml:space="preserve" | |
| 41854 | 42493 | filename="glib/gmain.h" | |
| 41855 | - | line="329">%TRUE if the source is ready, %FALSE otherwise</doc> | |
| 42494 | + | line="330">%TRUE if the source is ready, %FALSE otherwise</doc> | |
| 41856 | 42495 | <type name="gboolean" c:type="gboolean"/> | |
| 41857 | 42496 | </return-value> | |
| 41858 | 42497 | <parameters> | |
| 41859 | 42498 | <parameter name="source" transfer-ownership="none"> | |
| 41860 | 42499 | <doc xml:space="preserve" | |
| 41861 | 42500 | filename="glib/gmain.h" | |
| 41862 | - | line="311">The #GSource</doc> | |
| 42501 | + | line="312">The #GSource</doc> | |
| 41863 | 42502 | <type name="Source" c:type="GSource*"/> | |
| 41864 | 42503 | </parameter> | |
| 41865 | 42504 | <parameter name="timeout_" | |
| @@ -41870,7 +42509,7 @@ function always returns `FALSE` with a timeout of `-1`.</doc> | |||
| 41870 | 42509 | allow-none="1"> | |
| 41871 | 42510 | <doc xml:space="preserve" | |
| 41872 | 42511 | filename="glib/gmain.h" | |
| 41873 | - | line="312">the maximum timeout (in milliseconds) which should be passed to the poll call</doc> | |
| 42512 | + | line="313">the maximum timeout (in milliseconds) which should be passed to the poll call</doc> | |
| 41874 | 42513 | <type name="gint" c:type="gint*"/> | |
| 41875 | 42514 | </parameter> | |
| 41876 | 42515 | </parameters> | |
| @@ -41878,11 +42517,11 @@ function always returns `FALSE` with a timeout of `-1`.</doc> | |||
| 41878 | 42517 | <callback name="SourceOnceFunc" c:type="GSourceOnceFunc" version="2.74"> | |
| 41879 | 42518 | <doc xml:space="preserve" | |
| 41880 | 42519 | filename="glib/gmain.h" | |
| 41881 | - | line="201">A source function that is only called once before being removed from the main | |
| 42520 | + | line="202">A source function that is only called once before being removed from the main | |
| 41882 | 42521 | context automatically. | |
| 41883 | 42522 | ||
| 41884 | 42523 | See: [func@GLib.idle_add_once], [func@GLib.timeout_add_once]</doc> | |
| 41885 | - | <source-position filename="glib/gmain.h" line="213"/> | |
| 42524 | + | <source-position filename="glib/gmain.h" line="214"/> | |
| 41886 | 42525 | <return-value transfer-ownership="none"> | |
| 41887 | 42526 | <type name="none" c:type="void"/> | |
| 41888 | 42527 | </return-value> | |
| @@ -41894,7 +42533,7 @@ See: [func@GLib.idle_add_once], [func@GLib.timeout_add_once]</doc> | |||
| 41894 | 42533 | closure="0"> | |
| 41895 | 42534 | <doc xml:space="preserve" | |
| 41896 | 42535 | filename="glib/gmain.h" | |
| 41897 | - | line="203">data passed to the function, set when the source was | |
| 42536 | + | line="204">data passed to the function, set when the source was | |
| 41898 | 42537 | created</doc> | |
| 41899 | 42538 | <type name="gpointer" c:type="gpointer"/> | |
| 41900 | 42539 | </parameter> | |
| @@ -42183,7 +42822,7 @@ list to the `g_spawn...` function.</doc> | |||
| 42183 | 42822 | <record name="StatBuf" c:type="GStatBuf" disguised="1" opaque="1"> | |
| 42184 | 42823 | <doc xml:space="preserve" | |
| 42185 | 42824 | filename="glib/gstdio.c" | |
| 42186 | - | line="1284">A type corresponding to the appropriate struct type for the stat() | |
| 42825 | + | line="1295">A type corresponding to the appropriate struct type for the stat() | |
| 42187 | 42826 | system call, depending on the platform and/or compiler being used. | |
| 42188 | 42827 | ||
| 42189 | 42828 | See g_stat() for more information.</doc> | |
| @@ -43100,7 +43739,7 @@ bytes.</doc> | |||
| 43100 | 43739 | line="148">Creates a new #GString, initialized with the given string. | |
| 43101 | 43740 | ||
| 43102 | 43741 | After this call, @init belongs to the #GString and may no longer be | |
| 43103 | - | modified by the caller. The memory of @data has to be dynamically | |
| 43742 | + | modified by the caller. The memory of @init has to be dynamically | |
| 43104 | 43743 | allocated and will eventually be freed with g_free().</doc> | |
| 43105 | 43744 | <source-position filename="glib/gstring.h" line="55"/> | |
| 43106 | 43745 | <return-value transfer-ownership="full"> | |
| @@ -43149,26 +43788,26 @@ too often.</doc> | |||
| 43149 | 43788 | <method name="append" c:identifier="g_string_append"> | |
| 43150 | 43789 | <doc xml:space="preserve" | |
| 43151 | 43790 | filename="glib/gstring.c" | |
| 43152 | - | line="579">Adds a string onto the end of a #GString, expanding | |
| 43791 | + | line="611">Adds a string onto the end of a #GString, expanding | |
| 43153 | 43792 | it if necessary.</doc> | |
| 43154 | - | <source-position filename="glib/gstring.h" line="105"/> | |
| 43793 | + | <source-position filename="glib/gstring.h" line="107"/> | |
| 43155 | 43794 | <return-value transfer-ownership="none"> | |
| 43156 | 43795 | <doc xml:space="preserve" | |
| 43157 | 43796 | filename="glib/gstring.c" | |
| 43158 | - | line="587">@string</doc> | |
| 43797 | + | line="619">@string</doc> | |
| 43159 | 43798 | <type name="String" c:type="GString*"/> | |
| 43160 | 43799 | </return-value> | |
| 43161 | 43800 | <parameters> | |
| 43162 | 43801 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43163 | 43802 | <doc xml:space="preserve" | |
| 43164 | 43803 | filename="glib/gstring.c" | |
| 43165 | - | line="581">a #GString</doc> | |
| 43804 | + | line="613">a #GString</doc> | |
| 43166 | 43805 | <type name="String" c:type="GString*"/> | |
| 43167 | 43806 | </instance-parameter> | |
| 43168 | 43807 | <parameter name="val" transfer-ownership="none"> | |
| 43169 | 43808 | <doc xml:space="preserve" | |
| 43170 | 43809 | filename="glib/gstring.c" | |
| 43171 | - | line="582">the string to append onto the end of @string</doc> | |
| 43810 | + | line="614">the string to append onto the end of @string</doc> | |
| 43172 | 43811 | <type name="utf8" c:type="const gchar*"/> | |
| 43173 | 43812 | </parameter> | |
| 43174 | 43813 | </parameters> | |
| @@ -43176,26 +43815,26 @@ it if necessary.</doc> | |||
| 43176 | 43815 | <method name="append_c" c:identifier="g_string_append_c"> | |
| 43177 | 43816 | <doc xml:space="preserve" | |
| 43178 | 43817 | filename="glib/gstring.c" | |
| 43179 | - | line="622">Adds a byte onto the end of a #GString, expanding | |
| 43818 | + | line="654">Adds a byte onto the end of a #GString, expanding | |
| 43180 | 43819 | it if necessary.</doc> | |
| 43181 | - | <source-position filename="glib/gstring.h" line="112"/> | |
| 43820 | + | <source-position filename="glib/gstring.h" line="114"/> | |
| 43182 | 43821 | <return-value transfer-ownership="none"> | |
| 43183 | 43822 | <doc xml:space="preserve" | |
| 43184 | 43823 | filename="glib/gstring.c" | |
| 43185 | - | line="630">@string</doc> | |
| 43824 | + | line="662">@string</doc> | |
| 43186 | 43825 | <type name="String" c:type="GString*"/> | |
| 43187 | 43826 | </return-value> | |
| 43188 | 43827 | <parameters> | |
| 43189 | 43828 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43190 | 43829 | <doc xml:space="preserve" | |
| 43191 | 43830 | filename="glib/gstring.c" | |
| 43192 | - | line="624">a #GString</doc> | |
| 43831 | + | line="656">a #GString</doc> | |
| 43193 | 43832 | <type name="String" c:type="GString*"/> | |
| 43194 | 43833 | </instance-parameter> | |
| 43195 | 43834 | <parameter name="c" transfer-ownership="none"> | |
| 43196 | 43835 | <doc xml:space="preserve" | |
| 43197 | 43836 | filename="glib/gstring.c" | |
| 43198 | - | line="625">the byte to append onto the end of @string</doc> | |
| 43837 | + | line="657">the byte to append onto the end of @string</doc> | |
| 43199 | 43838 | <type name="gchar" c:type="gchar"/> | |
| 43200 | 43839 | </parameter> | |
| 43201 | 43840 | </parameters> | |
| @@ -43203,7 +43842,7 @@ it if necessary.</doc> | |||
| 43203 | 43842 | <method name="append_len" c:identifier="g_string_append_len"> | |
| 43204 | 43843 | <doc xml:space="preserve" | |
| 43205 | 43844 | filename="glib/gstring.c" | |
| 43206 | - | line="596">Appends @len bytes of @val to @string. | |
| 43845 | + | line="628">Appends @len bytes of @val to @string. | |
| 43207 | 43846 | ||
| 43208 | 43847 | If @len is positive, @val may contain embedded nuls and need | |
| 43209 | 43848 | not be nul-terminated. It is the caller's responsibility to | |
| @@ -43212,30 +43851,30 @@ ensure that @val has at least @len addressable bytes. | |||
| 43212 | 43851 | If @len is negative, @val must be nul-terminated and @len | |
| 43213 | 43852 | is considered to request the entire string length. This | |
| 43214 | 43853 | makes g_string_append_len() equivalent to g_string_append().</doc> | |
| 43215 | - | <source-position filename="glib/gstring.h" line="108"/> | |
| 43854 | + | <source-position filename="glib/gstring.h" line="110"/> | |
| 43216 | 43855 | <return-value transfer-ownership="none"> | |
| 43217 | 43856 | <doc xml:space="preserve" | |
| 43218 | 43857 | filename="glib/gstring.c" | |
| 43219 | - | line="612">@string</doc> | |
| 43858 | + | line="644">@string</doc> | |
| 43220 | 43859 | <type name="String" c:type="GString*"/> | |
| 43221 | 43860 | </return-value> | |
| 43222 | 43861 | <parameters> | |
| 43223 | 43862 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43224 | 43863 | <doc xml:space="preserve" | |
| 43225 | 43864 | filename="glib/gstring.c" | |
| 43226 | - | line="598">a #GString</doc> | |
| 43865 | + | line="630">a #GString</doc> | |
| 43227 | 43866 | <type name="String" c:type="GString*"/> | |
| 43228 | 43867 | </instance-parameter> | |
| 43229 | 43868 | <parameter name="val" transfer-ownership="none"> | |
| 43230 | 43869 | <doc xml:space="preserve" | |
| 43231 | 43870 | filename="glib/gstring.c" | |
| 43232 | - | line="599">bytes to append</doc> | |
| 43871 | + | line="631">bytes to append</doc> | |
| 43233 | 43872 | <type name="utf8" c:type="const gchar*"/> | |
| 43234 | 43873 | </parameter> | |
| 43235 | 43874 | <parameter name="len" transfer-ownership="none"> | |
| 43236 | 43875 | <doc xml:space="preserve" | |
| 43237 | 43876 | filename="glib/gstring.c" | |
| 43238 | - | line="600">number of bytes of @val to use, or -1 for all of @val</doc> | |
| 43877 | + | line="632">number of bytes of @val to use, or -1 for all of @val</doc> | |
| 43239 | 43878 | <type name="gssize" c:type="gssize"/> | |
| 43240 | 43879 | </parameter> | |
| 43241 | 43880 | </parameters> | |
| @@ -43245,10 +43884,10 @@ makes g_string_append_len() equivalent to g_string_append().</doc> | |||
| 43245 | 43884 | introspectable="0"> | |
| 43246 | 43885 | <doc xml:space="preserve" | |
| 43247 | 43886 | filename="glib/gstring.c" | |
| 43248 | - | line="1416">Appends a formatted string onto the end of a #GString. | |
| 43887 | + | line="1448">Appends a formatted string onto the end of a #GString. | |
| 43249 | 43888 | This function is similar to g_string_printf() except | |
| 43250 | 43889 | that the text is appended to the #GString.</doc> | |
| 43251 | - | <source-position filename="glib/gstring.h" line="179"/> | |
| 43890 | + | <source-position filename="glib/gstring.h" line="181"/> | |
| 43252 | 43891 | <return-value transfer-ownership="none"> | |
| 43253 | 43892 | <type name="none" c:type="void"/> | |
| 43254 | 43893 | </return-value> | |
| @@ -43256,19 +43895,19 @@ that the text is appended to the #GString.</doc> | |||
| 43256 | 43895 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43257 | 43896 | <doc xml:space="preserve" | |
| 43258 | 43897 | filename="glib/gstring.c" | |
| 43259 | - | line="1418">a #GString</doc> | |
| 43898 | + | line="1450">a #GString</doc> | |
| 43260 | 43899 | <type name="String" c:type="GString*"/> | |
| 43261 | 43900 | </instance-parameter> | |
| 43262 | 43901 | <parameter name="format" transfer-ownership="none"> | |
| 43263 | 43902 | <doc xml:space="preserve" | |
| 43264 | 43903 | filename="glib/gstring.c" | |
| 43265 | - | line="1419">the string format. See the printf() documentation</doc> | |
| 43904 | + | line="1451">the string format. See the printf() documentation</doc> | |
| 43266 | 43905 | <type name="utf8" c:type="const gchar*"/> | |
| 43267 | 43906 | </parameter> | |
| 43268 | 43907 | <parameter name="..." transfer-ownership="none"> | |
| 43269 | 43908 | <doc xml:space="preserve" | |
| 43270 | 43909 | filename="glib/gstring.c" | |
| 43271 | - | line="1420">the parameters to insert into the format string</doc> | |
| 43910 | + | line="1452">the parameters to insert into the format string</doc> | |
| 43272 | 43911 | <varargs/> | |
| 43273 | 43912 | </parameter> | |
| 43274 | 43913 | </parameters> | |
| @@ -43276,26 +43915,26 @@ that the text is appended to the #GString.</doc> | |||
| 43276 | 43915 | <method name="append_unichar" c:identifier="g_string_append_unichar"> | |
| 43277 | 43916 | <doc xml:space="preserve" | |
| 43278 | 43917 | filename="glib/gstring.c" | |
| 43279 | - | line="641">Converts a Unicode character into UTF-8, and appends it | |
| 43918 | + | line="673">Converts a Unicode character into UTF-8, and appends it | |
| 43280 | 43919 | to the string.</doc> | |
| 43281 | - | <source-position filename="glib/gstring.h" line="115"/> | |
| 43920 | + | <source-position filename="glib/gstring.h" line="117"/> | |
| 43282 | 43921 | <return-value transfer-ownership="none"> | |
| 43283 | 43922 | <doc xml:space="preserve" | |
| 43284 | 43923 | filename="glib/gstring.c" | |
| 43285 | - | line="649">@string</doc> | |
| 43924 | + | line="681">@string</doc> | |
| 43286 | 43925 | <type name="String" c:type="GString*"/> | |
| 43287 | 43926 | </return-value> | |
| 43288 | 43927 | <parameters> | |
| 43289 | 43928 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43290 | 43929 | <doc xml:space="preserve" | |
| 43291 | 43930 | filename="glib/gstring.c" | |
| 43292 | - | line="643">a #GString</doc> | |
| 43931 | + | line="675">a #GString</doc> | |
| 43293 | 43932 | <type name="String" c:type="GString*"/> | |
| 43294 | 43933 | </instance-parameter> | |
| 43295 | 43934 | <parameter name="wc" transfer-ownership="none"> | |
| 43296 | 43935 | <doc xml:space="preserve" | |
| 43297 | 43936 | filename="glib/gstring.c" | |
| 43298 | - | line="644">a Unicode character</doc> | |
| 43937 | + | line="676">a Unicode character</doc> | |
| 43299 | 43938 | <type name="gunichar" c:type="gunichar"/> | |
| 43300 | 43939 | </parameter> | |
| 43301 | 43940 | </parameters> | |
| @@ -43305,39 +43944,39 @@ to the string.</doc> | |||
| 43305 | 43944 | version="2.16"> | |
| 43306 | 43945 | <doc xml:space="preserve" | |
| 43307 | 43946 | filename="glib/gstring.c" | |
| 43308 | - | line="553">Appends @unescaped to @string, escaping any characters that | |
| 43947 | + | line="585">Appends @unescaped to @string, escaping any characters that | |
| 43309 | 43948 | are reserved in URIs using URI-style escape sequences.</doc> | |
| 43310 | - | <source-position filename="glib/gstring.h" line="183"/> | |
| 43949 | + | <source-position filename="glib/gstring.h" line="185"/> | |
| 43311 | 43950 | <return-value transfer-ownership="none"> | |
| 43312 | 43951 | <doc xml:space="preserve" | |
| 43313 | 43952 | filename="glib/gstring.c" | |
| 43314 | - | line="564">@string</doc> | |
| 43953 | + | line="596">@string</doc> | |
| 43315 | 43954 | <type name="String" c:type="GString*"/> | |
| 43316 | 43955 | </return-value> | |
| 43317 | 43956 | <parameters> | |
| 43318 | 43957 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43319 | 43958 | <doc xml:space="preserve" | |
| 43320 | 43959 | filename="glib/gstring.c" | |
| 43321 | - | line="555">a #GString</doc> | |
| 43960 | + | line="587">a #GString</doc> | |
| 43322 | 43961 | <type name="String" c:type="GString*"/> | |
| 43323 | 43962 | </instance-parameter> | |
| 43324 | 43963 | <parameter name="unescaped" transfer-ownership="none"> | |
| 43325 | 43964 | <doc xml:space="preserve" | |
| 43326 | 43965 | filename="glib/gstring.c" | |
| 43327 | - | line="556">a string</doc> | |
| 43966 | + | line="588">a string</doc> | |
| 43328 | 43967 | <type name="utf8" c:type="const gchar*"/> | |
| 43329 | 43968 | </parameter> | |
| 43330 | 43969 | <parameter name="reserved_chars_allowed" transfer-ownership="none"> | |
| 43331 | 43970 | <doc xml:space="preserve" | |
| 43332 | 43971 | filename="glib/gstring.c" | |
| 43333 | - | line="557">a string of reserved characters allowed | |
| 43972 | + | line="589">a string of reserved characters allowed | |
| 43334 | 43973 | to be used, or %NULL</doc> | |
| 43335 | 43974 | <type name="utf8" c:type="const gchar*"/> | |
| 43336 | 43975 | </parameter> | |
| 43337 | 43976 | <parameter name="allow_utf8" transfer-ownership="none"> | |
| 43338 | 43977 | <doc xml:space="preserve" | |
| 43339 | 43978 | filename="glib/gstring.c" | |
| 43340 | - | line="559">set %TRUE if the escaped string may include UTF8 characters</doc> | |
| 43979 | + | line="591">set %TRUE if the escaped string may include UTF8 characters</doc> | |
| 43341 | 43980 | <type name="gboolean" c:type="gboolean"/> | |
| 43342 | 43981 | </parameter> | |
| 43343 | 43982 | </parameters> | |
| @@ -43348,11 +43987,11 @@ are reserved in URIs using URI-style escape sequences.</doc> | |||
| 43348 | 43987 | introspectable="0"> | |
| 43349 | 43988 | <doc xml:space="preserve" | |
| 43350 | 43989 | filename="glib/gstring.c" | |
| 43351 | - | line="1302">Appends a formatted string onto the end of a #GString. | |
| 43990 | + | line="1334">Appends a formatted string onto the end of a #GString. | |
| 43352 | 43991 | This function is similar to g_string_append_printf() | |
| 43353 | 43992 | except that the arguments to the format string are passed | |
| 43354 | 43993 | as a va_list.</doc> | |
| 43355 | - | <source-position filename="glib/gstring.h" line="174"/> | |
| 43994 | + | <source-position filename="glib/gstring.h" line="176"/> | |
| 43356 | 43995 | <return-value transfer-ownership="none"> | |
| 43357 | 43996 | <type name="none" c:type="void"/> | |
| 43358 | 43997 | </return-value> | |
| @@ -43360,19 +43999,19 @@ as a va_list.</doc> | |||
| 43360 | 43999 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43361 | 44000 | <doc xml:space="preserve" | |
| 43362 | 44001 | filename="glib/gstring.c" | |
| 43363 | - | line="1304">a #GString</doc> | |
| 44002 | + | line="1336">a #GString</doc> | |
| 43364 | 44003 | <type name="String" c:type="GString*"/> | |
| 43365 | 44004 | </instance-parameter> | |
| 43366 | 44005 | <parameter name="format" transfer-ownership="none"> | |
| 43367 | 44006 | <doc xml:space="preserve" | |
| 43368 | 44007 | filename="glib/gstring.c" | |
| 43369 | - | line="1305">the string format. See the printf() documentation</doc> | |
| 44008 | + | line="1337">the string format. See the printf() documentation</doc> | |
| 43370 | 44009 | <type name="utf8" c:type="const gchar*"/> | |
| 43371 | 44010 | </parameter> | |
| 43372 | 44011 | <parameter name="args" transfer-ownership="none"> | |
| 43373 | 44012 | <doc xml:space="preserve" | |
| 43374 | 44013 | filename="glib/gstring.c" | |
| 43375 | - | line="1306">the list of arguments to insert in the output</doc> | |
| 44014 | + | line="1338">the list of arguments to insert in the output</doc> | |
| 43376 | 44015 | <type name="va_list" c:type="va_list"/> | |
| 43377 | 44016 | </parameter> | |
| 43378 | 44017 | </parameters> | |
| @@ -43380,12 +44019,12 @@ as a va_list.</doc> | |||
| 43380 | 44019 | <method name="ascii_down" c:identifier="g_string_ascii_down"> | |
| 43381 | 44020 | <doc xml:space="preserve" | |
| 43382 | 44021 | filename="glib/gstring.c" | |
| 43383 | - | line="1172">Converts all uppercase ASCII letters to lowercase ASCII letters.</doc> | |
| 43384 | - | <source-position filename="glib/gstring.h" line="161"/> | |
| 44022 | + | line="1204">Converts all uppercase ASCII letters to lowercase ASCII letters.</doc> | |
| 44023 | + | <source-position filename="glib/gstring.h" line="163"/> | |
| 43385 | 44024 | <return-value transfer-ownership="none"> | |
| 43386 | 44025 | <doc xml:space="preserve" | |
| 43387 | 44026 | filename="glib/gstring.c" | |
| 43388 | - | line="1178">passed-in @string pointer, with all the | |
| 44027 | + | line="1210">passed-in @string pointer, with all the | |
| 43389 | 44028 | uppercase characters converted to lowercase in place, | |
| 43390 | 44029 | with semantics that exactly match g_ascii_tolower().</doc> | |
| 43391 | 44030 | <type name="String" c:type="GString*"/> | |
| @@ -43394,7 +44033,7 @@ as a va_list.</doc> | |||
| 43394 | 44033 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43395 | 44034 | <doc xml:space="preserve" | |
| 43396 | 44035 | filename="glib/gstring.c" | |
| 43397 | - | line="1174">a GString</doc> | |
| 44036 | + | line="1206">a GString</doc> | |
| 43398 | 44037 | <type name="String" c:type="GString*"/> | |
| 43399 | 44038 | </instance-parameter> | |
| 43400 | 44039 | </parameters> | |
| @@ -43402,12 +44041,12 @@ as a va_list.</doc> | |||
| 43402 | 44041 | <method name="ascii_up" c:identifier="g_string_ascii_up"> | |
| 43403 | 44042 | <doc xml:space="preserve" | |
| 43404 | 44043 | filename="glib/gstring.c" | |
| 43405 | - | line="1203">Converts all lowercase ASCII letters to uppercase ASCII letters.</doc> | |
| 43406 | - | <source-position filename="glib/gstring.h" line="163"/> | |
| 44044 | + | line="1235">Converts all lowercase ASCII letters to uppercase ASCII letters.</doc> | |
| 44045 | + | <source-position filename="glib/gstring.h" line="165"/> | |
| 43407 | 44046 | <return-value transfer-ownership="none"> | |
| 43408 | 44047 | <doc xml:space="preserve" | |
| 43409 | 44048 | filename="glib/gstring.c" | |
| 43410 | - | line="1209">passed-in @string pointer, with all the | |
| 44049 | + | line="1241">passed-in @string pointer, with all the | |
| 43411 | 44050 | lowercase characters converted to uppercase in place, | |
| 43412 | 44051 | with semantics that exactly match g_ascii_toupper().</doc> | |
| 43413 | 44052 | <type name="String" c:type="GString*"/> | |
| @@ -43416,7 +44055,7 @@ as a va_list.</doc> | |||
| 43416 | 44055 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43417 | 44056 | <doc xml:space="preserve" | |
| 43418 | 44057 | filename="glib/gstring.c" | |
| 43419 | - | line="1205">a GString</doc> | |
| 44058 | + | line="1237">a GString</doc> | |
| 43420 | 44059 | <type name="String" c:type="GString*"/> | |
| 43421 | 44060 | </instance-parameter> | |
| 43422 | 44061 | </parameters> | |
| @@ -43424,55 +44063,78 @@ as a va_list.</doc> | |||
| 43424 | 44063 | <method name="assign" c:identifier="g_string_assign"> | |
| 43425 | 44064 | <doc xml:space="preserve" | |
| 43426 | 44065 | filename="glib/gstring.c" | |
| 43427 | - | line="365">Copies the bytes from a string into a #GString, | |
| 44066 | + | line="397">Copies the bytes from a string into a #GString, | |
| 43428 | 44067 | destroying any previous contents. It is rather like | |
| 43429 | 44068 | the standard strcpy() function, except that you do not | |
| 43430 | 44069 | have to worry about having enough space to copy the string.</doc> | |
| 43431 | - | <source-position filename="glib/gstring.h" line="91"/> | |
| 44070 | + | <source-position filename="glib/gstring.h" line="93"/> | |
| 43432 | 44071 | <return-value transfer-ownership="none"> | |
| 43433 | 44072 | <doc xml:space="preserve" | |
| 43434 | 44073 | filename="glib/gstring.c" | |
| 43435 | - | line="376">@string</doc> | |
| 44074 | + | line="408">@string</doc> | |
| 43436 | 44075 | <type name="String" c:type="GString*"/> | |
| 43437 | 44076 | </return-value> | |
| 43438 | 44077 | <parameters> | |
| 43439 | 44078 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43440 | 44079 | <doc xml:space="preserve" | |
| 43441 | 44080 | filename="glib/gstring.c" | |
| 43442 | - | line="367">the destination #GString. Its current contents | |
| 44081 | + | line="399">the destination #GString. Its current contents | |
| 43443 | 44082 | are destroyed.</doc> | |
| 43444 | 44083 | <type name="String" c:type="GString*"/> | |
| 43445 | 44084 | </instance-parameter> | |
| 43446 | 44085 | <parameter name="rval" transfer-ownership="none"> | |
| 43447 | 44086 | <doc xml:space="preserve" | |
| 43448 | 44087 | filename="glib/gstring.c" | |
| 43449 | - | line="369">the string to copy into @string</doc> | |
| 44088 | + | line="401">the string to copy into @string</doc> | |
| 43450 | 44089 | <type name="utf8" c:type="const gchar*"/> | |
| 43451 | 44090 | </parameter> | |
| 43452 | 44091 | </parameters> | |
| 43453 | 44092 | </method> | |
| 44093 | + | <method name="copy" c:identifier="g_string_copy" version="2.86"> | |
| 44094 | + | <doc xml:space="preserve" | |
| 44095 | + | filename="glib/gstring.c" | |
| 44096 | + | line="217">Copies the [struct@GLib.String] instance and its contents. | |
| 44097 | + | ||
| 44098 | + | This will preserve the allocation length of the [struct@GLib.String] in the | |
| 44099 | + | copy.</doc> | |
| 44100 | + | <source-position filename="glib/gstring.h" line="62"/> | |
| 44101 | + | <return-value transfer-ownership="full"> | |
| 44102 | + | <doc xml:space="preserve" | |
| 44103 | + | filename="glib/gstring.c" | |
| 44104 | + | line="226">a copy of @string</doc> | |
| 44105 | + | <type name="String" c:type="GString*"/> | |
| 44106 | + | </return-value> | |
| 44107 | + | <parameters> | |
| 44108 | + | <instance-parameter name="string" transfer-ownership="none"> | |
| 44109 | + | <doc xml:space="preserve" | |
| 44110 | + | filename="glib/gstring.c" | |
| 44111 | + | line="219">a string</doc> | |
| 44112 | + | <type name="String" c:type="GString*"/> | |
| 44113 | + | </instance-parameter> | |
| 44114 | + | </parameters> | |
| 44115 | + | </method> | |
| 43454 | 44116 | <method name="down" | |
| 43455 | 44117 | c:identifier="g_string_down" | |
| 43456 | 44118 | deprecated="1" | |
| 43457 | 44119 | deprecated-version="2.2"> | |
| 43458 | 44120 | <doc xml:space="preserve" | |
| 43459 | 44121 | filename="glib/gstring.c" | |
| 43460 | - | line="1234">Converts a #GString to lowercase.</doc> | |
| 44122 | + | line="1266">Converts a #GString to lowercase.</doc> | |
| 43461 | 44123 | <doc-deprecated xml:space="preserve">This function uses the locale-specific | |
| 43462 | 44124 | tolower() function, which is almost never the right thing. | |
| 43463 | 44125 | Use g_string_ascii_down() or g_utf8_strdown() instead.</doc-deprecated> | |
| 43464 | - | <source-position filename="glib/gstring.h" line="291"/> | |
| 44126 | + | <source-position filename="glib/gstring.h" line="293"/> | |
| 43465 | 44127 | <return-value transfer-ownership="none"> | |
| 43466 | 44128 | <doc xml:space="preserve" | |
| 43467 | 44129 | filename="glib/gstring.c" | |
| 43468 | - | line="1240">the #GString</doc> | |
| 44130 | + | line="1272">the #GString</doc> | |
| 43469 | 44131 | <type name="String" c:type="GString*"/> | |
| 43470 | 44132 | </return-value> | |
| 43471 | 44133 | <parameters> | |
| 43472 | 44134 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43473 | 44135 | <doc xml:space="preserve" | |
| 43474 | 44136 | filename="glib/gstring.c" | |
| 43475 | - | line="1236">a #GString</doc> | |
| 44137 | + | line="1268">a #GString</doc> | |
| 43476 | 44138 | <type name="String" c:type="GString*"/> | |
| 43477 | 44139 | </instance-parameter> | |
| 43478 | 44140 | </parameters> | |
| @@ -43480,13 +44142,13 @@ have to worry about having enough space to copy the string.</doc> | |||
| 43480 | 44142 | <method name="equal" c:identifier="g_string_equal"> | |
| 43481 | 44143 | <doc xml:space="preserve" | |
| 43482 | 44144 | filename="glib/gstring.c" | |
| 43483 | - | line="304">Compares two strings for equality, returning %TRUE if they are equal. | |
| 44145 | + | line="336">Compares two strings for equality, returning %TRUE if they are equal. | |
| 43484 | 44146 | For use with #GHashTable.</doc> | |
| 43485 | - | <source-position filename="glib/gstring.h" line="86"/> | |
| 44147 | + | <source-position filename="glib/gstring.h" line="88"/> | |
| 43486 | 44148 | <return-value transfer-ownership="none"> | |
| 43487 | 44149 | <doc xml:space="preserve" | |
| 43488 | 44150 | filename="glib/gstring.c" | |
| 43489 | - | line="312">%TRUE if the strings are the same length and contain the | |
| 44151 | + | line="344">%TRUE if the strings are the same length and contain the | |
| 43490 | 44152 | same bytes</doc> | |
| 43491 | 44153 | <type name="gboolean" c:type="gboolean"/> | |
| 43492 | 44154 | </return-value> | |
| @@ -43494,13 +44156,13 @@ For use with #GHashTable.</doc> | |||
| 43494 | 44156 | <instance-parameter name="v" transfer-ownership="none"> | |
| 43495 | 44157 | <doc xml:space="preserve" | |
| 43496 | 44158 | filename="glib/gstring.c" | |
| 43497 | - | line="306">a #GString</doc> | |
| 44159 | + | line="338">a #GString</doc> | |
| 43498 | 44160 | <type name="String" c:type="const GString*"/> | |
| 43499 | 44161 | </instance-parameter> | |
| 43500 | 44162 | <parameter name="v2" transfer-ownership="none"> | |
| 43501 | 44163 | <doc xml:space="preserve" | |
| 43502 | 44164 | filename="glib/gstring.c" | |
| 43503 | - | line="307">another #GString</doc> | |
| 44165 | + | line="339">another #GString</doc> | |
| 43504 | 44166 | <type name="String" c:type="const GString*"/> | |
| 43505 | 44167 | </parameter> | |
| 43506 | 44168 | </parameters> | |
| @@ -43508,32 +44170,32 @@ For use with #GHashTable.</doc> | |||
| 43508 | 44170 | <method name="erase" c:identifier="g_string_erase"> | |
| 43509 | 44171 | <doc xml:space="preserve" | |
| 43510 | 44172 | filename="glib/gstring.c" | |
| 43511 | - | line="963">Removes @len bytes from a #GString, starting at position @pos. | |
| 44173 | + | line="995">Removes @len bytes from a #GString, starting at position @pos. | |
| 43512 | 44174 | The rest of the #GString is shifted down to fill the gap.</doc> | |
| 43513 | - | <source-position filename="glib/gstring.h" line="152"/> | |
| 44175 | + | <source-position filename="glib/gstring.h" line="154"/> | |
| 43514 | 44176 | <return-value transfer-ownership="none"> | |
| 43515 | 44177 | <doc xml:space="preserve" | |
| 43516 | 44178 | filename="glib/gstring.c" | |
| 43517 | - | line="973">@string</doc> | |
| 44179 | + | line="1005">@string</doc> | |
| 43518 | 44180 | <type name="String" c:type="GString*"/> | |
| 43519 | 44181 | </return-value> | |
| 43520 | 44182 | <parameters> | |
| 43521 | 44183 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43522 | 44184 | <doc xml:space="preserve" | |
| 43523 | 44185 | filename="glib/gstring.c" | |
| 43524 | - | line="965">a #GString</doc> | |
| 44186 | + | line="997">a #GString</doc> | |
| 43525 | 44187 | <type name="String" c:type="GString*"/> | |
| 43526 | 44188 | </instance-parameter> | |
| 43527 | 44189 | <parameter name="pos" transfer-ownership="none"> | |
| 43528 | 44190 | <doc xml:space="preserve" | |
| 43529 | 44191 | filename="glib/gstring.c" | |
| 43530 | - | line="966">the position of the content to remove</doc> | |
| 44192 | + | line="998">the position of the content to remove</doc> | |
| 43531 | 44193 | <type name="gssize" c:type="gssize"/> | |
| 43532 | 44194 | </parameter> | |
| 43533 | 44195 | <parameter name="len" transfer-ownership="none"> | |
| 43534 | 44196 | <doc xml:space="preserve" | |
| 43535 | 44197 | filename="glib/gstring.c" | |
| 43536 | - | line="967">the number of bytes to remove, or -1 to remove all | |
| 44198 | + | line="999">the number of bytes to remove, or -1 to remove all | |
| 43537 | 44199 | following bytes</doc> | |
| 43538 | 44200 | <type name="gssize" c:type="gssize"/> | |
| 43539 | 44201 | </parameter> | |
| @@ -43542,18 +44204,18 @@ The rest of the #GString is shifted down to fill the gap.</doc> | |||
| 43542 | 44204 | <method name="free" c:identifier="g_string_free"> | |
| 43543 | 44205 | <doc xml:space="preserve" | |
| 43544 | 44206 | filename="glib/gstring.c" | |
| 43545 | - | line="217">Frees the memory allocated for the #GString. | |
| 44207 | + | line="249">Frees the memory allocated for the #GString. | |
| 43546 | 44208 | If @free_segment is %TRUE it also frees the character data. If | |
| 43547 | 44209 | it's %FALSE, the caller gains ownership of the buffer and must | |
| 43548 | 44210 | free it after use with g_free(). | |
| 43549 | 44211 | ||
| 43550 | 44212 | Instead of passing %FALSE to this function, consider using | |
| 43551 | 44213 | g_string_free_and_steal().</doc> | |
| 43552 | - | <source-position filename="glib/gstring.h" line="62"/> | |
| 44214 | + | <source-position filename="glib/gstring.h" line="64"/> | |
| 43553 | 44215 | <return-value transfer-ownership="full" nullable="1"> | |
| 43554 | 44216 | <doc xml:space="preserve" | |
| 43555 | 44217 | filename="glib/gstring.c" | |
| 43556 | - | line="230">the character data of @string | |
| 44218 | + | line="262">the character data of @string | |
| 43557 | 44219 | (i.e. %NULL if @free_segment is %TRUE)</doc> | |
| 43558 | 44220 | <type name="utf8" c:type="gchar*"/> | |
| 43559 | 44221 | </return-value> | |
| @@ -43561,13 +44223,13 @@ g_string_free_and_steal().</doc> | |||
| 43561 | 44223 | <instance-parameter name="string" transfer-ownership="full"> | |
| 43562 | 44224 | <doc xml:space="preserve" | |
| 43563 | 44225 | filename="glib/gstring.c" | |
| 43564 | - | line="219">a #GString</doc> | |
| 44226 | + | line="251">a #GString</doc> | |
| 43565 | 44227 | <type name="String" c:type="GString*"/> | |
| 43566 | 44228 | </instance-parameter> | |
| 43567 | 44229 | <parameter name="free_segment" transfer-ownership="none"> | |
| 43568 | 44230 | <doc xml:space="preserve" | |
| 43569 | 44231 | filename="glib/gstring.c" | |
| 43570 | - | line="220">if %TRUE, the actual character data is freed as well</doc> | |
| 44232 | + | line="252">if %TRUE, the actual character data is freed as well</doc> | |
| 43571 | 44233 | <type name="gboolean" c:type="gboolean"/> | |
| 43572 | 44234 | </parameter> | |
| 43573 | 44235 | </parameters> | |
| @@ -43577,22 +44239,22 @@ g_string_free_and_steal().</doc> | |||
| 43577 | 44239 | version="2.76"> | |
| 43578 | 44240 | <doc xml:space="preserve" | |
| 43579 | 44241 | filename="glib/gstring.c" | |
| 43580 | - | line="254">Frees the memory allocated for the #GString. | |
| 44242 | + | line="286">Frees the memory allocated for the #GString. | |
| 43581 | 44243 | ||
| 43582 | 44244 | The caller gains ownership of the buffer and | |
| 43583 | 44245 | must free it after use with g_free().</doc> | |
| 43584 | - | <source-position filename="glib/gstring.h" line="65"/> | |
| 44246 | + | <source-position filename="glib/gstring.h" line="67"/> | |
| 43585 | 44247 | <return-value transfer-ownership="full"> | |
| 43586 | 44248 | <doc xml:space="preserve" | |
| 43587 | 44249 | filename="glib/gstring.c" | |
| 43588 | - | line="263">the character data of @string</doc> | |
| 44250 | + | line="295">the character data of @string</doc> | |
| 43589 | 44251 | <type name="utf8" c:type="gchar*"/> | |
| 43590 | 44252 | </return-value> | |
| 43591 | 44253 | <parameters> | |
| 43592 | 44254 | <instance-parameter name="string" transfer-ownership="full"> | |
| 43593 | 44255 | <doc xml:space="preserve" | |
| 43594 | 44256 | filename="glib/gstring.c" | |
| 43595 | - | line="256">a #GString</doc> | |
| 44257 | + | line="288">a #GString</doc> | |
| 43596 | 44258 | <type name="String" c:type="GString*"/> | |
| 43597 | 44259 | </instance-parameter> | |
| 43598 | 44260 | </parameters> | |
| @@ -43602,7 +44264,7 @@ must free it after use with g_free().</doc> | |||
| 43602 | 44264 | version="2.34"> | |
| 43603 | 44265 | <doc xml:space="preserve" | |
| 43604 | 44266 | filename="glib/gstring.c" | |
| 43605 | - | line="273">Transfers ownership of the contents of @string to a newly allocated | |
| 44267 | + | line="305">Transfers ownership of the contents of @string to a newly allocated | |
| 43606 | 44268 | #GBytes. The #GString structure itself is deallocated, and it is | |
| 43607 | 44269 | therefore invalid to use @string after invoking this function. | |
| 43608 | 44270 | ||
| @@ -43610,18 +44272,18 @@ Note that while #GString ensures that its buffer always has a | |||
| 43610 | 44272 | trailing nul character (not reflected in its "len"), the returned | |
| 43611 | 44273 | #GBytes does not include this extra nul; i.e. it has length exactly | |
| 43612 | 44274 | equal to the "len" member.</doc> | |
| 43613 | - | <source-position filename="glib/gstring.h" line="84"/> | |
| 44275 | + | <source-position filename="glib/gstring.h" line="86"/> | |
| 43614 | 44276 | <return-value transfer-ownership="full"> | |
| 43615 | 44277 | <doc xml:space="preserve" | |
| 43616 | 44278 | filename="glib/gstring.c" | |
| 43617 | - | line="286">A newly allocated #GBytes containing contents of @string; @string itself is freed</doc> | |
| 44279 | + | line="318">A newly allocated #GBytes containing contents of @string; @string itself is freed</doc> | |
| 43618 | 44280 | <type name="Bytes" c:type="GBytes*"/> | |
| 43619 | 44281 | </return-value> | |
| 43620 | 44282 | <parameters> | |
| 43621 | 44283 | <instance-parameter name="string" transfer-ownership="full"> | |
| 43622 | 44284 | <doc xml:space="preserve" | |
| 43623 | 44285 | filename="glib/gstring.c" | |
| 43624 | - | line="275">a #GString</doc> | |
| 44286 | + | line="307">a #GString</doc> | |
| 43625 | 44287 | <type name="String" c:type="GString*"/> | |
| 43626 | 44288 | </instance-parameter> | |
| 43627 | 44289 | </parameters> | |
| @@ -43629,19 +44291,19 @@ equal to the "len" member.</doc> | |||
| 43629 | 44291 | <method name="hash" c:identifier="g_string_hash"> | |
| 43630 | 44292 | <doc xml:space="preserve" | |
| 43631 | 44293 | filename="glib/gstring.c" | |
| 43632 | - | line="340">Creates a hash code for @str; for use with #GHashTable.</doc> | |
| 43633 | - | <source-position filename="glib/gstring.h" line="89"/> | |
| 44294 | + | line="372">Creates a hash code for @str; for use with #GHashTable.</doc> | |
| 44295 | + | <source-position filename="glib/gstring.h" line="91"/> | |
| 43634 | 44296 | <return-value transfer-ownership="none"> | |
| 43635 | 44297 | <doc xml:space="preserve" | |
| 43636 | 44298 | filename="glib/gstring.c" | |
| 43637 | - | line="346">hash code for @str</doc> | |
| 44299 | + | line="378">hash code for @str</doc> | |
| 43638 | 44300 | <type name="guint" c:type="guint"/> | |
| 43639 | 44301 | </return-value> | |
| 43640 | 44302 | <parameters> | |
| 43641 | 44303 | <instance-parameter name="str" transfer-ownership="none"> | |
| 43642 | 44304 | <doc xml:space="preserve" | |
| 43643 | 44305 | filename="glib/gstring.c" | |
| 43644 | - | line="342">a string to hash</doc> | |
| 44306 | + | line="374">a string to hash</doc> | |
| 43645 | 44307 | <type name="String" c:type="const GString*"/> | |
| 43646 | 44308 | </instance-parameter> | |
| 43647 | 44309 | </parameters> | |
| @@ -43649,32 +44311,32 @@ equal to the "len" member.</doc> | |||
| 43649 | 44311 | <method name="insert" c:identifier="g_string_insert"> | |
| 43650 | 44312 | <doc xml:space="preserve" | |
| 43651 | 44313 | filename="glib/gstring.c" | |
| 43652 | - | line="741">Inserts a copy of a string into a #GString, | |
| 44314 | + | line="773">Inserts a copy of a string into a #GString, | |
| 43653 | 44315 | expanding it if necessary.</doc> | |
| 43654 | - | <source-position filename="glib/gstring.h" line="131"/> | |
| 44316 | + | <source-position filename="glib/gstring.h" line="133"/> | |
| 43655 | 44317 | <return-value transfer-ownership="none"> | |
| 43656 | 44318 | <doc xml:space="preserve" | |
| 43657 | 44319 | filename="glib/gstring.c" | |
| 43658 | - | line="750">@string</doc> | |
| 44320 | + | line="782">@string</doc> | |
| 43659 | 44321 | <type name="String" c:type="GString*"/> | |
| 43660 | 44322 | </return-value> | |
| 43661 | 44323 | <parameters> | |
| 43662 | 44324 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43663 | 44325 | <doc xml:space="preserve" | |
| 43664 | 44326 | filename="glib/gstring.c" | |
| 43665 | - | line="743">a #GString</doc> | |
| 44327 | + | line="775">a #GString</doc> | |
| 43666 | 44328 | <type name="String" c:type="GString*"/> | |
| 43667 | 44329 | </instance-parameter> | |
| 43668 | 44330 | <parameter name="pos" transfer-ownership="none"> | |
| 43669 | 44331 | <doc xml:space="preserve" | |
| 43670 | 44332 | filename="glib/gstring.c" | |
| 43671 | - | line="744">the position to insert the copy of the string</doc> | |
| 44333 | + | line="776">the position to insert the copy of the string</doc> | |
| 43672 | 44334 | <type name="gssize" c:type="gssize"/> | |
| 43673 | 44335 | </parameter> | |
| 43674 | 44336 | <parameter name="val" transfer-ownership="none"> | |
| 43675 | 44337 | <doc xml:space="preserve" | |
| 43676 | 44338 | filename="glib/gstring.c" | |
| 43677 | - | line="745">the string to insert</doc> | |
| 44339 | + | line="777">the string to insert</doc> | |
| 43678 | 44340 | <type name="utf8" c:type="const gchar*"/> | |
| 43679 | 44341 | </parameter> | |
| 43680 | 44342 | </parameters> | |
| @@ -43682,31 +44344,31 @@ expanding it if necessary.</doc> | |||
| 43682 | 44344 | <method name="insert_c" c:identifier="g_string_insert_c"> | |
| 43683 | 44345 | <doc xml:space="preserve" | |
| 43684 | 44346 | filename="glib/gstring.c" | |
| 43685 | - | line="760">Inserts a byte into a #GString, expanding it if necessary.</doc> | |
| 43686 | - | <source-position filename="glib/gstring.h" line="135"/> | |
| 44347 | + | line="792">Inserts a byte into a #GString, expanding it if necessary.</doc> | |
| 44348 | + | <source-position filename="glib/gstring.h" line="137"/> | |
| 43687 | 44349 | <return-value transfer-ownership="none"> | |
| 43688 | 44350 | <doc xml:space="preserve" | |
| 43689 | 44351 | filename="glib/gstring.c" | |
| 43690 | - | line="768">@string</doc> | |
| 44352 | + | line="800">@string</doc> | |
| 43691 | 44353 | <type name="String" c:type="GString*"/> | |
| 43692 | 44354 | </return-value> | |
| 43693 | 44355 | <parameters> | |
| 43694 | 44356 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43695 | 44357 | <doc xml:space="preserve" | |
| 43696 | 44358 | filename="glib/gstring.c" | |
| 43697 | - | line="762">a #GString</doc> | |
| 44359 | + | line="794">a #GString</doc> | |
| 43698 | 44360 | <type name="String" c:type="GString*"/> | |
| 43699 | 44361 | </instance-parameter> | |
| 43700 | 44362 | <parameter name="pos" transfer-ownership="none"> | |
| 43701 | 44363 | <doc xml:space="preserve" | |
| 43702 | 44364 | filename="glib/gstring.c" | |
| 43703 | - | line="763">the position to insert the byte</doc> | |
| 44365 | + | line="795">the position to insert the byte</doc> | |
| 43704 | 44366 | <type name="gssize" c:type="gssize"/> | |
| 43705 | 44367 | </parameter> | |
| 43706 | 44368 | <parameter name="c" transfer-ownership="none"> | |
| 43707 | 44369 | <doc xml:space="preserve" | |
| 43708 | 44370 | filename="glib/gstring.c" | |
| 43709 | - | line="764">the byte to insert</doc> | |
| 44371 | + | line="796">the byte to insert</doc> | |
| 43710 | 44372 | <type name="gchar" c:type="gchar"/> | |
| 43711 | 44373 | </parameter> | |
| 43712 | 44374 | </parameters> | |
| @@ -43714,7 +44376,7 @@ expanding it if necessary.</doc> | |||
| 43714 | 44376 | <method name="insert_len" c:identifier="g_string_insert_len"> | |
| 43715 | 44377 | <doc xml:space="preserve" | |
| 43716 | 44378 | filename="glib/gstring.c" | |
| 43717 | - | line="447">Inserts @len bytes of @val into @string at @pos. | |
| 44379 | + | line="479">Inserts @len bytes of @val into @string at @pos. | |
| 43718 | 44380 | ||
| 43719 | 44381 | If @len is positive, @val may contain embedded nuls and need | |
| 43720 | 44382 | not be nul-terminated. It is the caller's responsibility to | |
| @@ -43724,37 +44386,37 @@ If @len is negative, @val must be nul-terminated and @len | |||
| 43724 | 44386 | is considered to request the entire string length. | |
| 43725 | 44387 | ||
| 43726 | 44388 | If @pos is -1, bytes are inserted at the end of the string.</doc> | |
| 43727 | - | <source-position filename="glib/gstring.h" line="100"/> | |
| 44389 | + | <source-position filename="glib/gstring.h" line="102"/> | |
| 43728 | 44390 | <return-value transfer-ownership="none"> | |
| 43729 | 44391 | <doc xml:space="preserve" | |
| 43730 | 44392 | filename="glib/gstring.c" | |
| 43731 | - | line="466">@string</doc> | |
| 44393 | + | line="498">@string</doc> | |
| 43732 | 44394 | <type name="String" c:type="GString*"/> | |
| 43733 | 44395 | </return-value> | |
| 43734 | 44396 | <parameters> | |
| 43735 | 44397 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43736 | 44398 | <doc xml:space="preserve" | |
| 43737 | 44399 | filename="glib/gstring.c" | |
| 43738 | - | line="449">a #GString</doc> | |
| 44400 | + | line="481">a #GString</doc> | |
| 43739 | 44401 | <type name="String" c:type="GString*"/> | |
| 43740 | 44402 | </instance-parameter> | |
| 43741 | 44403 | <parameter name="pos" transfer-ownership="none"> | |
| 43742 | 44404 | <doc xml:space="preserve" | |
| 43743 | 44405 | filename="glib/gstring.c" | |
| 43744 | - | line="450">position in @string where insertion should | |
| 44406 | + | line="482">position in @string where insertion should | |
| 43745 | 44407 | happen, or -1 for at the end</doc> | |
| 43746 | 44408 | <type name="gssize" c:type="gssize"/> | |
| 43747 | 44409 | </parameter> | |
| 43748 | 44410 | <parameter name="val" transfer-ownership="none"> | |
| 43749 | 44411 | <doc xml:space="preserve" | |
| 43750 | 44412 | filename="glib/gstring.c" | |
| 43751 | - | line="452">bytes to insert</doc> | |
| 44413 | + | line="484">bytes to insert</doc> | |
| 43752 | 44414 | <type name="utf8" c:type="const gchar*"/> | |
| 43753 | 44415 | </parameter> | |
| 43754 | 44416 | <parameter name="len" transfer-ownership="none"> | |
| 43755 | 44417 | <doc xml:space="preserve" | |
| 43756 | 44418 | filename="glib/gstring.c" | |
| 43757 | - | line="453">number of bytes of @val to insert, or -1 for all of @val</doc> | |
| 44419 | + | line="485">number of bytes of @val to insert, or -1 for all of @val</doc> | |
| 43758 | 44420 | <type name="gssize" c:type="gssize"/> | |
| 43759 | 44421 | </parameter> | |
| 43760 | 44422 | </parameters> | |
| @@ -43762,33 +44424,33 @@ If @pos is -1, bytes are inserted at the end of the string.</doc> | |||
| 43762 | 44424 | <method name="insert_unichar" c:identifier="g_string_insert_unichar"> | |
| 43763 | 44425 | <doc xml:space="preserve" | |
| 43764 | 44426 | filename="glib/gstring.c" | |
| 43765 | - | line="803">Converts a Unicode character into UTF-8, and insert it | |
| 44427 | + | line="835">Converts a Unicode character into UTF-8, and insert it | |
| 43766 | 44428 | into the string at the given position.</doc> | |
| 43767 | - | <source-position filename="glib/gstring.h" line="139"/> | |
| 44429 | + | <source-position filename="glib/gstring.h" line="141"/> | |
| 43768 | 44430 | <return-value transfer-ownership="none"> | |
| 43769 | 44431 | <doc xml:space="preserve" | |
| 43770 | 44432 | filename="glib/gstring.c" | |
| 43771 | - | line="813">@string</doc> | |
| 44433 | + | line="845">@string</doc> | |
| 43772 | 44434 | <type name="String" c:type="GString*"/> | |
| 43773 | 44435 | </return-value> | |
| 43774 | 44436 | <parameters> | |
| 43775 | 44437 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43776 | 44438 | <doc xml:space="preserve" | |
| 43777 | 44439 | filename="glib/gstring.c" | |
| 43778 | - | line="805">a #GString</doc> | |
| 44440 | + | line="837">a #GString</doc> | |
| 43779 | 44441 | <type name="String" c:type="GString*"/> | |
| 43780 | 44442 | </instance-parameter> | |
| 43781 | 44443 | <parameter name="pos" transfer-ownership="none"> | |
| 43782 | 44444 | <doc xml:space="preserve" | |
| 43783 | 44445 | filename="glib/gstring.c" | |
| 43784 | - | line="806">the position at which to insert character, or -1 | |
| 44446 | + | line="838">the position at which to insert character, or -1 | |
| 43785 | 44447 | to append at the end of the string</doc> | |
| 43786 | 44448 | <type name="gssize" c:type="gssize"/> | |
| 43787 | 44449 | </parameter> | |
| 43788 | 44450 | <parameter name="wc" transfer-ownership="none"> | |
| 43789 | 44451 | <doc xml:space="preserve" | |
| 43790 | 44452 | filename="glib/gstring.c" | |
| 43791 | - | line="808">a Unicode character</doc> | |
| 44453 | + | line="840">a Unicode character</doc> | |
| 43792 | 44454 | <type name="gunichar" c:type="gunichar"/> | |
| 43793 | 44455 | </parameter> | |
| 43794 | 44456 | </parameters> | |
| @@ -43798,31 +44460,31 @@ into the string at the given position.</doc> | |||
| 43798 | 44460 | version="2.14"> | |
| 43799 | 44461 | <doc xml:space="preserve" | |
| 43800 | 44462 | filename="glib/gstring.c" | |
| 43801 | - | line="890">Overwrites part of a string, lengthening it if necessary.</doc> | |
| 43802 | - | <source-position filename="glib/gstring.h" line="143"/> | |
| 44463 | + | line="922">Overwrites part of a string, lengthening it if necessary.</doc> | |
| 44464 | + | <source-position filename="glib/gstring.h" line="145"/> | |
| 43803 | 44465 | <return-value transfer-ownership="none"> | |
| 43804 | 44466 | <doc xml:space="preserve" | |
| 43805 | 44467 | filename="glib/gstring.c" | |
| 43806 | - | line="898">@string</doc> | |
| 44468 | + | line="930">@string</doc> | |
| 43807 | 44469 | <type name="String" c:type="GString*"/> | |
| 43808 | 44470 | </return-value> | |
| 43809 | 44471 | <parameters> | |
| 43810 | 44472 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43811 | 44473 | <doc xml:space="preserve" | |
| 43812 | 44474 | filename="glib/gstring.c" | |
| 43813 | - | line="892">a #GString</doc> | |
| 44475 | + | line="924">a #GString</doc> | |
| 43814 | 44476 | <type name="String" c:type="GString*"/> | |
| 43815 | 44477 | </instance-parameter> | |
| 43816 | 44478 | <parameter name="pos" transfer-ownership="none"> | |
| 43817 | 44479 | <doc xml:space="preserve" | |
| 43818 | 44480 | filename="glib/gstring.c" | |
| 43819 | - | line="893">the position at which to start overwriting</doc> | |
| 44481 | + | line="925">the position at which to start overwriting</doc> | |
| 43820 | 44482 | <type name="gsize" c:type="gsize"/> | |
| 43821 | 44483 | </parameter> | |
| 43822 | 44484 | <parameter name="val" transfer-ownership="none"> | |
| 43823 | 44485 | <doc xml:space="preserve" | |
| 43824 | 44486 | filename="glib/gstring.c" | |
| 43825 | - | line="894">the string that will overwrite the @string starting at @pos</doc> | |
| 44487 | + | line="926">the string that will overwrite the @string starting at @pos</doc> | |
| 43826 | 44488 | <type name="utf8" c:type="const gchar*"/> | |
| 43827 | 44489 | </parameter> | |
| 43828 | 44490 | </parameters> | |
| @@ -43832,38 +44494,38 @@ into the string at the given position.</doc> | |||
| 43832 | 44494 | version="2.14"> | |
| 43833 | 44495 | <doc xml:space="preserve" | |
| 43834 | 44496 | filename="glib/gstring.c" | |
| 43835 | - | line="911">Overwrites part of a string, lengthening it if necessary. | |
| 44497 | + | line="943">Overwrites part of a string, lengthening it if necessary. | |
| 43836 | 44498 | This function will work with embedded nuls.</doc> | |
| 43837 | - | <source-position filename="glib/gstring.h" line="147"/> | |
| 44499 | + | <source-position filename="glib/gstring.h" line="149"/> | |
| 43838 | 44500 | <return-value transfer-ownership="none"> | |
| 43839 | 44501 | <doc xml:space="preserve" | |
| 43840 | 44502 | filename="glib/gstring.c" | |
| 43841 | - | line="921">@string</doc> | |
| 44503 | + | line="953">@string</doc> | |
| 43842 | 44504 | <type name="String" c:type="GString*"/> | |
| 43843 | 44505 | </return-value> | |
| 43844 | 44506 | <parameters> | |
| 43845 | 44507 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43846 | 44508 | <doc xml:space="preserve" | |
| 43847 | 44509 | filename="glib/gstring.c" | |
| 43848 | - | line="913">a #GString</doc> | |
| 44510 | + | line="945">a #GString</doc> | |
| 43849 | 44511 | <type name="String" c:type="GString*"/> | |
| 43850 | 44512 | </instance-parameter> | |
| 43851 | 44513 | <parameter name="pos" transfer-ownership="none"> | |
| 43852 | 44514 | <doc xml:space="preserve" | |
| 43853 | 44515 | filename="glib/gstring.c" | |
| 43854 | - | line="914">the position at which to start overwriting</doc> | |
| 44516 | + | line="946">the position at which to start overwriting</doc> | |
| 43855 | 44517 | <type name="gsize" c:type="gsize"/> | |
| 43856 | 44518 | </parameter> | |
| 43857 | 44519 | <parameter name="val" transfer-ownership="none"> | |
| 43858 | 44520 | <doc xml:space="preserve" | |
| 43859 | 44521 | filename="glib/gstring.c" | |
| 43860 | - | line="915">the string that will overwrite the @string starting at @pos</doc> | |
| 44522 | + | line="947">the string that will overwrite the @string starting at @pos</doc> | |
| 43861 | 44523 | <type name="utf8" c:type="const gchar*"/> | |
| 43862 | 44524 | </parameter> | |
| 43863 | 44525 | <parameter name="len" transfer-ownership="none"> | |
| 43864 | 44526 | <doc xml:space="preserve" | |
| 43865 | 44527 | filename="glib/gstring.c" | |
| 43866 | - | line="916">the number of bytes to write from @val</doc> | |
| 44528 | + | line="948">the number of bytes to write from @val</doc> | |
| 43867 | 44529 | <type name="gssize" c:type="gssize"/> | |
| 43868 | 44530 | </parameter> | |
| 43869 | 44531 | </parameters> | |
| @@ -43871,26 +44533,26 @@ This function will work with embedded nuls.</doc> | |||
| 43871 | 44533 | <method name="prepend" c:identifier="g_string_prepend"> | |
| 43872 | 44534 | <doc xml:space="preserve" | |
| 43873 | 44535 | filename="glib/gstring.c" | |
| 43874 | - | line="660">Adds a string on to the start of a #GString, | |
| 44536 | + | line="692">Adds a string on to the start of a #GString, | |
| 43875 | 44537 | expanding it if necessary.</doc> | |
| 43876 | - | <source-position filename="glib/gstring.h" line="118"/> | |
| 44538 | + | <source-position filename="glib/gstring.h" line="120"/> | |
| 43877 | 44539 | <return-value transfer-ownership="none"> | |
| 43878 | 44540 | <doc xml:space="preserve" | |
| 43879 | 44541 | filename="glib/gstring.c" | |
| 43880 | - | line="668">@string</doc> | |
| 44542 | + | line="700">@string</doc> | |
| 43881 | 44543 | <type name="String" c:type="GString*"/> | |
| 43882 | 44544 | </return-value> | |
| 43883 | 44545 | <parameters> | |
| 43884 | 44546 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43885 | 44547 | <doc xml:space="preserve" | |
| 43886 | 44548 | filename="glib/gstring.c" | |
| 43887 | - | line="662">a #GString</doc> | |
| 44549 | + | line="694">a #GString</doc> | |
| 43888 | 44550 | <type name="String" c:type="GString*"/> | |
| 43889 | 44551 | </instance-parameter> | |
| 43890 | 44552 | <parameter name="val" transfer-ownership="none"> | |
| 43891 | 44553 | <doc xml:space="preserve" | |
| 43892 | 44554 | filename="glib/gstring.c" | |
| 43893 | - | line="663">the string to prepend on the start of @string</doc> | |
| 44555 | + | line="695">the string to prepend on the start of @string</doc> | |
| 43894 | 44556 | <type name="utf8" c:type="const gchar*"/> | |
| 43895 | 44557 | </parameter> | |
| 43896 | 44558 | </parameters> | |
| @@ -43898,26 +44560,26 @@ expanding it if necessary.</doc> | |||
| 43898 | 44560 | <method name="prepend_c" c:identifier="g_string_prepend_c"> | |
| 43899 | 44561 | <doc xml:space="preserve" | |
| 43900 | 44562 | filename="glib/gstring.c" | |
| 43901 | - | line="703">Adds a byte onto the start of a #GString, | |
| 44563 | + | line="735">Adds a byte onto the start of a #GString, | |
| 43902 | 44564 | expanding it if necessary.</doc> | |
| 43903 | - | <source-position filename="glib/gstring.h" line="121"/> | |
| 44565 | + | <source-position filename="glib/gstring.h" line="123"/> | |
| 43904 | 44566 | <return-value transfer-ownership="none"> | |
| 43905 | 44567 | <doc xml:space="preserve" | |
| 43906 | 44568 | filename="glib/gstring.c" | |
| 43907 | - | line="711">@string</doc> | |
| 44569 | + | line="743">@string</doc> | |
| 43908 | 44570 | <type name="String" c:type="GString*"/> | |
| 43909 | 44571 | </return-value> | |
| 43910 | 44572 | <parameters> | |
| 43911 | 44573 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43912 | 44574 | <doc xml:space="preserve" | |
| 43913 | 44575 | filename="glib/gstring.c" | |
| 43914 | - | line="705">a #GString</doc> | |
| 44576 | + | line="737">a #GString</doc> | |
| 43915 | 44577 | <type name="String" c:type="GString*"/> | |
| 43916 | 44578 | </instance-parameter> | |
| 43917 | 44579 | <parameter name="c" transfer-ownership="none"> | |
| 43918 | 44580 | <doc xml:space="preserve" | |
| 43919 | 44581 | filename="glib/gstring.c" | |
| 43920 | - | line="706">the byte to prepend on the start of the #GString</doc> | |
| 44582 | + | line="738">the byte to prepend on the start of the #GString</doc> | |
| 43921 | 44583 | <type name="gchar" c:type="gchar"/> | |
| 43922 | 44584 | </parameter> | |
| 43923 | 44585 | </parameters> | |
| @@ -43925,7 +44587,7 @@ expanding it if necessary.</doc> | |||
| 43925 | 44587 | <method name="prepend_len" c:identifier="g_string_prepend_len"> | |
| 43926 | 44588 | <doc xml:space="preserve" | |
| 43927 | 44589 | filename="glib/gstring.c" | |
| 43928 | - | line="677">Prepends @len bytes of @val to @string. | |
| 44590 | + | line="709">Prepends @len bytes of @val to @string. | |
| 43929 | 44591 | ||
| 43930 | 44592 | If @len is positive, @val may contain embedded nuls and need | |
| 43931 | 44593 | not be nul-terminated. It is the caller's responsibility to | |
| @@ -43934,30 +44596,30 @@ ensure that @val has at least @len addressable bytes. | |||
| 43934 | 44596 | If @len is negative, @val must be nul-terminated and @len | |
| 43935 | 44597 | is considered to request the entire string length. This | |
| 43936 | 44598 | makes g_string_prepend_len() equivalent to g_string_prepend().</doc> | |
| 43937 | - | <source-position filename="glib/gstring.h" line="127"/> | |
| 44599 | + | <source-position filename="glib/gstring.h" line="129"/> | |
| 43938 | 44600 | <return-value transfer-ownership="none"> | |
| 43939 | 44601 | <doc xml:space="preserve" | |
| 43940 | 44602 | filename="glib/gstring.c" | |
| 43941 | - | line="693">@string</doc> | |
| 44603 | + | line="725">@string</doc> | |
| 43942 | 44604 | <type name="String" c:type="GString*"/> | |
| 43943 | 44605 | </return-value> | |
| 43944 | 44606 | <parameters> | |
| 43945 | 44607 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43946 | 44608 | <doc xml:space="preserve" | |
| 43947 | 44609 | filename="glib/gstring.c" | |
| 43948 | - | line="679">a #GString</doc> | |
| 44610 | + | line="711">a #GString</doc> | |
| 43949 | 44611 | <type name="String" c:type="GString*"/> | |
| 43950 | 44612 | </instance-parameter> | |
| 43951 | 44613 | <parameter name="val" transfer-ownership="none"> | |
| 43952 | 44614 | <doc xml:space="preserve" | |
| 43953 | 44615 | filename="glib/gstring.c" | |
| 43954 | - | line="680">bytes to prepend</doc> | |
| 44616 | + | line="712">bytes to prepend</doc> | |
| 43955 | 44617 | <type name="utf8" c:type="const gchar*"/> | |
| 43956 | 44618 | </parameter> | |
| 43957 | 44619 | <parameter name="len" transfer-ownership="none"> | |
| 43958 | 44620 | <doc xml:space="preserve" | |
| 43959 | 44621 | filename="glib/gstring.c" | |
| 43960 | - | line="681">number of bytes in @val to prepend, or -1 for all of @val</doc> | |
| 44622 | + | line="713">number of bytes in @val to prepend, or -1 for all of @val</doc> | |
| 43961 | 44623 | <type name="gssize" c:type="gssize"/> | |
| 43962 | 44624 | </parameter> | |
| 43963 | 44625 | </parameters> | |
| @@ -43965,26 +44627,26 @@ makes g_string_prepend_len() equivalent to g_string_prepend().</doc> | |||
| 43965 | 44627 | <method name="prepend_unichar" c:identifier="g_string_prepend_unichar"> | |
| 43966 | 44628 | <doc xml:space="preserve" | |
| 43967 | 44629 | filename="glib/gstring.c" | |
| 43968 | - | line="722">Converts a Unicode character into UTF-8, and prepends it | |
| 44630 | + | line="754">Converts a Unicode character into UTF-8, and prepends it | |
| 43969 | 44631 | to the string.</doc> | |
| 43970 | - | <source-position filename="glib/gstring.h" line="124"/> | |
| 44632 | + | <source-position filename="glib/gstring.h" line="126"/> | |
| 43971 | 44633 | <return-value transfer-ownership="none"> | |
| 43972 | 44634 | <doc xml:space="preserve" | |
| 43973 | 44635 | filename="glib/gstring.c" | |
| 43974 | - | line="730">@string</doc> | |
| 44636 | + | line="762">@string</doc> | |
| 43975 | 44637 | <type name="String" c:type="GString*"/> | |
| 43976 | 44638 | </return-value> | |
| 43977 | 44639 | <parameters> | |
| 43978 | 44640 | <instance-parameter name="string" transfer-ownership="none"> | |
| 43979 | 44641 | <doc xml:space="preserve" | |
| 43980 | 44642 | filename="glib/gstring.c" | |
| 43981 | - | line="724">a #GString</doc> | |
| 44643 | + | line="756">a #GString</doc> | |
| 43982 | 44644 | <type name="String" c:type="GString*"/> | |
| 43983 | 44645 | </instance-parameter> | |
| 43984 | 44646 | <parameter name="wc" transfer-ownership="none"> | |
| 43985 | 44647 | <doc xml:space="preserve" | |
| 43986 | 44648 | filename="glib/gstring.c" | |
| 43987 | - | line="725">a Unicode character</doc> | |
| 44649 | + | line="757">a Unicode character</doc> | |
| 43988 | 44650 | <type name="gunichar" c:type="gunichar"/> | |
| 43989 | 44651 | </parameter> | |
| 43990 | 44652 | </parameters> | |
| @@ -43992,12 +44654,12 @@ to the string.</doc> | |||
| 43992 | 44654 | <method name="printf" c:identifier="g_string_printf" introspectable="0"> | |
| 43993 | 44655 | <doc xml:space="preserve" | |
| 43994 | 44656 | filename="glib/gstring.c" | |
| 43995 | - | line="1377">Writes a formatted string into a #GString. | |
| 44657 | + | line="1409">Writes a formatted string into a #GString. | |
| 43996 | 44658 | This is similar to the standard sprintf() function, | |
| 43997 | 44659 | except that the #GString buffer automatically expands | |
| 43998 | 44660 | to contain the results. The previous contents of the | |
| 43999 | 44661 | #GString are destroyed.</doc> | |
| 44000 | - | <source-position filename="glib/gstring.h" line="170"/> | |
| 44662 | + | <source-position filename="glib/gstring.h" line="172"/> | |
| 44001 | 44663 | <return-value transfer-ownership="none"> | |
| 44002 | 44664 | <type name="none" c:type="void"/> | |
| 44003 | 44665 | </return-value> | |
| @@ -44005,19 +44667,19 @@ to contain the results. The previous contents of the | |||
| 44005 | 44667 | <instance-parameter name="string" transfer-ownership="none"> | |
| 44006 | 44668 | <doc xml:space="preserve" | |
| 44007 | 44669 | filename="glib/gstring.c" | |
| 44008 | - | line="1379">a #GString</doc> | |
| 44670 | + | line="1411">a #GString</doc> | |
| 44009 | 44671 | <type name="String" c:type="GString*"/> | |
| 44010 | 44672 | </instance-parameter> | |
| 44011 | 44673 | <parameter name="format" transfer-ownership="none"> | |
| 44012 | 44674 | <doc xml:space="preserve" | |
| 44013 | 44675 | filename="glib/gstring.c" | |
| 44014 | - | line="1380">the string format. See the printf() documentation</doc> | |
| 44676 | + | line="1412">the string format. See the printf() documentation</doc> | |
| 44015 | 44677 | <type name="utf8" c:type="const gchar*"/> | |
| 44016 | 44678 | </parameter> | |
| 44017 | 44679 | <parameter name="..." transfer-ownership="none"> | |
| 44018 | 44680 | <doc xml:space="preserve" | |
| 44019 | 44681 | filename="glib/gstring.c" | |
| 44020 | - | line="1381">the parameters to insert into the format string</doc> | |
| 44682 | + | line="1413">the parameters to insert into the format string</doc> | |
| 44021 | 44683 | <varargs/> | |
| 44022 | 44684 | </parameter> | |
| 44023 | 44685 | </parameters> | |
| @@ -44025,7 +44687,7 @@ to contain the results. The previous contents of the | |||
| 44025 | 44687 | <method name="replace" c:identifier="g_string_replace" version="2.68"> | |
| 44026 | 44688 | <doc xml:space="preserve" | |
| 44027 | 44689 | filename="glib/gstring.c" | |
| 44028 | - | line="1008">Replaces the string @find with the string @replace in a #GString up to | |
| 44690 | + | line="1040">Replaces the string @find with the string @replace in a #GString up to | |
| 44029 | 44691 | @limit times. If the number of instances of @find in the #GString is | |
| 44030 | 44692 | less than @limit, all instances are replaced. If @limit is `0`, | |
| 44031 | 44693 | all instances of @find are replaced. | |
| @@ -44034,36 +44696,36 @@ If @find is the empty string, since versions 2.69.1 and 2.68.4 the | |||
| 44034 | 44696 | replacement will be inserted no more than once per possible position | |
| 44035 | 44697 | (beginning of string, end of string and between characters). This did | |
| 44036 | 44698 | not work correctly in earlier versions.</doc> | |
| 44037 | - | <source-position filename="glib/gstring.h" line="156"/> | |
| 44699 | + | <source-position filename="glib/gstring.h" line="158"/> | |
| 44038 | 44700 | <return-value transfer-ownership="none"> | |
| 44039 | 44701 | <doc xml:space="preserve" | |
| 44040 | 44702 | filename="glib/gstring.c" | |
| 44041 | - | line="1026">the number of find and replace operations performed.</doc> | |
| 44703 | + | line="1058">the number of find and replace operations performed.</doc> | |
| 44042 | 44704 | <type name="guint" c:type="guint"/> | |
| 44043 | 44705 | </return-value> | |
| 44044 | 44706 | <parameters> | |
| 44045 | 44707 | <instance-parameter name="string" transfer-ownership="none"> | |
| 44046 | 44708 | <doc xml:space="preserve" | |
| 44047 | 44709 | filename="glib/gstring.c" | |
| 44048 | - | line="1010">a #GString</doc> | |
| 44710 | + | line="1042">a #GString</doc> | |
| 44049 | 44711 | <type name="String" c:type="GString*"/> | |
| 44050 | 44712 | </instance-parameter> | |
| 44051 | 44713 | <parameter name="find" transfer-ownership="none"> | |
| 44052 | 44714 | <doc xml:space="preserve" | |
| 44053 | 44715 | filename="glib/gstring.c" | |
| 44054 | - | line="1011">the string to find in @string</doc> | |
| 44716 | + | line="1043">the string to find in @string</doc> | |
| 44055 | 44717 | <type name="utf8" c:type="const gchar*"/> | |
| 44056 | 44718 | </parameter> | |
| 44057 | 44719 | <parameter name="replace" transfer-ownership="none"> | |
| 44058 | 44720 | <doc xml:space="preserve" | |
| 44059 | 44721 | filename="glib/gstring.c" | |
| 44060 | - | line="1012">the string to insert in place of @find</doc> | |
| 44722 | + | line="1044">the string to insert in place of @find</doc> | |
| 44061 | 44723 | <type name="utf8" c:type="const gchar*"/> | |
| 44062 | 44724 | </parameter> | |
| 44063 | 44725 | <parameter name="limit" transfer-ownership="none"> | |
| 44064 | 44726 | <doc xml:space="preserve" | |
| 44065 | 44727 | filename="glib/gstring.c" | |
| 44066 | - | line="1013">the maximum instances of @find to replace with @replace, or `0` for | |
| 44728 | + | line="1045">the maximum instances of @find to replace with @replace, or `0` for | |
| 44067 | 44729 | no limit</doc> | |
| 44068 | 44730 | <type name="guint" c:type="guint"/> | |
| 44069 | 44731 | </parameter> | |
| @@ -44072,29 +44734,29 @@ no limit</doc> | |||
| 44072 | 44734 | <method name="set_size" c:identifier="g_string_set_size"> | |
| 44073 | 44735 | <doc xml:space="preserve" | |
| 44074 | 44736 | filename="glib/gstring.c" | |
| 44075 | - | line="419">Sets the length of a #GString. If the length is less than | |
| 44737 | + | line="451">Sets the length of a #GString. If the length is less than | |
| 44076 | 44738 | the current length, the string will be truncated. If the | |
| 44077 | 44739 | length is greater than the current length, the contents | |
| 44078 | 44740 | of the newly added area are undefined. (However, as | |
| 44079 | 44741 | always, string->str[string->len] will be a nul byte.)</doc> | |
| 44080 | - | <source-position filename="glib/gstring.h" line="97"/> | |
| 44742 | + | <source-position filename="glib/gstring.h" line="99"/> | |
| 44081 | 44743 | <return-value transfer-ownership="none"> | |
| 44082 | 44744 | <doc xml:space="preserve" | |
| 44083 | 44745 | filename="glib/gstring.c" | |
| 44084 | - | line="430">@string</doc> | |
| 44746 | + | line="462">@string</doc> | |
| 44085 | 44747 | <type name="String" c:type="GString*"/> | |
| 44086 | 44748 | </return-value> | |
| 44087 | 44749 | <parameters> | |
| 44088 | 44750 | <instance-parameter name="string" transfer-ownership="none"> | |
| 44089 | 44751 | <doc xml:space="preserve" | |
| 44090 | 44752 | filename="glib/gstring.c" | |
| 44091 | - | line="421">a #GString</doc> | |
| 44753 | + | line="453">a #GString</doc> | |
| 44092 | 44754 | <type name="String" c:type="GString*"/> | |
| 44093 | 44755 | </instance-parameter> | |
| 44094 | 44756 | <parameter name="len" transfer-ownership="none"> | |
| 44095 | 44757 | <doc xml:space="preserve" | |
| 44096 | 44758 | filename="glib/gstring.c" | |
| 44097 | - | line="422">the new length</doc> | |
| 44759 | + | line="454">the new length</doc> | |
| 44098 | 44760 | <type name="gsize" c:type="gsize"/> | |
| 44099 | 44761 | </parameter> | |
| 44100 | 44762 | </parameters> | |
| @@ -44102,25 +44764,25 @@ always, string->str[string->len] will be a nul byte.)</doc> | |||
| 44102 | 44764 | <method name="truncate" c:identifier="g_string_truncate"> | |
| 44103 | 44765 | <doc xml:space="preserve" | |
| 44104 | 44766 | filename="glib/gstring.c" | |
| 44105 | - | line="398">Cuts off the end of the GString, leaving the first @len bytes.</doc> | |
| 44106 | - | <source-position filename="glib/gstring.h" line="94"/> | |
| 44767 | + | line="430">Cuts off the end of the GString, leaving the first @len bytes.</doc> | |
| 44768 | + | <source-position filename="glib/gstring.h" line="96"/> | |
| 44107 | 44769 | <return-value transfer-ownership="none"> | |
| 44108 | 44770 | <doc xml:space="preserve" | |
| 44109 | 44771 | filename="glib/gstring.c" | |
| 44110 | - | line="405">@string</doc> | |
| 44772 | + | line="437">@string</doc> | |
| 44111 | 44773 | <type name="String" c:type="GString*"/> | |
| 44112 | 44774 | </return-value> | |
| 44113 | 44775 | <parameters> | |
| 44114 | 44776 | <instance-parameter name="string" transfer-ownership="none"> | |
| 44115 | 44777 | <doc xml:space="preserve" | |
| 44116 | 44778 | filename="glib/gstring.c" | |
| 44117 | - | line="400">a #GString</doc> | |
| 44779 | + | line="432">a #GString</doc> | |
| 44118 | 44780 | <type name="String" c:type="GString*"/> | |
| 44119 | 44781 | </instance-parameter> | |
| 44120 | 44782 | <parameter name="len" transfer-ownership="none"> | |
| 44121 | 44783 | <doc xml:space="preserve" | |
| 44122 | 44784 | filename="glib/gstring.c" | |
| 44123 | - | line="401">the new size of @string</doc> | |
| 44785 | + | line="433">the new size of @string</doc> | |
| 44124 | 44786 | <type name="gsize" c:type="gsize"/> | |
| 44125 | 44787 | </parameter> | |
| 44126 | 44788 | </parameters> | |
| @@ -44131,22 +44793,22 @@ always, string->str[string->len] will be a nul byte.)</doc> | |||
| 44131 | 44793 | deprecated-version="2.2"> | |
| 44132 | 44794 | <doc xml:space="preserve" | |
| 44133 | 44795 | filename="glib/gstring.c" | |
| 44134 | - | line="1268">Converts a #GString to uppercase.</doc> | |
| 44796 | + | line="1300">Converts a #GString to uppercase.</doc> | |
| 44135 | 44797 | <doc-deprecated xml:space="preserve">This function uses the locale-specific | |
| 44136 | 44798 | toupper() function, which is almost never the right thing. | |
| 44137 | 44799 | Use g_string_ascii_up() or g_utf8_strup() instead.</doc-deprecated> | |
| 44138 | - | <source-position filename="glib/gstring.h" line="293"/> | |
| 44800 | + | <source-position filename="glib/gstring.h" line="295"/> | |
| 44139 | 44801 | <return-value transfer-ownership="none"> | |
| 44140 | 44802 | <doc xml:space="preserve" | |
| 44141 | 44803 | filename="glib/gstring.c" | |
| 44142 | - | line="1274">@string</doc> | |
| 44804 | + | line="1306">@string</doc> | |
| 44143 | 44805 | <type name="String" c:type="GString*"/> | |
| 44144 | 44806 | </return-value> | |
| 44145 | 44807 | <parameters> | |
| 44146 | 44808 | <instance-parameter name="string" transfer-ownership="none"> | |
| 44147 | 44809 | <doc xml:space="preserve" | |
| 44148 | 44810 | filename="glib/gstring.c" | |
| 44149 | - | line="1270">a #GString</doc> | |
| 44811 | + | line="1302">a #GString</doc> | |
| 44150 | 44812 | <type name="String" c:type="GString*"/> | |
| 44151 | 44813 | </instance-parameter> | |
| 44152 | 44814 | </parameters> | |
| @@ -44157,10 +44819,10 @@ always, string->str[string->len] will be a nul byte.)</doc> | |||
| 44157 | 44819 | introspectable="0"> | |
| 44158 | 44820 | <doc xml:space="preserve" | |
| 44159 | 44821 | filename="glib/gstring.c" | |
| 44160 | - | line="1341">Writes a formatted string into a #GString. | |
| 44822 | + | line="1373">Writes a formatted string into a #GString. | |
| 44161 | 44823 | This function is similar to g_string_printf() except that | |
| 44162 | 44824 | the arguments to the format string are passed as a va_list.</doc> | |
| 44163 | - | <source-position filename="glib/gstring.h" line="165"/> | |
| 44825 | + | <source-position filename="glib/gstring.h" line="167"/> | |
| 44164 | 44826 | <return-value transfer-ownership="none"> | |
| 44165 | 44827 | <type name="none" c:type="void"/> | |
| 44166 | 44828 | </return-value> | |
| @@ -44168,19 +44830,19 @@ the arguments to the format string are passed as a va_list.</doc> | |||
| 44168 | 44830 | <instance-parameter name="string" transfer-ownership="none"> | |
| 44169 | 44831 | <doc xml:space="preserve" | |
| 44170 | 44832 | filename="glib/gstring.c" | |
| 44171 | - | line="1343">a #GString</doc> | |
| 44833 | + | line="1375">a #GString</doc> | |
| 44172 | 44834 | <type name="String" c:type="GString*"/> | |
| 44173 | 44835 | </instance-parameter> | |
| 44174 | 44836 | <parameter name="format" transfer-ownership="none"> | |
| 44175 | 44837 | <doc xml:space="preserve" | |
| 44176 | 44838 | filename="glib/gstring.c" | |
| 44177 | - | line="1344">the string format. See the printf() documentation</doc> | |
| 44839 | + | line="1376">the string format. See the printf() documentation</doc> | |
| 44178 | 44840 | <type name="utf8" c:type="const gchar*"/> | |
| 44179 | 44841 | </parameter> | |
| 44180 | 44842 | <parameter name="args" transfer-ownership="none"> | |
| 44181 | 44843 | <doc xml:space="preserve" | |
| 44182 | 44844 | filename="glib/gstring.c" | |
| 44183 | - | line="1345">the parameters to insert into the format string</doc> | |
| 44845 | + | line="1377">the parameters to insert into the format string</doc> | |
| 44184 | 44846 | <type name="va_list" c:type="va_list"/> | |
| 44185 | 44847 | </parameter> | |
| 44186 | 44848 | </parameters> | |
| @@ -46315,7 +46977,7 @@ can be stopped by calling [func@GLib.ThreadPool.stop_unused_threads].</doc> | |||
| 46315 | 46977 | <method name="free" c:identifier="g_thread_pool_free"> | |
| 46316 | 46978 | <doc xml:space="preserve" | |
| 46317 | 46979 | filename="glib/gthreadpool.c" | |
| 46318 | - | line="876">Frees all resources allocated for @pool. | |
| 46980 | + | line="888">Frees all resources allocated for @pool. | |
| 46319 | 46981 | ||
| 46320 | 46982 | If @immediate is %TRUE, no new task is processed for @pool. | |
| 46321 | 46983 | Otherwise @pool is not freed before the last task is processed. | |
| @@ -46337,19 +46999,19 @@ After calling this function @pool must not be used anymore.</doc> | |||
| 46337 | 46999 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46338 | 47000 | <doc xml:space="preserve" | |
| 46339 | 47001 | filename="glib/gthreadpool.c" | |
| 46340 | - | line="878">a #GThreadPool</doc> | |
| 47002 | + | line="890">a #GThreadPool</doc> | |
| 46341 | 47003 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46342 | 47004 | </instance-parameter> | |
| 46343 | 47005 | <parameter name="immediate" transfer-ownership="none"> | |
| 46344 | 47006 | <doc xml:space="preserve" | |
| 46345 | 47007 | filename="glib/gthreadpool.c" | |
| 46346 | - | line="879">should @pool shut down immediately?</doc> | |
| 47008 | + | line="891">should @pool shut down immediately?</doc> | |
| 46347 | 47009 | <type name="gboolean" c:type="gboolean"/> | |
| 46348 | 47010 | </parameter> | |
| 46349 | 47011 | <parameter name="wait_" transfer-ownership="none"> | |
| 46350 | 47012 | <doc xml:space="preserve" | |
| 46351 | 47013 | filename="glib/gthreadpool.c" | |
| 46352 | - | line="880">should the function wait for all tasks to be finished?</doc> | |
| 47014 | + | line="892">should the function wait for all tasks to be finished?</doc> | |
| 46353 | 47015 | <type name="gboolean" c:type="gboolean"/> | |
| 46354 | 47016 | </parameter> | |
| 46355 | 47017 | </parameters> | |
| @@ -46358,19 +47020,19 @@ After calling this function @pool must not be used anymore.</doc> | |||
| 46358 | 47020 | c:identifier="g_thread_pool_get_max_threads"> | |
| 46359 | 47021 | <doc xml:space="preserve" | |
| 46360 | 47022 | filename="glib/gthreadpool.c" | |
| 46361 | - | line="800">Returns the maximal number of threads for @pool.</doc> | |
| 47023 | + | line="812">Returns the maximal number of threads for @pool.</doc> | |
| 46362 | 47024 | <source-position filename="glib/gthreadpool.h" line="86"/> | |
| 46363 | 47025 | <return-value transfer-ownership="none"> | |
| 46364 | 47026 | <doc xml:space="preserve" | |
| 46365 | 47027 | filename="glib/gthreadpool.c" | |
| 46366 | - | line="806">the maximal number of threads</doc> | |
| 47028 | + | line="818">the maximal number of threads</doc> | |
| 46367 | 47029 | <type name="gint" c:type="gint"/> | |
| 46368 | 47030 | </return-value> | |
| 46369 | 47031 | <parameters> | |
| 46370 | 47032 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46371 | 47033 | <doc xml:space="preserve" | |
| 46372 | 47034 | filename="glib/gthreadpool.c" | |
| 46373 | - | line="802">a #GThreadPool</doc> | |
| 47035 | + | line="814">a #GThreadPool</doc> | |
| 46374 | 47036 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46375 | 47037 | </instance-parameter> | |
| 46376 | 47038 | </parameters> | |
| @@ -46379,19 +47041,19 @@ After calling this function @pool must not be used anymore.</doc> | |||
| 46379 | 47041 | c:identifier="g_thread_pool_get_num_threads"> | |
| 46380 | 47042 | <doc xml:space="preserve" | |
| 46381 | 47043 | filename="glib/gthreadpool.c" | |
| 46382 | - | line="826">Returns the number of threads currently running in @pool.</doc> | |
| 47044 | + | line="838">Returns the number of threads currently running in @pool.</doc> | |
| 46383 | 47045 | <source-position filename="glib/gthreadpool.h" line="88"/> | |
| 46384 | 47046 | <return-value transfer-ownership="none"> | |
| 46385 | 47047 | <doc xml:space="preserve" | |
| 46386 | 47048 | filename="glib/gthreadpool.c" | |
| 46387 | - | line="832">the number of threads currently running</doc> | |
| 47049 | + | line="844">the number of threads currently running</doc> | |
| 46388 | 47050 | <type name="guint" c:type="guint"/> | |
| 46389 | 47051 | </return-value> | |
| 46390 | 47052 | <parameters> | |
| 46391 | 47053 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46392 | 47054 | <doc xml:space="preserve" | |
| 46393 | 47055 | filename="glib/gthreadpool.c" | |
| 46394 | - | line="828">a #GThreadPool</doc> | |
| 47056 | + | line="840">a #GThreadPool</doc> | |
| 46395 | 47057 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46396 | 47058 | </instance-parameter> | |
| 46397 | 47059 | </parameters> | |
| @@ -46401,20 +47063,20 @@ After calling this function @pool must not be used anymore.</doc> | |||
| 46401 | 47063 | version="2.46"> | |
| 46402 | 47064 | <doc xml:space="preserve" | |
| 46403 | 47065 | filename="glib/gthreadpool.c" | |
| 46404 | - | line="1120">Moves the item to the front of the queue of unprocessed | |
| 47066 | + | line="1132">Moves the item to the front of the queue of unprocessed | |
| 46405 | 47067 | items, so that it will be processed next.</doc> | |
| 46406 | 47068 | <source-position filename="glib/gthreadpool.h" line="78"/> | |
| 46407 | 47069 | <return-value transfer-ownership="none"> | |
| 46408 | 47070 | <doc xml:space="preserve" | |
| 46409 | 47071 | filename="glib/gthreadpool.c" | |
| 46410 | - | line="1128">%TRUE if the item was found and moved</doc> | |
| 47072 | + | line="1140">%TRUE if the item was found and moved</doc> | |
| 46411 | 47073 | <type name="gboolean" c:type="gboolean"/> | |
| 46412 | 47074 | </return-value> | |
| 46413 | 47075 | <parameters> | |
| 46414 | 47076 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46415 | 47077 | <doc xml:space="preserve" | |
| 46416 | 47078 | filename="glib/gthreadpool.c" | |
| 46417 | - | line="1122">a #GThreadPool</doc> | |
| 47079 | + | line="1134">a #GThreadPool</doc> | |
| 46418 | 47080 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46419 | 47081 | </instance-parameter> | |
| 46420 | 47082 | <parameter name="data" | |
| @@ -46423,7 +47085,7 @@ items, so that it will be processed next.</doc> | |||
| 46423 | 47085 | allow-none="1"> | |
| 46424 | 47086 | <doc xml:space="preserve" | |
| 46425 | 47087 | filename="glib/gthreadpool.c" | |
| 46426 | - | line="1123">an unprocessed item in the pool</doc> | |
| 47088 | + | line="1135">an unprocessed item in the pool</doc> | |
| 46427 | 47089 | <type name="gpointer" c:type="gpointer"/> | |
| 46428 | 47090 | </parameter> | |
| 46429 | 47091 | </parameters> | |
| @@ -46431,7 +47093,7 @@ items, so that it will be processed next.</doc> | |||
| 46431 | 47093 | <method name="push" c:identifier="g_thread_pool_push" throws="1"> | |
| 46432 | 47094 | <doc xml:space="preserve" | |
| 46433 | 47095 | filename="glib/gthreadpool.c" | |
| 46434 | - | line="668">Inserts @data into the list of tasks to be executed by @pool. | |
| 47096 | + | line="680">Inserts @data into the list of tasks to be executed by @pool. | |
| 46435 | 47097 | ||
| 46436 | 47098 | When the number of currently running threads is lower than the | |
| 46437 | 47099 | maximal allowed number of threads, a new thread is started (or | |
| @@ -46449,14 +47111,14 @@ Before version 2.32, this function did not return a success status.</doc> | |||
| 46449 | 47111 | <return-value transfer-ownership="none"> | |
| 46450 | 47112 | <doc xml:space="preserve" | |
| 46451 | 47113 | filename="glib/gthreadpool.c" | |
| 46452 | - | line="689">%TRUE on success, %FALSE if an error occurred</doc> | |
| 47114 | + | line="701">%TRUE on success, %FALSE if an error occurred</doc> | |
| 46453 | 47115 | <type name="gboolean" c:type="gboolean"/> | |
| 46454 | 47116 | </return-value> | |
| 46455 | 47117 | <parameters> | |
| 46456 | 47118 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46457 | 47119 | <doc xml:space="preserve" | |
| 46458 | 47120 | filename="glib/gthreadpool.c" | |
| 46459 | - | line="670">a #GThreadPool</doc> | |
| 47121 | + | line="682">a #GThreadPool</doc> | |
| 46460 | 47122 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46461 | 47123 | </instance-parameter> | |
| 46462 | 47124 | <parameter name="data" | |
| @@ -46465,7 +47127,7 @@ Before version 2.32, this function did not return a success status.</doc> | |||
| 46465 | 47127 | allow-none="1"> | |
| 46466 | 47128 | <doc xml:space="preserve" | |
| 46467 | 47129 | filename="glib/gthreadpool.c" | |
| 46468 | - | line="671">a new task for @pool</doc> | |
| 47130 | + | line="683">a new task for @pool</doc> | |
| 46469 | 47131 | <type name="gpointer" c:type="gpointer"/> | |
| 46470 | 47132 | </parameter> | |
| 46471 | 47133 | </parameters> | |
| @@ -46475,7 +47137,7 @@ Before version 2.32, this function did not return a success status.</doc> | |||
| 46475 | 47137 | throws="1"> | |
| 46476 | 47138 | <doc xml:space="preserve" | |
| 46477 | 47139 | filename="glib/gthreadpool.c" | |
| 46478 | - | line="726">Sets the maximal allowed number of threads for @pool. | |
| 47140 | + | line="738">Sets the maximal allowed number of threads for @pool. | |
| 46479 | 47141 | A value of -1 means that the maximal number of threads | |
| 46480 | 47142 | is unlimited. If @pool is an exclusive thread pool, setting | |
| 46481 | 47143 | the maximal number of threads to -1 is not allowed. | |
| @@ -46499,20 +47161,20 @@ Before version 2.32, this function did not return a success status.</doc> | |||
| 46499 | 47161 | <return-value transfer-ownership="none"> | |
| 46500 | 47162 | <doc xml:space="preserve" | |
| 46501 | 47163 | filename="glib/gthreadpool.c" | |
| 46502 | - | line="754">%TRUE on success, %FALSE if an error occurred</doc> | |
| 47164 | + | line="766">%TRUE on success, %FALSE if an error occurred</doc> | |
| 46503 | 47165 | <type name="gboolean" c:type="gboolean"/> | |
| 46504 | 47166 | </return-value> | |
| 46505 | 47167 | <parameters> | |
| 46506 | 47168 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46507 | 47169 | <doc xml:space="preserve" | |
| 46508 | 47170 | filename="glib/gthreadpool.c" | |
| 46509 | - | line="728">a #GThreadPool</doc> | |
| 47171 | + | line="740">a #GThreadPool</doc> | |
| 46510 | 47172 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46511 | 47173 | </instance-parameter> | |
| 46512 | 47174 | <parameter name="max_threads" transfer-ownership="none"> | |
| 46513 | 47175 | <doc xml:space="preserve" | |
| 46514 | 47176 | filename="glib/gthreadpool.c" | |
| 46515 | - | line="729">a new maximal number of threads for @pool, | |
| 47177 | + | line="741">a new maximal number of threads for @pool, | |
| 46516 | 47178 | or -1 for unlimited</doc> | |
| 46517 | 47179 | <type name="gint" c:type="gint"/> | |
| 46518 | 47180 | </parameter> | |
| @@ -46524,7 +47186,7 @@ Before version 2.32, this function did not return a success status.</doc> | |||
| 46524 | 47186 | introspectable="0"> | |
| 46525 | 47187 | <doc xml:space="preserve" | |
| 46526 | 47188 | filename="glib/gthreadpool.c" | |
| 46527 | - | line="1072">Sets the function used to sort the list of tasks. This allows the | |
| 47189 | + | line="1084">Sets the function used to sort the list of tasks. This allows the | |
| 46528 | 47190 | tasks to be processed by a priority determined by @func, and not | |
| 46529 | 47191 | just in the order in which they were added to the pool. | |
| 46530 | 47192 | ||
| @@ -46541,13 +47203,13 @@ created.</doc> | |||
| 46541 | 47203 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46542 | 47204 | <doc xml:space="preserve" | |
| 46543 | 47205 | filename="glib/gthreadpool.c" | |
| 46544 | - | line="1074">a #GThreadPool</doc> | |
| 47206 | + | line="1086">a #GThreadPool</doc> | |
| 46545 | 47207 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46546 | 47208 | </instance-parameter> | |
| 46547 | 47209 | <parameter name="func" transfer-ownership="none" closure="1"> | |
| 46548 | 47210 | <doc xml:space="preserve" | |
| 46549 | 47211 | filename="glib/gthreadpool.c" | |
| 46550 | - | line="1075">the #GCompareDataFunc used to sort the list of tasks. | |
| 47212 | + | line="1087">the #GCompareDataFunc used to sort the list of tasks. | |
| 46551 | 47213 | This function is passed two tasks. It should return | |
| 46552 | 47214 | 0 if the order in which they are handled does not matter, | |
| 46553 | 47215 | a negative value if the first task should be processed before | |
| @@ -46561,7 +47223,7 @@ created.</doc> | |||
| 46561 | 47223 | allow-none="1"> | |
| 46562 | 47224 | <doc xml:space="preserve" | |
| 46563 | 47225 | filename="glib/gthreadpool.c" | |
| 46564 | - | line="1081">user data passed to @func</doc> | |
| 47226 | + | line="1093">user data passed to @func</doc> | |
| 46565 | 47227 | <type name="gpointer" c:type="gpointer"/> | |
| 46566 | 47228 | </parameter> | |
| 46567 | 47229 | </parameters> | |
| @@ -46569,19 +47231,19 @@ created.</doc> | |||
| 46569 | 47231 | <method name="unprocessed" c:identifier="g_thread_pool_unprocessed"> | |
| 46570 | 47232 | <doc xml:space="preserve" | |
| 46571 | 47233 | filename="glib/gthreadpool.c" | |
| 46572 | - | line="852">Returns the number of tasks still unprocessed in @pool.</doc> | |
| 47234 | + | line="864">Returns the number of tasks still unprocessed in @pool.</doc> | |
| 46573 | 47235 | <source-position filename="glib/gthreadpool.h" line="72"/> | |
| 46574 | 47236 | <return-value transfer-ownership="none"> | |
| 46575 | 47237 | <doc xml:space="preserve" | |
| 46576 | 47238 | filename="glib/gthreadpool.c" | |
| 46577 | - | line="858">the number of unprocessed tasks</doc> | |
| 47239 | + | line="870">the number of unprocessed tasks</doc> | |
| 46578 | 47240 | <type name="guint" c:type="guint"/> | |
| 46579 | 47241 | </return-value> | |
| 46580 | 47242 | <parameters> | |
| 46581 | 47243 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 46582 | 47244 | <doc xml:space="preserve" | |
| 46583 | 47245 | filename="glib/gthreadpool.c" | |
| 46584 | - | line="854">a #GThreadPool</doc> | |
| 47246 | + | line="866">a #GThreadPool</doc> | |
| 46585 | 47247 | <type name="ThreadPool" c:type="GThreadPool*"/> | |
| 46586 | 47248 | </instance-parameter> | |
| 46587 | 47249 | </parameters> | |
| @@ -46591,7 +47253,7 @@ created.</doc> | |||
| 46591 | 47253 | version="2.10"> | |
| 46592 | 47254 | <doc xml:space="preserve" | |
| 46593 | 47255 | filename="glib/gthreadpool.c" | |
| 46594 | - | line="1191">This function will return the maximum @interval that a | |
| 47256 | + | line="1203">This function will return the maximum @interval that a | |
| 46595 | 47257 | thread will wait in the thread pool for new tasks before | |
| 46596 | 47258 | being stopped. | |
| 46597 | 47259 | ||
| @@ -46601,7 +47263,7 @@ pool for new work are not stopped.</doc> | |||
| 46601 | 47263 | <return-value transfer-ownership="none"> | |
| 46602 | 47264 | <doc xml:space="preserve" | |
| 46603 | 47265 | filename="glib/gthreadpool.c" | |
| 46604 | - | line="1201">the maximum @interval (milliseconds) to wait | |
| 47266 | + | line="1213">the maximum @interval (milliseconds) to wait | |
| 46605 | 47267 | for new tasks in the thread pool before stopping the | |
| 46606 | 47268 | thread</doc> | |
| 46607 | 47269 | <type name="guint" c:type="guint"/> | |
| @@ -46611,12 +47273,12 @@ pool for new work are not stopped.</doc> | |||
| 46611 | 47273 | c:identifier="g_thread_pool_get_max_unused_threads"> | |
| 46612 | 47274 | <doc xml:space="preserve" | |
| 46613 | 47275 | filename="glib/gthreadpool.c" | |
| 46614 | - | line="1028">Returns the maximal allowed number of unused threads.</doc> | |
| 47276 | + | line="1040">Returns the maximal allowed number of unused threads.</doc> | |
| 46615 | 47277 | <source-position filename="glib/gthreadpool.h" line="93"/> | |
| 46616 | 47278 | <return-value transfer-ownership="none"> | |
| 46617 | 47279 | <doc xml:space="preserve" | |
| 46618 | 47280 | filename="glib/gthreadpool.c" | |
| 46619 | - | line="1033">the maximal number of unused threads</doc> | |
| 47281 | + | line="1045">the maximal number of unused threads</doc> | |
| 46620 | 47282 | <type name="gint" c:type="gint"/> | |
| 46621 | 47283 | </return-value> | |
| 46622 | 47284 | </function> | |
| @@ -46624,12 +47286,12 @@ pool for new work are not stopped.</doc> | |||
| 46624 | 47286 | c:identifier="g_thread_pool_get_num_unused_threads"> | |
| 46625 | 47287 | <doc xml:space="preserve" | |
| 46626 | 47288 | filename="glib/gthreadpool.c" | |
| 46627 | - | line="1041">Returns the number of currently unused threads.</doc> | |
| 47289 | + | line="1053">Returns the number of currently unused threads.</doc> | |
| 46628 | 47290 | <source-position filename="glib/gthreadpool.h" line="95"/> | |
| 46629 | 47291 | <return-value transfer-ownership="none"> | |
| 46630 | 47292 | <doc xml:space="preserve" | |
| 46631 | 47293 | filename="glib/gthreadpool.c" | |
| 46632 | - | line="1046">the number of currently unused threads</doc> | |
| 47294 | + | line="1058">the number of currently unused threads</doc> | |
| 46633 | 47295 | <type name="guint" c:type="guint"/> | |
| 46634 | 47296 | </return-value> | |
| 46635 | 47297 | </function> | |
| @@ -46791,7 +47453,7 @@ and freed before all tasks have been executed. | |||
| 46791 | 47453 | version="2.10"> | |
| 46792 | 47454 | <doc xml:space="preserve" | |
| 46793 | 47455 | filename="glib/gthreadpool.c" | |
| 46794 | - | line="1150">This function will set the maximum @interval that a thread | |
| 47456 | + | line="1162">This function will set the maximum @interval that a thread | |
| 46795 | 47457 | waiting in the pool for new tasks can be idle for before | |
| 46796 | 47458 | being stopped. This function is similar to calling | |
| 46797 | 47459 | g_thread_pool_stop_unused_threads() on a regular timeout, | |
| @@ -46808,7 +47470,7 @@ The default value is 15000 (15 seconds).</doc> | |||
| 46808 | 47470 | <parameter name="interval" transfer-ownership="none"> | |
| 46809 | 47471 | <doc xml:space="preserve" | |
| 46810 | 47472 | filename="glib/gthreadpool.c" | |
| 46811 | - | line="1152">the maximum @interval (in milliseconds) | |
| 47473 | + | line="1164">the maximum @interval (in milliseconds) | |
| 46812 | 47474 | a thread can be idle</doc> | |
| 46813 | 47475 | <type name="guint" c:type="guint"/> | |
| 46814 | 47476 | </parameter> | |
| @@ -46818,7 +47480,7 @@ The default value is 15000 (15 seconds).</doc> | |||
| 46818 | 47480 | c:identifier="g_thread_pool_set_max_unused_threads"> | |
| 46819 | 47481 | <doc xml:space="preserve" | |
| 46820 | 47482 | filename="glib/gthreadpool.c" | |
| 46821 | - | line="989">Sets the maximal number of unused threads to @max_threads. | |
| 47483 | + | line="1001">Sets the maximal number of unused threads to @max_threads. | |
| 46822 | 47484 | If @max_threads is -1, no limit is imposed on the number | |
| 46823 | 47485 | of unused threads. | |
| 46824 | 47486 | ||
| @@ -46831,7 +47493,7 @@ The default value is 8 since GLib 2.84. Previously the default value was 2.</doc | |||
| 46831 | 47493 | <parameter name="max_threads" transfer-ownership="none"> | |
| 46832 | 47494 | <doc xml:space="preserve" | |
| 46833 | 47495 | filename="glib/gthreadpool.c" | |
| 46834 | - | line="991">maximal number of unused threads</doc> | |
| 47496 | + | line="1003">maximal number of unused threads</doc> | |
| 46835 | 47497 | <type name="gint" c:type="gint"/> | |
| 46836 | 47498 | </parameter> | |
| 46837 | 47499 | </parameters> | |
| @@ -46840,7 +47502,7 @@ The default value is 8 since GLib 2.84. Previously the default value was 2.</doc | |||
| 46840 | 47502 | c:identifier="g_thread_pool_stop_unused_threads"> | |
| 46841 | 47503 | <doc xml:space="preserve" | |
| 46842 | 47504 | filename="glib/gthreadpool.c" | |
| 46843 | - | line="1054">Stops all currently unused threads. This does not change the | |
| 47505 | + | line="1066">Stops all currently unused threads. This does not change the | |
| 46844 | 47506 | maximal number of unused threads. This function can be used to | |
| 46845 | 47507 | regularly stop all unused threads e.g. from g_timeout_add().</doc> | |
| 46846 | 47508 | <source-position filename="glib/gthreadpool.h" line="97"/> | |
| @@ -49390,7 +50052,7 @@ if the passed node was already the first one.</doc> | |||
| 49390 | 50052 | deprecated-version="2.26"> | |
| 49391 | 50053 | <doc xml:space="preserve" | |
| 49392 | 50054 | filename="glib/deprecated/grel.c" | |
| 49393 | - | line="109">The #GTuples struct is used to return records (or tuples) from the | |
| 50055 | + | line="113">The #GTuples struct is used to return records (or tuples) from the | |
| 49394 | 50056 | #GRelation by g_relation_select(). It only contains one public | |
| 49395 | 50057 | member - the number of records that matched. To access the matched | |
| 49396 | 50058 | records, you must use g_tuples_index().</doc> | |
| @@ -49399,7 +50061,7 @@ records, you must use g_tuples_index().</doc> | |||
| 49399 | 50061 | <field name="len" writable="1"> | |
| 49400 | 50062 | <doc xml:space="preserve" | |
| 49401 | 50063 | filename="glib/deprecated/grel.c" | |
| 49402 | - | line="111">the number of records that matched.</doc> | |
| 50064 | + | line="115">the number of records that matched.</doc> | |
| 49403 | 50065 | <type name="guint" c:type="guint"/> | |
| 49404 | 50066 | </field> | |
| 49405 | 50067 | <method name="destroy" | |
| @@ -49408,7 +50070,7 @@ records, you must use g_tuples_index().</doc> | |||
| 49408 | 50070 | deprecated-version="2.26"> | |
| 49409 | 50071 | <doc xml:space="preserve" | |
| 49410 | 50072 | filename="glib/deprecated/grel.c" | |
| 49411 | - | line="556">Frees the records which were returned by g_relation_select(). This | |
| 50073 | + | line="582">Frees the records which were returned by g_relation_select(). This | |
| 49412 | 50074 | should always be called after g_relation_select() when you are | |
| 49413 | 50075 | finished with the records. The records are not removed from the | |
| 49414 | 50076 | #GRelation.</doc> | |
| @@ -49421,7 +50083,7 @@ finished with the records. The records are not removed from the | |||
| 49421 | 50083 | <instance-parameter name="tuples" transfer-ownership="none"> | |
| 49422 | 50084 | <doc xml:space="preserve" | |
| 49423 | 50085 | filename="glib/deprecated/grel.c" | |
| 49424 | - | line="558">the tuple data to free.</doc> | |
| 50086 | + | line="584">the tuple data to free.</doc> | |
| 49425 | 50087 | <type name="Tuples" c:type="GTuples*"/> | |
| 49426 | 50088 | </instance-parameter> | |
| 49427 | 50089 | </parameters> | |
| @@ -49432,7 +50094,7 @@ finished with the records. The records are not removed from the | |||
| 49432 | 50094 | deprecated-version="2.26"> | |
| 49433 | 50095 | <doc xml:space="preserve" | |
| 49434 | 50096 | filename="glib/deprecated/grel.c" | |
| 49435 | - | line="579">Gets a field from the records returned by g_relation_select(). It | |
| 50097 | + | line="605">Gets a field from the records returned by g_relation_select(). It | |
| 49436 | 50098 | returns the given field of the record at the given index. The | |
| 49437 | 50099 | returned value should not be changed.</doc> | |
| 49438 | 50100 | <doc-deprecated xml:space="preserve">Rarely used API</doc-deprecated> | |
| @@ -49440,26 +50102,26 @@ returned value should not be changed.</doc> | |||
| 49440 | 50102 | <return-value transfer-ownership="none" nullable="1"> | |
| 49441 | 50103 | <doc xml:space="preserve" | |
| 49442 | 50104 | filename="glib/deprecated/grel.c" | |
| 49443 | - | line="589">the field of the record.</doc> | |
| 50105 | + | line="615">the field of the record.</doc> | |
| 49444 | 50106 | <type name="gpointer" c:type="gpointer"/> | |
| 49445 | 50107 | </return-value> | |
| 49446 | 50108 | <parameters> | |
| 49447 | 50109 | <instance-parameter name="tuples" transfer-ownership="none"> | |
| 49448 | 50110 | <doc xml:space="preserve" | |
| 49449 | 50111 | filename="glib/deprecated/grel.c" | |
| 49450 | - | line="581">the tuple data, returned by g_relation_select().</doc> | |
| 50112 | + | line="607">the tuple data, returned by g_relation_select().</doc> | |
| 49451 | 50113 | <type name="Tuples" c:type="GTuples*"/> | |
| 49452 | 50114 | </instance-parameter> | |
| 49453 | 50115 | <parameter name="index_" transfer-ownership="none"> | |
| 49454 | 50116 | <doc xml:space="preserve" | |
| 49455 | 50117 | filename="glib/deprecated/grel.c" | |
| 49456 | - | line="582">the index of the record.</doc> | |
| 50118 | + | line="608">the index of the record.</doc> | |
| 49457 | 50119 | <type name="gint" c:type="gint"/> | |
| 49458 | 50120 | </parameter> | |
| 49459 | 50121 | <parameter name="field" transfer-ownership="none"> | |
| 49460 | 50122 | <doc xml:space="preserve" | |
| 49461 | 50123 | filename="glib/deprecated/grel.c" | |
| 49462 | - | line="583">the field to return.</doc> | |
| 50124 | + | line="609">the field to return.</doc> | |
| 49463 | 50125 | <type name="gint" c:type="gint"/> | |
| 49464 | 50126 | </parameter> | |
| 49465 | 50127 | </parameters> | |
| @@ -54666,7 +55328,7 @@ Since 2.24</doc> | |||
| 54666 | 55328 | version="2.32"> | |
| 54667 | 55329 | <doc xml:space="preserve" | |
| 54668 | 55330 | filename="glib/gversionmacros.h" | |
| 54669 | - | line="451">A macro that should be defined by the user prior to including | |
| 55331 | + | line="460">A macro that should be defined by the user prior to including | |
| 54670 | 55332 | the glib.h header. | |
| 54671 | 55333 | The definition should be one of the predefined GLib version | |
| 54672 | 55334 | macros: %GLIB_VERSION_2_26, %GLIB_VERSION_2_28,... | |
| @@ -54678,7 +55340,7 @@ If the compiler is configured to warn about the use of deprecated | |||
| 54678 | 55340 | functions, then using functions that were deprecated in version | |
| 54679 | 55341 | %GLIB_VERSION_MIN_REQUIRED or earlier will cause warnings (but | |
| 54680 | 55342 | using functions deprecated in later releases will not).</doc> | |
| 54681 | - | <source-position filename="glib/gversionmacros.h" line="477"/> | |
| 55343 | + | <source-position filename="glib/gversionmacros.h" line="486"/> | |
| 54682 | 55344 | <type name="gint" c:type="gint"/> | |
| 54683 | 55345 | </constant> | |
| 54684 | 55346 | <record name="Variant" | |
| @@ -60880,7 +61542,7 @@ On non-Windows platforms, expands to nothing.</doc> | |||
| 60880 | 61542 | introspectable="0"> | |
| 60881 | 61543 | <doc xml:space="preserve" | |
| 60882 | 61544 | filename="glib/gutils.c" | |
| 60883 | - | line="3335">A wrapper for the POSIX abort() function. | |
| 61545 | + | line="3337">A wrapper for the POSIX abort() function. | |
| 60884 | 61546 | ||
| 60885 | 61547 | On Windows it is a function that makes extra effort (including a call | |
| 60886 | 61548 | to abort()) to ensure that a debugger-catchable exception is thrown | |
| @@ -60892,7 +61554,7 @@ See your C library manual for more details about abort().</doc> | |||
| 60892 | 61554 | <function name="access" c:identifier="g_access" version="2.8"> | |
| 60893 | 61555 | <doc xml:space="preserve" | |
| 60894 | 61556 | filename="glib/gstdio.c" | |
| 60895 | - | line="914">A wrapper for the POSIX access() function. This function is used to | |
| 61557 | + | line="925">A wrapper for the POSIX access() function. This function is used to | |
| 60896 | 61558 | test a pathname for one or several of read, write or execute | |
| 60897 | 61559 | permissions, or just existence. | |
| 60898 | 61560 | ||
| @@ -60908,7 +61570,7 @@ See your C library manual for more details about access().</doc> | |||
| 60908 | 61570 | <return-value transfer-ownership="none"> | |
| 60909 | 61571 | <doc xml:space="preserve" | |
| 60910 | 61572 | filename="glib/gstdio.c" | |
| 60911 | - | line="933">zero if the pathname refers to an existing file system | |
| 61573 | + | line="944">zero if the pathname refers to an existing file system | |
| 60912 | 61574 | object that has all the tested permissions, or -1 otherwise | |
| 60913 | 61575 | or on error.</doc> | |
| 60914 | 61576 | <type name="gint" c:type="int"/> | |
| @@ -60917,14 +61579,14 @@ See your C library manual for more details about access().</doc> | |||
| 60917 | 61579 | <parameter name="filename" transfer-ownership="none"> | |
| 60918 | 61580 | <doc xml:space="preserve" | |
| 60919 | 61581 | filename="glib/gstdio.c" | |
| 60920 | - | line="916">a pathname in the GLib file name encoding | |
| 61582 | + | line="927">a pathname in the GLib file name encoding | |
| 60921 | 61583 | (UTF-8 on Windows)</doc> | |
| 60922 | 61584 | <type name="filename" c:type="const gchar*"/> | |
| 60923 | 61585 | </parameter> | |
| 60924 | 61586 | <parameter name="mode" transfer-ownership="none"> | |
| 60925 | 61587 | <doc xml:space="preserve" | |
| 60926 | 61588 | filename="glib/gstdio.c" | |
| 60927 | - | line="918">as in access()</doc> | |
| 61589 | + | line="929">as in access()</doc> | |
| 60928 | 61590 | <type name="gint" c:type="int"/> | |
| 60929 | 61591 | </parameter> | |
| 60930 | 61592 | </parameters> | |
| @@ -61136,23 +61798,23 @@ Note that the @size argument will be evaluated multiple times.</doc> | |||
| 61136 | 61798 | introspectable="0"> | |
| 61137 | 61799 | <doc xml:space="preserve" | |
| 61138 | 61800 | filename="glib/garray.c" | |
| 61139 | - | line="574">Adds the value on to the end of the array. The array will grow in | |
| 61801 | + | line="582">Adds the value on to the end of the array. The array will grow in | |
| 61140 | 61802 | size automatically if necessary. | |
| 61141 | 61803 | ||
| 61142 | - | g_array_append_val() is a macro which uses a reference to the value | |
| 61804 | + | `g_array_append_val()` is a macro which uses a reference to the value | |
| 61143 | 61805 | parameter @v. This means that you cannot use it with literal values | |
| 61144 | - | such as "27". You must use variables.</doc> | |
| 61806 | + | such as `"27"`. You must use variables.</doc> | |
| 61145 | 61807 | <source-position filename="glib/garray.h" line="66"/> | |
| 61146 | 61808 | <parameters> | |
| 61147 | 61809 | <parameter name="a"> | |
| 61148 | 61810 | <doc xml:space="preserve" | |
| 61149 | 61811 | filename="glib/garray.c" | |
| 61150 | - | line="576">a #GArray</doc> | |
| 61812 | + | line="584">an array</doc> | |
| 61151 | 61813 | </parameter> | |
| 61152 | 61814 | <parameter name="v"> | |
| 61153 | 61815 | <doc xml:space="preserve" | |
| 61154 | 61816 | filename="glib/garray.c" | |
| 61155 | - | line="577">the value to append to the #GArray</doc> | |
| 61817 | + | line="585">the value to append to the #GArray</doc> | |
| 61156 | 61818 | </parameter> | |
| 61157 | 61819 | </parameters> | |
| 61158 | 61820 | </function-macro> | |
| @@ -61161,23 +61823,23 @@ such as "27". You must use variables.</doc> | |||
| 61161 | 61823 | introspectable="0"> | |
| 61162 | 61824 | <doc xml:space="preserve" | |
| 61163 | 61825 | filename="glib/garray.c" | |
| 61164 | - | line="75">Returns the element of a #GArray at the given index. The return | |
| 61826 | + | line="75">Returns the element of a `GArray` at the given index. The return | |
| 61165 | 61827 | value is cast to the given type. This is the main way to read or write an | |
| 61166 | - | element in a #GArray. | |
| 61828 | + | element in a `GArray`. | |
| 61167 | 61829 | ||
| 61168 | 61830 | Writing an element is typically done by reference, as in the following | |
| 61169 | - | example. This example gets a pointer to an element in a #GArray, and then | |
| 61831 | + | example. This example gets a pointer to an element in a `GArray`, and then | |
| 61170 | 61832 | writes to a field in it: | |
| 61171 | - | |[<!-- language="C" --> | |
| 61833 | + | ```c | |
| 61172 | 61834 | EDayViewEvent *event; | |
| 61173 | 61835 | // This gets a pointer to the 4th element in the array of | |
| 61174 | 61836 | // EDayViewEvent structs. | |
| 61175 | 61837 | event = &g_array_index (events, EDayViewEvent, 3); | |
| 61176 | 61838 | event->start_time = g_get_current_time (); | |
| 61177 | - | ]| | |
| 61839 | + | ``` | |
| 61178 | 61840 | ||
| 61179 | 61841 | This example reads from and writes to an array of integers: | |
| 61180 | - | |[<!-- language="C" --> | |
| 61842 | + | ```c | |
| 61181 | 61843 | g_autoptr(GArray) int_array = g_array_new (FALSE, FALSE, sizeof (guint)); | |
| 61182 | 61844 | for (guint i = 0; i < 10; i++) | |
| 61183 | 61845 | g_array_append_val (int_array, i); | |
| @@ -61185,13 +61847,13 @@ This example reads from and writes to an array of integers: | |||
| 61185 | 61847 | guint *my_int = &g_array_index (int_array, guint, 1); | |
| 61186 | 61848 | g_print ("Int at index 1 is %u; decrementing it\n", *my_int); | |
| 61187 | 61849 | *my_int = *my_int - 1; | |
| 61188 | - | ]|</doc> | |
| 61850 | + | ```</doc> | |
| 61189 | 61851 | <source-position filename="glib/garray.h" line="69"/> | |
| 61190 | 61852 | <parameters> | |
| 61191 | 61853 | <parameter name="a"> | |
| 61192 | 61854 | <doc xml:space="preserve" | |
| 61193 | 61855 | filename="glib/garray.c" | |
| 61194 | - | line="77">a #GArray</doc> | |
| 61856 | + | line="77">an array</doc> | |
| 61195 | 61857 | </parameter> | |
| 61196 | 61858 | <parameter name="t"> | |
| 61197 | 61859 | <doc xml:space="preserve" | |
| @@ -61210,27 +61872,27 @@ This example reads from and writes to an array of integers: | |||
| 61210 | 61872 | introspectable="0"> | |
| 61211 | 61873 | <doc xml:space="preserve" | |
| 61212 | 61874 | filename="glib/garray.c" | |
| 61213 | - | line="696">Inserts an element into an array at the given index. | |
| 61875 | + | line="704">Inserts an element into an array at the given index. | |
| 61214 | 61876 | ||
| 61215 | - | g_array_insert_val() is a macro which uses a reference to the value | |
| 61877 | + | `g_array_insert_val()` is a macro which uses a reference to the value | |
| 61216 | 61878 | parameter @v. This means that you cannot use it with literal values | |
| 61217 | - | such as "27". You must use variables.</doc> | |
| 61879 | + | such as `"27"`. You must use variables.</doc> | |
| 61218 | 61880 | <source-position filename="glib/garray.h" line="68"/> | |
| 61219 | 61881 | <parameters> | |
| 61220 | 61882 | <parameter name="a"> | |
| 61221 | 61883 | <doc xml:space="preserve" | |
| 61222 | 61884 | filename="glib/garray.c" | |
| 61223 | - | line="698">a #GArray</doc> | |
| 61885 | + | line="706">an array</doc> | |
| 61224 | 61886 | </parameter> | |
| 61225 | 61887 | <parameter name="i"> | |
| 61226 | 61888 | <doc xml:space="preserve" | |
| 61227 | 61889 | filename="glib/garray.c" | |
| 61228 | - | line="699">the index to place the element at</doc> | |
| 61890 | + | line="707">the index to place the element at</doc> | |
| 61229 | 61891 | </parameter> | |
| 61230 | 61892 | <parameter name="v"> | |
| 61231 | 61893 | <doc xml:space="preserve" | |
| 61232 | 61894 | filename="glib/garray.c" | |
| 61233 | - | line="700">the value to insert into the array</doc> | |
| 61895 | + | line="708">the value to insert into the array</doc> | |
| 61234 | 61896 | </parameter> | |
| 61235 | 61897 | </parameters> | |
| 61236 | 61898 | </function-macro> | |
| @@ -61241,27 +61903,27 @@ such as "27". You must use variables.</doc> | |||
| 61241 | 61903 | introspectable="0"> | |
| 61242 | 61904 | <doc xml:space="preserve" | |
| 61243 | 61905 | filename="glib/garray.c" | |
| 61244 | - | line="147">Creates a new #GArray with @data as array data, @len as length and a | |
| 61906 | + | line="147">Creates a new `GArray` with @data as array data, @len as length and a | |
| 61245 | 61907 | reference count of 1. | |
| 61246 | 61908 | ||
| 61247 | 61909 | This avoids having to copy the data manually, when it can just be | |
| 61248 | 61910 | inherited. | |
| 61249 | - | After this call, @data belongs to the #GArray and may no longer be | |
| 61911 | + | After this call, @data belongs to the `GArray` and may no longer be | |
| 61250 | 61912 | modified by the caller. The memory of @data has to be dynamically | |
| 61251 | - | allocated and will eventually be freed with g_free(). | |
| 61913 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 61252 | 61914 | ||
| 61253 | 61915 | In case the elements need to be cleared when the array is freed, use | |
| 61254 | - | g_array_set_clear_func() to set a #GDestroyNotify function to perform | |
| 61255 | - | such task. | |
| 61916 | + | [func@GLib.Array.set_clear_func] to set a [callback@GLib.DestroyNotify] | |
| 61917 | + | function to perform such task. | |
| 61256 | 61918 | ||
| 61257 | - | Do not use it if @len or @element_size are greater than %G_MAXUINT. | |
| 61258 | - | #GArray stores the length of its data in #guint, which may be shorter | |
| 61259 | - | than #gsize.</doc> | |
| 61919 | + | Do not use it if @len or @element_size are greater than | |
| 61920 | + | [`G_MAXUINT`](types.html#guint). `GArray` stores the length of its data in | |
| 61921 | + | `guint`, which may be shorter than `gsize`.</doc> | |
| 61260 | 61922 | <source-position filename="glib/garray.h" line="76"/> | |
| 61261 | 61923 | <return-value transfer-ownership="full"> | |
| 61262 | 61924 | <doc xml:space="preserve" | |
| 61263 | 61925 | filename="glib/garray.c" | |
| 61264 | - | line="173">A new #GArray</doc> | |
| 61926 | + | line="173">The new #GArray</doc> | |
| 61265 | 61927 | <array name="GLib.Array" c:type="GArray*"> | |
| 61266 | 61928 | <type name="gpointer" c:type="gpointer"/> | |
| 61267 | 61929 | </array> | |
| @@ -61274,7 +61936,7 @@ than #gsize.</doc> | |||
| 61274 | 61936 | <doc xml:space="preserve" | |
| 61275 | 61937 | filename="glib/garray.c" | |
| 61276 | 61938 | line="149">an array of | |
| 61277 | - | elements of @element_size, or %NULL for an empty array</doc> | |
| 61939 | + | elements of @element_size</doc> | |
| 61278 | 61940 | <array length="1" zero-terminated="0" c:type="gpointer"> | |
| 61279 | 61941 | <type name="gpointer" c:type="gpointer"/> | |
| 61280 | 61942 | </array> | |
| @@ -61288,7 +61950,7 @@ than #gsize.</doc> | |||
| 61288 | 61950 | <parameter name="clear" transfer-ownership="none"> | |
| 61289 | 61951 | <doc xml:space="preserve" | |
| 61290 | 61952 | filename="glib/garray.c" | |
| 61291 | - | line="152">%TRUE if #GArray elements should be automatically cleared | |
| 61953 | + | line="152">if true, `GArray` elements should be automatically cleared | |
| 61292 | 61954 | to 0 when they are allocated</doc> | |
| 61293 | 61955 | <type name="gboolean" c:type="gboolean"/> | |
| 61294 | 61956 | </parameter> | |
| @@ -61307,39 +61969,43 @@ than #gsize.</doc> | |||
| 61307 | 61969 | introspectable="0"> | |
| 61308 | 61970 | <doc xml:space="preserve" | |
| 61309 | 61971 | filename="glib/garray.c" | |
| 61310 | - | line="199">Creates a new #GArray with @data as array data, computing the length of it | |
| 61972 | + | line="199">Creates a new `GArray` with @data as array data, computing the length of it | |
| 61311 | 61973 | and setting the reference count to 1. | |
| 61312 | 61974 | ||
| 61313 | 61975 | This avoids having to copy the data manually, when it can just be | |
| 61314 | 61976 | inherited. | |
| 61315 | - | After this call, @data belongs to the #GArray and may no longer be | |
| 61977 | + | After this call, @data belongs to the `GArray` and may no longer be | |
| 61316 | 61978 | modified by the caller. The memory of @data has to be dynamically | |
| 61317 | - | allocated and will eventually be freed with g_free(). | |
| 61979 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 61318 | 61980 | ||
| 61319 | - | The length is calculated by iterating through @data until the first %NULL | |
| 61981 | + | The length is calculated by iterating through @data until the first `NULL` | |
| 61320 | 61982 | element is found. | |
| 61321 | 61983 | ||
| 61322 | 61984 | In case the elements need to be cleared when the array is freed, use | |
| 61323 | - | g_array_set_clear_func() to set a #GDestroyNotify function to perform | |
| 61324 | - | such task. | |
| 61985 | + | [func@GLib.Array.set_clear_func] to set a [callback@GLib.DestroyNotify] | |
| 61986 | + | function to perform such task. | |
| 61325 | 61987 | ||
| 61326 | - | Do not use it if @data length or @element_size are greater than %G_MAXUINT. | |
| 61327 | - | #GArray stores the length of its data in #guint, which may be shorter | |
| 61328 | - | than #gsize.</doc> | |
| 61988 | + | Do not use it if @data length or @element_size are greater than | |
| 61989 | + | [`G_MAXUINT`](types.html#guint). `GArray` stores the length of its data in | |
| 61990 | + | `guint`, which may be shorter than `gsize`.</doc> | |
| 61329 | 61991 | <source-position filename="glib/garray.h" line="81"/> | |
| 61330 | 61992 | <return-value transfer-ownership="full"> | |
| 61331 | 61993 | <doc xml:space="preserve" | |
| 61332 | 61994 | filename="glib/garray.c" | |
| 61333 | - | line="226">A new #GArray</doc> | |
| 61995 | + | line="227">The new `GArray`</doc> | |
| 61334 | 61996 | <array name="GLib.Array" c:type="GArray*"> | |
| 61335 | 61997 | <type name="gpointer" c:type="gpointer"/> | |
| 61336 | 61998 | </array> | |
| 61337 | 61999 | </return-value> | |
| 61338 | 62000 | <parameters> | |
| 61339 | - | <parameter name="data" transfer-ownership="none"> | |
| 62001 | + | <parameter name="data" | |
| 62002 | + | transfer-ownership="full" | |
| 62003 | + | nullable="1" | |
| 62004 | + | allow-none="1"> | |
| 61340 | 62005 | <doc xml:space="preserve" | |
| 61341 | 62006 | filename="glib/garray.c" | |
| 61342 | - | line="201">an array of elements of @element_size</doc> | |
| 62007 | + | line="201">an array | |
| 62008 | + | of elements of @element_size, `NULL` terminated</doc> | |
| 61343 | 62009 | <array c:type="gpointer"> | |
| 61344 | 62010 | <type name="gpointer" c:type="gpointer"/> | |
| 61345 | 62011 | </array> | |
| @@ -61347,14 +62013,14 @@ than #gsize.</doc> | |||
| 61347 | 62013 | <parameter name="clear" transfer-ownership="none"> | |
| 61348 | 62014 | <doc xml:space="preserve" | |
| 61349 | 62015 | filename="glib/garray.c" | |
| 61350 | - | line="202">%TRUE if #GArray elements should be automatically cleared | |
| 62016 | + | line="203">if true, `GArray` elements should be automatically cleared | |
| 61351 | 62017 | to 0 when they are allocated</doc> | |
| 61352 | 62018 | <type name="gboolean" c:type="gboolean"/> | |
| 61353 | 62019 | </parameter> | |
| 61354 | 62020 | <parameter name="element_size" transfer-ownership="none"> | |
| 61355 | 62021 | <doc xml:space="preserve" | |
| 61356 | 62022 | filename="glib/garray.c" | |
| 61357 | - | line="204">the size of each element in bytes</doc> | |
| 62023 | + | line="205">the size of each element in bytes</doc> | |
| 61358 | 62024 | <type name="gsize" c:type="gsize"/> | |
| 61359 | 62025 | </parameter> | |
| 61360 | 62026 | </parameters> | |
| @@ -61364,34 +62030,34 @@ than #gsize.</doc> | |||
| 61364 | 62030 | introspectable="0"> | |
| 61365 | 62031 | <doc xml:space="preserve" | |
| 61366 | 62032 | filename="glib/garray.c" | |
| 61367 | - | line="629">Adds the value on to the start of the array. The array will grow in | |
| 62033 | + | line="637">Adds the value on to the start of the array. The array will grow in | |
| 61368 | 62034 | size automatically if necessary. | |
| 61369 | 62035 | ||
| 61370 | - | This operation is slower than g_array_append_val() since the | |
| 62036 | + | This operation is slower than [func@GLib.array_append_val] since the | |
| 61371 | 62037 | existing elements in the array have to be moved to make space for | |
| 61372 | 62038 | the new element. | |
| 61373 | 62039 | ||
| 61374 | - | g_array_prepend_val() is a macro which uses a reference to the value | |
| 62040 | + | `g_array_prepend_val()` is a macro which uses a reference to the value | |
| 61375 | 62041 | parameter @v. This means that you cannot use it with literal values | |
| 61376 | - | such as "27". You must use variables.</doc> | |
| 62042 | + | such as `"27"`. You must use variables.</doc> | |
| 61377 | 62043 | <source-position filename="glib/garray.h" line="67"/> | |
| 61378 | 62044 | <parameters> | |
| 61379 | 62045 | <parameter name="a"> | |
| 61380 | 62046 | <doc xml:space="preserve" | |
| 61381 | 62047 | filename="glib/garray.c" | |
| 61382 | - | line="631">a #GArray</doc> | |
| 62048 | + | line="639">an array</doc> | |
| 61383 | 62049 | </parameter> | |
| 61384 | 62050 | <parameter name="v"> | |
| 61385 | 62051 | <doc xml:space="preserve" | |
| 61386 | 62052 | filename="glib/garray.c" | |
| 61387 | - | line="632">the value to prepend to the #GArray</doc> | |
| 62053 | + | line="640">the value to prepend to the #GArray</doc> | |
| 61388 | 62054 | </parameter> | |
| 61389 | 62055 | </parameters> | |
| 61390 | 62056 | </function-macro> | |
| 61391 | 62057 | <function name="ascii_digit_value" c:identifier="g_ascii_digit_value"> | |
| 61392 | 62058 | <doc xml:space="preserve" | |
| 61393 | 62059 | filename="glib/gstrfuncs.c" | |
| 61394 | - | line="1755">Determines the numeric value of a character as a decimal digit. If the | |
| 62060 | + | line="1759">Determines the numeric value of a character as a decimal digit. If the | |
| 61395 | 62061 | character is not a decimal digit according to [func@GLib.ascii_isdigit], | |
| 61396 | 62062 | `-1` is returned. | |
| 61397 | 62063 | ||
| @@ -61401,14 +62067,14 @@ there's no worry about sign extension if characters are signed.</doc> | |||
| 61401 | 62067 | <return-value transfer-ownership="none"> | |
| 61402 | 62068 | <doc xml:space="preserve" | |
| 61403 | 62069 | filename="glib/gstrfuncs.c" | |
| 61404 | - | line="1766">the numerical value of @c if it is a decimal digit, `-1` otherwise</doc> | |
| 62070 | + | line="1770">the numerical value of @c if it is a decimal digit, `-1` otherwise</doc> | |
| 61405 | 62071 | <type name="gint" c:type="gint"/> | |
| 61406 | 62072 | </return-value> | |
| 61407 | 62073 | <parameters> | |
| 61408 | 62074 | <parameter name="c" transfer-ownership="none"> | |
| 61409 | 62075 | <doc xml:space="preserve" | |
| 61410 | 62076 | filename="glib/gstrfuncs.c" | |
| 61411 | - | line="1757">an ASCII character</doc> | |
| 62077 | + | line="1761">an ASCII character</doc> | |
| 61412 | 62078 | <type name="gchar" c:type="gchar"/> | |
| 61413 | 62079 | </parameter> | |
| 61414 | 62080 | </parameters> | |
| @@ -61416,7 +62082,7 @@ there's no worry about sign extension if characters are signed.</doc> | |||
| 61416 | 62082 | <function name="ascii_dtostr" c:identifier="g_ascii_dtostr"> | |
| 61417 | 62083 | <doc xml:space="preserve" | |
| 61418 | 62084 | filename="glib/gstrfuncs.c" | |
| 61419 | - | line="858">Converts a `gdouble` to a string, using the '.' as | |
| 62085 | + | line="862">Converts a `gdouble` to a string, using the '.' as | |
| 61420 | 62086 | decimal point. | |
| 61421 | 62087 | ||
| 61422 | 62088 | This function generates enough precision that converting | |
| @@ -61429,26 +62095,26 @@ nul character, which is always added.</doc> | |||
| 61429 | 62095 | <return-value transfer-ownership="full"> | |
| 61430 | 62096 | <doc xml:space="preserve" | |
| 61431 | 62097 | filename="glib/gstrfuncs.c" | |
| 61432 | - | line="874">the pointer to the buffer with the converted string</doc> | |
| 62098 | + | line="878">the pointer to the buffer with the converted string</doc> | |
| 61433 | 62099 | <type name="utf8" c:type="gchar*"/> | |
| 61434 | 62100 | </return-value> | |
| 61435 | 62101 | <parameters> | |
| 61436 | 62102 | <parameter name="buffer" transfer-ownership="none"> | |
| 61437 | 62103 | <doc xml:space="preserve" | |
| 61438 | 62104 | filename="glib/gstrfuncs.c" | |
| 61439 | - | line="860">a buffer to place the resulting string in</doc> | |
| 62105 | + | line="864">a buffer to place the resulting string in</doc> | |
| 61440 | 62106 | <type name="utf8" c:type="gchar*"/> | |
| 61441 | 62107 | </parameter> | |
| 61442 | 62108 | <parameter name="buf_len" transfer-ownership="none"> | |
| 61443 | 62109 | <doc xml:space="preserve" | |
| 61444 | 62110 | filename="glib/gstrfuncs.c" | |
| 61445 | - | line="861">the length of the buffer</doc> | |
| 62111 | + | line="865">the length of the buffer</doc> | |
| 61446 | 62112 | <type name="gint" c:type="gint"/> | |
| 61447 | 62113 | </parameter> | |
| 61448 | 62114 | <parameter name="d" transfer-ownership="none"> | |
| 61449 | 62115 | <doc xml:space="preserve" | |
| 61450 | 62116 | filename="glib/gstrfuncs.c" | |
| 61451 | - | line="862">the value to convert</doc> | |
| 62117 | + | line="866">the value to convert</doc> | |
| 61452 | 62118 | <type name="gdouble" c:type="gdouble"/> | |
| 61453 | 62119 | </parameter> | |
| 61454 | 62120 | </parameters> | |
| @@ -61456,7 +62122,7 @@ nul character, which is always added.</doc> | |||
| 61456 | 62122 | <function name="ascii_formatd" c:identifier="g_ascii_formatd"> | |
| 61457 | 62123 | <doc xml:space="preserve" | |
| 61458 | 62124 | filename="glib/gstrfuncs.c" | |
| 61459 | - | line="887">Converts a `gdouble` to a string, using the '.' as | |
| 62125 | + | line="891">Converts a `gdouble` to a string, using the '.' as | |
| 61460 | 62126 | decimal point. To format the number you pass in | |
| 61461 | 62127 | a `printf()`-style format string. Allowed conversion | |
| 61462 | 62128 | specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'. | |
| @@ -61472,33 +62138,33 @@ string, use [func@GLib.ascii_dtostr].</doc> | |||
| 61472 | 62138 | <return-value transfer-ownership="full"> | |
| 61473 | 62139 | <doc xml:space="preserve" | |
| 61474 | 62140 | filename="glib/gstrfuncs.c" | |
| 61475 | - | line="908">the pointer to the buffer with the converted string</doc> | |
| 62141 | + | line="912">the pointer to the buffer with the converted string</doc> | |
| 61476 | 62142 | <type name="utf8" c:type="gchar*"/> | |
| 61477 | 62143 | </return-value> | |
| 61478 | 62144 | <parameters> | |
| 61479 | 62145 | <parameter name="buffer" transfer-ownership="none"> | |
| 61480 | 62146 | <doc xml:space="preserve" | |
| 61481 | 62147 | filename="glib/gstrfuncs.c" | |
| 61482 | - | line="889">a buffer to place the resulting string in</doc> | |
| 62148 | + | line="893">a buffer to place the resulting string in</doc> | |
| 61483 | 62149 | <type name="utf8" c:type="gchar*"/> | |
| 61484 | 62150 | </parameter> | |
| 61485 | 62151 | <parameter name="buf_len" transfer-ownership="none"> | |
| 61486 | 62152 | <doc xml:space="preserve" | |
| 61487 | 62153 | filename="glib/gstrfuncs.c" | |
| 61488 | - | line="890">the length of the buffer</doc> | |
| 62154 | + | line="894">the length of the buffer</doc> | |
| 61489 | 62155 | <type name="gint" c:type="gint"/> | |
| 61490 | 62156 | </parameter> | |
| 61491 | 62157 | <parameter name="format" transfer-ownership="none"> | |
| 61492 | 62158 | <doc xml:space="preserve" | |
| 61493 | 62159 | filename="glib/gstrfuncs.c" | |
| 61494 | - | line="891">the `printf()`-style format to use for the | |
| 62160 | + | line="895">the `printf()`-style format to use for the | |
| 61495 | 62161 | code to use for converting</doc> | |
| 61496 | 62162 | <type name="utf8" c:type="const gchar*"/> | |
| 61497 | 62163 | </parameter> | |
| 61498 | 62164 | <parameter name="d" transfer-ownership="none"> | |
| 61499 | 62165 | <doc xml:space="preserve" | |
| 61500 | 62166 | filename="glib/gstrfuncs.c" | |
| 61501 | - | line="893">the value to convert</doc> | |
| 62167 | + | line="897">the value to convert</doc> | |
| 61502 | 62168 | <type name="gdouble" c:type="gdouble"/> | |
| 61503 | 62169 | </parameter> | |
| 61504 | 62170 | </parameters> | |
| @@ -61742,7 +62408,7 @@ cast to `guchar` before passing a possibly non-ASCII character in.</doc> | |||
| 61742 | 62408 | <function name="ascii_strcasecmp" c:identifier="g_ascii_strcasecmp"> | |
| 61743 | 62409 | <doc xml:space="preserve" | |
| 61744 | 62410 | filename="glib/gstrfuncs.c" | |
| 61745 | - | line="1802">Compare two strings, ignoring the case of ASCII characters. | |
| 62411 | + | line="1806">Compare two strings, ignoring the case of ASCII characters. | |
| 61746 | 62412 | ||
| 61747 | 62413 | Unlike the BSD `strcasecmp()` function, this only recognizes standard | |
| 61748 | 62414 | ASCII letters and ignores the locale, treating all non-ASCII | |
| @@ -61761,7 +62427,7 @@ Both @s1 and @s2 must be non-`NULL`.</doc> | |||
| 61761 | 62427 | <return-value transfer-ownership="none"> | |
| 61762 | 62428 | <doc xml:space="preserve" | |
| 61763 | 62429 | filename="glib/gstrfuncs.c" | |
| 61764 | - | line="1823">0 if the strings match, a negative value if @s1 < @s2, | |
| 62430 | + | line="1827">0 if the strings match, a negative value if @s1 < @s2, | |
| 61765 | 62431 | or a positive value if @s1 > @s2</doc> | |
| 61766 | 62432 | <type name="gint" c:type="gint"/> | |
| 61767 | 62433 | </return-value> | |
| @@ -61769,13 +62435,13 @@ Both @s1 and @s2 must be non-`NULL`.</doc> | |||
| 61769 | 62435 | <parameter name="s1" transfer-ownership="none"> | |
| 61770 | 62436 | <doc xml:space="preserve" | |
| 61771 | 62437 | filename="glib/gstrfuncs.c" | |
| 61772 | - | line="1804">string to compare with @s2</doc> | |
| 62438 | + | line="1808">string to compare with @s2</doc> | |
| 61773 | 62439 | <type name="utf8" c:type="const gchar*"/> | |
| 61774 | 62440 | </parameter> | |
| 61775 | 62441 | <parameter name="s2" transfer-ownership="none"> | |
| 61776 | 62442 | <doc xml:space="preserve" | |
| 61777 | 62443 | filename="glib/gstrfuncs.c" | |
| 61778 | - | line="1805">string to compare with @s1</doc> | |
| 62444 | + | line="1809">string to compare with @s1</doc> | |
| 61779 | 62445 | <type name="utf8" c:type="const gchar*"/> | |
| 61780 | 62446 | </parameter> | |
| 61781 | 62447 | </parameters> | |
| @@ -61783,13 +62449,13 @@ Both @s1 and @s2 must be non-`NULL`.</doc> | |||
| 61783 | 62449 | <function name="ascii_strdown" c:identifier="g_ascii_strdown"> | |
| 61784 | 62450 | <doc xml:space="preserve" | |
| 61785 | 62451 | filename="glib/gstrfuncs.c" | |
| 61786 | - | line="1545">Converts all upper case ASCII letters to lower case ASCII letters, with | |
| 62452 | + | line="1549">Converts all upper case ASCII letters to lower case ASCII letters, with | |
| 61787 | 62453 | semantics that exactly match [func@GLib.ascii_tolower].</doc> | |
| 61788 | 62454 | <source-position filename="glib/gstrfuncs.h" line="258"/> | |
| 61789 | 62455 | <return-value transfer-ownership="full"> | |
| 61790 | 62456 | <doc xml:space="preserve" | |
| 61791 | 62457 | filename="glib/gstrfuncs.c" | |
| 61792 | - | line="1553">a newly-allocated string, with all the upper case characters in | |
| 62458 | + | line="1557">a newly-allocated string, with all the upper case characters in | |
| 61793 | 62459 | @str converted to lower case. (Note that this is unlike the old | |
| 61794 | 62460 | [func@GLib.strdown], which modified the string in place.)</doc> | |
| 61795 | 62461 | <type name="utf8" c:type="gchar*"/> | |
| @@ -61798,13 +62464,13 @@ semantics that exactly match [func@GLib.ascii_tolower].</doc> | |||
| 61798 | 62464 | <parameter name="str" transfer-ownership="none"> | |
| 61799 | 62465 | <doc xml:space="preserve" | |
| 61800 | 62466 | filename="glib/gstrfuncs.c" | |
| 61801 | - | line="1547">a string</doc> | |
| 62467 | + | line="1551">a string</doc> | |
| 61802 | 62468 | <type name="utf8" c:type="const gchar*"/> | |
| 61803 | 62469 | </parameter> | |
| 61804 | 62470 | <parameter name="len" transfer-ownership="none"> | |
| 61805 | 62471 | <doc xml:space="preserve" | |
| 61806 | 62472 | filename="glib/gstrfuncs.c" | |
| 61807 | - | line="1548">length of @str in bytes, or `-1` if @str is nul-terminated</doc> | |
| 62473 | + | line="1552">length of @str in bytes, or `-1` if @str is nul-terminated</doc> | |
| 61808 | 62474 | <type name="gssize" c:type="gssize"/> | |
| 61809 | 62475 | </parameter> | |
| 61810 | 62476 | </parameters> | |
| @@ -61815,7 +62481,7 @@ semantics that exactly match [func@GLib.ascii_tolower].</doc> | |||
| 61815 | 62481 | throws="1"> | |
| 61816 | 62482 | <doc xml:space="preserve" | |
| 61817 | 62483 | filename="glib/gstrfuncs.c" | |
| 61818 | - | line="3298">A convenience function for converting a string to a signed number. | |
| 62484 | + | line="3302">A convenience function for converting a string to a signed number. | |
| 61819 | 62485 | ||
| 61820 | 62486 | This function assumes that @str contains only a number of the given | |
| 61821 | 62487 | @base that is within inclusive bounds limited by @min and @max. If | |
| @@ -61840,32 +62506,32 @@ characters.</doc> | |||
| 61840 | 62506 | <return-value transfer-ownership="none"> | |
| 61841 | 62507 | <doc xml:space="preserve" | |
| 61842 | 62508 | filename="glib/gstrfuncs.c" | |
| 61843 | - | line="3329">true if @str was a number, false otherwise</doc> | |
| 62509 | + | line="3333">true if @str was a number, false otherwise</doc> | |
| 61844 | 62510 | <type name="gboolean" c:type="gboolean"/> | |
| 61845 | 62511 | </return-value> | |
| 61846 | 62512 | <parameters> | |
| 61847 | 62513 | <parameter name="str" transfer-ownership="none"> | |
| 61848 | 62514 | <doc xml:space="preserve" | |
| 61849 | 62515 | filename="glib/gstrfuncs.c" | |
| 61850 | - | line="3300">a string to convert</doc> | |
| 62516 | + | line="3304">a string to convert</doc> | |
| 61851 | 62517 | <type name="utf8" c:type="const gchar*"/> | |
| 61852 | 62518 | </parameter> | |
| 61853 | 62519 | <parameter name="base" transfer-ownership="none"> | |
| 61854 | 62520 | <doc xml:space="preserve" | |
| 61855 | 62521 | filename="glib/gstrfuncs.c" | |
| 61856 | - | line="3301">base of a parsed number</doc> | |
| 62522 | + | line="3305">base of a parsed number</doc> | |
| 61857 | 62523 | <type name="guint" c:type="guint"/> | |
| 61858 | 62524 | </parameter> | |
| 61859 | 62525 | <parameter name="min" transfer-ownership="none"> | |
| 61860 | 62526 | <doc xml:space="preserve" | |
| 61861 | 62527 | filename="glib/gstrfuncs.c" | |
| 61862 | - | line="3302">a lower bound (inclusive)</doc> | |
| 62528 | + | line="3306">a lower bound (inclusive)</doc> | |
| 61863 | 62529 | <type name="gint64" c:type="gint64"/> | |
| 61864 | 62530 | </parameter> | |
| 61865 | 62531 | <parameter name="max" transfer-ownership="none"> | |
| 61866 | 62532 | <doc xml:space="preserve" | |
| 61867 | 62533 | filename="glib/gstrfuncs.c" | |
| 61868 | - | line="3303">an upper bound (inclusive)</doc> | |
| 62534 | + | line="3307">an upper bound (inclusive)</doc> | |
| 61869 | 62535 | <type name="gint64" c:type="gint64"/> | |
| 61870 | 62536 | </parameter> | |
| 61871 | 62537 | <parameter name="out_num" | |
| @@ -61876,7 +62542,7 @@ characters.</doc> | |||
| 61876 | 62542 | allow-none="1"> | |
| 61877 | 62543 | <doc xml:space="preserve" | |
| 61878 | 62544 | filename="glib/gstrfuncs.c" | |
| 61879 | - | line="3304">a return location for a number</doc> | |
| 62545 | + | line="3308">a return location for a number</doc> | |
| 61880 | 62546 | <type name="gint64" c:type="gint64*"/> | |
| 61881 | 62547 | </parameter> | |
| 61882 | 62548 | </parameters> | |
| @@ -61887,7 +62553,7 @@ characters.</doc> | |||
| 61887 | 62553 | throws="1"> | |
| 61888 | 62554 | <doc xml:space="preserve" | |
| 61889 | 62555 | filename="glib/gstrfuncs.c" | |
| 61890 | - | line="3399">A convenience function for converting a string to an unsigned number. | |
| 62556 | + | line="3403">A convenience function for converting a string to an unsigned number. | |
| 61891 | 62557 | ||
| 61892 | 62558 | This function assumes that @str contains only a number of the given | |
| 61893 | 62559 | @base that is within inclusive bounds limited by @min and @max. If | |
| @@ -61913,32 +62579,32 @@ characters.</doc> | |||
| 61913 | 62579 | <return-value transfer-ownership="none"> | |
| 61914 | 62580 | <doc xml:space="preserve" | |
| 61915 | 62581 | filename="glib/gstrfuncs.c" | |
| 61916 | - | line="3431">true if @str was a number, false otherwise</doc> | |
| 62582 | + | line="3435">true if @str was a number, false otherwise</doc> | |
| 61917 | 62583 | <type name="gboolean" c:type="gboolean"/> | |
| 61918 | 62584 | </return-value> | |
| 61919 | 62585 | <parameters> | |
| 61920 | 62586 | <parameter name="str" transfer-ownership="none"> | |
| 61921 | 62587 | <doc xml:space="preserve" | |
| 61922 | 62588 | filename="glib/gstrfuncs.c" | |
| 61923 | - | line="3401">a string</doc> | |
| 62589 | + | line="3405">a string</doc> | |
| 61924 | 62590 | <type name="utf8" c:type="const gchar*"/> | |
| 61925 | 62591 | </parameter> | |
| 61926 | 62592 | <parameter name="base" transfer-ownership="none"> | |
| 61927 | 62593 | <doc xml:space="preserve" | |
| 61928 | 62594 | filename="glib/gstrfuncs.c" | |
| 61929 | - | line="3402">base of a parsed number</doc> | |
| 62595 | + | line="3406">base of a parsed number</doc> | |
| 61930 | 62596 | <type name="guint" c:type="guint"/> | |
| 61931 | 62597 | </parameter> | |
| 61932 | 62598 | <parameter name="min" transfer-ownership="none"> | |
| 61933 | 62599 | <doc xml:space="preserve" | |
| 61934 | 62600 | filename="glib/gstrfuncs.c" | |
| 61935 | - | line="3403">a lower bound (inclusive)</doc> | |
| 62601 | + | line="3407">a lower bound (inclusive)</doc> | |
| 61936 | 62602 | <type name="guint64" c:type="guint64"/> | |
| 61937 | 62603 | </parameter> | |
| 61938 | 62604 | <parameter name="max" transfer-ownership="none"> | |
| 61939 | 62605 | <doc xml:space="preserve" | |
| 61940 | 62606 | filename="glib/gstrfuncs.c" | |
| 61941 | - | line="3404">an upper bound (inclusive)</doc> | |
| 62607 | + | line="3408">an upper bound (inclusive)</doc> | |
| 61942 | 62608 | <type name="guint64" c:type="guint64"/> | |
| 61943 | 62609 | </parameter> | |
| 61944 | 62610 | <parameter name="out_num" | |
| @@ -61949,7 +62615,7 @@ characters.</doc> | |||
| 61949 | 62615 | allow-none="1"> | |
| 61950 | 62616 | <doc xml:space="preserve" | |
| 61951 | 62617 | filename="glib/gstrfuncs.c" | |
| 61952 | - | line="3405">a return location for a number</doc> | |
| 62618 | + | line="3409">a return location for a number</doc> | |
| 61953 | 62619 | <type name="guint64" c:type="guint64*"/> | |
| 61954 | 62620 | </parameter> | |
| 61955 | 62621 | </parameters> | |
| @@ -61957,7 +62623,7 @@ characters.</doc> | |||
| 61957 | 62623 | <function name="ascii_strncasecmp" c:identifier="g_ascii_strncasecmp"> | |
| 61958 | 62624 | <doc xml:space="preserve" | |
| 61959 | 62625 | filename="glib/gstrfuncs.c" | |
| 61960 | - | line="1847">Compare @s1 and @s2, ignoring the case of ASCII characters and any | |
| 62626 | + | line="1851">Compare @s1 and @s2, ignoring the case of ASCII characters and any | |
| 61961 | 62627 | characters after the first @n in each string. If either string is | |
| 61962 | 62628 | less than @n bytes long, comparison will stop at the first nul byte | |
| 61963 | 62629 | encountered. | |
| @@ -61973,7 +62639,7 @@ corresponding to ASCII letters always represent themselves.</doc> | |||
| 61973 | 62639 | <return-value transfer-ownership="none"> | |
| 61974 | 62640 | <doc xml:space="preserve" | |
| 61975 | 62641 | filename="glib/gstrfuncs.c" | |
| 61976 | - | line="1866">0 if the strings match, a negative value if @s1 < @s2, | |
| 62642 | + | line="1870">0 if the strings match, a negative value if @s1 < @s2, | |
| 61977 | 62643 | or a positive value if @s1 > @s2</doc> | |
| 61978 | 62644 | <type name="gint" c:type="gint"/> | |
| 61979 | 62645 | </return-value> | |
| @@ -61981,19 +62647,19 @@ corresponding to ASCII letters always represent themselves.</doc> | |||
| 61981 | 62647 | <parameter name="s1" transfer-ownership="none"> | |
| 61982 | 62648 | <doc xml:space="preserve" | |
| 61983 | 62649 | filename="glib/gstrfuncs.c" | |
| 61984 | - | line="1849">string to compare with @s2</doc> | |
| 62650 | + | line="1853">string to compare with @s2</doc> | |
| 61985 | 62651 | <type name="utf8" c:type="const gchar*"/> | |
| 61986 | 62652 | </parameter> | |
| 61987 | 62653 | <parameter name="s2" transfer-ownership="none"> | |
| 61988 | 62654 | <doc xml:space="preserve" | |
| 61989 | 62655 | filename="glib/gstrfuncs.c" | |
| 61990 | - | line="1850">string to compare with @s1</doc> | |
| 62656 | + | line="1854">string to compare with @s1</doc> | |
| 61991 | 62657 | <type name="utf8" c:type="const gchar*"/> | |
| 61992 | 62658 | </parameter> | |
| 61993 | 62659 | <parameter name="n" transfer-ownership="none"> | |
| 61994 | 62660 | <doc xml:space="preserve" | |
| 61995 | 62661 | filename="glib/gstrfuncs.c" | |
| 61996 | - | line="1851">number of characters to compare</doc> | |
| 62662 | + | line="1855">number of characters to compare</doc> | |
| 61997 | 62663 | <type name="gsize" c:type="gsize"/> | |
| 61998 | 62664 | </parameter> | |
| 61999 | 62665 | </parameters> | |
| @@ -62001,7 +62667,7 @@ corresponding to ASCII letters always represent themselves.</doc> | |||
| 62001 | 62667 | <function name="ascii_strtod" c:identifier="g_ascii_strtod"> | |
| 62002 | 62668 | <doc xml:space="preserve" | |
| 62003 | 62669 | filename="glib/gstrfuncs.c" | |
| 62004 | - | line="655">Converts a string to a floating point value. | |
| 62670 | + | line="659">Converts a string to a floating point value. | |
| 62005 | 62671 | ||
| 62006 | 62672 | This function behaves like the standard `strtod()` function | |
| 62007 | 62673 | does in the C locale. It does this without actually changing | |
| @@ -62028,14 +62694,14 @@ you can reliably detect overflow and underflow.</doc> | |||
| 62028 | 62694 | <return-value transfer-ownership="none"> | |
| 62029 | 62695 | <doc xml:space="preserve" | |
| 62030 | 62696 | filename="glib/gstrfuncs.c" | |
| 62031 | - | line="685">the converted value</doc> | |
| 62697 | + | line="689">the converted value</doc> | |
| 62032 | 62698 | <type name="gdouble" c:type="gdouble"/> | |
| 62033 | 62699 | </return-value> | |
| 62034 | 62700 | <parameters> | |
| 62035 | 62701 | <parameter name="nptr" transfer-ownership="none"> | |
| 62036 | 62702 | <doc xml:space="preserve" | |
| 62037 | 62703 | filename="glib/gstrfuncs.c" | |
| 62038 | - | line="657">the string to convert to a numeric value</doc> | |
| 62704 | + | line="661">the string to convert to a numeric value</doc> | |
| 62039 | 62705 | <type name="utf8" c:type="const gchar*"/> | |
| 62040 | 62706 | </parameter> | |
| 62041 | 62707 | <parameter name="endptr" | |
| @@ -62046,7 +62712,7 @@ you can reliably detect overflow and underflow.</doc> | |||
| 62046 | 62712 | allow-none="1"> | |
| 62047 | 62713 | <doc xml:space="preserve" | |
| 62048 | 62714 | filename="glib/gstrfuncs.c" | |
| 62049 | - | line="658">if non-`NULL`, it returns the | |
| 62715 | + | line="662">if non-`NULL`, it returns the | |
| 62050 | 62716 | character after the last character used in the conversion</doc> | |
| 62051 | 62717 | <type name="utf8" c:type="gchar**"/> | |
| 62052 | 62718 | </parameter> | |
| @@ -62057,7 +62723,7 @@ you can reliably detect overflow and underflow.</doc> | |||
| 62057 | 62723 | version="2.12"> | |
| 62058 | 62724 | <doc xml:space="preserve" | |
| 62059 | 62725 | filename="glib/gstrfuncs.c" | |
| 62060 | - | line="1196">Converts a string to a `gint64` value. | |
| 62726 | + | line="1200">Converts a string to a `gint64` value. | |
| 62061 | 62727 | ||
| 62062 | 62728 | This function behaves like the standard `strtoll()` function | |
| 62063 | 62729 | does in the C locale. It does this without actually | |
| @@ -62079,14 +62745,14 @@ string conversion fails, zero is returned, and @endptr returns @nptr | |||
| 62079 | 62745 | <return-value transfer-ownership="none"> | |
| 62080 | 62746 | <doc xml:space="preserve" | |
| 62081 | 62747 | filename="glib/gstrfuncs.c" | |
| 62082 | - | line="1222">the converted value, or zero on error</doc> | |
| 62748 | + | line="1226">the converted value, or zero on error</doc> | |
| 62083 | 62749 | <type name="gint64" c:type="gint64"/> | |
| 62084 | 62750 | </return-value> | |
| 62085 | 62751 | <parameters> | |
| 62086 | 62752 | <parameter name="nptr" transfer-ownership="none"> | |
| 62087 | 62753 | <doc xml:space="preserve" | |
| 62088 | 62754 | filename="glib/gstrfuncs.c" | |
| 62089 | - | line="1198">the string to convert to a numeric value</doc> | |
| 62755 | + | line="1202">the string to convert to a numeric value</doc> | |
| 62090 | 62756 | <type name="utf8" c:type="const gchar*"/> | |
| 62091 | 62757 | </parameter> | |
| 62092 | 62758 | <parameter name="endptr" | |
| @@ -62097,14 +62763,14 @@ string conversion fails, zero is returned, and @endptr returns @nptr | |||
| 62097 | 62763 | allow-none="1"> | |
| 62098 | 62764 | <doc xml:space="preserve" | |
| 62099 | 62765 | filename="glib/gstrfuncs.c" | |
| 62100 | - | line="1199">if non-`NULL`, it returns the | |
| 62766 | + | line="1203">if non-`NULL`, it returns the | |
| 62101 | 62767 | character after the last character used in the conversion</doc> | |
| 62102 | 62768 | <type name="utf8" c:type="gchar**"/> | |
| 62103 | 62769 | </parameter> | |
| 62104 | 62770 | <parameter name="base" transfer-ownership="none"> | |
| 62105 | 62771 | <doc xml:space="preserve" | |
| 62106 | 62772 | filename="glib/gstrfuncs.c" | |
| 62107 | - | line="1201">to be used for the conversion, 2..36 or 0</doc> | |
| 62773 | + | line="1205">to be used for the conversion, 2..36 or 0</doc> | |
| 62108 | 62774 | <type name="guint" c:type="guint"/> | |
| 62109 | 62775 | </parameter> | |
| 62110 | 62776 | </parameters> | |
| @@ -62114,7 +62780,7 @@ string conversion fails, zero is returned, and @endptr returns @nptr | |||
| 62114 | 62780 | version="2.2"> | |
| 62115 | 62781 | <doc xml:space="preserve" | |
| 62116 | 62782 | filename="glib/gstrfuncs.c" | |
| 62117 | - | line="1140">Converts a string to a `guint64` value. | |
| 62783 | + | line="1144">Converts a string to a `guint64` value. | |
| 62118 | 62784 | ||
| 62119 | 62785 | This function behaves like the standard `strtoull()` function | |
| 62120 | 62786 | does in the C locale. It does this without actually | |
| @@ -62141,14 +62807,14 @@ If the string conversion fails, zero is returned, and @endptr returns | |||
| 62141 | 62807 | <return-value transfer-ownership="none"> | |
| 62142 | 62808 | <doc xml:space="preserve" | |
| 62143 | 62809 | filename="glib/gstrfuncs.c" | |
| 62144 | - | line="1171">the converted value, or zero on error</doc> | |
| 62810 | + | line="1175">the converted value, or zero on error</doc> | |
| 62145 | 62811 | <type name="guint64" c:type="guint64"/> | |
| 62146 | 62812 | </return-value> | |
| 62147 | 62813 | <parameters> | |
| 62148 | 62814 | <parameter name="nptr" transfer-ownership="none"> | |
| 62149 | 62815 | <doc xml:space="preserve" | |
| 62150 | 62816 | filename="glib/gstrfuncs.c" | |
| 62151 | - | line="1142">the string to convert to a numeric value</doc> | |
| 62817 | + | line="1146">the string to convert to a numeric value</doc> | |
| 62152 | 62818 | <type name="utf8" c:type="const gchar*"/> | |
| 62153 | 62819 | </parameter> | |
| 62154 | 62820 | <parameter name="endptr" | |
| @@ -62159,14 +62825,14 @@ If the string conversion fails, zero is returned, and @endptr returns | |||
| 62159 | 62825 | allow-none="1"> | |
| 62160 | 62826 | <doc xml:space="preserve" | |
| 62161 | 62827 | filename="glib/gstrfuncs.c" | |
| 62162 | - | line="1143">if non-`NULL`, it returns the | |
| 62828 | + | line="1147">if non-`NULL`, it returns the | |
| 62163 | 62829 | character after the last character used in the conversion</doc> | |
| 62164 | 62830 | <type name="utf8" c:type="gchar**"/> | |
| 62165 | 62831 | </parameter> | |
| 62166 | 62832 | <parameter name="base" transfer-ownership="none"> | |
| 62167 | 62833 | <doc xml:space="preserve" | |
| 62168 | 62834 | filename="glib/gstrfuncs.c" | |
| 62169 | - | line="1145">to be used for the conversion, 2..36 or 0</doc> | |
| 62835 | + | line="1149">to be used for the conversion, 2..36 or 0</doc> | |
| 62170 | 62836 | <type name="guint" c:type="guint"/> | |
| 62171 | 62837 | </parameter> | |
| 62172 | 62838 | </parameters> | |
| @@ -62174,13 +62840,13 @@ If the string conversion fails, zero is returned, and @endptr returns | |||
| 62174 | 62840 | <function name="ascii_strup" c:identifier="g_ascii_strup"> | |
| 62175 | 62841 | <doc xml:space="preserve" | |
| 62176 | 62842 | filename="glib/gstrfuncs.c" | |
| 62177 | - | line="1576">Converts all lower case ASCII letters to upper case ASCII letters, with | |
| 62843 | + | line="1580">Converts all lower case ASCII letters to upper case ASCII letters, with | |
| 62178 | 62844 | semantics that exactly match [func@GLib.ascii_toupper].</doc> | |
| 62179 | 62845 | <source-position filename="glib/gstrfuncs.h" line="261"/> | |
| 62180 | 62846 | <return-value transfer-ownership="full"> | |
| 62181 | 62847 | <doc xml:space="preserve" | |
| 62182 | 62848 | filename="glib/gstrfuncs.c" | |
| 62183 | - | line="1584">a newly-allocated string, with all the lower case characters | |
| 62849 | + | line="1588">a newly-allocated string, with all the lower case characters | |
| 62184 | 62850 | in @str converted to upper case. (Note that this is unlike the old | |
| 62185 | 62851 | [func@GLib.strup], which modified the string in place.)</doc> | |
| 62186 | 62852 | <type name="utf8" c:type="gchar*"/> | |
| @@ -62189,13 +62855,13 @@ semantics that exactly match [func@GLib.ascii_toupper].</doc> | |||
| 62189 | 62855 | <parameter name="str" transfer-ownership="none"> | |
| 62190 | 62856 | <doc xml:space="preserve" | |
| 62191 | 62857 | filename="glib/gstrfuncs.c" | |
| 62192 | - | line="1578">a string</doc> | |
| 62858 | + | line="1582">a string</doc> | |
| 62193 | 62859 | <type name="utf8" c:type="const gchar*"/> | |
| 62194 | 62860 | </parameter> | |
| 62195 | 62861 | <parameter name="len" transfer-ownership="none"> | |
| 62196 | 62862 | <doc xml:space="preserve" | |
| 62197 | 62863 | filename="glib/gstrfuncs.c" | |
| 62198 | - | line="1579">length of @str in bytes, or `-1` if @str is nul-terminated</doc> | |
| 62864 | + | line="1583">length of @str in bytes, or `-1` if @str is nul-terminated</doc> | |
| 62199 | 62865 | <type name="gssize" c:type="gssize"/> | |
| 62200 | 62866 | </parameter> | |
| 62201 | 62867 | </parameters> | |
| @@ -62203,7 +62869,7 @@ semantics that exactly match [func@GLib.ascii_toupper].</doc> | |||
| 62203 | 62869 | <function name="ascii_tolower" c:identifier="g_ascii_tolower"> | |
| 62204 | 62870 | <doc xml:space="preserve" | |
| 62205 | 62871 | filename="glib/gstrfuncs.c" | |
| 62206 | - | line="1709">Convert a character to ASCII lower case. If the character is not an | |
| 62872 | + | line="1713">Convert a character to ASCII lower case. If the character is not an | |
| 62207 | 62873 | ASCII upper case letter, it is returned unchanged. | |
| 62208 | 62874 | ||
| 62209 | 62875 | Unlike the standard C library `tolower()` function, this only | |
| @@ -62217,14 +62883,14 @@ before passing a possibly non-ASCII character in.</doc> | |||
| 62217 | 62883 | <return-value transfer-ownership="none"> | |
| 62218 | 62884 | <doc xml:space="preserve" | |
| 62219 | 62885 | filename="glib/gstrfuncs.c" | |
| 62220 | - | line="1724">the result of the conversion</doc> | |
| 62886 | + | line="1728">the result of the conversion</doc> | |
| 62221 | 62887 | <type name="gchar" c:type="gchar"/> | |
| 62222 | 62888 | </return-value> | |
| 62223 | 62889 | <parameters> | |
| 62224 | 62890 | <parameter name="c" transfer-ownership="none"> | |
| 62225 | 62891 | <doc xml:space="preserve" | |
| 62226 | 62892 | filename="glib/gstrfuncs.c" | |
| 62227 | - | line="1711">any character</doc> | |
| 62893 | + | line="1715">any character</doc> | |
| 62228 | 62894 | <type name="gchar" c:type="gchar"/> | |
| 62229 | 62895 | </parameter> | |
| 62230 | 62896 | </parameters> | |
| @@ -62232,7 +62898,7 @@ before passing a possibly non-ASCII character in.</doc> | |||
| 62232 | 62898 | <function name="ascii_toupper" c:identifier="g_ascii_toupper"> | |
| 62233 | 62899 | <doc xml:space="preserve" | |
| 62234 | 62900 | filename="glib/gstrfuncs.c" | |
| 62235 | - | line="1732">Convert a character to ASCII upper case. If the character is not an | |
| 62901 | + | line="1736">Convert a character to ASCII upper case. If the character is not an | |
| 62236 | 62902 | ASCII lower case letter, it is returned unchanged. | |
| 62237 | 62903 | ||
| 62238 | 62904 | Unlike the standard C library `toupper()` function, this only | |
| @@ -62246,14 +62912,14 @@ before passing a possibly non-ASCII character in.</doc> | |||
| 62246 | 62912 | <return-value transfer-ownership="none"> | |
| 62247 | 62913 | <doc xml:space="preserve" | |
| 62248 | 62914 | filename="glib/gstrfuncs.c" | |
| 62249 | - | line="1747">the result of the conversion</doc> | |
| 62915 | + | line="1751">the result of the conversion</doc> | |
| 62250 | 62916 | <type name="gchar" c:type="gchar"/> | |
| 62251 | 62917 | </return-value> | |
| 62252 | 62918 | <parameters> | |
| 62253 | 62919 | <parameter name="c" transfer-ownership="none"> | |
| 62254 | 62920 | <doc xml:space="preserve" | |
| 62255 | 62921 | filename="glib/gstrfuncs.c" | |
| 62256 | - | line="1734">any character</doc> | |
| 62922 | + | line="1738">any character</doc> | |
| 62257 | 62923 | <type name="gchar" c:type="gchar"/> | |
| 62258 | 62924 | </parameter> | |
| 62259 | 62925 | </parameters> | |
| @@ -62261,7 +62927,7 @@ before passing a possibly non-ASCII character in.</doc> | |||
| 62261 | 62927 | <function name="ascii_xdigit_value" c:identifier="g_ascii_xdigit_value"> | |
| 62262 | 62928 | <doc xml:space="preserve" | |
| 62263 | 62929 | filename="glib/gstrfuncs.c" | |
| 62264 | - | line="1776">Determines the numeric value of a character as a hexadecimal digit. If the | |
| 62930 | + | line="1780">Determines the numeric value of a character as a hexadecimal digit. If the | |
| 62265 | 62931 | character is not a hex digit according to [func@GLib.ascii_isxdigit], | |
| 62266 | 62932 | `-1` is returned. | |
| 62267 | 62933 | ||
| @@ -62274,14 +62940,14 @@ there's no worry about sign extension if characters are signed.</doc> | |||
| 62274 | 62940 | <return-value transfer-ownership="none"> | |
| 62275 | 62941 | <doc xml:space="preserve" | |
| 62276 | 62942 | filename="glib/gstrfuncs.c" | |
| 62277 | - | line="1790">the numerical value of @c if it is a hex digit, `-1` otherwise</doc> | |
| 62943 | + | line="1794">the numerical value of @c if it is a hex digit, `-1` otherwise</doc> | |
| 62278 | 62944 | <type name="gint" c:type="gint"/> | |
| 62279 | 62945 | </return-value> | |
| 62280 | 62946 | <parameters> | |
| 62281 | 62947 | <parameter name="c" transfer-ownership="none"> | |
| 62282 | 62948 | <doc xml:space="preserve" | |
| 62283 | 62949 | filename="glib/gstrfuncs.c" | |
| 62284 | - | line="1778">an ASCII character</doc> | |
| 62950 | + | line="1782">an ASCII character</doc> | |
| 62285 | 62951 | <type name="gchar" c:type="gchar"/> | |
| 62286 | 62952 | </parameter> | |
| 62287 | 62953 | </parameters> | |
| @@ -62823,7 +63489,7 @@ See [func@GLib.test_set_nonfatal_assertions].</doc> | |||
| 62823 | 63489 | </parameters> | |
| 62824 | 63490 | </function-macro> | |
| 62825 | 63491 | <function name="assert_warning" c:identifier="g_assert_warning"> | |
| 62826 | - | <source-position filename="glib/gmessages.h" line="304"/> | |
| 63492 | + | <source-position filename="glib/gmessages.h" line="307"/> | |
| 62827 | 63493 | <return-value transfer-ownership="none"> | |
| 62828 | 63494 | <type name="none" c:type="void"/> | |
| 62829 | 63495 | </return-value> | |
| @@ -63208,11 +63874,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63208 | 63874 | <type name="gint" c:type="gint"/> | |
| 63209 | 63875 | </return-value> | |
| 63210 | 63876 | <parameters> | |
| 63211 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 63877 | + | <parameter name="atomic" | |
| 63878 | + | transfer-ownership="none" | |
| 63879 | + | nullable="1" | |
| 63880 | + | allow-none="1"> | |
| 63212 | 63881 | <doc xml:space="preserve" | |
| 63213 | 63882 | filename="glib/gatomic.c" | |
| 63214 | 63883 | line="238">a pointer to a #gint or #guint</doc> | |
| 63215 | - | <type name="gint" c:type="volatile gint*"/> | |
| 63884 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 63216 | 63885 | </parameter> | |
| 63217 | 63886 | <parameter name="val" transfer-ownership="none"> | |
| 63218 | 63887 | <doc xml:space="preserve" | |
| @@ -63245,11 +63914,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63245 | 63914 | <type name="guint" c:type="guint"/> | |
| 63246 | 63915 | </return-value> | |
| 63247 | 63916 | <parameters> | |
| 63248 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 63917 | + | <parameter name="atomic" | |
| 63918 | + | transfer-ownership="none" | |
| 63919 | + | nullable="1" | |
| 63920 | + | allow-none="1"> | |
| 63249 | 63921 | <doc xml:space="preserve" | |
| 63250 | 63922 | filename="glib/gatomic.c" | |
| 63251 | 63923 | line="267">a pointer to a #gint or #guint</doc> | |
| 63252 | - | <type name="guint" c:type="volatile guint*"/> | |
| 63924 | + | <type name="gpointer" c:type="volatile guint*"/> | |
| 63253 | 63925 | </parameter> | |
| 63254 | 63926 | <parameter name="val" transfer-ownership="none"> | |
| 63255 | 63927 | <doc xml:space="preserve" | |
| @@ -63284,11 +63956,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63284 | 63956 | <type name="gboolean" c:type="gboolean"/> | |
| 63285 | 63957 | </return-value> | |
| 63286 | 63958 | <parameters> | |
| 63287 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 63959 | + | <parameter name="atomic" | |
| 63960 | + | transfer-ownership="none" | |
| 63961 | + | nullable="1" | |
| 63962 | + | allow-none="1"> | |
| 63288 | 63963 | <doc xml:space="preserve" | |
| 63289 | 63964 | filename="glib/gatomic.c" | |
| 63290 | 63965 | line="149">a pointer to a #gint or #guint</doc> | |
| 63291 | - | <type name="gint" c:type="volatile gint*"/> | |
| 63966 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 63292 | 63967 | </parameter> | |
| 63293 | 63968 | <parameter name="oldval" transfer-ownership="none"> | |
| 63294 | 63969 | <doc xml:space="preserve" | |
| @@ -63329,11 +64004,14 @@ See also g_atomic_int_compare_and_exchange()</doc> | |||
| 63329 | 64004 | <type name="gboolean" c:type="gboolean"/> | |
| 63330 | 64005 | </return-value> | |
| 63331 | 64006 | <parameters> | |
| 63332 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64007 | + | <parameter name="atomic" | |
| 64008 | + | transfer-ownership="none" | |
| 64009 | + | nullable="1" | |
| 64010 | + | allow-none="1"> | |
| 63333 | 64011 | <doc xml:space="preserve" | |
| 63334 | 64012 | filename="glib/gatomic.c" | |
| 63335 | 64013 | line="180">a pointer to a #gint or #guint</doc> | |
| 63336 | - | <type name="gint" c:type="gint*"/> | |
| 64014 | + | <type name="gpointer" c:type="gint*"/> | |
| 63337 | 64015 | </parameter> | |
| 63338 | 64016 | <parameter name="oldval" transfer-ownership="none"> | |
| 63339 | 64017 | <doc xml:space="preserve" | |
| @@ -63380,11 +64058,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63380 | 64058 | <type name="gboolean" c:type="gboolean"/> | |
| 63381 | 64059 | </return-value> | |
| 63382 | 64060 | <parameters> | |
| 63383 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64061 | + | <parameter name="atomic" | |
| 64062 | + | transfer-ownership="none" | |
| 64063 | + | nullable="1" | |
| 64064 | + | allow-none="1"> | |
| 63384 | 64065 | <doc xml:space="preserve" | |
| 63385 | 64066 | filename="glib/gatomic.c" | |
| 63386 | 64067 | line="125">a pointer to a #gint or #guint</doc> | |
| 63387 | - | <type name="gint" c:type="volatile gint*"/> | |
| 64068 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 63388 | 64069 | </parameter> | |
| 63389 | 64070 | </parameters> | |
| 63390 | 64071 | </function> | |
| @@ -63409,11 +64090,14 @@ This call acts as a full compiler and hardware memory barrier.</doc> | |||
| 63409 | 64090 | <type name="gint" c:type="gint"/> | |
| 63410 | 64091 | </return-value> | |
| 63411 | 64092 | <parameters> | |
| 63412 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64093 | + | <parameter name="atomic" | |
| 64094 | + | transfer-ownership="none" | |
| 64095 | + | nullable="1" | |
| 64096 | + | allow-none="1"> | |
| 63413 | 64097 | <doc xml:space="preserve" | |
| 63414 | 64098 | filename="glib/gatomic.c" | |
| 63415 | 64099 | line="213">a pointer to a #gint or #guint</doc> | |
| 63416 | - | <type name="gint" c:type="gint*"/> | |
| 64100 | + | <type name="gpointer" c:type="gint*"/> | |
| 63417 | 64101 | </parameter> | |
| 63418 | 64102 | <parameter name="newval" transfer-ownership="none"> | |
| 63419 | 64103 | <doc xml:space="preserve" | |
| @@ -63442,11 +64126,14 @@ compatibility reasons. Don't use this function in new code.</doc> | |||
| 63442 | 64126 | <type name="gint" c:type="gint"/> | |
| 63443 | 64127 | </return-value> | |
| 63444 | 64128 | <parameters> | |
| 63445 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64129 | + | <parameter name="atomic" | |
| 64130 | + | transfer-ownership="none" | |
| 64131 | + | nullable="1" | |
| 64132 | + | allow-none="1"> | |
| 63446 | 64133 | <doc xml:space="preserve" | |
| 63447 | 64134 | filename="glib/gatomic.c" | |
| 63448 | 64135 | line="1152">a pointer to a #gint</doc> | |
| 63449 | - | <type name="gint" c:type="volatile gint*"/> | |
| 64136 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 63450 | 64137 | </parameter> | |
| 63451 | 64138 | <parameter name="val" transfer-ownership="none"> | |
| 63452 | 64139 | <doc xml:space="preserve" | |
| @@ -63476,11 +64163,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63476 | 64163 | <type name="gint" c:type="gint"/> | |
| 63477 | 64164 | </return-value> | |
| 63478 | 64165 | <parameters> | |
| 63479 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64166 | + | <parameter name="atomic" | |
| 64167 | + | transfer-ownership="none" | |
| 64168 | + | nullable="1" | |
| 64169 | + | allow-none="1"> | |
| 63480 | 64170 | <doc xml:space="preserve" | |
| 63481 | 64171 | filename="glib/gatomic.c" | |
| 63482 | 64172 | line="60">a pointer to a #gint or #guint</doc> | |
| 63483 | - | <type name="gint" c:type="volatile const gint*"/> | |
| 64173 | + | <type name="gpointer" c:type="volatile const gint*"/> | |
| 63484 | 64174 | </parameter> | |
| 63485 | 64175 | </parameters> | |
| 63486 | 64176 | </function> | |
| @@ -63502,11 +64192,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63502 | 64192 | <type name="none" c:type="void"/> | |
| 63503 | 64193 | </return-value> | |
| 63504 | 64194 | <parameters> | |
| 63505 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64195 | + | <parameter name="atomic" | |
| 64196 | + | transfer-ownership="none" | |
| 64197 | + | nullable="1" | |
| 64198 | + | allow-none="1"> | |
| 63506 | 64199 | <doc xml:space="preserve" | |
| 63507 | 64200 | filename="glib/gatomic.c" | |
| 63508 | 64201 | line="104">a pointer to a #gint or #guint</doc> | |
| 63509 | - | <type name="gint" c:type="volatile gint*"/> | |
| 64202 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 63510 | 64203 | </parameter> | |
| 63511 | 64204 | </parameters> | |
| 63512 | 64205 | </function> | |
| @@ -63533,11 +64226,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63533 | 64226 | <type name="guint" c:type="guint"/> | |
| 63534 | 64227 | </return-value> | |
| 63535 | 64228 | <parameters> | |
| 63536 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64229 | + | <parameter name="atomic" | |
| 64230 | + | transfer-ownership="none" | |
| 64231 | + | nullable="1" | |
| 64232 | + | allow-none="1"> | |
| 63537 | 64233 | <doc xml:space="preserve" | |
| 63538 | 64234 | filename="glib/gatomic.c" | |
| 63539 | 64235 | line="294">a pointer to a #gint or #guint</doc> | |
| 63540 | - | <type name="guint" c:type="volatile guint*"/> | |
| 64236 | + | <type name="gpointer" c:type="volatile guint*"/> | |
| 63541 | 64237 | </parameter> | |
| 63542 | 64238 | <parameter name="val" transfer-ownership="none"> | |
| 63543 | 64239 | <doc xml:space="preserve" | |
| @@ -63564,11 +64260,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63564 | 64260 | <type name="none" c:type="void"/> | |
| 63565 | 64261 | </return-value> | |
| 63566 | 64262 | <parameters> | |
| 63567 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64263 | + | <parameter name="atomic" | |
| 64264 | + | transfer-ownership="none" | |
| 64265 | + | nullable="1" | |
| 64266 | + | allow-none="1"> | |
| 63568 | 64267 | <doc xml:space="preserve" | |
| 63569 | 64268 | filename="glib/gatomic.c" | |
| 63570 | 64269 | line="82">a pointer to a #gint or #guint</doc> | |
| 63571 | - | <type name="gint" c:type="volatile gint*"/> | |
| 64270 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 63572 | 64271 | </parameter> | |
| 63573 | 64272 | <parameter name="newval" transfer-ownership="none"> | |
| 63574 | 64273 | <doc xml:space="preserve" | |
| @@ -63601,11 +64300,14 @@ the pointer passed to it should not be `volatile`.</doc> | |||
| 63601 | 64300 | <type name="guint" c:type="guint"/> | |
| 63602 | 64301 | </return-value> | |
| 63603 | 64302 | <parameters> | |
| 63604 | - | <parameter name="atomic" transfer-ownership="none"> | |
| 64303 | + | <parameter name="atomic" | |
| 64304 | + | transfer-ownership="none" | |
| 64305 | + | nullable="1" | |
| 64306 | + | allow-none="1"> | |
| 63605 | 64307 | <doc xml:space="preserve" | |
| 63606 | 64308 | filename="glib/gatomic.c" | |
| 63607 | 64309 | line="321">a pointer to a #gint or #guint</doc> | |
| 63608 | - | <type name="guint" c:type="volatile guint*"/> | |
| 64310 | + | <type name="gpointer" c:type="volatile guint*"/> | |
| 63609 | 64311 | </parameter> | |
| 63610 | 64312 | <parameter name="val" transfer-ownership="none"> | |
| 63611 | 64313 | <doc xml:space="preserve" | |
| @@ -64312,7 +65014,10 @@ g_atomic_ref_count_init() to be used again.</doc> | |||
| 64312 | 65014 | <type name="none" c:type="void"/> | |
| 64313 | 65015 | </return-value> | |
| 64314 | 65016 | <parameters> | |
| 64315 | - | <parameter name="arc" transfer-ownership="none"> | |
| 65017 | + | <parameter name="arc" | |
| 65018 | + | direction="out" | |
| 65019 | + | caller-allocates="0" | |
| 65020 | + | transfer-ownership="full"> | |
| 64316 | 65021 | <doc xml:space="preserve" | |
| 64317 | 65022 | filename="glib/grefcount.c" | |
| 64318 | 65023 | line="183">the address of an atomic reference count variable</doc> | |
| @@ -64646,7 +65351,7 @@ or certain other protocols.</doc> | |||
| 64646 | 65351 | deprecated-version="2.2"> | |
| 64647 | 65352 | <doc xml:space="preserve" | |
| 64648 | 65353 | filename="glib/gfileutils.c" | |
| 64649 | - | line="2539">Gets the name of the file without any leading directory | |
| 65354 | + | line="2560">Gets the name of the file without any leading directory | |
| 64650 | 65355 | components. It returns a pointer into the given file name | |
| 64651 | 65356 | string.</doc> | |
| 64652 | 65357 | <doc-deprecated xml:space="preserve">Use g_path_get_basename() instead, but notice | |
| @@ -64657,7 +65362,7 @@ string.</doc> | |||
| 64657 | 65362 | <return-value transfer-ownership="none"> | |
| 64658 | 65363 | <doc xml:space="preserve" | |
| 64659 | 65364 | filename="glib/gfileutils.c" | |
| 64660 | - | line="2547">the name of the file without any leading | |
| 65365 | + | line="2568">the name of the file without any leading | |
| 64661 | 65366 | directory components</doc> | |
| 64662 | 65367 | <type name="filename" c:type="const gchar*"/> | |
| 64663 | 65368 | </return-value> | |
| @@ -64665,7 +65370,7 @@ string.</doc> | |||
| 64665 | 65370 | <parameter name="file_name" transfer-ownership="none"> | |
| 64666 | 65371 | <doc xml:space="preserve" | |
| 64667 | 65372 | filename="glib/gfileutils.c" | |
| 64668 | - | line="2541">the name of the file</doc> | |
| 65373 | + | line="2562">the name of the file</doc> | |
| 64669 | 65374 | <type name="filename" c:type="const gchar*"/> | |
| 64670 | 65375 | </parameter> | |
| 64671 | 65376 | </parameters> | |
| @@ -64673,7 +65378,7 @@ string.</doc> | |||
| 64673 | 65378 | <function name="bit_lock" c:identifier="g_bit_lock" version="2.24"> | |
| 64674 | 65379 | <doc xml:space="preserve" | |
| 64675 | 65380 | filename="glib/gbitlock.c" | |
| 64676 | - | line="189">Sets the indicated @lock_bit in @address. If the bit is already | |
| 65381 | + | line="284">Sets the indicated @lock_bit in @address. If the bit is already | |
| 64677 | 65382 | set, this call will block until g_bit_unlock() unsets the | |
| 64678 | 65383 | corresponding bit. | |
| 64679 | 65384 | ||
| @@ -64692,20 +65397,66 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 64692 | 65397 | <type name="none" c:type="void"/> | |
| 64693 | 65398 | </return-value> | |
| 64694 | 65399 | <parameters> | |
| 64695 | - | <parameter name="address" transfer-ownership="none"> | |
| 65400 | + | <parameter name="address" | |
| 65401 | + | transfer-ownership="none" | |
| 65402 | + | nullable="1" | |
| 65403 | + | allow-none="1"> | |
| 64696 | 65404 | <doc xml:space="preserve" | |
| 64697 | 65405 | filename="glib/gbitlock.c" | |
| 64698 | - | line="191">a pointer to an integer</doc> | |
| 64699 | - | <type name="gint" c:type="volatile gint*"/> | |
| 65406 | + | line="286">a pointer to an integer</doc> | |
| 65407 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 64700 | 65408 | </parameter> | |
| 64701 | 65409 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 64702 | 65410 | <doc xml:space="preserve" | |
| 64703 | 65411 | filename="glib/gbitlock.c" | |
| 64704 | - | line="192">a bit value between 0 and 31</doc> | |
| 65412 | + | line="287">a bit value between 0 and 31</doc> | |
| 64705 | 65413 | <type name="gint" c:type="gint"/> | |
| 64706 | 65414 | </parameter> | |
| 64707 | 65415 | </parameters> | |
| 64708 | 65416 | </function> | |
| 65417 | + | <function name="bit_lock_and_get" | |
| 65418 | + | c:identifier="g_bit_lock_and_get" | |
| 65419 | + | version="2.86"> | |
| 65420 | + | <doc xml:space="preserve" | |
| 65421 | + | filename="glib/gbitlock.c" | |
| 65422 | + | line="221">Sets the indicated @lock_bit in @address and atomically returns the new value. | |
| 65423 | + | ||
| 65424 | + | This is like [func@GLib.bit_lock], except it can atomically return the new value at | |
| 65425 | + | @address (right after obtaining the lock). Thus the value returned in @out_val | |
| 65426 | + | always has the @lock_bit set.</doc> | |
| 65427 | + | <source-position filename="glib/gbitlock.h" line="38"/> | |
| 65428 | + | <return-value transfer-ownership="none"> | |
| 65429 | + | <type name="none" c:type="void"/> | |
| 65430 | + | </return-value> | |
| 65431 | + | <parameters> | |
| 65432 | + | <parameter name="address" | |
| 65433 | + | transfer-ownership="none" | |
| 65434 | + | nullable="1" | |
| 65435 | + | allow-none="1"> | |
| 65436 | + | <doc xml:space="preserve" | |
| 65437 | + | filename="glib/gbitlock.c" | |
| 65438 | + | line="223">a pointer to an integer</doc> | |
| 65439 | + | <type name="gpointer" c:type="gint*"/> | |
| 65440 | + | </parameter> | |
| 65441 | + | <parameter name="lock_bit" transfer-ownership="none"> | |
| 65442 | + | <doc xml:space="preserve" | |
| 65443 | + | filename="glib/gbitlock.c" | |
| 65444 | + | line="224">a bit value between 0 and 31</doc> | |
| 65445 | + | <type name="guint" c:type="guint"/> | |
| 65446 | + | </parameter> | |
| 65447 | + | <parameter name="out_val" | |
| 65448 | + | direction="out" | |
| 65449 | + | caller-allocates="0" | |
| 65450 | + | transfer-ownership="full" | |
| 65451 | + | optional="1" | |
| 65452 | + | allow-none="1"> | |
| 65453 | + | <doc xml:space="preserve" | |
| 65454 | + | filename="glib/gbitlock.c" | |
| 65455 | + | line="225">return location for the new value of the integer</doc> | |
| 65456 | + | <type name="gint" c:type="gint*"/> | |
| 65457 | + | </parameter> | |
| 65458 | + | </parameters> | |
| 65459 | + | </function> | |
| 64709 | 65460 | <function name="bit_nth_lsf" c:identifier="g_bit_nth_lsf"> | |
| 64710 | 65461 | <doc xml:space="preserve" | |
| 64711 | 65462 | filename="glib/gutils.c" | |
| @@ -64791,7 +65542,7 @@ e.g. if @number is 4, 3 bits are needed.</doc> | |||
| 64791 | 65542 | <function name="bit_trylock" c:identifier="g_bit_trylock" version="2.24"> | |
| 64792 | 65543 | <doc xml:space="preserve" | |
| 64793 | 65544 | filename="glib/gbitlock.c" | |
| 64794 | - | line="263">Sets the indicated @lock_bit in @address, returning %TRUE if | |
| 65545 | + | line="313">Sets the indicated @lock_bit in @address, returning %TRUE if | |
| 64795 | 65546 | successful. If the bit is already set, returns %FALSE immediately. | |
| 64796 | 65547 | ||
| 64797 | 65548 | Attempting to lock on two different bits within the same integer is | |
| @@ -64804,24 +65555,27 @@ This function accesses @address atomically. All other accesses to | |||
| 64804 | 65555 | @address must be atomic in order for this function to work | |
| 64805 | 65556 | reliably. While @address has a `volatile` qualifier, this is a historical | |
| 64806 | 65557 | artifact and the argument passed to it should not be `volatile`.</doc> | |
| 64807 | - | <source-position filename="glib/gbitlock.h" line="38"/> | |
| 65558 | + | <source-position filename="glib/gbitlock.h" line="43"/> | |
| 64808 | 65559 | <return-value transfer-ownership="none"> | |
| 64809 | 65560 | <doc xml:space="preserve" | |
| 64810 | 65561 | filename="glib/gbitlock.c" | |
| 64811 | - | line="282">%TRUE if the lock was acquired</doc> | |
| 65562 | + | line="332">%TRUE if the lock was acquired</doc> | |
| 64812 | 65563 | <type name="gboolean" c:type="gboolean"/> | |
| 64813 | 65564 | </return-value> | |
| 64814 | 65565 | <parameters> | |
| 64815 | - | <parameter name="address" transfer-ownership="none"> | |
| 65566 | + | <parameter name="address" | |
| 65567 | + | transfer-ownership="none" | |
| 65568 | + | nullable="1" | |
| 65569 | + | allow-none="1"> | |
| 64816 | 65570 | <doc xml:space="preserve" | |
| 64817 | 65571 | filename="glib/gbitlock.c" | |
| 64818 | - | line="265">a pointer to an integer</doc> | |
| 64819 | - | <type name="gint" c:type="volatile gint*"/> | |
| 65572 | + | line="315">a pointer to an integer</doc> | |
| 65573 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 64820 | 65574 | </parameter> | |
| 64821 | 65575 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 64822 | 65576 | <doc xml:space="preserve" | |
| 64823 | 65577 | filename="glib/gbitlock.c" | |
| 64824 | - | line="266">a bit value between 0 and 31</doc> | |
| 65578 | + | line="316">a bit value between 0 and 31</doc> | |
| 64825 | 65579 | <type name="gint" c:type="gint"/> | |
| 64826 | 65580 | </parameter> | |
| 64827 | 65581 | </parameters> | |
| @@ -64829,7 +65583,7 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 64829 | 65583 | <function name="bit_unlock" c:identifier="g_bit_unlock" version="2.24"> | |
| 64830 | 65584 | <doc xml:space="preserve" | |
| 64831 | 65585 | filename="glib/gbitlock.c" | |
| 64832 | - | line="312">Clears the indicated @lock_bit in @address. If another thread is | |
| 65586 | + | line="362">Clears the indicated @lock_bit in @address. If another thread is | |
| 64833 | 65587 | currently blocked in g_bit_lock() on this same bit then it will be | |
| 64834 | 65588 | woken up. | |
| 64835 | 65589 | ||
| @@ -64837,26 +65591,79 @@ This function accesses @address atomically. All other accesses to | |||
| 64837 | 65591 | @address must be atomic in order for this function to work | |
| 64838 | 65592 | reliably. While @address has a `volatile` qualifier, this is a historical | |
| 64839 | 65593 | artifact and the argument passed to it should not be `volatile`.</doc> | |
| 64840 | - | <source-position filename="glib/gbitlock.h" line="41"/> | |
| 65594 | + | <source-position filename="glib/gbitlock.h" line="46"/> | |
| 64841 | 65595 | <return-value transfer-ownership="none"> | |
| 64842 | 65596 | <type name="none" c:type="void"/> | |
| 64843 | 65597 | </return-value> | |
| 64844 | 65598 | <parameters> | |
| 64845 | - | <parameter name="address" transfer-ownership="none"> | |
| 65599 | + | <parameter name="address" | |
| 65600 | + | transfer-ownership="none" | |
| 65601 | + | nullable="1" | |
| 65602 | + | allow-none="1"> | |
| 65603 | + | <doc xml:space="preserve" | |
| 65604 | + | filename="glib/gbitlock.c" | |
| 65605 | + | line="364">a pointer to an integer</doc> | |
| 65606 | + | <type name="gpointer" c:type="volatile gint*"/> | |
| 65607 | + | </parameter> | |
| 65608 | + | <parameter name="lock_bit" transfer-ownership="none"> | |
| 65609 | + | <doc xml:space="preserve" | |
| 65610 | + | filename="glib/gbitlock.c" | |
| 65611 | + | line="365">a bit value between 0 and 31</doc> | |
| 65612 | + | <type name="gint" c:type="gint"/> | |
| 65613 | + | </parameter> | |
| 65614 | + | </parameters> | |
| 65615 | + | </function> | |
| 65616 | + | <function name="bit_unlock_and_set" | |
| 65617 | + | c:identifier="g_bit_unlock_and_set" | |
| 65618 | + | version="2.86"> | |
| 65619 | + | <doc xml:space="preserve" | |
| 65620 | + | filename="glib/gbitlock.c" | |
| 65621 | + | line="401">This is like [func@GLib.bit_unlock] but also atomically sets @address to | |
| 65622 | + | @val. | |
| 65623 | + | ||
| 65624 | + | If @preserve_mask is not zero, then the @preserve_mask bits will be | |
| 65625 | + | preserved in @address and are not set to @val. | |
| 65626 | + | ||
| 65627 | + | Note that the @lock_bit bit will always be unset regardless of | |
| 65628 | + | @val, @preserve_mask and the currently set value in @address.</doc> | |
| 65629 | + | <source-position filename="glib/gbitlock.h" line="50"/> | |
| 65630 | + | <return-value transfer-ownership="none"> | |
| 65631 | + | <type name="none" c:type="void"/> | |
| 65632 | + | </return-value> | |
| 65633 | + | <parameters> | |
| 65634 | + | <parameter name="address" | |
| 65635 | + | transfer-ownership="none" | |
| 65636 | + | nullable="1" | |
| 65637 | + | allow-none="1"> | |
| 64846 | 65638 | <doc xml:space="preserve" | |
| 64847 | 65639 | filename="glib/gbitlock.c" | |
| 64848 | - | line="314">a pointer to an integer</doc> | |
| 64849 | - | <type name="gint" c:type="volatile gint*"/> | |
| 65640 | + | line="403">a pointer to an integer</doc> | |
| 65641 | + | <type name="gpointer" c:type="gint*"/> | |
| 64850 | 65642 | </parameter> | |
| 64851 | 65643 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 64852 | 65644 | <doc xml:space="preserve" | |
| 64853 | 65645 | filename="glib/gbitlock.c" | |
| 64854 | - | line="315">a bit value between 0 and 31</doc> | |
| 65646 | + | line="404">a bit value between 0 and 31</doc> | |
| 65647 | + | <type name="guint" c:type="guint"/> | |
| 65648 | + | </parameter> | |
| 65649 | + | <parameter name="new_val" transfer-ownership="none"> | |
| 65650 | + | <doc xml:space="preserve" | |
| 65651 | + | filename="glib/gbitlock.c" | |
| 65652 | + | line="405">the new value to set</doc> | |
| 65653 | + | <type name="gint" c:type="gint"/> | |
| 65654 | + | </parameter> | |
| 65655 | + | <parameter name="preserve_mask" transfer-ownership="none"> | |
| 65656 | + | <doc xml:space="preserve" | |
| 65657 | + | filename="glib/gbitlock.c" | |
| 65658 | + | line="406">mask for bits from @address to preserve</doc> | |
| 64855 | 65659 | <type name="gint" c:type="gint"/> | |
| 64856 | 65660 | </parameter> | |
| 64857 | 65661 | </parameters> | |
| 64858 | 65662 | </function> | |
| 64859 | - | <function name="blow_chunks" c:identifier="g_blow_chunks"> | |
| 65663 | + | <function name="blow_chunks" | |
| 65664 | + | c:identifier="g_blow_chunks" | |
| 65665 | + | deprecated="1" | |
| 65666 | + | deprecated-version="2.10"> | |
| 64860 | 65667 | <source-position filename="glib/deprecated/gallocator.h" line="65"/> | |
| 64861 | 65668 | <return-value transfer-ownership="none"> | |
| 64862 | 65669 | <type name="none" c:type="void"/> | |
| @@ -64874,7 +65681,7 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 64874 | 65681 | introspectable="0"> | |
| 64875 | 65682 | <doc xml:space="preserve" | |
| 64876 | 65683 | filename="glib/gfileutils.c" | |
| 64877 | - | line="2271">Creates a filename from a series of elements using the correct | |
| 65684 | + | line="2292">Creates a filename from a series of elements using the correct | |
| 64878 | 65685 | separator for the current platform. | |
| 64879 | 65686 | ||
| 64880 | 65687 | On Unix, this function behaves identically to `g_build_path | |
| @@ -64896,20 +65703,20 @@ If you are building a path programmatically you may want to use | |||
| 64896 | 65703 | <return-value transfer-ownership="full"> | |
| 64897 | 65704 | <doc xml:space="preserve" | |
| 64898 | 65705 | filename="glib/gfileutils.c" | |
| 64899 | - | line="2295">the newly allocated path</doc> | |
| 65706 | + | line="2316">the newly allocated path</doc> | |
| 64900 | 65707 | <type name="filename" c:type="gchar*"/> | |
| 64901 | 65708 | </return-value> | |
| 64902 | 65709 | <parameters> | |
| 64903 | 65710 | <parameter name="first_element" transfer-ownership="none"> | |
| 64904 | 65711 | <doc xml:space="preserve" | |
| 64905 | 65712 | filename="glib/gfileutils.c" | |
| 64906 | - | line="2273">the first element in the path</doc> | |
| 65713 | + | line="2294">the first element in the path</doc> | |
| 64907 | 65714 | <type name="filename" c:type="const gchar*"/> | |
| 64908 | 65715 | </parameter> | |
| 64909 | 65716 | <parameter name="..." transfer-ownership="none"> | |
| 64910 | 65717 | <doc xml:space="preserve" | |
| 64911 | 65718 | filename="glib/gfileutils.c" | |
| 64912 | - | line="2274">remaining elements in path, terminated by %NULL</doc> | |
| 65719 | + | line="2295">remaining elements in path, terminated by %NULL</doc> | |
| 64913 | 65720 | <varargs/> | |
| 64914 | 65721 | </parameter> | |
| 64915 | 65722 | </parameters> | |
| @@ -64920,7 +65727,7 @@ If you are building a path programmatically you may want to use | |||
| 64920 | 65727 | introspectable="0"> | |
| 64921 | 65728 | <doc xml:space="preserve" | |
| 64922 | 65729 | filename="glib/gfileutils.c" | |
| 64923 | - | line="2219">Creates a filename from a list of elements using the correct | |
| 65730 | + | line="2240">Creates a filename from a list of elements using the correct | |
| 64924 | 65731 | separator for the current platform. | |
| 64925 | 65732 | ||
| 64926 | 65733 | Behaves exactly like g_build_filename(), but takes the path elements | |
| @@ -64932,20 +65739,20 @@ functions.</doc> | |||
| 64932 | 65739 | <return-value transfer-ownership="full"> | |
| 64933 | 65740 | <doc xml:space="preserve" | |
| 64934 | 65741 | filename="glib/gfileutils.c" | |
| 64935 | - | line="2233">the newly allocated path</doc> | |
| 65742 | + | line="2254">the newly allocated path</doc> | |
| 64936 | 65743 | <type name="filename" c:type="gchar*"/> | |
| 64937 | 65744 | </return-value> | |
| 64938 | 65745 | <parameters> | |
| 64939 | 65746 | <parameter name="first_element" transfer-ownership="none"> | |
| 64940 | 65747 | <doc xml:space="preserve" | |
| 64941 | 65748 | filename="glib/gfileutils.c" | |
| 64942 | - | line="2221">the first element in the path</doc> | |
| 65749 | + | line="2242">the first element in the path</doc> | |
| 64943 | 65750 | <type name="filename" c:type="const gchar*"/> | |
| 64944 | 65751 | </parameter> | |
| 64945 | 65752 | <parameter name="args" transfer-ownership="none"> | |
| 64946 | 65753 | <doc xml:space="preserve" | |
| 64947 | 65754 | filename="glib/gfileutils.c" | |
| 64948 | - | line="2222">va_list of remaining elements in path</doc> | |
| 65755 | + | line="2243">va_list of remaining elements in path</doc> | |
| 64949 | 65756 | <type name="va_list" c:type="va_list*"/> | |
| 64950 | 65757 | </parameter> | |
| 64951 | 65758 | </parameters> | |
| @@ -64955,7 +65762,7 @@ functions.</doc> | |||
| 64955 | 65762 | version="2.8"> | |
| 64956 | 65763 | <doc xml:space="preserve" | |
| 64957 | 65764 | filename="glib/gfileutils.c" | |
| 64958 | - | line="2246">Creates a filename from a vector of elements using the correct | |
| 65765 | + | line="2267">Creates a filename from a vector of elements using the correct | |
| 64959 | 65766 | separator for the current platform. | |
| 64960 | 65767 | ||
| 64961 | 65768 | This function behaves exactly like g_build_filename(), but takes the path | |
| @@ -64968,14 +65775,14 @@ If you are building a path programmatically you may want to use | |||
| 64968 | 65775 | <return-value transfer-ownership="full"> | |
| 64969 | 65776 | <doc xml:space="preserve" | |
| 64970 | 65777 | filename="glib/gfileutils.c" | |
| 64971 | - | line="2261">the newly allocated path</doc> | |
| 65778 | + | line="2282">the newly allocated path</doc> | |
| 64972 | 65779 | <type name="filename" c:type="gchar*"/> | |
| 64973 | 65780 | </return-value> | |
| 64974 | 65781 | <parameters> | |
| 64975 | 65782 | <parameter name="args" transfer-ownership="none"> | |
| 64976 | 65783 | <doc xml:space="preserve" | |
| 64977 | 65784 | filename="glib/gfileutils.c" | |
| 64978 | - | line="2248">%NULL-terminated | |
| 65785 | + | line="2269">%NULL-terminated | |
| 64979 | 65786 | array of strings containing the path elements.</doc> | |
| 64980 | 65787 | <array c:type="gchar**"> | |
| 64981 | 65788 | <type name="filename"/> | |
| @@ -64986,7 +65793,7 @@ If you are building a path programmatically you may want to use | |||
| 64986 | 65793 | <function name="build_path" c:identifier="g_build_path" introspectable="0"> | |
| 64987 | 65794 | <doc xml:space="preserve" | |
| 64988 | 65795 | filename="glib/gfileutils.c" | |
| 64989 | - | line="2033">Creates a path from a series of elements using @separator as the | |
| 65796 | + | line="2054">Creates a path from a series of elements using @separator as the | |
| 64990 | 65797 | separator between elements. | |
| 64991 | 65798 | ||
| 64992 | 65799 | At the boundary between two elements, any trailing occurrences of | |
| @@ -65018,26 +65825,26 @@ of the separator are ignored.</doc> | |||
| 65018 | 65825 | <return-value transfer-ownership="full"> | |
| 65019 | 65826 | <doc xml:space="preserve" | |
| 65020 | 65827 | filename="glib/gfileutils.c" | |
| 65021 | - | line="2068">the newly allocated path</doc> | |
| 65828 | + | line="2089">the newly allocated path</doc> | |
| 65022 | 65829 | <type name="filename" c:type="gchar*"/> | |
| 65023 | 65830 | </return-value> | |
| 65024 | 65831 | <parameters> | |
| 65025 | 65832 | <parameter name="separator" transfer-ownership="none"> | |
| 65026 | 65833 | <doc xml:space="preserve" | |
| 65027 | 65834 | filename="glib/gfileutils.c" | |
| 65028 | - | line="2035">a string used to separator the elements of the path.</doc> | |
| 65835 | + | line="2056">a string used to separate the elements of the path.</doc> | |
| 65029 | 65836 | <type name="filename" c:type="const gchar*"/> | |
| 65030 | 65837 | </parameter> | |
| 65031 | 65838 | <parameter name="first_element" transfer-ownership="none"> | |
| 65032 | 65839 | <doc xml:space="preserve" | |
| 65033 | 65840 | filename="glib/gfileutils.c" | |
| 65034 | - | line="2036">the first element in the path</doc> | |
| 65841 | + | line="2057">the first element in the path</doc> | |
| 65035 | 65842 | <type name="filename" c:type="const gchar*"/> | |
| 65036 | 65843 | </parameter> | |
| 65037 | 65844 | <parameter name="..." transfer-ownership="none"> | |
| 65038 | 65845 | <doc xml:space="preserve" | |
| 65039 | 65846 | filename="glib/gfileutils.c" | |
| 65040 | - | line="2037">remaining elements in path, terminated by %NULL</doc> | |
| 65847 | + | line="2058">remaining elements in path, terminated by %NULL</doc> | |
| 65041 | 65848 | <varargs/> | |
| 65042 | 65849 | </parameter> | |
| 65043 | 65850 | </parameters> | |
| @@ -65045,7 +65852,7 @@ of the separator are ignored.</doc> | |||
| 65045 | 65852 | <function name="build_pathv" c:identifier="g_build_pathv" version="2.8"> | |
| 65046 | 65853 | <doc xml:space="preserve" | |
| 65047 | 65854 | filename="glib/gfileutils.c" | |
| 65048 | - | line="2006">Behaves exactly like g_build_path(), but takes the path elements | |
| 65855 | + | line="2027">Behaves exactly like g_build_path(), but takes the path elements | |
| 65049 | 65856 | as a string array, instead of variadic arguments. | |
| 65050 | 65857 | ||
| 65051 | 65858 | This function is mainly meant for language bindings.</doc> | |
| @@ -65053,7 +65860,7 @@ This function is mainly meant for language bindings.</doc> | |||
| 65053 | 65860 | <return-value transfer-ownership="full"> | |
| 65054 | 65861 | <doc xml:space="preserve" | |
| 65055 | 65862 | filename="glib/gfileutils.c" | |
| 65056 | - | line="2017">a newly-allocated string that | |
| 65863 | + | line="2038">a newly-allocated string that | |
| 65057 | 65864 | must be freed with g_free().</doc> | |
| 65058 | 65865 | <type name="filename" c:type="gchar*"/> | |
| 65059 | 65866 | </return-value> | |
| @@ -65061,13 +65868,13 @@ This function is mainly meant for language bindings.</doc> | |||
| 65061 | 65868 | <parameter name="separator" transfer-ownership="none"> | |
| 65062 | 65869 | <doc xml:space="preserve" | |
| 65063 | 65870 | filename="glib/gfileutils.c" | |
| 65064 | - | line="2008">a string used to separator the elements of the path.</doc> | |
| 65871 | + | line="2029">a string used to separate the elements of the path.</doc> | |
| 65065 | 65872 | <type name="utf8" c:type="const gchar*"/> | |
| 65066 | 65873 | </parameter> | |
| 65067 | 65874 | <parameter name="args" transfer-ownership="none"> | |
| 65068 | 65875 | <doc xml:space="preserve" | |
| 65069 | 65876 | filename="glib/gfileutils.c" | |
| 65070 | - | line="2009">%NULL-terminated | |
| 65877 | + | line="2030">%NULL-terminated | |
| 65071 | 65878 | array of strings containing the path elements.</doc> | |
| 65072 | 65879 | <array c:type="gchar**"> | |
| 65073 | 65880 | <type name="filename"/> | |
| @@ -65080,13 +65887,13 @@ This function is mainly meant for language bindings.</doc> | |||
| 65080 | 65887 | moved-to="ByteArray.append"> | |
| 65081 | 65888 | <doc xml:space="preserve" | |
| 65082 | 65889 | filename="glib/garray.c" | |
| 65083 | - | line="2858">Adds the given bytes to the end of the #GByteArray. | |
| 65890 | + | line="2878">Adds the given bytes to the end of the `GByteArray`. | |
| 65084 | 65891 | The array will grow in size automatically if necessary.</doc> | |
| 65085 | 65892 | <source-position filename="glib/garray.h" line="293"/> | |
| 65086 | 65893 | <return-value transfer-ownership="none"> | |
| 65087 | 65894 | <doc xml:space="preserve" | |
| 65088 | 65895 | filename="glib/garray.c" | |
| 65089 | - | line="2867">the #GByteArray</doc> | |
| 65896 | + | line="2887">The `GByteArray`</doc> | |
| 65090 | 65897 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65091 | 65898 | <type name="guint8" c:type="guint8"/> | |
| 65092 | 65899 | </array> | |
| @@ -65095,7 +65902,7 @@ The array will grow in size automatically if necessary.</doc> | |||
| 65095 | 65902 | <parameter name="array" transfer-ownership="none"> | |
| 65096 | 65903 | <doc xml:space="preserve" | |
| 65097 | 65904 | filename="glib/garray.c" | |
| 65098 | - | line="2860">a #GByteArray</doc> | |
| 65905 | + | line="2880">a byte array</doc> | |
| 65099 | 65906 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65100 | 65907 | <type name="guint8" c:type="guint8"/> | |
| 65101 | 65908 | </array> | |
| @@ -65103,13 +65910,15 @@ The array will grow in size automatically if necessary.</doc> | |||
| 65103 | 65910 | <parameter name="data" transfer-ownership="none"> | |
| 65104 | 65911 | <doc xml:space="preserve" | |
| 65105 | 65912 | filename="glib/garray.c" | |
| 65106 | - | line="2861">the byte data to be added</doc> | |
| 65107 | - | <type name="guint8" c:type="const guint8*"/> | |
| 65913 | + | line="2881">the byte data to be added</doc> | |
| 65914 | + | <array length="2" zero-terminated="0" c:type="const guint8*"> | |
| 65915 | + | <type name="guint8" c:type="guint8"/> | |
| 65916 | + | </array> | |
| 65108 | 65917 | </parameter> | |
| 65109 | 65918 | <parameter name="len" transfer-ownership="none"> | |
| 65110 | 65919 | <doc xml:space="preserve" | |
| 65111 | 65920 | filename="glib/garray.c" | |
| 65112 | - | line="2862">the number of bytes to add</doc> | |
| 65921 | + | line="2882">the number of bytes to add</doc> | |
| 65113 | 65922 | <type name="guint" c:type="guint"/> | |
| 65114 | 65923 | </parameter> | |
| 65115 | 65924 | </parameters> | |
| @@ -65119,23 +65928,25 @@ The array will grow in size automatically if necessary.</doc> | |||
| 65119 | 65928 | moved-to="ByteArray.free"> | |
| 65120 | 65929 | <doc xml:space="preserve" | |
| 65121 | 65930 | filename="glib/garray.c" | |
| 65122 | - | line="2775">Frees the memory allocated by the #GByteArray. If @free_segment is | |
| 65123 | - | %TRUE it frees the actual byte data. If the reference count of | |
| 65124 | - | @array is greater than one, the #GByteArray wrapper is preserved but | |
| 65931 | + | line="2794">Frees the memory allocated by the `GByteArray`. If @free_segment is | |
| 65932 | + | true it frees the actual byte data. If the reference count of | |
| 65933 | + | @array is greater than one, the `GByteArray` wrapper is preserved but | |
| 65125 | 65934 | the size of @array will be set to zero.</doc> | |
| 65126 | 65935 | <source-position filename="glib/garray.h" line="284"/> | |
| 65127 | - | <return-value transfer-ownership="none"> | |
| 65936 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 65128 | 65937 | <doc xml:space="preserve" | |
| 65129 | 65938 | filename="glib/garray.c" | |
| 65130 | - | line="2785">the element data if @free_segment is %FALSE, otherwise | |
| 65131 | - | %NULL. The element data should be freed using g_free().</doc> | |
| 65132 | - | <type name="guint8" c:type="guint8*"/> | |
| 65939 | + | line="2804">The allocated element data if | |
| 65940 | + | @free_segment is false, otherwise `NULL`.</doc> | |
| 65941 | + | <array zero-terminated="0" c:type="guint8*"> | |
| 65942 | + | <type name="guint8" c:type="guint8"/> | |
| 65943 | + | </array> | |
| 65133 | 65944 | </return-value> | |
| 65134 | 65945 | <parameters> | |
| 65135 | - | <parameter name="array" transfer-ownership="none"> | |
| 65946 | + | <parameter name="array" transfer-ownership="full"> | |
| 65136 | 65947 | <doc xml:space="preserve" | |
| 65137 | 65948 | filename="glib/garray.c" | |
| 65138 | - | line="2777">a #GByteArray</doc> | |
| 65949 | + | line="2796">a byte array</doc> | |
| 65139 | 65950 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65140 | 65951 | <type name="guint8" c:type="guint8"/> | |
| 65141 | 65952 | </array> | |
| @@ -65143,7 +65954,7 @@ the size of @array will be set to zero.</doc> | |||
| 65143 | 65954 | <parameter name="free_segment" transfer-ownership="none"> | |
| 65144 | 65955 | <doc xml:space="preserve" | |
| 65145 | 65956 | filename="glib/garray.c" | |
| 65146 | - | line="2778">if %TRUE the actual byte data is freed as well</doc> | |
| 65957 | + | line="2797">if true, the actual byte data is freed as well</doc> | |
| 65147 | 65958 | <type name="gboolean" c:type="gboolean"/> | |
| 65148 | 65959 | </parameter> | |
| 65149 | 65960 | </parameters> | |
| @@ -65154,27 +65965,28 @@ the size of @array will be set to zero.</doc> | |||
| 65154 | 65965 | version="2.32"> | |
| 65155 | 65966 | <doc xml:space="preserve" | |
| 65156 | 65967 | filename="glib/garray.c" | |
| 65157 | - | line="2795">Transfers the data from the #GByteArray into a new immutable #GBytes. | |
| 65968 | + | line="2814">Transfers the data from the `GByteArray` into a new immutable | |
| 65969 | + | [struct@GLib.Bytes]. | |
| 65158 | 65970 | ||
| 65159 | - | The #GByteArray is freed unless the reference count of @array is greater | |
| 65160 | - | than one, the #GByteArray wrapper is preserved but the size of @array | |
| 65161 | - | will be set to zero. | |
| 65971 | + | The `GByteArray` is freed unless the reference count of @array is greater | |
| 65972 | + | than one, in which the `GByteArray` wrapper is preserved but the size of | |
| 65973 | + | @array will be set to zero. | |
| 65162 | 65974 | ||
| 65163 | - | This is identical to using g_bytes_new_take() and g_byte_array_free() | |
| 65164 | - | together.</doc> | |
| 65975 | + | This is identical to using [ctor@GLib.Bytes.new_take] and | |
| 65976 | + | [func@GLib.ByteArray.free] together.</doc> | |
| 65165 | 65977 | <source-position filename="glib/garray.h" line="287"/> | |
| 65166 | 65978 | <return-value transfer-ownership="full"> | |
| 65167 | 65979 | <doc xml:space="preserve" | |
| 65168 | 65980 | filename="glib/garray.c" | |
| 65169 | - | line="2810">a new immutable #GBytes representing same | |
| 65170 | - | byte data that was in the array</doc> | |
| 65981 | + | line="2830">The new immutable [struct@GLib.Bytes] representing | |
| 65982 | + | same byte data that was in the array</doc> | |
| 65171 | 65983 | <type name="Bytes" c:type="GBytes*"/> | |
| 65172 | 65984 | </return-value> | |
| 65173 | 65985 | <parameters> | |
| 65174 | 65986 | <parameter name="array" transfer-ownership="full"> | |
| 65175 | 65987 | <doc xml:space="preserve" | |
| 65176 | 65988 | filename="glib/garray.c" | |
| 65177 | - | line="2797">a #GByteArray</doc> | |
| 65989 | + | line="2816">a byte array</doc> | |
| 65178 | 65990 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65179 | 65991 | <type name="guint8" c:type="guint8"/> | |
| 65180 | 65992 | </array> | |
| @@ -65186,12 +65998,12 @@ together.</doc> | |||
| 65186 | 65998 | moved-to="ByteArray.new"> | |
| 65187 | 65999 | <doc xml:space="preserve" | |
| 65188 | 66000 | filename="glib/garray.c" | |
| 65189 | - | line="2685">Creates a new #GByteArray with a reference count of 1.</doc> | |
| 66001 | + | line="2705">Creates a new `GByteArray` with a reference count of 1.</doc> | |
| 65190 | 66002 | <source-position filename="glib/garray.h" line="274"/> | |
| 65191 | 66003 | <return-value transfer-ownership="full"> | |
| 65192 | 66004 | <doc xml:space="preserve" | |
| 65193 | 66005 | filename="glib/garray.c" | |
| 65194 | - | line="2690">the new #GByteArray</doc> | |
| 66006 | + | line="2710">The new `GByteArray`</doc> | |
| 65195 | 66007 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65196 | 66008 | <type name="guint8" c:type="guint8"/> | |
| 65197 | 66009 | </array> | |
| @@ -65203,19 +66015,19 @@ together.</doc> | |||
| 65203 | 66015 | version="2.32"> | |
| 65204 | 66016 | <doc xml:space="preserve" | |
| 65205 | 66017 | filename="glib/garray.c" | |
| 65206 | - | line="2720">Creates a byte array containing the @data. | |
| 65207 | - | After this call, @data belongs to the #GByteArray and may no longer be | |
| 66018 | + | line="2739">Creates a byte array containing the @data. | |
| 66019 | + | After this call, @data belongs to the `GByteArray` and may no longer be | |
| 65208 | 66020 | modified by the caller. The memory of @data has to be dynamically | |
| 65209 | - | allocated and will eventually be freed with g_free(). | |
| 66021 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 65210 | 66022 | ||
| 65211 | - | Do not use it if @len is greater than %G_MAXUINT. #GByteArray | |
| 65212 | - | stores the length of its data in #guint, which may be shorter than | |
| 65213 | - | #gsize.</doc> | |
| 66023 | + | Do not use it if @len is greater than [`G_MAXUINT`](types.html#guint). | |
| 66024 | + | `GByteArray` stores the length of its data in `guint`, which may be shorter | |
| 66025 | + | than `gsize`.</doc> | |
| 65214 | 66026 | <source-position filename="glib/garray.h" line="276"/> | |
| 65215 | 66027 | <return-value transfer-ownership="full"> | |
| 65216 | 66028 | <doc xml:space="preserve" | |
| 65217 | 66029 | filename="glib/garray.c" | |
| 65218 | - | line="2736">a new #GByteArray</doc> | |
| 66030 | + | line="2755">The new `GByteArray`</doc> | |
| 65219 | 66031 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65220 | 66032 | <type name="guint8" c:type="guint8"/> | |
| 65221 | 66033 | </array> | |
| @@ -65224,7 +66036,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 65224 | 66036 | <parameter name="data" transfer-ownership="full"> | |
| 65225 | 66037 | <doc xml:space="preserve" | |
| 65226 | 66038 | filename="glib/garray.c" | |
| 65227 | - | line="2722">byte data for the array</doc> | |
| 66039 | + | line="2741">the byte data for the array</doc> | |
| 65228 | 66040 | <array length="1" zero-terminated="0" c:type="guint8*"> | |
| 65229 | 66041 | <type name="guint8" c:type="guint8"/> | |
| 65230 | 66042 | </array> | |
| @@ -65232,7 +66044,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 65232 | 66044 | <parameter name="len" transfer-ownership="none"> | |
| 65233 | 66045 | <doc xml:space="preserve" | |
| 65234 | 66046 | filename="glib/garray.c" | |
| 65235 | - | line="2723">length of @data</doc> | |
| 66047 | + | line="2742">the length of @data</doc> | |
| 65236 | 66048 | <type name="gsize" c:type="gsize"/> | |
| 65237 | 66049 | </parameter> | |
| 65238 | 66050 | </parameters> | |
| @@ -65242,13 +66054,13 @@ stores the length of its data in #guint, which may be shorter than | |||
| 65242 | 66054 | moved-to="ByteArray.prepend"> | |
| 65243 | 66055 | <doc xml:space="preserve" | |
| 65244 | 66056 | filename="glib/garray.c" | |
| 65245 | - | line="2879">Adds the given data to the start of the #GByteArray. | |
| 66057 | + | line="2897">Adds the given data to the start of the `GByteArray`. | |
| 65246 | 66058 | The array will grow in size automatically if necessary.</doc> | |
| 65247 | 66059 | <source-position filename="glib/garray.h" line="297"/> | |
| 65248 | 66060 | <return-value transfer-ownership="none"> | |
| 65249 | 66061 | <doc xml:space="preserve" | |
| 65250 | 66062 | filename="glib/garray.c" | |
| 65251 | - | line="2888">the #GByteArray</doc> | |
| 66063 | + | line="2906">The `GByteArray`</doc> | |
| 65252 | 66064 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65253 | 66065 | <type name="guint8" c:type="guint8"/> | |
| 65254 | 66066 | </array> | |
| @@ -65257,7 +66069,7 @@ The array will grow in size automatically if necessary.</doc> | |||
| 65257 | 66069 | <parameter name="array" transfer-ownership="none"> | |
| 65258 | 66070 | <doc xml:space="preserve" | |
| 65259 | 66071 | filename="glib/garray.c" | |
| 65260 | - | line="2881">a #GByteArray</doc> | |
| 66072 | + | line="2899">a byte array</doc> | |
| 65261 | 66073 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65262 | 66074 | <type name="guint8" c:type="guint8"/> | |
| 65263 | 66075 | </array> | |
| @@ -65265,13 +66077,15 @@ The array will grow in size automatically if necessary.</doc> | |||
| 65265 | 66077 | <parameter name="data" transfer-ownership="none"> | |
| 65266 | 66078 | <doc xml:space="preserve" | |
| 65267 | 66079 | filename="glib/garray.c" | |
| 65268 | - | line="2882">the byte data to be added</doc> | |
| 65269 | - | <type name="guint8" c:type="const guint8*"/> | |
| 66080 | + | line="2900">the byte data to be added</doc> | |
| 66081 | + | <array length="2" zero-terminated="0" c:type="const guint8*"> | |
| 66082 | + | <type name="guint8" c:type="guint8"/> | |
| 66083 | + | </array> | |
| 65270 | 66084 | </parameter> | |
| 65271 | 66085 | <parameter name="len" transfer-ownership="none"> | |
| 65272 | 66086 | <doc xml:space="preserve" | |
| 65273 | 66087 | filename="glib/garray.c" | |
| 65274 | - | line="2883">the number of bytes to add</doc> | |
| 66088 | + | line="2901">the number of bytes to add</doc> | |
| 65275 | 66089 | <type name="guint" c:type="guint"/> | |
| 65276 | 66090 | </parameter> | |
| 65277 | 66091 | </parameters> | |
| @@ -65282,13 +66096,13 @@ The array will grow in size automatically if necessary.</doc> | |||
| 65282 | 66096 | version="2.22"> | |
| 65283 | 66097 | <doc xml:space="preserve" | |
| 65284 | 66098 | filename="glib/garray.c" | |
| 65285 | - | line="2824">Atomically increments the reference count of @array by one. | |
| 66099 | + | line="2844">Atomically increments the reference count of @array by one. | |
| 65286 | 66100 | This function is thread-safe and may be called from any thread.</doc> | |
| 65287 | 66101 | <source-position filename="glib/garray.h" line="289"/> | |
| 65288 | 66102 | <return-value transfer-ownership="full"> | |
| 65289 | 66103 | <doc xml:space="preserve" | |
| 65290 | 66104 | filename="glib/garray.c" | |
| 65291 | - | line="2831">The passed in #GByteArray</doc> | |
| 66105 | + | line="2851">The passed in `GByteArray`</doc> | |
| 65292 | 66106 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65293 | 66107 | <type name="guint8" c:type="guint8"/> | |
| 65294 | 66108 | </array> | |
| @@ -65297,7 +66111,7 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 65297 | 66111 | <parameter name="array" transfer-ownership="none"> | |
| 65298 | 66112 | <doc xml:space="preserve" | |
| 65299 | 66113 | filename="glib/garray.c" | |
| 65300 | - | line="2826">A #GByteArray</doc> | |
| 66114 | + | line="2846">a byte array</doc> | |
| 65301 | 66115 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65302 | 66116 | <type name="guint8" c:type="guint8"/> | |
| 65303 | 66117 | </array> | |
| @@ -65309,13 +66123,13 @@ This function is thread-safe and may be called from any thread.</doc> | |||
| 65309 | 66123 | moved-to="ByteArray.remove_index"> | |
| 65310 | 66124 | <doc xml:space="preserve" | |
| 65311 | 66125 | filename="glib/garray.c" | |
| 65312 | - | line="2918">Removes the byte at the given index from a #GByteArray. | |
| 66126 | + | line="2932">Removes the byte at the given index from a `GByteArray`. | |
| 65313 | 66127 | The following bytes are moved down one place.</doc> | |
| 65314 | 66128 | <source-position filename="glib/garray.h" line="304"/> | |
| 65315 | 66129 | <return-value transfer-ownership="none"> | |
| 65316 | 66130 | <doc xml:space="preserve" | |
| 65317 | 66131 | filename="glib/garray.c" | |
| 65318 | - | line="2926">the #GByteArray</doc> | |
| 66132 | + | line="2940">The `GByteArray`</doc> | |
| 65319 | 66133 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65320 | 66134 | <type name="guint8" c:type="guint8"/> | |
| 65321 | 66135 | </array> | |
| @@ -65324,7 +66138,7 @@ The following bytes are moved down one place.</doc> | |||
| 65324 | 66138 | <parameter name="array" transfer-ownership="none"> | |
| 65325 | 66139 | <doc xml:space="preserve" | |
| 65326 | 66140 | filename="glib/garray.c" | |
| 65327 | - | line="2920">a #GByteArray</doc> | |
| 66141 | + | line="2934">a byte array</doc> | |
| 65328 | 66142 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65329 | 66143 | <type name="guint8" c:type="guint8"/> | |
| 65330 | 66144 | </array> | |
| @@ -65332,7 +66146,7 @@ The following bytes are moved down one place.</doc> | |||
| 65332 | 66146 | <parameter name="index_" transfer-ownership="none"> | |
| 65333 | 66147 | <doc xml:space="preserve" | |
| 65334 | 66148 | filename="glib/garray.c" | |
| 65335 | - | line="2921">the index of the byte to remove</doc> | |
| 66149 | + | line="2935">the index of the byte to remove</doc> | |
| 65336 | 66150 | <type name="guint" c:type="guint"/> | |
| 65337 | 66151 | </parameter> | |
| 65338 | 66152 | </parameters> | |
| @@ -65342,15 +66156,15 @@ The following bytes are moved down one place.</doc> | |||
| 65342 | 66156 | moved-to="ByteArray.remove_index_fast"> | |
| 65343 | 66157 | <doc xml:space="preserve" | |
| 65344 | 66158 | filename="glib/garray.c" | |
| 65345 | - | line="2937">Removes the byte at the given index from a #GByteArray. The last | |
| 66159 | + | line="2949">Removes the byte at the given index from a `GByteArray`. The last | |
| 65346 | 66160 | element in the array is used to fill in the space, so this function | |
| 65347 | - | does not preserve the order of the #GByteArray. But it is faster | |
| 65348 | - | than g_byte_array_remove_index().</doc> | |
| 66161 | + | does not preserve the order of the `GByteArray`. But it is faster | |
| 66162 | + | than [func@GLib.ByteArray.remove_index].</doc> | |
| 65349 | 66163 | <source-position filename="glib/garray.h" line="307"/> | |
| 65350 | 66164 | <return-value transfer-ownership="none"> | |
| 65351 | 66165 | <doc xml:space="preserve" | |
| 65352 | 66166 | filename="glib/garray.c" | |
| 65353 | - | line="2947">the #GByteArray</doc> | |
| 66167 | + | line="2959">The `GByteArray`</doc> | |
| 65354 | 66168 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65355 | 66169 | <type name="guint8" c:type="guint8"/> | |
| 65356 | 66170 | </array> | |
| @@ -65359,7 +66173,7 @@ than g_byte_array_remove_index().</doc> | |||
| 65359 | 66173 | <parameter name="array" transfer-ownership="none"> | |
| 65360 | 66174 | <doc xml:space="preserve" | |
| 65361 | 66175 | filename="glib/garray.c" | |
| 65362 | - | line="2939">a #GByteArray</doc> | |
| 66176 | + | line="2951">a byte array</doc> | |
| 65363 | 66177 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65364 | 66178 | <type name="guint8" c:type="guint8"/> | |
| 65365 | 66179 | </array> | |
| @@ -65367,7 +66181,7 @@ than g_byte_array_remove_index().</doc> | |||
| 65367 | 66181 | <parameter name="index_" transfer-ownership="none"> | |
| 65368 | 66182 | <doc xml:space="preserve" | |
| 65369 | 66183 | filename="glib/garray.c" | |
| 65370 | - | line="2940">the index of the byte to remove</doc> | |
| 66184 | + | line="2952">the index of the byte to remove</doc> | |
| 65371 | 66185 | <type name="guint" c:type="guint"/> | |
| 65372 | 66186 | </parameter> | |
| 65373 | 66187 | </parameters> | |
| @@ -65378,13 +66192,13 @@ than g_byte_array_remove_index().</doc> | |||
| 65378 | 66192 | version="2.4"> | |
| 65379 | 66193 | <doc xml:space="preserve" | |
| 65380 | 66194 | filename="glib/garray.c" | |
| 65381 | - | line="2958">Removes the given number of bytes starting at the given index from a | |
| 65382 | - | #GByteArray. The following elements are moved to close the gap.</doc> | |
| 66195 | + | line="2968">Removes the given number of bytes starting at the given index from a | |
| 66196 | + | `GByteArray`. The following elements are moved to close the gap.</doc> | |
| 65383 | 66197 | <source-position filename="glib/garray.h" line="310"/> | |
| 65384 | 66198 | <return-value transfer-ownership="none"> | |
| 65385 | 66199 | <doc xml:space="preserve" | |
| 65386 | 66200 | filename="glib/garray.c" | |
| 65387 | - | line="2967">the #GByteArray</doc> | |
| 66201 | + | line="2977">The `GByteArray`</doc> | |
| 65388 | 66202 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65389 | 66203 | <type name="guint8" c:type="guint8"/> | |
| 65390 | 66204 | </array> | |
| @@ -65393,7 +66207,7 @@ than g_byte_array_remove_index().</doc> | |||
| 65393 | 66207 | <parameter name="array" transfer-ownership="none"> | |
| 65394 | 66208 | <doc xml:space="preserve" | |
| 65395 | 66209 | filename="glib/garray.c" | |
| 65396 | - | line="2960">a @GByteArray</doc> | |
| 66210 | + | line="2970">a byte array</doc> | |
| 65397 | 66211 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65398 | 66212 | <type name="guint8" c:type="guint8"/> | |
| 65399 | 66213 | </array> | |
| @@ -65401,13 +66215,13 @@ than g_byte_array_remove_index().</doc> | |||
| 65401 | 66215 | <parameter name="index_" transfer-ownership="none"> | |
| 65402 | 66216 | <doc xml:space="preserve" | |
| 65403 | 66217 | filename="glib/garray.c" | |
| 65404 | - | line="2961">the index of the first byte to remove</doc> | |
| 66218 | + | line="2971">the index of the first byte to remove</doc> | |
| 65405 | 66219 | <type name="guint" c:type="guint"/> | |
| 65406 | 66220 | </parameter> | |
| 65407 | 66221 | <parameter name="length" transfer-ownership="none"> | |
| 65408 | 66222 | <doc xml:space="preserve" | |
| 65409 | 66223 | filename="glib/garray.c" | |
| 65410 | - | line="2962">the number of bytes to remove</doc> | |
| 66224 | + | line="2972">the number of bytes to remove</doc> | |
| 65411 | 66225 | <type name="guint" c:type="guint"/> | |
| 65412 | 66226 | </parameter> | |
| 65413 | 66227 | </parameters> | |
| @@ -65417,12 +66231,12 @@ than g_byte_array_remove_index().</doc> | |||
| 65417 | 66231 | moved-to="ByteArray.set_size"> | |
| 65418 | 66232 | <doc xml:space="preserve" | |
| 65419 | 66233 | filename="glib/garray.c" | |
| 65420 | - | line="2900">Sets the size of the #GByteArray, expanding it if necessary.</doc> | |
| 66234 | + | line="2916">Sets the size of the `GByteArray`, expanding it if necessary.</doc> | |
| 65421 | 66235 | <source-position filename="glib/garray.h" line="301"/> | |
| 65422 | 66236 | <return-value transfer-ownership="none"> | |
| 65423 | 66237 | <doc xml:space="preserve" | |
| 65424 | 66238 | filename="glib/garray.c" | |
| 65425 | - | line="2907">the #GByteArray</doc> | |
| 66239 | + | line="2923">The `GByteArray`</doc> | |
| 65426 | 66240 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65427 | 66241 | <type name="guint8" c:type="guint8"/> | |
| 65428 | 66242 | </array> | |
| @@ -65431,7 +66245,7 @@ than g_byte_array_remove_index().</doc> | |||
| 65431 | 66245 | <parameter name="array" transfer-ownership="none"> | |
| 65432 | 66246 | <doc xml:space="preserve" | |
| 65433 | 66247 | filename="glib/garray.c" | |
| 65434 | - | line="2902">a #GByteArray</doc> | |
| 66248 | + | line="2918">a byte array</doc> | |
| 65435 | 66249 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65436 | 66250 | <type name="guint8" c:type="guint8"/> | |
| 65437 | 66251 | </array> | |
| @@ -65439,7 +66253,7 @@ than g_byte_array_remove_index().</doc> | |||
| 65439 | 66253 | <parameter name="length" transfer-ownership="none"> | |
| 65440 | 66254 | <doc xml:space="preserve" | |
| 65441 | 66255 | filename="glib/garray.c" | |
| 65442 | - | line="2903">the new size of the #GByteArray</doc> | |
| 66256 | + | line="2919">the new size of the `GByteArray`</doc> | |
| 65443 | 66257 | <type name="guint" c:type="guint"/> | |
| 65444 | 66258 | </parameter> | |
| 65445 | 66259 | </parameters> | |
| @@ -65449,7 +66263,7 @@ than g_byte_array_remove_index().</doc> | |||
| 65449 | 66263 | moved-to="ByteArray.sized_new"> | |
| 65450 | 66264 | <doc xml:space="preserve" | |
| 65451 | 66265 | filename="glib/garray.c" | |
| 65452 | - | line="2758">Creates a new #GByteArray with @reserved_size bytes preallocated. | |
| 66266 | + | line="2777">Creates a new `GByteArray` with @reserved_size bytes preallocated. | |
| 65453 | 66267 | This avoids frequent reallocation, if you are going to add many | |
| 65454 | 66268 | bytes to the array. Note however that the size of the array is still | |
| 65455 | 66269 | 0.</doc> | |
| @@ -65457,7 +66271,7 @@ bytes to the array. Note however that the size of the array is still | |||
| 65457 | 66271 | <return-value transfer-ownership="full"> | |
| 65458 | 66272 | <doc xml:space="preserve" | |
| 65459 | 66273 | filename="glib/garray.c" | |
| 65460 | - | line="2767">the new #GByteArray</doc> | |
| 66274 | + | line="2786">The new `GByteArray`</doc> | |
| 65461 | 66275 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65462 | 66276 | <type name="guint8" c:type="guint8"/> | |
| 65463 | 66277 | </array> | |
| @@ -65466,7 +66280,7 @@ bytes to the array. Note however that the size of the array is still | |||
| 65466 | 66280 | <parameter name="reserved_size" transfer-ownership="none"> | |
| 65467 | 66281 | <doc xml:space="preserve" | |
| 65468 | 66282 | filename="glib/garray.c" | |
| 65469 | - | line="2760">number of bytes preallocated</doc> | |
| 66283 | + | line="2779">the number of bytes preallocated</doc> | |
| 65470 | 66284 | <type name="guint" c:type="guint"/> | |
| 65471 | 66285 | </parameter> | |
| 65472 | 66286 | </parameters> | |
| @@ -65476,8 +66290,8 @@ bytes to the array. Note however that the size of the array is still | |||
| 65476 | 66290 | moved-to="ByteArray.sort"> | |
| 65477 | 66291 | <doc xml:space="preserve" | |
| 65478 | 66292 | filename="glib/garray.c" | |
| 65479 | - | line="2984">Sorts a byte array, using @compare_func which should be a | |
| 65480 | - | qsort()-style comparison function (returns less than zero for first | |
| 66293 | + | line="2994">Sorts a byte array, using @compare_func which should be a | |
| 66294 | + | `qsort()`-style comparison function (returns less than zero for first | |
| 65481 | 66295 | arg is less than second arg, zero for equal, greater than zero if | |
| 65482 | 66296 | first arg is greater than second arg). | |
| 65483 | 66297 | ||
| @@ -65494,7 +66308,7 @@ their addresses.</doc> | |||
| 65494 | 66308 | <parameter name="array" transfer-ownership="none"> | |
| 65495 | 66309 | <doc xml:space="preserve" | |
| 65496 | 66310 | filename="glib/garray.c" | |
| 65497 | - | line="2986">a #GByteArray</doc> | |
| 66311 | + | line="2996">a byte array</doc> | |
| 65498 | 66312 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65499 | 66313 | <type name="guint8" c:type="guint8"/> | |
| 65500 | 66314 | </array> | |
| @@ -65502,7 +66316,7 @@ their addresses.</doc> | |||
| 65502 | 66316 | <parameter name="compare_func" transfer-ownership="none" scope="call"> | |
| 65503 | 66317 | <doc xml:space="preserve" | |
| 65504 | 66318 | filename="glib/garray.c" | |
| 65505 | - | line="2987">comparison function</doc> | |
| 66319 | + | line="2997">the comparison function</doc> | |
| 65506 | 66320 | <type name="CompareFunc" c:type="GCompareFunc"/> | |
| 65507 | 66321 | </parameter> | |
| 65508 | 66322 | </parameters> | |
| @@ -65512,7 +66326,7 @@ their addresses.</doc> | |||
| 65512 | 66326 | moved-to="ByteArray.sort_with_data"> | |
| 65513 | 66327 | <doc xml:space="preserve" | |
| 65514 | 66328 | filename="glib/garray.c" | |
| 65515 | - | line="3007">Like g_byte_array_sort(), but the comparison function takes an extra | |
| 66329 | + | line="3017">Like [func@GLib.ByteArray.sort], but the comparison function takes an extra | |
| 65516 | 66330 | user data argument.</doc> | |
| 65517 | 66331 | <source-position filename="glib/garray.h" line="317"/> | |
| 65518 | 66332 | <return-value transfer-ownership="none"> | |
| @@ -65522,7 +66336,7 @@ user data argument.</doc> | |||
| 65522 | 66336 | <parameter name="array" transfer-ownership="none"> | |
| 65523 | 66337 | <doc xml:space="preserve" | |
| 65524 | 66338 | filename="glib/garray.c" | |
| 65525 | - | line="3009">a #GByteArray</doc> | |
| 66339 | + | line="3019">a byte array</doc> | |
| 65526 | 66340 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65527 | 66341 | <type name="guint8" c:type="guint8"/> | |
| 65528 | 66342 | </array> | |
| @@ -65533,7 +66347,7 @@ user data argument.</doc> | |||
| 65533 | 66347 | closure="2"> | |
| 65534 | 66348 | <doc xml:space="preserve" | |
| 65535 | 66349 | filename="glib/garray.c" | |
| 65536 | - | line="3010">comparison function</doc> | |
| 66350 | + | line="3020">the comparison function</doc> | |
| 65537 | 66351 | <type name="CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 65538 | 66352 | </parameter> | |
| 65539 | 66353 | <parameter name="user_data" | |
| @@ -65542,7 +66356,7 @@ user data argument.</doc> | |||
| 65542 | 66356 | allow-none="1"> | |
| 65543 | 66357 | <doc xml:space="preserve" | |
| 65544 | 66358 | filename="glib/garray.c" | |
| 65545 | - | line="3011">data to pass to @compare_func</doc> | |
| 66359 | + | line="3021">the data to pass to @compare_func</doc> | |
| 65546 | 66360 | <type name="gpointer" c:type="gpointer"/> | |
| 65547 | 66361 | </parameter> | |
| 65548 | 66362 | </parameters> | |
| @@ -65553,22 +66367,23 @@ user data argument.</doc> | |||
| 65553 | 66367 | version="2.64"> | |
| 65554 | 66368 | <doc xml:space="preserve" | |
| 65555 | 66369 | filename="glib/garray.c" | |
| 65556 | - | line="2698">Frees the data in the array and resets the size to zero, while | |
| 66370 | + | line="2718">Frees the data in the array and resets the size to zero, while | |
| 65557 | 66371 | the underlying array is preserved for use elsewhere and returned | |
| 65558 | 66372 | to the caller.</doc> | |
| 65559 | 66373 | <source-position filename="glib/garray.h" line="279"/> | |
| 65560 | 66374 | <return-value transfer-ownership="full"> | |
| 65561 | 66375 | <doc xml:space="preserve" | |
| 65562 | 66376 | filename="glib/garray.c" | |
| 65563 | - | line="2708">the element data, which should be | |
| 65564 | - | freed using g_free().</doc> | |
| 65565 | - | <type name="guint8" c:type="guint8*"/> | |
| 66377 | + | line="2728">The allocated element data</doc> | |
| 66378 | + | <array length="1" zero-terminated="0" c:type="guint8*"> | |
| 66379 | + | <type name="guint8" c:type="guint8"/> | |
| 66380 | + | </array> | |
| 65566 | 66381 | </return-value> | |
| 65567 | 66382 | <parameters> | |
| 65568 | 66383 | <parameter name="array" transfer-ownership="none"> | |
| 65569 | 66384 | <doc xml:space="preserve" | |
| 65570 | 66385 | filename="glib/garray.c" | |
| 65571 | - | line="2700">a #GByteArray.</doc> | |
| 66386 | + | line="2720">a byte array</doc> | |
| 65572 | 66387 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65573 | 66388 | <type name="guint8" c:type="guint8"/> | |
| 65574 | 66389 | </array> | |
| @@ -65581,7 +66396,7 @@ to the caller.</doc> | |||
| 65581 | 66396 | allow-none="1"> | |
| 65582 | 66397 | <doc xml:space="preserve" | |
| 65583 | 66398 | filename="glib/garray.c" | |
| 65584 | - | line="2701">pointer to retrieve the number of | |
| 66399 | + | line="2721">the pointer to retrieve the number of | |
| 65585 | 66400 | elements of the original array</doc> | |
| 65586 | 66401 | <type name="gsize" c:type="gsize*"/> | |
| 65587 | 66402 | </parameter> | |
| @@ -65593,7 +66408,7 @@ to the caller.</doc> | |||
| 65593 | 66408 | version="2.22"> | |
| 65594 | 66409 | <doc xml:space="preserve" | |
| 65595 | 66410 | filename="glib/garray.c" | |
| 65596 | - | line="2841">Atomically decrements the reference count of @array by one. If the | |
| 66411 | + | line="2861">Atomically decrements the reference count of @array by one. If the | |
| 65597 | 66412 | reference count drops to 0, all memory allocated by the array is | |
| 65598 | 66413 | released. This function is thread-safe and may be called from any | |
| 65599 | 66414 | thread.</doc> | |
| @@ -65602,10 +66417,10 @@ thread.</doc> | |||
| 65602 | 66417 | <type name="none" c:type="void"/> | |
| 65603 | 66418 | </return-value> | |
| 65604 | 66419 | <parameters> | |
| 65605 | - | <parameter name="array" transfer-ownership="none"> | |
| 66420 | + | <parameter name="array" transfer-ownership="full"> | |
| 65606 | 66421 | <doc xml:space="preserve" | |
| 65607 | 66422 | filename="glib/garray.c" | |
| 65608 | - | line="2843">A #GByteArray</doc> | |
| 66423 | + | line="2863">a byte array</doc> | |
| 65609 | 66424 | <array name="GLib.ByteArray" c:type="GByteArray*"> | |
| 65610 | 66425 | <type name="guint8" c:type="guint8"/> | |
| 65611 | 66426 | </array> | |
| @@ -65617,7 +66432,7 @@ thread.</doc> | |||
| 65617 | 66432 | version="2.58"> | |
| 65618 | 66433 | <doc xml:space="preserve" | |
| 65619 | 66434 | filename="glib/gfileutils.c" | |
| 65620 | - | line="2768">Gets the canonical file name from @filename. All triple slashes are turned into | |
| 66435 | + | line="2789">Gets the canonical file name from @filename. All triple slashes are turned into | |
| 65621 | 66436 | single slashes, and all `..` and `.`s resolved against @relative_to. | |
| 65622 | 66437 | ||
| 65623 | 66438 | Symlinks are not followed, and the returned path is guaranteed to be absolute. | |
| @@ -65635,7 +66450,7 @@ No file system I/O is done.</doc> | |||
| 65635 | 66450 | <return-value transfer-ownership="full"> | |
| 65636 | 66451 | <doc xml:space="preserve" | |
| 65637 | 66452 | filename="glib/gfileutils.c" | |
| 65638 | - | line="2789">a newly allocated string with the | |
| 66453 | + | line="2810">a newly allocated string with the | |
| 65639 | 66454 | canonical file path</doc> | |
| 65640 | 66455 | <type name="filename" c:type="gchar*"/> | |
| 65641 | 66456 | </return-value> | |
| @@ -65643,7 +66458,7 @@ No file system I/O is done.</doc> | |||
| 65643 | 66458 | <parameter name="filename" transfer-ownership="none"> | |
| 65644 | 66459 | <doc xml:space="preserve" | |
| 65645 | 66460 | filename="glib/gfileutils.c" | |
| 65646 | - | line="2770">the name of the file</doc> | |
| 66461 | + | line="2791">the name of the file</doc> | |
| 65647 | 66462 | <type name="filename" c:type="const gchar*"/> | |
| 65648 | 66463 | </parameter> | |
| 65649 | 66464 | <parameter name="relative_to" | |
| @@ -65652,7 +66467,7 @@ No file system I/O is done.</doc> | |||
| 65652 | 66467 | allow-none="1"> | |
| 65653 | 66468 | <doc xml:space="preserve" | |
| 65654 | 66469 | filename="glib/gfileutils.c" | |
| 65655 | - | line="2771">the relative directory, or %NULL | |
| 66470 | + | line="2792">the relative directory, or %NULL | |
| 65656 | 66471 | to use the current working directory</doc> | |
| 65657 | 66472 | <type name="filename" c:type="const gchar*"/> | |
| 65658 | 66473 | </parameter> | |
| @@ -65661,7 +66476,7 @@ to use the current working directory</doc> | |||
| 65661 | 66476 | <function name="chdir" c:identifier="g_chdir" version="2.8"> | |
| 65662 | 66477 | <doc xml:space="preserve" | |
| 65663 | 66478 | filename="glib/gstdio.c" | |
| 65664 | - | line="1244">A wrapper for the POSIX chdir() function. The function changes the | |
| 66479 | + | line="1255">A wrapper for the POSIX chdir() function. The function changes the | |
| 65665 | 66480 | current directory of the process to @path. | |
| 65666 | 66481 | ||
| 65667 | 66482 | See your C library manual for more details about chdir().</doc> | |
| @@ -65669,14 +66484,14 @@ See your C library manual for more details about chdir().</doc> | |||
| 65669 | 66484 | <return-value transfer-ownership="none"> | |
| 65670 | 66485 | <doc xml:space="preserve" | |
| 65671 | 66486 | filename="glib/gstdio.c" | |
| 65672 | - | line="1254">0 on success, -1 if an error occurred.</doc> | |
| 66487 | + | line="1265">0 on success, -1 if an error occurred.</doc> | |
| 65673 | 66488 | <type name="gint" c:type="int"/> | |
| 65674 | 66489 | </return-value> | |
| 65675 | 66490 | <parameters> | |
| 65676 | 66491 | <parameter name="path" transfer-ownership="none"> | |
| 65677 | 66492 | <doc xml:space="preserve" | |
| 65678 | 66493 | filename="glib/gstdio.c" | |
| 65679 | - | line="1246">a pathname in the GLib file name encoding | |
| 66494 | + | line="1257">a pathname in the GLib file name encoding | |
| 65680 | 66495 | (UTF-8 on Windows)</doc> | |
| 65681 | 66496 | <type name="filename" c:type="const gchar*"/> | |
| 65682 | 66497 | </parameter> | |
| @@ -65739,12 +66554,12 @@ version `@required_major.@required_minor.@required_micro` | |||
| 65739 | 66554 | version="2.16"> | |
| 65740 | 66555 | <doc xml:space="preserve" | |
| 65741 | 66556 | filename="glib/gchecksum.c" | |
| 65742 | - | line="1408">Gets the length in bytes of digests of type @checksum_type</doc> | |
| 66557 | + | line="1409">Gets the length in bytes of digests of type @checksum_type</doc> | |
| 65743 | 66558 | <source-position filename="glib/gchecksum.h" line="60"/> | |
| 65744 | 66559 | <return-value transfer-ownership="none"> | |
| 65745 | 66560 | <doc xml:space="preserve" | |
| 65746 | 66561 | filename="glib/gchecksum.c" | |
| 65747 | - | line="1414">the checksum length, or -1 if @checksum_type is | |
| 66562 | + | line="1415">the checksum length, or -1 if @checksum_type is | |
| 65748 | 66563 | not supported.</doc> | |
| 65749 | 66564 | <type name="gssize" c:type="gssize"/> | |
| 65750 | 66565 | </return-value> | |
| @@ -65752,7 +66567,7 @@ not supported.</doc> | |||
| 65752 | 66567 | <parameter name="checksum_type" transfer-ownership="none"> | |
| 65753 | 66568 | <doc xml:space="preserve" | |
| 65754 | 66569 | filename="glib/gchecksum.c" | |
| 65755 | - | line="1410">a #GChecksumType</doc> | |
| 66570 | + | line="1411">a #GChecksumType</doc> | |
| 65756 | 66571 | <type name="ChecksumType" c:type="GChecksumType"/> | |
| 65757 | 66572 | </parameter> | |
| 65758 | 66573 | </parameters> | |
| @@ -65764,20 +66579,20 @@ not supported.</doc> | |||
| 65764 | 66579 | introspectable="0"> | |
| 65765 | 66580 | <doc xml:space="preserve" | |
| 65766 | 66581 | filename="glib/gmain.c" | |
| 65767 | - | line="6201">Sets a function to be called when the child indicated by @pid | |
| 66582 | + | line="6384">Sets a function to be called when the child indicated by @pid | |
| 65768 | 66583 | exits, at a default priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 65769 | 66584 | ||
| 65770 | 66585 | If you obtain @pid from [func@GLib.spawn_async] or | |
| 65771 | 66586 | [func@GLib.spawn_async_with_pipes] you will need to pass | |
| 65772 | - | %G_SPAWN_DO_NOT_REAP_CHILD as flag to the spawn function for the child | |
| 65773 | - | watching to work. | |
| 66587 | + | [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] as a flag to the spawn function for | |
| 66588 | + | the child watching to work. | |
| 65774 | 66589 | ||
| 65775 | - | Note that on platforms where #GPid must be explicitly closed | |
| 66590 | + | Note that on platforms where [type@GLib.Pid] must be explicitly closed | |
| 65776 | 66591 | (see [func@GLib.spawn_close_pid]) @pid must not be closed while the | |
| 65777 | 66592 | source is still active. Typically, you will want to call | |
| 65778 | 66593 | [func@GLib.spawn_close_pid] in the callback function for the source. | |
| 65779 | 66594 | ||
| 65780 | - | GLib supports only a single callback per process id. | |
| 66595 | + | GLib supports only a single callback per process ID. | |
| 65781 | 66596 | On POSIX platforms, the same restrictions mentioned for | |
| 65782 | 66597 | [func@GLib.child_watch_source_new] apply to this function. | |
| 65783 | 66598 | ||
| @@ -65785,26 +66600,26 @@ This internally creates a main loop source using | |||
| 65785 | 66600 | [func@GLib.child_watch_source_new] and attaches it to the main loop context | |
| 65786 | 66601 | using [method@GLib.Source.attach]. You can do these steps manually if you | |
| 65787 | 66602 | need greater control.</doc> | |
| 65788 | - | <source-position filename="glib/gmain.h" line="959"/> | |
| 66603 | + | <source-position filename="glib/gmain.h" line="962"/> | |
| 65789 | 66604 | <return-value transfer-ownership="none"> | |
| 65790 | 66605 | <doc xml:space="preserve" | |
| 65791 | 66606 | filename="glib/gmain.c" | |
| 65792 | - | line="6231">the ID (greater than 0) of the event source.</doc> | |
| 66607 | + | line="6414">the ID (greater than 0) of the event source</doc> | |
| 65793 | 66608 | <type name="guint" c:type="guint"/> | |
| 65794 | 66609 | </return-value> | |
| 65795 | 66610 | <parameters> | |
| 65796 | 66611 | <parameter name="pid" transfer-ownership="none"> | |
| 65797 | 66612 | <doc xml:space="preserve" | |
| 65798 | 66613 | filename="glib/gmain.c" | |
| 65799 | - | line="6203">process id to watch. On POSIX the positive pid of a child | |
| 65800 | - | process. On Windows a handle for a process (which doesn't have | |
| 65801 | - | to be a child).</doc> | |
| 66614 | + | line="6386">process to watch — on POSIX systems, this is the positive PID of a | |
| 66615 | + | child process; on Windows it is a handle for a process (which doesn’t have | |
| 66616 | + | to be a child)</doc> | |
| 65802 | 66617 | <type name="Pid" c:type="GPid"/> | |
| 65803 | 66618 | </parameter> | |
| 65804 | 66619 | <parameter name="function" transfer-ownership="none" closure="2"> | |
| 65805 | 66620 | <doc xml:space="preserve" | |
| 65806 | 66621 | filename="glib/gmain.c" | |
| 65807 | - | line="6206">function to call</doc> | |
| 66622 | + | line="6389">function to call</doc> | |
| 65808 | 66623 | <type name="ChildWatchFunc" c:type="GChildWatchFunc"/> | |
| 65809 | 66624 | </parameter> | |
| 65810 | 66625 | <parameter name="data" | |
| @@ -65813,7 +66628,7 @@ need greater control.</doc> | |||
| 65813 | 66628 | allow-none="1"> | |
| 65814 | 66629 | <doc xml:space="preserve" | |
| 65815 | 66630 | filename="glib/gmain.c" | |
| 65816 | - | line="6207">data to pass to @function</doc> | |
| 66631 | + | line="6390">data to pass to @function</doc> | |
| 65817 | 66632 | <type name="gpointer" c:type="gpointer"/> | |
| 65818 | 66633 | </parameter> | |
| 65819 | 66634 | </parameters> | |
| @@ -65824,24 +66639,24 @@ need greater control.</doc> | |||
| 65824 | 66639 | version="2.4"> | |
| 65825 | 66640 | <doc xml:space="preserve" | |
| 65826 | 66641 | filename="glib/gmain.c" | |
| 65827 | - | line="6133">Sets a function to be called when the child indicated by @pid | |
| 66642 | + | line="6316">Sets a function to be called when the child indicated by @pid | |
| 65828 | 66643 | exits, at the priority @priority. | |
| 65829 | 66644 | ||
| 65830 | 66645 | If you obtain @pid from [func@GLib.spawn_async] or | |
| 65831 | 66646 | [func@GLib.spawn_async_with_pipes] you will need to pass | |
| 65832 | - | %G_SPAWN_DO_NOT_REAP_CHILD as flag to the spawn function for the child | |
| 65833 | - | watching to work. | |
| 66647 | + | [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] as a flag to the spawn function for | |
| 66648 | + | the child watching to work. | |
| 65834 | 66649 | ||
| 65835 | 66650 | In many programs, you will want to call [func@GLib.spawn_check_wait_status] | |
| 65836 | 66651 | in the callback to determine whether or not the child exited | |
| 65837 | 66652 | successfully. | |
| 65838 | 66653 | ||
| 65839 | - | Also, note that on platforms where #GPid must be explicitly closed | |
| 66654 | + | Also, note that on platforms where [type@GLib.Pid] must be explicitly closed | |
| 65840 | 66655 | (see [func@GLib.spawn_close_pid]) @pid must not be closed while the source | |
| 65841 | 66656 | is still active. Typically, you should invoke [func@GLib.spawn_close_pid] | |
| 65842 | 66657 | in the callback function for the source. | |
| 65843 | 66658 | ||
| 65844 | - | GLib supports only a single callback per process id. | |
| 66659 | + | GLib supports only a single callback per process ID. | |
| 65845 | 66660 | On POSIX platforms, the same restrictions mentioned for | |
| 65846 | 66661 | [func@GLib.child_watch_source_new] apply to this function. | |
| 65847 | 66662 | ||
| @@ -65849,27 +66664,28 @@ This internally creates a main loop source using | |||
| 65849 | 66664 | [func@GLib.child_watch_source_new] and attaches it to the main loop context | |
| 65850 | 66665 | using [method@GLib.Source.attach]. You can do these steps manually if you | |
| 65851 | 66666 | need greater control.</doc> | |
| 65852 | - | <source-position filename="glib/gmain.h" line="953"/> | |
| 66667 | + | <source-position filename="glib/gmain.h" line="956"/> | |
| 65853 | 66668 | <return-value transfer-ownership="none"> | |
| 65854 | 66669 | <doc xml:space="preserve" | |
| 65855 | 66670 | filename="glib/gmain.c" | |
| 65856 | - | line="6170">the ID (greater than 0) of the event source.</doc> | |
| 66671 | + | line="6354">the ID (greater than 0) of the event source</doc> | |
| 65857 | 66672 | <type name="guint" c:type="guint"/> | |
| 65858 | 66673 | </return-value> | |
| 65859 | 66674 | <parameters> | |
| 65860 | 66675 | <parameter name="priority" transfer-ownership="none"> | |
| 65861 | 66676 | <doc xml:space="preserve" | |
| 65862 | 66677 | filename="glib/gmain.c" | |
| 65863 | - | line="6135">the priority of the idle source. Typically this will be in the | |
| 66678 | + | line="6318">the priority of the idle source; typically this will be in the | |
| 65864 | 66679 | range between [const@GLib.PRIORITY_DEFAULT_IDLE] and | |
| 65865 | - | [const@GLib.PRIORITY_HIGH_IDLE].</doc> | |
| 66680 | + | [const@GLib.PRIORITY_HIGH_IDLE]</doc> | |
| 65866 | 66681 | <type name="gint" c:type="gint"/> | |
| 65867 | 66682 | </parameter> | |
| 65868 | 66683 | <parameter name="pid" transfer-ownership="none"> | |
| 65869 | 66684 | <doc xml:space="preserve" | |
| 65870 | 66685 | filename="glib/gmain.c" | |
| 65871 | - | line="6138">process to watch. On POSIX the positive pid of a child process. On | |
| 65872 | - | Windows a handle for a process (which doesn't have to be a child).</doc> | |
| 66686 | + | line="6321">process to watch — on POSIX systems, this is the positive PID of a | |
| 66687 | + | child process; on Windows it is a handle for a process (which doesn’t have | |
| 66688 | + | to be a child)</doc> | |
| 65873 | 66689 | <type name="Pid" c:type="GPid"/> | |
| 65874 | 66690 | </parameter> | |
| 65875 | 66691 | <parameter name="function" | |
| @@ -65879,7 +66695,7 @@ Windows a handle for a process (which doesn't have to be a child).</doc> | |||
| 65879 | 66695 | destroy="4"> | |
| 65880 | 66696 | <doc xml:space="preserve" | |
| 65881 | 66697 | filename="glib/gmain.c" | |
| 65882 | - | line="6140">function to call</doc> | |
| 66698 | + | line="6324">function to call</doc> | |
| 65883 | 66699 | <type name="ChildWatchFunc" c:type="GChildWatchFunc"/> | |
| 65884 | 66700 | </parameter> | |
| 65885 | 66701 | <parameter name="data" | |
| @@ -65888,7 +66704,7 @@ Windows a handle for a process (which doesn't have to be a child).</doc> | |||
| 65888 | 66704 | allow-none="1"> | |
| 65889 | 66705 | <doc xml:space="preserve" | |
| 65890 | 66706 | filename="glib/gmain.c" | |
| 65891 | - | line="6141">data to pass to @function</doc> | |
| 66707 | + | line="6325">data to pass to @function</doc> | |
| 65892 | 66708 | <type name="gpointer" c:type="gpointer"/> | |
| 65893 | 66709 | </parameter> | |
| 65894 | 66710 | <parameter name="notify" | |
| @@ -65898,7 +66714,7 @@ Windows a handle for a process (which doesn't have to be a child).</doc> | |||
| 65898 | 66714 | scope="async"> | |
| 65899 | 66715 | <doc xml:space="preserve" | |
| 65900 | 66716 | filename="glib/gmain.c" | |
| 65901 | - | line="6142">function to call when the idle is removed, or %NULL</doc> | |
| 66717 | + | line="6326">function to call when the idle is removed</doc> | |
| 65902 | 66718 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 65903 | 66719 | </parameter> | |
| 65904 | 66720 | </parameters> | |
| @@ -65908,16 +66724,16 @@ Windows a handle for a process (which doesn't have to be a child).</doc> | |||
| 65908 | 66724 | version="2.4"> | |
| 65909 | 66725 | <doc xml:space="preserve" | |
| 65910 | 66726 | filename="glib/gmain.c" | |
| 65911 | - | line="6017">Creates a new child_watch source. | |
| 66727 | + | line="6200">Creates a new child watch source. | |
| 65912 | 66728 | ||
| 65913 | 66729 | The source will not initially be associated with any | |
| 65914 | 66730 | [struct@GLib.MainContext] and must be added to one with | |
| 65915 | 66731 | [method@GLib.Source.attach] before it will be executed. | |
| 65916 | 66732 | ||
| 65917 | 66733 | Note that child watch sources can only be used in conjunction with | |
| 65918 | - | `g_spawn...` when the %G_SPAWN_DO_NOT_REAP_CHILD flag is used. | |
| 66734 | + | `g_spawn...` when the [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] flag is used. | |
| 65919 | 66735 | ||
| 65920 | - | Note that on platforms where #GPid must be explicitly closed | |
| 66736 | + | Note that on platforms where [type@GLib.Pid] must be explicitly closed | |
| 65921 | 66737 | (see [func@GLib.spawn_close_pid]) @pid must not be closed while the | |
| 65922 | 66738 | source is still active. Typically, you will want to call | |
| 65923 | 66739 | [func@GLib.spawn_close_pid] in the callback function for the source. | |
| @@ -65925,42 +66741,43 @@ source is still active. Typically, you will want to call | |||
| 65925 | 66741 | On POSIX platforms, the following restrictions apply to this API | |
| 65926 | 66742 | due to limitations in POSIX process interfaces: | |
| 65927 | 66743 | ||
| 65928 | - | * @pid must be a child of this process | |
| 65929 | - | * @pid must be positive | |
| 65930 | - | * the application must not call `waitpid` with a non-positive | |
| 65931 | - | first argument, for instance in another thread | |
| 65932 | - | * the application must not wait for @pid to exit by any other | |
| 66744 | + | * @pid must be a child of this process. | |
| 66745 | + | * @pid must be positive. | |
| 66746 | + | * The application must not call [`waitpid()`](man:waitpid(1)) with a | |
| 66747 | + | non-positive first argument, for instance in another thread. | |
| 66748 | + | * The application must not wait for @pid to exit by any other | |
| 65933 | 66749 | mechanism, including `waitpid(pid, ...)` or a second child-watch | |
| 65934 | - | source for the same @pid | |
| 65935 | - | * the application must not ignore `SIGCHLD` | |
| 65936 | - | * Before 2.78, the application could not send a signal (`kill()`) to the | |
| 66750 | + | source for the same @pid. | |
| 66751 | + | * The application must not ignore `SIGCHLD`. | |
| 66752 | + | * Before 2.78, the application could not send a signal ([`kill()`](man:kill(2))) to the | |
| 65937 | 66753 | watched @pid in a race free manner. Since 2.78, you can do that while the | |
| 65938 | 66754 | associated [struct@GLib.MainContext] is acquired. | |
| 65939 | 66755 | * Before 2.78, even after destroying the [struct@GLib.Source], you could not | |
| 65940 | - | be sure that @pid wasn't already reaped. Hence, it was also not | |
| 66756 | + | be sure that @pid wasn’t already reaped. Hence, it was also not | |
| 65941 | 66757 | safe to `kill()` or `waitpid()` on the process ID after the child watch | |
| 65942 | 66758 | source was gone. Destroying the source before it fired made it | |
| 65943 | 66759 | impossible to reliably reap the process. | |
| 65944 | 66760 | ||
| 65945 | 66761 | If any of those conditions are not met, this and related APIs will | |
| 65946 | 66762 | not work correctly. This can often be diagnosed via a GLib warning | |
| 65947 | - | stating that `ECHILD` was received by `waitpid`. | |
| 66763 | + | stating that `ECHILD` was received by `waitpid()`. | |
| 65948 | 66764 | ||
| 65949 | - | Calling `waitpid` for specific processes other than @pid remains a | |
| 65950 | - | valid thing to do.</doc> | |
| 65951 | - | <source-position filename="glib/gmain.h" line="815"/> | |
| 66765 | + | Calling [`waitpid()`](man:waitpid(2)) for specific processes other than @pid | |
| 66766 | + | remains a valid thing to do.</doc> | |
| 66767 | + | <source-position filename="glib/gmain.h" line="818"/> | |
| 65952 | 66768 | <return-value transfer-ownership="full"> | |
| 65953 | 66769 | <doc xml:space="preserve" | |
| 65954 | 66770 | filename="glib/gmain.c" | |
| 65955 | - | line="6063">the newly-created child watch source</doc> | |
| 66771 | + | line="6247">the newly-created child watch source</doc> | |
| 65956 | 66772 | <type name="Source" c:type="GSource*"/> | |
| 65957 | 66773 | </return-value> | |
| 65958 | 66774 | <parameters> | |
| 65959 | 66775 | <parameter name="pid" transfer-ownership="none"> | |
| 65960 | 66776 | <doc xml:space="preserve" | |
| 65961 | 66777 | filename="glib/gmain.c" | |
| 65962 | - | line="6019">process to watch. On POSIX the positive pid of a child process. On | |
| 65963 | - | Windows a handle for a process (which doesn't have to be a child).</doc> | |
| 66778 | + | line="6202">process to watch — on POSIX systems, this is the positive PID of a | |
| 66779 | + | child process; on Windows it is a handle for a process (which doesn’t have | |
| 66780 | + | to be a child)</doc> | |
| 65964 | 66781 | <type name="Pid" c:type="GPid"/> | |
| 65965 | 66782 | </parameter> | |
| 65966 | 66783 | </parameters> | |
| @@ -65968,7 +66785,7 @@ Windows a handle for a process (which doesn't have to be a child).</doc> | |||
| 65968 | 66785 | <function name="chmod" c:identifier="g_chmod" version="2.8"> | |
| 65969 | 66786 | <doc xml:space="preserve" | |
| 65970 | 66787 | filename="glib/gstdio.c" | |
| 65971 | - | line="970">A wrapper for the POSIX chmod() function. The chmod() function is | |
| 66788 | + | line="981">A wrapper for the POSIX chmod() function. The chmod() function is | |
| 65972 | 66789 | used to set the permissions of a file system object. | |
| 65973 | 66790 | ||
| 65974 | 66791 | On Windows the file protection mechanism is not at all POSIX-like, | |
| @@ -65982,28 +66799,30 @@ See your C library manual for more details about chmod().</doc> | |||
| 65982 | 66799 | <return-value transfer-ownership="none"> | |
| 65983 | 66800 | <doc xml:space="preserve" | |
| 65984 | 66801 | filename="glib/gstdio.c" | |
| 65985 | - | line="987">0 if the operation succeeded, -1 on error</doc> | |
| 66802 | + | line="998">0 if the operation succeeded, -1 on error</doc> | |
| 65986 | 66803 | <type name="gint" c:type="int"/> | |
| 65987 | 66804 | </return-value> | |
| 65988 | 66805 | <parameters> | |
| 65989 | 66806 | <parameter name="filename" transfer-ownership="none"> | |
| 65990 | 66807 | <doc xml:space="preserve" | |
| 65991 | 66808 | filename="glib/gstdio.c" | |
| 65992 | - | line="972">a pathname in the GLib file name encoding | |
| 66809 | + | line="983">a pathname in the GLib file name encoding | |
| 65993 | 66810 | (UTF-8 on Windows)</doc> | |
| 65994 | 66811 | <type name="filename" c:type="const gchar*"/> | |
| 65995 | 66812 | </parameter> | |
| 65996 | 66813 | <parameter name="mode" transfer-ownership="none"> | |
| 65997 | 66814 | <doc xml:space="preserve" | |
| 65998 | 66815 | filename="glib/gstdio.c" | |
| 65999 | - | line="974">as in chmod()</doc> | |
| 66816 | + | line="985">as in chmod()</doc> | |
| 66000 | 66817 | <type name="gint" c:type="int"/> | |
| 66001 | 66818 | </parameter> | |
| 66002 | 66819 | </parameters> | |
| 66003 | 66820 | </function> | |
| 66004 | 66821 | <function-macro name="chunk_free" | |
| 66005 | 66822 | c:identifier="g_chunk_free" | |
| 66006 | - | introspectable="0"> | |
| 66823 | + | introspectable="0" | |
| 66824 | + | deprecated="1" | |
| 66825 | + | deprecated-version="2.10"> | |
| 66007 | 66826 | <source-position filename="glib/deprecated/gallocator.h" line="38"/> | |
| 66008 | 66827 | <parameters> | |
| 66009 | 66828 | <parameter name="mem"> | |
| @@ -66014,7 +66833,9 @@ See your C library manual for more details about chmod().</doc> | |||
| 66014 | 66833 | </function-macro> | |
| 66015 | 66834 | <function-macro name="chunk_new" | |
| 66016 | 66835 | c:identifier="g_chunk_new" | |
| 66017 | - | introspectable="0"> | |
| 66836 | + | introspectable="0" | |
| 66837 | + | deprecated="1" | |
| 66838 | + | deprecated-version="2.10"> | |
| 66018 | 66839 | <source-position filename="glib/deprecated/gallocator.h" line="36"/> | |
| 66019 | 66840 | <parameters> | |
| 66020 | 66841 | <parameter name="type"> | |
| @@ -66025,7 +66846,9 @@ See your C library manual for more details about chmod().</doc> | |||
| 66025 | 66846 | </function-macro> | |
| 66026 | 66847 | <function-macro name="chunk_new0" | |
| 66027 | 66848 | c:identifier="g_chunk_new0" | |
| 66028 | - | introspectable="0"> | |
| 66849 | + | introspectable="0" | |
| 66850 | + | deprecated="1" | |
| 66851 | + | deprecated-version="2.10"> | |
| 66029 | 66852 | <source-position filename="glib/deprecated/gallocator.h" line="37"/> | |
| 66030 | 66853 | <parameters> | |
| 66031 | 66854 | <parameter name="type"> | |
| @@ -66128,9 +66951,9 @@ This function is also useful in conjunction with #g_autofd.</doc> | |||
| 66128 | 66951 | introspectable="0"> | |
| 66129 | 66952 | <doc xml:space="preserve" | |
| 66130 | 66953 | filename="glib/gmain.c" | |
| 66131 | - | line="2618">Clears a numeric handler, such as a #GSource ID. | |
| 66954 | + | line="2778">Clears a numeric handler, such as a [struct@GLib.Source] ID. | |
| 66132 | 66955 | ||
| 66133 | - | @tag_ptr must be a valid pointer to the variable holding the handler. | |
| 66956 | + | The @tag_ptr must be a valid pointer to the variable holding the handler. | |
| 66134 | 66957 | ||
| 66135 | 66958 | If the ID is zero then this function does nothing. | |
| 66136 | 66959 | Otherwise, @clear_func is called with the ID as a parameter, and the tag is | |
| @@ -66138,7 +66961,7 @@ set to zero. | |||
| 66138 | 66961 | ||
| 66139 | 66962 | A macro is also included that allows this function to be used without | |
| 66140 | 66963 | pointer casts.</doc> | |
| 66141 | - | <source-position filename="glib/gmain.h" line="857"/> | |
| 66964 | + | <source-position filename="glib/gmain.h" line="860"/> | |
| 66142 | 66965 | <return-value transfer-ownership="none"> | |
| 66143 | 66966 | <type name="none" c:type="void"/> | |
| 66144 | 66967 | </return-value> | |
| @@ -66146,13 +66969,13 @@ pointer casts.</doc> | |||
| 66146 | 66969 | <parameter name="tag_ptr" transfer-ownership="none"> | |
| 66147 | 66970 | <doc xml:space="preserve" | |
| 66148 | 66971 | filename="glib/gmain.c" | |
| 66149 | - | line="2620">a pointer to the handler ID</doc> | |
| 66972 | + | line="2780">a pointer to the handler ID</doc> | |
| 66150 | 66973 | <type name="guint" c:type="guint*"/> | |
| 66151 | 66974 | </parameter> | |
| 66152 | 66975 | <parameter name="clear_func" transfer-ownership="none"> | |
| 66153 | 66976 | <doc xml:space="preserve" | |
| 66154 | 66977 | filename="glib/gmain.c" | |
| 66155 | - | line="2621">the function to call to clear the handler</doc> | |
| 66978 | + | line="2781">the function to call to clear the handler</doc> | |
| 66156 | 66979 | <type name="ClearHandleFunc" c:type="GClearHandleFunc"/> | |
| 66157 | 66980 | </parameter> | |
| 66158 | 66981 | </parameters> | |
| @@ -66262,7 +67085,7 @@ g_clear_pointer (&sync, destroy_sync); | |||
| 66262 | 67085 | introspectable="0"> | |
| 66263 | 67086 | <doc xml:space="preserve" | |
| 66264 | 67087 | filename="glib/gslist.c" | |
| 66265 | - | line="1041">Clears a pointer to a #GSList, freeing it and, optionally, freeing its elements using @destroy. | |
| 67088 | + | line="1042">Clears a pointer to a #GSList, freeing it and, optionally, freeing its elements using @destroy. | |
| 66266 | 67089 | ||
| 66267 | 67090 | @slist_ptr must be a valid pointer. If @slist_ptr points to a null #GSList, this does nothing.</doc> | |
| 66268 | 67091 | <source-position filename="glib/gslist.h" line="142"/> | |
| @@ -66273,7 +67096,7 @@ g_clear_pointer (&sync, destroy_sync); | |||
| 66273 | 67096 | <parameter name="slist_ptr" transfer-ownership="none"> | |
| 66274 | 67097 | <doc xml:space="preserve" | |
| 66275 | 67098 | filename="glib/gslist.c" | |
| 66276 | - | line="1043">a #GSList return location</doc> | |
| 67099 | + | line="1044">a #GSList return location</doc> | |
| 66277 | 67100 | <type name="GLib.SList" c:type="GSList**"> | |
| 66278 | 67101 | <type name="gpointer" c:type="gpointer"/> | |
| 66279 | 67102 | </type> | |
| @@ -66285,7 +67108,7 @@ g_clear_pointer (&sync, destroy_sync); | |||
| 66285 | 67108 | scope="async"> | |
| 66286 | 67109 | <doc xml:space="preserve" | |
| 66287 | 67110 | filename="glib/gslist.c" | |
| 66288 | - | line="1044">the function to pass to g_slist_free_full() or %NULL to not free elements</doc> | |
| 67111 | + | line="1045">the function to pass to g_slist_free_full() or %NULL to not free elements</doc> | |
| 66289 | 67112 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 66290 | 67113 | </parameter> | |
| 66291 | 67114 | </parameters> | |
| @@ -66293,7 +67116,7 @@ g_clear_pointer (&sync, destroy_sync); | |||
| 66293 | 67116 | <function name="close" c:identifier="g_close" version="2.36" throws="1"> | |
| 66294 | 67117 | <doc xml:space="preserve" | |
| 66295 | 67118 | filename="glib/gstdio.c" | |
| 66296 | - | line="1747">This wraps the close() call. In case of error, %errno will be | |
| 67119 | + | line="1768">This wraps the close() call. In case of error, %errno will be | |
| 66297 | 67120 | preserved, but the error will also be stored as a #GError in @error. | |
| 66298 | 67121 | In case of success, %errno is undefined. | |
| 66299 | 67122 | ||
| @@ -66314,14 +67137,14 @@ See [`signal(7)`](man:signal(7)) and | |||
| 66314 | 67137 | <return-value transfer-ownership="none"> | |
| 66315 | 67138 | <doc xml:space="preserve" | |
| 66316 | 67139 | filename="glib/gstdio.c" | |
| 66317 | - | line="1770">%TRUE on success, %FALSE if there was an error.</doc> | |
| 67140 | + | line="1791">%TRUE on success, %FALSE if there was an error.</doc> | |
| 66318 | 67141 | <type name="gboolean" c:type="gboolean"/> | |
| 66319 | 67142 | </return-value> | |
| 66320 | 67143 | <parameters> | |
| 66321 | 67144 | <parameter name="fd" transfer-ownership="none"> | |
| 66322 | 67145 | <doc xml:space="preserve" | |
| 66323 | 67146 | filename="glib/gstdio.c" | |
| 66324 | - | line="1749">A file descriptor</doc> | |
| 67147 | + | line="1770">A file descriptor</doc> | |
| 66325 | 67148 | <type name="gint" c:type="gint"/> | |
| 66326 | 67149 | </parameter> | |
| 66327 | 67150 | </parameters> | |
| @@ -66365,7 +67188,7 @@ See [`signal(7)`](man:signal(7)) and | |||
| 66365 | 67188 | version="2.34"> | |
| 66366 | 67189 | <doc xml:space="preserve" | |
| 66367 | 67190 | filename="glib/gchecksum.c" | |
| 66368 | - | line="1838">Computes the checksum for a binary @data. This is a | |
| 67191 | + | line="1863">Computes the checksum for a binary @data. This is a | |
| 66369 | 67192 | convenience wrapper for g_checksum_new(), g_checksum_get_string() | |
| 66370 | 67193 | and g_checksum_free(). | |
| 66371 | 67194 | ||
| @@ -66374,7 +67197,7 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66374 | 67197 | <return-value transfer-ownership="full" nullable="1"> | |
| 66375 | 67198 | <doc xml:space="preserve" | |
| 66376 | 67199 | filename="glib/gchecksum.c" | |
| 66377 | - | line="1849">the digest of the binary data as a | |
| 67200 | + | line="1874">the digest of the binary data as a | |
| 66378 | 67201 | string in hexadecimal, or %NULL if g_checksum_new() fails for | |
| 66379 | 67202 | @checksum_type. The returned string should be freed with g_free() when | |
| 66380 | 67203 | done using it.</doc> | |
| @@ -66384,13 +67207,13 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66384 | 67207 | <parameter name="checksum_type" transfer-ownership="none"> | |
| 66385 | 67208 | <doc xml:space="preserve" | |
| 66386 | 67209 | filename="glib/gchecksum.c" | |
| 66387 | - | line="1840">a #GChecksumType</doc> | |
| 67210 | + | line="1865">a #GChecksumType</doc> | |
| 66388 | 67211 | <type name="ChecksumType" c:type="GChecksumType"/> | |
| 66389 | 67212 | </parameter> | |
| 66390 | 67213 | <parameter name="data" transfer-ownership="none"> | |
| 66391 | 67214 | <doc xml:space="preserve" | |
| 66392 | 67215 | filename="glib/gchecksum.c" | |
| 66393 | - | line="1841">binary blob to compute the digest of</doc> | |
| 67216 | + | line="1866">binary blob to compute the digest of</doc> | |
| 66394 | 67217 | <type name="Bytes" c:type="GBytes*"/> | |
| 66395 | 67218 | </parameter> | |
| 66396 | 67219 | </parameters> | |
| @@ -66400,7 +67223,7 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66400 | 67223 | version="2.16"> | |
| 66401 | 67224 | <doc xml:space="preserve" | |
| 66402 | 67225 | filename="glib/gchecksum.c" | |
| 66403 | - | line="1769">Computes the checksum for a binary @data of @length. This is a | |
| 67226 | + | line="1790">Computes the checksum for a binary @data of @length. This is a | |
| 66404 | 67227 | convenience wrapper for g_checksum_new(), g_checksum_get_string() | |
| 66405 | 67228 | and g_checksum_free(). | |
| 66406 | 67229 | ||
| @@ -66409,7 +67232,7 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66409 | 67232 | <return-value transfer-ownership="full" nullable="1"> | |
| 66410 | 67233 | <doc xml:space="preserve" | |
| 66411 | 67234 | filename="glib/gchecksum.c" | |
| 66412 | - | line="1781">the digest of the binary data as a | |
| 67235 | + | line="1802">the digest of the binary data as a | |
| 66413 | 67236 | string in hexadecimal, or %NULL if g_checksum_new() fails for | |
| 66414 | 67237 | @checksum_type. The returned string should be freed with g_free() when | |
| 66415 | 67238 | done using it.</doc> | |
| @@ -66419,13 +67242,13 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66419 | 67242 | <parameter name="checksum_type" transfer-ownership="none"> | |
| 66420 | 67243 | <doc xml:space="preserve" | |
| 66421 | 67244 | filename="glib/gchecksum.c" | |
| 66422 | - | line="1771">a #GChecksumType</doc> | |
| 67245 | + | line="1792">a #GChecksumType</doc> | |
| 66423 | 67246 | <type name="ChecksumType" c:type="GChecksumType"/> | |
| 66424 | 67247 | </parameter> | |
| 66425 | 67248 | <parameter name="data" transfer-ownership="none"> | |
| 66426 | 67249 | <doc xml:space="preserve" | |
| 66427 | 67250 | filename="glib/gchecksum.c" | |
| 66428 | - | line="1772">binary blob to compute the digest of</doc> | |
| 67251 | + | line="1793">binary blob to compute the digest of</doc> | |
| 66429 | 67252 | <array length="2" zero-terminated="0" c:type="const guchar*"> | |
| 66430 | 67253 | <type name="guint8"/> | |
| 66431 | 67254 | </array> | |
| @@ -66433,7 +67256,7 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66433 | 67256 | <parameter name="length" transfer-ownership="none"> | |
| 66434 | 67257 | <doc xml:space="preserve" | |
| 66435 | 67258 | filename="glib/gchecksum.c" | |
| 66436 | - | line="1773">length of @data</doc> | |
| 67259 | + | line="1794">length of @data</doc> | |
| 66437 | 67260 | <type name="gsize" c:type="gsize"/> | |
| 66438 | 67261 | </parameter> | |
| 66439 | 67262 | </parameters> | |
| @@ -66443,14 +67266,14 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66443 | 67266 | version="2.16"> | |
| 66444 | 67267 | <doc xml:space="preserve" | |
| 66445 | 67268 | filename="glib/gchecksum.c" | |
| 66446 | - | line="1809">Computes the checksum of a string. | |
| 67269 | + | line="1830">Computes the checksum of a string. | |
| 66447 | 67270 | ||
| 66448 | 67271 | The hexadecimal string returned will be in lower case.</doc> | |
| 66449 | 67272 | <source-position filename="glib/gchecksum.h" line="86"/> | |
| 66450 | 67273 | <return-value transfer-ownership="full" nullable="1"> | |
| 66451 | 67274 | <doc xml:space="preserve" | |
| 66452 | 67275 | filename="glib/gchecksum.c" | |
| 66453 | - | line="1819">the checksum as a hexadecimal string, | |
| 67276 | + | line="1840">the checksum as a hexadecimal string, | |
| 66454 | 67277 | or %NULL if g_checksum_new() fails for @checksum_type. The returned string | |
| 66455 | 67278 | should be freed with g_free() when done using it.</doc> | |
| 66456 | 67279 | <type name="utf8" c:type="gchar*"/> | |
| @@ -66459,19 +67282,19 @@ The hexadecimal string returned will be in lower case.</doc> | |||
| 66459 | 67282 | <parameter name="checksum_type" transfer-ownership="none"> | |
| 66460 | 67283 | <doc xml:space="preserve" | |
| 66461 | 67284 | filename="glib/gchecksum.c" | |
| 66462 | - | line="1811">a #GChecksumType</doc> | |
| 67285 | + | line="1832">a #GChecksumType</doc> | |
| 66463 | 67286 | <type name="ChecksumType" c:type="GChecksumType"/> | |
| 66464 | 67287 | </parameter> | |
| 66465 | 67288 | <parameter name="str" transfer-ownership="none"> | |
| 66466 | 67289 | <doc xml:space="preserve" | |
| 66467 | 67290 | filename="glib/gchecksum.c" | |
| 66468 | - | line="1812">the string to compute the checksum of</doc> | |
| 67291 | + | line="1833">the string to compute the checksum of</doc> | |
| 66469 | 67292 | <type name="utf8" c:type="const gchar*"/> | |
| 66470 | 67293 | </parameter> | |
| 66471 | 67294 | <parameter name="length" transfer-ownership="none"> | |
| 66472 | 67295 | <doc xml:space="preserve" | |
| 66473 | 67296 | filename="glib/gchecksum.c" | |
| 66474 | - | line="1813">the length of the string, or -1 if the string is null-terminated.</doc> | |
| 67297 | + | line="1834">the length of the string, or -1 if the string is null-terminated.</doc> | |
| 66475 | 67298 | <type name="gssize" c:type="gssize"/> | |
| 66476 | 67299 | </parameter> | |
| 66477 | 67300 | </parameters> | |
| @@ -66939,7 +67762,7 @@ unrepresentable characters, use g_convert_with_fallback().</doc> | |||
| 66939 | 67762 | <function name="creat" c:identifier="g_creat" version="2.8"> | |
| 66940 | 67763 | <doc xml:space="preserve" | |
| 66941 | 67764 | filename="glib/gstdio.c" | |
| 66942 | - | line="1081">A wrapper for the POSIX creat() function. The creat() function is | |
| 67765 | + | line="1092">A wrapper for the POSIX creat() function. The creat() function is | |
| 66943 | 67766 | used to convert a pathname into a file descriptor, creating a file | |
| 66944 | 67767 | if necessary. | |
| 66945 | 67768 | ||
| @@ -66962,7 +67785,7 @@ See your C library manual for more details about creat().</doc> | |||
| 66962 | 67785 | <return-value transfer-ownership="none"> | |
| 66963 | 67786 | <doc xml:space="preserve" | |
| 66964 | 67787 | filename="glib/gstdio.c" | |
| 66965 | - | line="1107">a new file descriptor, or -1 if an error occurred. | |
| 67788 | + | line="1118">a new file descriptor, or -1 if an error occurred. | |
| 66966 | 67789 | The return value can be used exactly like the return value | |
| 66967 | 67790 | from creat().</doc> | |
| 66968 | 67791 | <type name="gint" c:type="int"/> | |
| @@ -66971,14 +67794,14 @@ See your C library manual for more details about creat().</doc> | |||
| 66971 | 67794 | <parameter name="filename" transfer-ownership="none"> | |
| 66972 | 67795 | <doc xml:space="preserve" | |
| 66973 | 67796 | filename="glib/gstdio.c" | |
| 66974 | - | line="1083">a pathname in the GLib file name encoding | |
| 67797 | + | line="1094">a pathname in the GLib file name encoding | |
| 66975 | 67798 | (UTF-8 on Windows)</doc> | |
| 66976 | 67799 | <type name="filename" c:type="const gchar*"/> | |
| 66977 | 67800 | </parameter> | |
| 66978 | 67801 | <parameter name="mode" transfer-ownership="none"> | |
| 66979 | 67802 | <doc xml:space="preserve" | |
| 66980 | 67803 | filename="glib/gstdio.c" | |
| 66981 | - | line="1085">as in creat()</doc> | |
| 67804 | + | line="1096">as in creat()</doc> | |
| 66982 | 67805 | <type name="gint" c:type="int"/> | |
| 66983 | 67806 | </parameter> | |
| 66984 | 67807 | </parameters> | |
| @@ -66988,7 +67811,7 @@ See your C library manual for more details about creat().</doc> | |||
| 66988 | 67811 | introspectable="0"> | |
| 66989 | 67812 | <doc xml:space="preserve" | |
| 66990 | 67813 | filename="glib/gmessages.c" | |
| 66991 | - | line="240">Logs a ‘critical warning’ ([flags@GLib.LogLevelFlags.LEVEL_CRITICAL]). | |
| 67814 | + | line="239">Logs a ‘critical warning’ ([flags@GLib.LogLevelFlags.LEVEL_CRITICAL]). | |
| 66992 | 67815 | ||
| 66993 | 67816 | Critical warnings are intended to be used in the event of an error | |
| 66994 | 67817 | that originated in the current process (a programmer error). | |
| @@ -67000,7 +67823,7 @@ somewhere in the current program (or its libraries). | |||
| 67000 | 67823 | ||
| 67001 | 67824 | You can make critical warnings fatal at runtime by | |
| 67002 | 67825 | setting the `G_DEBUG` environment variable (see | |
| 67003 | - | [Running GLib Applications](glib-running.html)): | |
| 67826 | + | [Running GLib Applications](running.html)): | |
| 67004 | 67827 | ||
| 67005 | 67828 | ``` | |
| 67006 | 67829 | G_DEBUG=fatal-warnings gdb ./my-program | |
| @@ -67021,12 +67844,12 @@ manually. | |||
| 67021 | 67844 | If structured logging is enabled, this will use [func@GLib.log_structured]; | |
| 67022 | 67845 | otherwise it will use [func@GLib.log]. See | |
| 67023 | 67846 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| 67024 | - | <source-position filename="glib/gmessages.h" line="334"/> | |
| 67847 | + | <source-position filename="glib/gmessages.h" line="337"/> | |
| 67025 | 67848 | <parameters> | |
| 67026 | 67849 | <parameter name="..."> | |
| 67027 | 67850 | <doc xml:space="preserve" | |
| 67028 | 67851 | filename="glib/gmessages.c" | |
| 67029 | - | line="242">format string, followed by parameters to insert into the format string | |
| 67852 | + | line="241">format string, followed by parameters to insert into the format string | |
| 67030 | 67853 | (as with `printf()`)</doc> | |
| 67031 | 67854 | </parameter> | |
| 67032 | 67855 | </parameters> | |
| @@ -67036,7 +67859,7 @@ otherwise it will use [func@GLib.log]. See | |||
| 67036 | 67859 | introspectable="0"> | |
| 67037 | 67860 | <doc xml:space="preserve" | |
| 67038 | 67861 | filename="glib/gdataset.c" | |
| 67039 | - | line="502">Frees all the data elements of the datalist. | |
| 67862 | + | line="498">Frees all the data elements of the datalist. | |
| 67040 | 67863 | The data elements' destroy functions are called | |
| 67041 | 67864 | if they have been set.</doc> | |
| 67042 | 67865 | <source-position filename="glib/gdataset.h" line="49"/> | |
| @@ -67047,7 +67870,7 @@ if they have been set.</doc> | |||
| 67047 | 67870 | <parameter name="datalist" transfer-ownership="none"> | |
| 67048 | 67871 | <doc xml:space="preserve" | |
| 67049 | 67872 | filename="glib/gdataset.c" | |
| 67050 | - | line="504">a datalist.</doc> | |
| 67873 | + | line="500">a datalist.</doc> | |
| 67051 | 67874 | <type name="Data" c:type="GData**"/> | |
| 67052 | 67875 | </parameter> | |
| 67053 | 67876 | </parameters> | |
| @@ -67055,7 +67878,7 @@ if they have been set.</doc> | |||
| 67055 | 67878 | <function name="datalist_foreach" c:identifier="g_datalist_foreach"> | |
| 67056 | 67879 | <doc xml:space="preserve" | |
| 67057 | 67880 | filename="glib/gdataset.c" | |
| 67058 | - | line="1502">Calls the given function for each data element of the datalist. The | |
| 67881 | + | line="1542">Calls the given function for each data element of the datalist. The | |
| 67059 | 67882 | function is called with each data element's #GQuark id and data, | |
| 67060 | 67883 | together with the given @user_data parameter. Note that this | |
| 67061 | 67884 | function is NOT thread-safe. So unless @datalist can be protected | |
| @@ -67073,7 +67896,7 @@ than skipping over elements that are removed.</doc> | |||
| 67073 | 67896 | <parameter name="datalist" transfer-ownership="none"> | |
| 67074 | 67897 | <doc xml:space="preserve" | |
| 67075 | 67898 | filename="glib/gdataset.c" | |
| 67076 | - | line="1504">a datalist.</doc> | |
| 67899 | + | line="1544">a datalist.</doc> | |
| 67077 | 67900 | <type name="Data" c:type="GData**"/> | |
| 67078 | 67901 | </parameter> | |
| 67079 | 67902 | <parameter name="func" | |
| @@ -67082,7 +67905,7 @@ than skipping over elements that are removed.</doc> | |||
| 67082 | 67905 | closure="2"> | |
| 67083 | 67906 | <doc xml:space="preserve" | |
| 67084 | 67907 | filename="glib/gdataset.c" | |
| 67085 | - | line="1505">the function to call for each data element.</doc> | |
| 67908 | + | line="1545">the function to call for each data element.</doc> | |
| 67086 | 67909 | <type name="DataForeachFunc" c:type="GDataForeachFunc"/> | |
| 67087 | 67910 | </parameter> | |
| 67088 | 67911 | <parameter name="user_data" | |
| @@ -67091,7 +67914,7 @@ than skipping over elements that are removed.</doc> | |||
| 67091 | 67914 | allow-none="1"> | |
| 67092 | 67915 | <doc xml:space="preserve" | |
| 67093 | 67916 | filename="glib/gdataset.c" | |
| 67094 | - | line="1506">user data to pass to the function.</doc> | |
| 67917 | + | line="1546">user data to pass to the function.</doc> | |
| 67095 | 67918 | <type name="gpointer" c:type="gpointer"/> | |
| 67096 | 67919 | </parameter> | |
| 67097 | 67920 | </parameters> | |
| @@ -67099,13 +67922,13 @@ than skipping over elements that are removed.</doc> | |||
| 67099 | 67922 | <function name="datalist_get_data" c:identifier="g_datalist_get_data"> | |
| 67100 | 67923 | <doc xml:space="preserve" | |
| 67101 | 67924 | filename="glib/gdataset.c" | |
| 67102 | - | line="1385">Gets a data element, using its string identifier. This is slower than | |
| 67925 | + | line="1419">Gets a data element, using its string identifier. This is slower than | |
| 67103 | 67926 | g_datalist_id_get_data() because it compares strings.</doc> | |
| 67104 | 67927 | <source-position filename="glib/gdataset.h" line="125"/> | |
| 67105 | 67928 | <return-value transfer-ownership="none" nullable="1"> | |
| 67106 | 67929 | <doc xml:space="preserve" | |
| 67107 | 67930 | filename="glib/gdataset.c" | |
| 67108 | - | line="1393">the data element, or %NULL if it | |
| 67931 | + | line="1427">the data element, or %NULL if it | |
| 67109 | 67932 | is not found.</doc> | |
| 67110 | 67933 | <type name="gpointer" c:type="gpointer"/> | |
| 67111 | 67934 | </return-value> | |
| @@ -67113,13 +67936,13 @@ g_datalist_id_get_data() because it compares strings.</doc> | |||
| 67113 | 67936 | <parameter name="datalist" transfer-ownership="none"> | |
| 67114 | 67937 | <doc xml:space="preserve" | |
| 67115 | 67938 | filename="glib/gdataset.c" | |
| 67116 | - | line="1387">a datalist.</doc> | |
| 67939 | + | line="1421">a datalist.</doc> | |
| 67117 | 67940 | <type name="Data" c:type="GData**"/> | |
| 67118 | 67941 | </parameter> | |
| 67119 | 67942 | <parameter name="key" transfer-ownership="none"> | |
| 67120 | 67943 | <doc xml:space="preserve" | |
| 67121 | 67944 | filename="glib/gdataset.c" | |
| 67122 | - | line="1388">the string identifying a data element.</doc> | |
| 67945 | + | line="1422">the string identifying a data element.</doc> | |
| 67123 | 67946 | <type name="utf8" c:type="const gchar*"/> | |
| 67124 | 67947 | </parameter> | |
| 67125 | 67948 | </parameters> | |
| @@ -67129,20 +67952,20 @@ g_datalist_id_get_data() because it compares strings.</doc> | |||
| 67129 | 67952 | version="2.8"> | |
| 67130 | 67953 | <doc xml:space="preserve" | |
| 67131 | 67954 | filename="glib/gdataset.c" | |
| 67132 | - | line="1627">Gets flags values packed in together with the datalist. | |
| 67955 | + | line="1667">Gets flags values packed in together with the datalist. | |
| 67133 | 67956 | See g_datalist_set_flags().</doc> | |
| 67134 | 67957 | <source-position filename="glib/gdataset.h" line="102"/> | |
| 67135 | 67958 | <return-value transfer-ownership="none"> | |
| 67136 | 67959 | <doc xml:space="preserve" | |
| 67137 | 67960 | filename="glib/gdataset.c" | |
| 67138 | - | line="1634">the flags of the datalist</doc> | |
| 67961 | + | line="1674">the flags of the datalist</doc> | |
| 67139 | 67962 | <type name="guint" c:type="guint"/> | |
| 67140 | 67963 | </return-value> | |
| 67141 | 67964 | <parameters> | |
| 67142 | 67965 | <parameter name="datalist" transfer-ownership="none"> | |
| 67143 | 67966 | <doc xml:space="preserve" | |
| 67144 | 67967 | filename="glib/gdataset.c" | |
| 67145 | - | line="1629">pointer to the location that holds a list</doc> | |
| 67968 | + | line="1669">pointer to the location that holds a list</doc> | |
| 67146 | 67969 | <type name="Data" c:type="GData**"/> | |
| 67147 | 67970 | </parameter> | |
| 67148 | 67971 | </parameters> | |
| @@ -67153,7 +67976,7 @@ See g_datalist_set_flags().</doc> | |||
| 67153 | 67976 | introspectable="0"> | |
| 67154 | 67977 | <doc xml:space="preserve" | |
| 67155 | 67978 | filename="glib/gdataset.c" | |
| 67156 | - | line="1238">This is a variant of g_datalist_id_get_data() which | |
| 67979 | + | line="1272">This is a variant of g_datalist_id_get_data() which | |
| 67157 | 67980 | returns a 'duplicate' of the value. @dup_func defines the | |
| 67158 | 67981 | meaning of 'duplicate' in this context, it could e.g. | |
| 67159 | 67982 | take a reference on a ref-counted object. | |
| @@ -67170,7 +67993,7 @@ threads are using the same datalist and the same key.</doc> | |||
| 67170 | 67993 | <return-value transfer-ownership="none" nullable="1"> | |
| 67171 | 67994 | <doc xml:space="preserve" | |
| 67172 | 67995 | filename="glib/gdataset.c" | |
| 67173 | - | line="1260">the result of calling @dup_func on the value | |
| 67996 | + | line="1294">the result of calling @dup_func on the value | |
| 67174 | 67997 | associated with @key_id in @datalist, or %NULL if not set. | |
| 67175 | 67998 | If @dup_func is %NULL, the value is returned unmodified.</doc> | |
| 67176 | 67999 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -67179,13 +68002,13 @@ threads are using the same datalist and the same key.</doc> | |||
| 67179 | 68002 | <parameter name="datalist" transfer-ownership="none"> | |
| 67180 | 68003 | <doc xml:space="preserve" | |
| 67181 | 68004 | filename="glib/gdataset.c" | |
| 67182 | - | line="1240">location of a datalist</doc> | |
| 68005 | + | line="1274">location of a datalist</doc> | |
| 67183 | 68006 | <type name="Data" c:type="GData**"/> | |
| 67184 | 68007 | </parameter> | |
| 67185 | 68008 | <parameter name="key_id" transfer-ownership="none"> | |
| 67186 | 68009 | <doc xml:space="preserve" | |
| 67187 | 68010 | filename="glib/gdataset.c" | |
| 67188 | - | line="1241">the #GQuark identifying a data element</doc> | |
| 68011 | + | line="1275">the #GQuark identifying a data element</doc> | |
| 67189 | 68012 | <type name="Quark" c:type="GQuark"/> | |
| 67190 | 68013 | </parameter> | |
| 67191 | 68014 | <parameter name="dup_func" | |
| @@ -67196,7 +68019,7 @@ threads are using the same datalist and the same key.</doc> | |||
| 67196 | 68019 | closure="3"> | |
| 67197 | 68020 | <doc xml:space="preserve" | |
| 67198 | 68021 | filename="glib/gdataset.c" | |
| 67199 | - | line="1242">function to | |
| 68022 | + | line="1276">function to | |
| 67200 | 68023 | duplicate the old value</doc> | |
| 67201 | 68024 | <type name="DuplicateFunc" c:type="GDuplicateFunc"/> | |
| 67202 | 68025 | </parameter> | |
| @@ -67206,7 +68029,7 @@ threads are using the same datalist and the same key.</doc> | |||
| 67206 | 68029 | allow-none="1"> | |
| 67207 | 68030 | <doc xml:space="preserve" | |
| 67208 | 68031 | filename="glib/gdataset.c" | |
| 67209 | - | line="1244">passed as user_data to @dup_func</doc> | |
| 68032 | + | line="1278">passed as user_data to @dup_func</doc> | |
| 67210 | 68033 | <type name="gpointer" c:type="gpointer"/> | |
| 67211 | 68034 | </parameter> | |
| 67212 | 68035 | </parameters> | |
| @@ -67215,12 +68038,12 @@ threads are using the same datalist and the same key.</doc> | |||
| 67215 | 68038 | c:identifier="g_datalist_id_get_data"> | |
| 67216 | 68039 | <doc xml:space="preserve" | |
| 67217 | 68040 | filename="glib/gdataset.c" | |
| 67218 | - | line="1207">Retrieves the data element corresponding to @key_id.</doc> | |
| 68041 | + | line="1241">Retrieves the data element corresponding to @key_id.</doc> | |
| 67219 | 68042 | <source-position filename="glib/gdataset.h" line="51"/> | |
| 67220 | 68043 | <return-value transfer-ownership="none" nullable="1"> | |
| 67221 | 68044 | <doc xml:space="preserve" | |
| 67222 | 68045 | filename="glib/gdataset.c" | |
| 67223 | - | line="1214">the data element, or %NULL if | |
| 68046 | + | line="1248">the data element, or %NULL if | |
| 67224 | 68047 | it is not found.</doc> | |
| 67225 | 68048 | <type name="gpointer" c:type="gpointer"/> | |
| 67226 | 68049 | </return-value> | |
| @@ -67228,13 +68051,13 @@ threads are using the same datalist and the same key.</doc> | |||
| 67228 | 68051 | <parameter name="datalist" transfer-ownership="none"> | |
| 67229 | 68052 | <doc xml:space="preserve" | |
| 67230 | 68053 | filename="glib/gdataset.c" | |
| 67231 | - | line="1209">a datalist.</doc> | |
| 68054 | + | line="1243">a datalist.</doc> | |
| 67232 | 68055 | <type name="Data" c:type="GData**"/> | |
| 67233 | 68056 | </parameter> | |
| 67234 | 68057 | <parameter name="key_id" transfer-ownership="none"> | |
| 67235 | 68058 | <doc xml:space="preserve" | |
| 67236 | 68059 | filename="glib/gdataset.c" | |
| 67237 | - | line="1210">the #GQuark identifying a data element.</doc> | |
| 68060 | + | line="1244">the #GQuark identifying a data element.</doc> | |
| 67238 | 68061 | <type name="Quark" c:type="GQuark"/> | |
| 67239 | 68062 | </parameter> | |
| 67240 | 68063 | </parameters> | |
| @@ -67303,13 +68126,13 @@ Since 2.84, performance is improved for larger number of keys.</doc> | |||
| 67303 | 68126 | introspectable="0"> | |
| 67304 | 68127 | <doc xml:space="preserve" | |
| 67305 | 68128 | filename="glib/gdataset.c" | |
| 67306 | - | line="1026">Removes an element, without calling its destroy notification | |
| 68129 | + | line="1029">Removes an element, without calling its destroy notification | |
| 67307 | 68130 | function.</doc> | |
| 67308 | 68131 | <source-position filename="glib/gdataset.h" line="79"/> | |
| 67309 | 68132 | <return-value transfer-ownership="none" nullable="1"> | |
| 67310 | 68133 | <doc xml:space="preserve" | |
| 67311 | 68134 | filename="glib/gdataset.c" | |
| 67312 | - | line="1034">the data previously stored at @key_id, | |
| 68135 | + | line="1037">the data previously stored at @key_id, | |
| 67313 | 68136 | or %NULL if none.</doc> | |
| 67314 | 68137 | <type name="gpointer" c:type="gpointer"/> | |
| 67315 | 68138 | </return-value> | |
| @@ -67317,13 +68140,13 @@ function.</doc> | |||
| 67317 | 68140 | <parameter name="datalist" transfer-ownership="none"> | |
| 67318 | 68141 | <doc xml:space="preserve" | |
| 67319 | 68142 | filename="glib/gdataset.c" | |
| 67320 | - | line="1028">a datalist.</doc> | |
| 68143 | + | line="1031">a datalist.</doc> | |
| 67321 | 68144 | <type name="Data" c:type="GData**"/> | |
| 67322 | 68145 | </parameter> | |
| 67323 | 68146 | <parameter name="key_id" transfer-ownership="none"> | |
| 67324 | 68147 | <doc xml:space="preserve" | |
| 67325 | 68148 | filename="glib/gdataset.c" | |
| 67326 | - | line="1029">the #GQuark identifying a data element.</doc> | |
| 68149 | + | line="1032">the #GQuark identifying a data element.</doc> | |
| 67327 | 68150 | <type name="Quark" c:type="GQuark"/> | |
| 67328 | 68151 | </parameter> | |
| 67329 | 68152 | </parameters> | |
| @@ -67334,7 +68157,7 @@ function.</doc> | |||
| 67334 | 68157 | introspectable="0"> | |
| 67335 | 68158 | <doc xml:space="preserve" | |
| 67336 | 68159 | filename="glib/gdataset.c" | |
| 67337 | - | line="1293">Compares the member that is associated with @key_id in | |
| 68160 | + | line="1327">Compares the member that is associated with @key_id in | |
| 67338 | 68161 | @datalist to @oldval, and if they are the same, replace | |
| 67339 | 68162 | @oldval with @newval. | |
| 67340 | 68163 | ||
| @@ -67351,7 +68174,7 @@ should not destroy the object in the normal way.</doc> | |||
| 67351 | 68174 | <return-value transfer-ownership="none"> | |
| 67352 | 68175 | <doc xml:space="preserve" | |
| 67353 | 68176 | filename="glib/gdataset.c" | |
| 67354 | - | line="1316">%TRUE if the existing value for @key_id was replaced | |
| 68177 | + | line="1350">%TRUE if the existing value for @key_id was replaced | |
| 67355 | 68178 | by @newval, %FALSE otherwise.</doc> | |
| 67356 | 68179 | <type name="gboolean" c:type="gboolean"/> | |
| 67357 | 68180 | </return-value> | |
| @@ -67359,13 +68182,13 @@ should not destroy the object in the normal way.</doc> | |||
| 67359 | 68182 | <parameter name="datalist" transfer-ownership="none"> | |
| 67360 | 68183 | <doc xml:space="preserve" | |
| 67361 | 68184 | filename="glib/gdataset.c" | |
| 67362 | - | line="1295">location of a datalist</doc> | |
| 68185 | + | line="1329">location of a datalist</doc> | |
| 67363 | 68186 | <type name="Data" c:type="GData**"/> | |
| 67364 | 68187 | </parameter> | |
| 67365 | 68188 | <parameter name="key_id" transfer-ownership="none"> | |
| 67366 | 68189 | <doc xml:space="preserve" | |
| 67367 | 68190 | filename="glib/gdataset.c" | |
| 67368 | - | line="1296">the #GQuark identifying a data element</doc> | |
| 68191 | + | line="1330">the #GQuark identifying a data element</doc> | |
| 67369 | 68192 | <type name="Quark" c:type="GQuark"/> | |
| 67370 | 68193 | </parameter> | |
| 67371 | 68194 | <parameter name="oldval" | |
| @@ -67374,7 +68197,7 @@ should not destroy the object in the normal way.</doc> | |||
| 67374 | 68197 | allow-none="1"> | |
| 67375 | 68198 | <doc xml:space="preserve" | |
| 67376 | 68199 | filename="glib/gdataset.c" | |
| 67377 | - | line="1297">the old value to compare against</doc> | |
| 68200 | + | line="1331">the old value to compare against</doc> | |
| 67378 | 68201 | <type name="gpointer" c:type="gpointer"/> | |
| 67379 | 68202 | </parameter> | |
| 67380 | 68203 | <parameter name="newval" | |
| @@ -67383,7 +68206,7 @@ should not destroy the object in the normal way.</doc> | |||
| 67383 | 68206 | allow-none="1"> | |
| 67384 | 68207 | <doc xml:space="preserve" | |
| 67385 | 68208 | filename="glib/gdataset.c" | |
| 67386 | - | line="1298">the new value to replace it with</doc> | |
| 68209 | + | line="1332">the new value to replace it with</doc> | |
| 67387 | 68210 | <type name="gpointer" c:type="gpointer"/> | |
| 67388 | 68211 | </parameter> | |
| 67389 | 68212 | <parameter name="destroy" | |
| @@ -67393,7 +68216,7 @@ should not destroy the object in the normal way.</doc> | |||
| 67393 | 68216 | scope="async"> | |
| 67394 | 68217 | <doc xml:space="preserve" | |
| 67395 | 68218 | filename="glib/gdataset.c" | |
| 67396 | - | line="1299">destroy notify for the new value</doc> | |
| 68219 | + | line="1333">destroy notify for the new value</doc> | |
| 67397 | 68220 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 67398 | 68221 | </parameter> | |
| 67399 | 68222 | <parameter name="old_destroy" | |
| @@ -67405,7 +68228,7 @@ should not destroy the object in the normal way.</doc> | |||
| 67405 | 68228 | scope="async"> | |
| 67406 | 68229 | <doc xml:space="preserve" | |
| 67407 | 68230 | filename="glib/gdataset.c" | |
| 67408 | - | line="1300">destroy notify for the existing value</doc> | |
| 68231 | + | line="1334">destroy notify for the existing value</doc> | |
| 67409 | 68232 | <type name="DestroyNotify" c:type="GDestroyNotify*"/> | |
| 67410 | 68233 | </parameter> | |
| 67411 | 68234 | </parameters> | |
| @@ -67495,7 +68318,7 @@ function is called.</doc> | |||
| 67495 | 68318 | introspectable="0"> | |
| 67496 | 68319 | <doc xml:space="preserve" | |
| 67497 | 68320 | filename="glib/gdataset.c" | |
| 67498 | - | line="1561">Resets the datalist to %NULL. It does not free any memory or call | |
| 68321 | + | line="1601">Resets the datalist to %NULL. It does not free any memory or call | |
| 67499 | 68322 | any destroy functions.</doc> | |
| 67500 | 68323 | <source-position filename="glib/gdataset.h" line="47"/> | |
| 67501 | 68324 | <return-value transfer-ownership="none"> | |
| @@ -67505,7 +68328,7 @@ any destroy functions.</doc> | |||
| 67505 | 68328 | <parameter name="datalist" transfer-ownership="none"> | |
| 67506 | 68329 | <doc xml:space="preserve" | |
| 67507 | 68330 | filename="glib/gdataset.c" | |
| 67508 | - | line="1563">a pointer to a pointer to a datalist.</doc> | |
| 68331 | + | line="1603">a pointer to a pointer to a datalist.</doc> | |
| 67509 | 68332 | <type name="Data" c:type="GData**"/> | |
| 67510 | 68333 | </parameter> | |
| 67511 | 68334 | </parameters> | |
| @@ -67536,18 +68359,18 @@ destroy function is called if it has been set.</doc> | |||
| 67536 | 68359 | introspectable="0"> | |
| 67537 | 68360 | <doc xml:space="preserve" | |
| 67538 | 68361 | filename="glib/gdataset.c" | |
| 67539 | - | line="1037">Removes an element, without calling its destroy notifier.</doc> | |
| 68362 | + | line="1040">Removes an element, without calling its destroy notifier.</doc> | |
| 67540 | 68363 | <source-position filename="glib/gdataset.h" line="110"/> | |
| 67541 | 68364 | <parameters> | |
| 67542 | 68365 | <parameter name="dl"> | |
| 67543 | 68366 | <doc xml:space="preserve" | |
| 67544 | 68367 | filename="glib/gdataset.c" | |
| 67545 | - | line="1039">a datalist.</doc> | |
| 68368 | + | line="1042">a datalist.</doc> | |
| 67546 | 68369 | </parameter> | |
| 67547 | 68370 | <parameter name="k"> | |
| 67548 | 68371 | <doc xml:space="preserve" | |
| 67549 | 68372 | filename="glib/gdataset.c" | |
| 67550 | - | line="1040">the string identifying the data element.</doc> | |
| 68373 | + | line="1043">the string identifying the data element.</doc> | |
| 67551 | 68374 | </parameter> | |
| 67552 | 68375 | </parameters> | |
| 67553 | 68376 | </function-macro> | |
| @@ -67617,7 +68440,7 @@ and the function to be called when the data element is removed.</doc> | |||
| 67617 | 68440 | version="2.8"> | |
| 67618 | 68441 | <doc xml:space="preserve" | |
| 67619 | 68442 | filename="glib/gdataset.c" | |
| 67620 | - | line="1576">Turns on flag values for a data list. This function is used | |
| 68443 | + | line="1616">Turns on flag values for a data list. This function is used | |
| 67621 | 68444 | to keep a small number of boolean flags in an object with | |
| 67622 | 68445 | a data list without using any additional space. It is | |
| 67623 | 68446 | not generally useful except in circumstances where space | |
| @@ -67631,13 +68454,13 @@ example.)</doc> | |||
| 67631 | 68454 | <parameter name="datalist" transfer-ownership="none"> | |
| 67632 | 68455 | <doc xml:space="preserve" | |
| 67633 | 68456 | filename="glib/gdataset.c" | |
| 67634 | - | line="1578">pointer to the location that holds a list</doc> | |
| 68457 | + | line="1618">pointer to the location that holds a list</doc> | |
| 67635 | 68458 | <type name="Data" c:type="GData**"/> | |
| 67636 | 68459 | </parameter> | |
| 67637 | 68460 | <parameter name="flags" transfer-ownership="none"> | |
| 67638 | 68461 | <doc xml:space="preserve" | |
| 67639 | 68462 | filename="glib/gdataset.c" | |
| 67640 | - | line="1579">the flags to turn on. The values of the flags are | |
| 68463 | + | line="1619">the flags to turn on. The values of the flags are | |
| 67641 | 68464 | restricted by %G_DATALIST_FLAGS_MASK (currently | |
| 67642 | 68465 | 3; giving two possible boolean flags). | |
| 67643 | 68466 | A value for @flags that doesn't fit within the mask is | |
| @@ -67651,7 +68474,7 @@ example.)</doc> | |||
| 67651 | 68474 | version="2.8"> | |
| 67652 | 68475 | <doc xml:space="preserve" | |
| 67653 | 68476 | filename="glib/gdataset.c" | |
| 67654 | - | line="1604">Turns off flag values for a data list. See g_datalist_unset_flags()</doc> | |
| 68477 | + | line="1644">Turns off flag values for a data list. See g_datalist_unset_flags()</doc> | |
| 67655 | 68478 | <source-position filename="glib/gdataset.h" line="99"/> | |
| 67656 | 68479 | <return-value transfer-ownership="none"> | |
| 67657 | 68480 | <type name="none" c:type="void"/> | |
| @@ -67660,13 +68483,13 @@ example.)</doc> | |||
| 67660 | 68483 | <parameter name="datalist" transfer-ownership="none"> | |
| 67661 | 68484 | <doc xml:space="preserve" | |
| 67662 | 68485 | filename="glib/gdataset.c" | |
| 67663 | - | line="1606">pointer to the location that holds a list</doc> | |
| 68486 | + | line="1646">pointer to the location that holds a list</doc> | |
| 67664 | 68487 | <type name="Data" c:type="GData**"/> | |
| 67665 | 68488 | </parameter> | |
| 67666 | 68489 | <parameter name="flags" transfer-ownership="none"> | |
| 67667 | 68490 | <doc xml:space="preserve" | |
| 67668 | 68491 | filename="glib/gdataset.c" | |
| 67669 | - | line="1607">the flags to turn off. The values of the flags are | |
| 68492 | + | line="1647">the flags to turn off. The values of the flags are | |
| 67670 | 68493 | restricted by %G_DATALIST_FLAGS_MASK (currently | |
| 67671 | 68494 | 3: giving two possible boolean flags). | |
| 67672 | 68495 | A value for @flags that doesn't fit within the mask is | |
| @@ -67678,7 +68501,7 @@ example.)</doc> | |||
| 67678 | 68501 | <function name="dataset_destroy" c:identifier="g_dataset_destroy"> | |
| 67679 | 68502 | <doc xml:space="preserve" | |
| 67680 | 68503 | filename="glib/gdataset.c" | |
| 67681 | - | line="579">Destroys the dataset, freeing all memory allocated, and calling any | |
| 68504 | + | line="575">Destroys the dataset, freeing all memory allocated, and calling any | |
| 67682 | 68505 | destroy functions set for data elements.</doc> | |
| 67683 | 68506 | <source-position filename="glib/gdataset.h" line="120"/> | |
| 67684 | 68507 | <return-value transfer-ownership="none"> | |
| @@ -67688,7 +68511,7 @@ destroy functions set for data elements.</doc> | |||
| 67688 | 68511 | <parameter name="dataset_location" transfer-ownership="none"> | |
| 67689 | 68512 | <doc xml:space="preserve" | |
| 67690 | 68513 | filename="glib/gdataset.c" | |
| 67691 | - | line="581">the location identifying the dataset.</doc> | |
| 68514 | + | line="577">the location identifying the dataset.</doc> | |
| 67692 | 68515 | <type name="gpointer" c:type="gconstpointer"/> | |
| 67693 | 68516 | </parameter> | |
| 67694 | 68517 | </parameters> | |
| @@ -67696,7 +68519,7 @@ destroy functions set for data elements.</doc> | |||
| 67696 | 68519 | <function name="dataset_foreach" c:identifier="g_dataset_foreach"> | |
| 67697 | 68520 | <doc xml:space="preserve" | |
| 67698 | 68521 | filename="glib/gdataset.c" | |
| 67699 | - | line="1463">Calls the given function for each data element which is associated | |
| 68522 | + | line="1503">Calls the given function for each data element which is associated | |
| 67700 | 68523 | with the given location. Note that this function is NOT thread-safe. | |
| 67701 | 68524 | So unless @dataset_location can be protected from any modifications | |
| 67702 | 68525 | during invocation of this function, it should not be called. | |
| @@ -67712,7 +68535,7 @@ than skipping over elements that are removed.</doc> | |||
| 67712 | 68535 | <parameter name="dataset_location" transfer-ownership="none"> | |
| 67713 | 68536 | <doc xml:space="preserve" | |
| 67714 | 68537 | filename="glib/gdataset.c" | |
| 67715 | - | line="1465">the location identifying the dataset.</doc> | |
| 68538 | + | line="1505">the location identifying the dataset.</doc> | |
| 67716 | 68539 | <type name="gpointer" c:type="gconstpointer"/> | |
| 67717 | 68540 | </parameter> | |
| 67718 | 68541 | <parameter name="func" | |
| @@ -67721,7 +68544,7 @@ than skipping over elements that are removed.</doc> | |||
| 67721 | 68544 | closure="2"> | |
| 67722 | 68545 | <doc xml:space="preserve" | |
| 67723 | 68546 | filename="glib/gdataset.c" | |
| 67724 | - | line="1466">the function to call for each data element.</doc> | |
| 68547 | + | line="1506">the function to call for each data element.</doc> | |
| 67725 | 68548 | <type name="DataForeachFunc" c:type="GDataForeachFunc"/> | |
| 67726 | 68549 | </parameter> | |
| 67727 | 68550 | <parameter name="user_data" | |
| @@ -67730,7 +68553,7 @@ than skipping over elements that are removed.</doc> | |||
| 67730 | 68553 | allow-none="1"> | |
| 67731 | 68554 | <doc xml:space="preserve" | |
| 67732 | 68555 | filename="glib/gdataset.c" | |
| 67733 | - | line="1467">user data to pass to the function.</doc> | |
| 68556 | + | line="1507">user data to pass to the function.</doc> | |
| 67734 | 68557 | <type name="gpointer" c:type="gpointer"/> | |
| 67735 | 68558 | </parameter> | |
| 67736 | 68559 | </parameters> | |
| @@ -67740,30 +68563,30 @@ than skipping over elements that are removed.</doc> | |||
| 67740 | 68563 | introspectable="0"> | |
| 67741 | 68564 | <doc xml:space="preserve" | |
| 67742 | 68565 | filename="glib/gdataset.c" | |
| 67743 | - | line="1175">Gets the data element corresponding to a string.</doc> | |
| 68566 | + | line="1206">Gets the data element corresponding to a string.</doc> | |
| 67744 | 68567 | <source-position filename="glib/gdataset.h" line="143"/> | |
| 67745 | 68568 | <parameters> | |
| 67746 | 68569 | <parameter name="l"> | |
| 67747 | 68570 | <doc xml:space="preserve" | |
| 67748 | 68571 | filename="glib/gdataset.c" | |
| 67749 | - | line="1177">the location identifying the dataset.</doc> | |
| 68572 | + | line="1208">the location identifying the dataset.</doc> | |
| 67750 | 68573 | </parameter> | |
| 67751 | 68574 | <parameter name="k"> | |
| 67752 | 68575 | <doc xml:space="preserve" | |
| 67753 | 68576 | filename="glib/gdataset.c" | |
| 67754 | - | line="1178">the string identifying the data element.</doc> | |
| 68577 | + | line="1209">the string identifying the data element.</doc> | |
| 67755 | 68578 | </parameter> | |
| 67756 | 68579 | </parameters> | |
| 67757 | 68580 | </function-macro> | |
| 67758 | 68581 | <function name="dataset_id_get_data" c:identifier="g_dataset_id_get_data"> | |
| 67759 | 68582 | <doc xml:space="preserve" | |
| 67760 | 68583 | filename="glib/gdataset.c" | |
| 67761 | - | line="1165">Gets the data element corresponding to a #GQuark.</doc> | |
| 68584 | + | line="1196">Gets the data element corresponding to a #GQuark.</doc> | |
| 67762 | 68585 | <source-position filename="glib/gdataset.h" line="122"/> | |
| 67763 | 68586 | <return-value transfer-ownership="none" nullable="1"> | |
| 67764 | 68587 | <doc xml:space="preserve" | |
| 67765 | 68588 | filename="glib/gdataset.c" | |
| 67766 | - | line="1172">the data element corresponding to | |
| 68589 | + | line="1203">the data element corresponding to | |
| 67767 | 68590 | the #GQuark, or %NULL if it is not found.</doc> | |
| 67768 | 68591 | <type name="gpointer" c:type="gpointer"/> | |
| 67769 | 68592 | </return-value> | |
| @@ -67771,13 +68594,13 @@ than skipping over elements that are removed.</doc> | |||
| 67771 | 68594 | <parameter name="dataset_location" transfer-ownership="none"> | |
| 67772 | 68595 | <doc xml:space="preserve" | |
| 67773 | 68596 | filename="glib/gdataset.c" | |
| 67774 | - | line="1167">the location identifying the dataset.</doc> | |
| 68597 | + | line="1198">the location identifying the dataset.</doc> | |
| 67775 | 68598 | <type name="gpointer" c:type="gconstpointer"/> | |
| 67776 | 68599 | </parameter> | |
| 67777 | 68600 | <parameter name="key_id" transfer-ownership="none"> | |
| 67778 | 68601 | <doc xml:space="preserve" | |
| 67779 | 68602 | filename="glib/gdataset.c" | |
| 67780 | - | line="1168">the #GQuark id to identify the data element.</doc> | |
| 68603 | + | line="1199">the #GQuark id to identify the data element.</doc> | |
| 67781 | 68604 | <type name="Quark" c:type="GQuark"/> | |
| 67782 | 68605 | </parameter> | |
| 67783 | 68606 | </parameters> | |
| @@ -68010,26 +68833,26 @@ function to call when the data element is destroyed.</doc> | |||
| 68010 | 68833 | moved-to="Date.get_days_in_month"> | |
| 68011 | 68834 | <doc xml:space="preserve" | |
| 68012 | 68835 | filename="glib/gdate.c" | |
| 68013 | - | line="1927">Returns the number of days in a month, taking leap | |
| 68836 | + | line="1933">Returns the number of days in a month, taking leap | |
| 68014 | 68837 | years into account.</doc> | |
| 68015 | - | <source-position filename="glib/gdate.h" line="247"/> | |
| 68838 | + | <source-position filename="glib/gdate.h" line="250"/> | |
| 68016 | 68839 | <return-value transfer-ownership="none"> | |
| 68017 | 68840 | <doc xml:space="preserve" | |
| 68018 | 68841 | filename="glib/gdate.c" | |
| 68019 | - | line="1935">number of days in @month during the @year</doc> | |
| 68842 | + | line="1941">number of days in @month during the @year</doc> | |
| 68020 | 68843 | <type name="guint8" c:type="guint8"/> | |
| 68021 | 68844 | </return-value> | |
| 68022 | 68845 | <parameters> | |
| 68023 | 68846 | <parameter name="month" transfer-ownership="none"> | |
| 68024 | 68847 | <doc xml:space="preserve" | |
| 68025 | 68848 | filename="glib/gdate.c" | |
| 68026 | - | line="1929">month</doc> | |
| 68849 | + | line="1935">month</doc> | |
| 68027 | 68850 | <type name="DateMonth" c:type="GDateMonth"/> | |
| 68028 | 68851 | </parameter> | |
| 68029 | 68852 | <parameter name="year" transfer-ownership="none"> | |
| 68030 | 68853 | <doc xml:space="preserve" | |
| 68031 | 68854 | filename="glib/gdate.c" | |
| 68032 | - | line="1930">year</doc> | |
| 68855 | + | line="1936">year</doc> | |
| 68033 | 68856 | <type name="DateYear" c:type="GDateYear"/> | |
| 68034 | 68857 | </parameter> | |
| 68035 | 68858 | </parameters> | |
| @@ -68039,25 +68862,25 @@ years into account.</doc> | |||
| 68039 | 68862 | moved-to="Date.get_monday_weeks_in_year"> | |
| 68040 | 68863 | <doc xml:space="preserve" | |
| 68041 | 68864 | filename="glib/gdate.c" | |
| 68042 | - | line="1951">Returns the number of weeks in the year, where weeks | |
| 68865 | + | line="1957">Returns the number of weeks in the year, where weeks | |
| 68043 | 68866 | are taken to start on Monday. Will be 52 or 53. The | |
| 68044 | 68867 | date must be valid. (Years always have 52 7-day periods, | |
| 68045 | 68868 | plus 1 or 2 extra days depending on whether it's a leap | |
| 68046 | 68869 | year. This function is basically telling you how many | |
| 68047 | 68870 | Mondays are in the year, i.e. there are 53 Mondays if | |
| 68048 | 68871 | one of the extra days happens to be a Monday.)</doc> | |
| 68049 | - | <source-position filename="glib/gdate.h" line="250"/> | |
| 68872 | + | <source-position filename="glib/gdate.h" line="253"/> | |
| 68050 | 68873 | <return-value transfer-ownership="none"> | |
| 68051 | 68874 | <doc xml:space="preserve" | |
| 68052 | 68875 | filename="glib/gdate.c" | |
| 68053 | - | line="1963">number of Mondays in the year</doc> | |
| 68876 | + | line="1969">number of Mondays in the year</doc> | |
| 68054 | 68877 | <type name="guint8" c:type="guint8"/> | |
| 68055 | 68878 | </return-value> | |
| 68056 | 68879 | <parameters> | |
| 68057 | 68880 | <parameter name="year" transfer-ownership="none"> | |
| 68058 | 68881 | <doc xml:space="preserve" | |
| 68059 | 68882 | filename="glib/gdate.c" | |
| 68060 | - | line="1953">a year</doc> | |
| 68883 | + | line="1959">a year</doc> | |
| 68061 | 68884 | <type name="DateYear" c:type="GDateYear"/> | |
| 68062 | 68885 | </parameter> | |
| 68063 | 68886 | </parameters> | |
| @@ -68067,52 +68890,92 @@ one of the extra days happens to be a Monday.)</doc> | |||
| 68067 | 68890 | moved-to="Date.get_sunday_weeks_in_year"> | |
| 68068 | 68891 | <doc xml:space="preserve" | |
| 68069 | 68892 | filename="glib/gdate.c" | |
| 68070 | - | line="1987">Returns the number of weeks in the year, where weeks | |
| 68893 | + | line="1977">Returns the number of weeks in the year, where weeks | |
| 68071 | 68894 | are taken to start on Sunday. Will be 52 or 53. The | |
| 68072 | 68895 | date must be valid. (Years always have 52 7-day periods, | |
| 68073 | 68896 | plus 1 or 2 extra days depending on whether it's a leap | |
| 68074 | 68897 | year. This function is basically telling you how many | |
| 68075 | 68898 | Sundays are in the year, i.e. there are 53 Sundays if | |
| 68076 | 68899 | one of the extra days happens to be a Sunday.)</doc> | |
| 68077 | - | <source-position filename="glib/gdate.h" line="252"/> | |
| 68900 | + | <source-position filename="glib/gdate.h" line="255"/> | |
| 68078 | 68901 | <return-value transfer-ownership="none"> | |
| 68079 | 68902 | <doc xml:space="preserve" | |
| 68080 | 68903 | filename="glib/gdate.c" | |
| 68081 | - | line="1999">the number of weeks in @year</doc> | |
| 68904 | + | line="1989">the number of weeks in @year</doc> | |
| 68082 | 68905 | <type name="guint8" c:type="guint8"/> | |
| 68083 | 68906 | </return-value> | |
| 68084 | 68907 | <parameters> | |
| 68085 | 68908 | <parameter name="year" transfer-ownership="none"> | |
| 68086 | 68909 | <doc xml:space="preserve" | |
| 68087 | 68910 | filename="glib/gdate.c" | |
| 68088 | - | line="1989">year to count weeks in</doc> | |
| 68911 | + | line="1979">year to count weeks in</doc> | |
| 68089 | 68912 | <type name="DateYear" c:type="GDateYear"/> | |
| 68090 | 68913 | </parameter> | |
| 68091 | 68914 | </parameters> | |
| 68092 | 68915 | </function> | |
| 68916 | + | <function name="date_get_weeks_in_year" | |
| 68917 | + | c:identifier="g_date_get_weeks_in_year" | |
| 68918 | + | moved-to="Date.get_weeks_in_year" | |
| 68919 | + | version="2.86"> | |
| 68920 | + | <doc xml:space="preserve" | |
| 68921 | + | filename="glib/gdate.c" | |
| 68922 | + | line="1997">Calculates the number of weeks in the year. | |
| 68923 | + | ||
| 68924 | + | The result depends on which day is considered the first day of the week, | |
| 68925 | + | which varies by locale. `first_day_of_week` must be valid. | |
| 68926 | + | ||
| 68927 | + | The result will be either 52 or 53. Years always have 52 seven-day periods, | |
| 68928 | + | plus one or two extra days depending on whether it’s a leap year. This | |
| 68929 | + | function effectively calculates how many @first_day_of_week days there are in | |
| 68930 | + | the year.</doc> | |
| 68931 | + | <source-position filename="glib/gdate.h" line="257"/> | |
| 68932 | + | <return-value transfer-ownership="none"> | |
| 68933 | + | <doc xml:space="preserve" | |
| 68934 | + | filename="glib/gdate.c" | |
| 68935 | + | line="2015">the number of weeks in @year</doc> | |
| 68936 | + | <type name="guint8" c:type="guint8"/> | |
| 68937 | + | </return-value> | |
| 68938 | + | <parameters> | |
| 68939 | + | <parameter name="year" transfer-ownership="none"> | |
| 68940 | + | <doc xml:space="preserve" | |
| 68941 | + | filename="glib/gdate.c" | |
| 68942 | + | line="1999">year to count weeks in</doc> | |
| 68943 | + | <type name="DateYear" c:type="GDateYear"/> | |
| 68944 | + | </parameter> | |
| 68945 | + | <parameter name="first_day_of_week" transfer-ownership="none"> | |
| 68946 | + | <doc xml:space="preserve" | |
| 68947 | + | filename="glib/gdate.c" | |
| 68948 | + | line="2000">the day which is considered the first day of the week | |
| 68949 | + | (for example, this would be [enum@GLib.DateWeekday.SUNDAY] in US locales, | |
| 68950 | + | [enum@GLib.DateWeekday.MONDAY] in British locales, and | |
| 68951 | + | [enum@GLib.DateWeekday.SATURDAY] in Egyptian locales</doc> | |
| 68952 | + | <type name="DateWeekday" c:type="GDateWeekday"/> | |
| 68953 | + | </parameter> | |
| 68954 | + | </parameters> | |
| 68955 | + | </function> | |
| 68093 | 68956 | <function name="date_is_leap_year" | |
| 68094 | 68957 | c:identifier="g_date_is_leap_year" | |
| 68095 | 68958 | moved-to="Date.is_leap_year"> | |
| 68096 | 68959 | <doc xml:space="preserve" | |
| 68097 | 68960 | filename="glib/gdate.c" | |
| 68098 | - | line="1905">Returns %TRUE if the year is a leap year. | |
| 68961 | + | line="1911">Returns %TRUE if the year is a leap year. | |
| 68099 | 68962 | ||
| 68100 | 68963 | For the purposes of this function, leap year is every year | |
| 68101 | 68964 | divisible by 4 unless that year is divisible by 100. If it | |
| 68102 | 68965 | is divisible by 100 it would be a leap year only if that year | |
| 68103 | 68966 | is also divisible by 400.</doc> | |
| 68104 | - | <source-position filename="glib/gdate.h" line="245"/> | |
| 68967 | + | <source-position filename="glib/gdate.h" line="248"/> | |
| 68105 | 68968 | <return-value transfer-ownership="none"> | |
| 68106 | 68969 | <doc xml:space="preserve" | |
| 68107 | 68970 | filename="glib/gdate.c" | |
| 68108 | - | line="1916">%TRUE if the year is a leap year</doc> | |
| 68971 | + | line="1922">%TRUE if the year is a leap year</doc> | |
| 68109 | 68972 | <type name="gboolean" c:type="gboolean"/> | |
| 68110 | 68973 | </return-value> | |
| 68111 | 68974 | <parameters> | |
| 68112 | 68975 | <parameter name="year" transfer-ownership="none"> | |
| 68113 | 68976 | <doc xml:space="preserve" | |
| 68114 | 68977 | filename="glib/gdate.c" | |
| 68115 | - | line="1907">year to check</doc> | |
| 68978 | + | line="1913">year to check</doc> | |
| 68116 | 68979 | <type name="DateYear" c:type="GDateYear"/> | |
| 68117 | 68980 | </parameter> | |
| 68118 | 68981 | </parameters> | |
| @@ -68122,7 +68985,7 @@ is also divisible by 400.</doc> | |||
| 68122 | 68985 | moved-to="Date.strftime"> | |
| 68123 | 68986 | <doc xml:space="preserve" | |
| 68124 | 68987 | filename="glib/gdate.c" | |
| 68125 | - | line="2626">Generates a printed representation of the date, in a | |
| 68988 | + | line="2645">Generates a printed representation of the date, in a | |
| 68126 | 68989 | [locale](running.html#locale)-specific way. | |
| 68127 | 68990 | Works just like the platform's C library strftime() function, | |
| 68128 | 68991 | but only accepts date-related formats; time-related formats | |
| @@ -68135,36 +68998,36 @@ addition to those implemented by the platform's C library. | |||
| 68135 | 68998 | For example, don't expect that using g_date_strftime() would | |
| 68136 | 68999 | make the \%F provided by the C99 strftime() work on Windows | |
| 68137 | 69000 | where the C library only complies to C89.</doc> | |
| 68138 | - | <source-position filename="glib/gdate.h" line="281"/> | |
| 69001 | + | <source-position filename="glib/gdate.h" line="287"/> | |
| 68139 | 69002 | <return-value transfer-ownership="none"> | |
| 68140 | 69003 | <doc xml:space="preserve" | |
| 68141 | 69004 | filename="glib/gdate.c" | |
| 68142 | - | line="2647">number of characters written to the buffer, or `0` if the buffer was too small</doc> | |
| 69005 | + | line="2666">number of characters written to the buffer, or `0` if the buffer was too small</doc> | |
| 68143 | 69006 | <type name="gsize" c:type="gsize"/> | |
| 68144 | 69007 | </return-value> | |
| 68145 | 69008 | <parameters> | |
| 68146 | 69009 | <parameter name="s" transfer-ownership="none"> | |
| 68147 | 69010 | <doc xml:space="preserve" | |
| 68148 | 69011 | filename="glib/gdate.c" | |
| 68149 | - | line="2628">destination buffer</doc> | |
| 69012 | + | line="2647">destination buffer</doc> | |
| 68150 | 69013 | <type name="utf8" c:type="gchar*"/> | |
| 68151 | 69014 | </parameter> | |
| 68152 | 69015 | <parameter name="slen" transfer-ownership="none"> | |
| 68153 | 69016 | <doc xml:space="preserve" | |
| 68154 | 69017 | filename="glib/gdate.c" | |
| 68155 | - | line="2629">buffer size</doc> | |
| 69018 | + | line="2648">buffer size</doc> | |
| 68156 | 69019 | <type name="gsize" c:type="gsize"/> | |
| 68157 | 69020 | </parameter> | |
| 68158 | 69021 | <parameter name="format" transfer-ownership="none"> | |
| 68159 | 69022 | <doc xml:space="preserve" | |
| 68160 | 69023 | filename="glib/gdate.c" | |
| 68161 | - | line="2630">format string</doc> | |
| 69024 | + | line="2649">format string</doc> | |
| 68162 | 69025 | <type name="utf8" c:type="const gchar*"/> | |
| 68163 | 69026 | </parameter> | |
| 68164 | 69027 | <parameter name="date" transfer-ownership="none"> | |
| 68165 | 69028 | <doc xml:space="preserve" | |
| 68166 | 69029 | filename="glib/gdate.c" | |
| 68167 | - | line="2631">valid #GDate</doc> | |
| 69030 | + | line="2650">valid #GDate</doc> | |
| 68168 | 69031 | <type name="Date" c:type="const GDate*"/> | |
| 68169 | 69032 | </parameter> | |
| 68170 | 69033 | </parameters> | |
| @@ -68365,7 +69228,7 @@ dcgettext() directly.</doc> | |||
| 68365 | 69228 | introspectable="0"> | |
| 68366 | 69229 | <doc xml:space="preserve" | |
| 68367 | 69230 | filename="glib/gmessages.c" | |
| 68368 | - | line="334">A convenience function/macro to log a debug message. | |
| 69231 | + | line="333">A convenience function/macro to log a debug message. | |
| 68369 | 69232 | ||
| 68370 | 69233 | The message should typically *not* be translated to the user’s language. | |
| 68371 | 69234 | ||
| @@ -68382,12 +69245,12 @@ to set the allowed domains at runtime, use | |||
| 68382 | 69245 | If structured logging is enabled, this will use [func@GLib.log_structured]; | |
| 68383 | 69246 | otherwise it will use [func@GLib.log]. See | |
| 68384 | 69247 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| 68385 | - | <source-position filename="glib/gmessages.h" line="343"/> | |
| 69248 | + | <source-position filename="glib/gmessages.h" line="346"/> | |
| 68386 | 69249 | <parameters> | |
| 68387 | 69250 | <parameter name="..."> | |
| 68388 | 69251 | <doc xml:space="preserve" | |
| 68389 | 69252 | filename="glib/gmessages.c" | |
| 68390 | - | line="336">format string, followed by parameters to insert into the format string | |
| 69253 | + | line="335">format string, followed by parameters to insert into the format string | |
| 68391 | 69254 | (as with `printf()`)</doc> | |
| 68392 | 69255 | </parameter> | |
| 68393 | 69256 | </parameters> | |
| @@ -68460,7 +69323,7 @@ but use the _() macro for translations.</doc> | |||
| 68460 | 69323 | throws="1"> | |
| 68461 | 69324 | <doc xml:space="preserve" | |
| 68462 | 69325 | filename="glib/gfileutils.c" | |
| 68463 | - | line="1864">Creates a subdirectory in the preferred directory for temporary | |
| 69326 | + | line="1885">Creates a subdirectory in the preferred directory for temporary | |
| 68464 | 69327 | files (as returned by g_get_tmp_dir()). | |
| 68465 | 69328 | ||
| 68466 | 69329 | @tmpl should be a string in the GLib file name encoding containing | |
| @@ -68475,7 +69338,7 @@ modified, and might thus be a read-only literal string.</doc> | |||
| 68475 | 69338 | <return-value transfer-ownership="full"> | |
| 68476 | 69339 | <doc xml:space="preserve" | |
| 68477 | 69340 | filename="glib/gfileutils.c" | |
| 68478 | - | line="1882">The actual name used. This string | |
| 69341 | + | line="1903">The actual name used. This string | |
| 68479 | 69342 | should be freed with g_free() when not needed any longer and is | |
| 68480 | 69343 | is in the GLib file name encoding. In case of errors, %NULL is | |
| 68481 | 69344 | returned and @error will be set.</doc> | |
| @@ -68488,7 +69351,7 @@ modified, and might thus be a read-only literal string.</doc> | |||
| 68488 | 69351 | allow-none="1"> | |
| 68489 | 69352 | <doc xml:space="preserve" | |
| 68490 | 69353 | filename="glib/gfileutils.c" | |
| 68491 | - | line="1866">Template for directory name, | |
| 69354 | + | line="1887">Template for directory name, | |
| 68492 | 69355 | as in g_mkdtemp(), basename only, or %NULL for a default template</doc> | |
| 68493 | 69356 | <type name="filename" c:type="const gchar*"/> | |
| 68494 | 69357 | </parameter> | |
| @@ -68497,7 +69360,7 @@ modified, and might thus be a read-only literal string.</doc> | |||
| 68497 | 69360 | <function name="direct_equal" c:identifier="g_direct_equal"> | |
| 68498 | 69361 | <doc xml:space="preserve" | |
| 68499 | 69362 | filename="glib/ghash.c" | |
| 68500 | - | line="2500">Compares two #gpointer arguments and returns %TRUE if they are equal. | |
| 69363 | + | line="2503">Compares two #gpointer arguments and returns %TRUE if they are equal. | |
| 68501 | 69364 | It can be passed to g_hash_table_new() as the @key_equal_func | |
| 68502 | 69365 | parameter, when using opaque pointers compared by pointer value as | |
| 68503 | 69366 | keys in a #GHashTable. | |
| @@ -68508,7 +69371,7 @@ stored in pointers, such as `GINT_TO_POINTER (n)`.</doc> | |||
| 68508 | 69371 | <return-value transfer-ownership="none"> | |
| 68509 | 69372 | <doc xml:space="preserve" | |
| 68510 | 69373 | filename="glib/ghash.c" | |
| 68511 | - | line="2513">%TRUE if the two keys match.</doc> | |
| 69374 | + | line="2516">%TRUE if the two keys match.</doc> | |
| 68512 | 69375 | <type name="gboolean" c:type="gboolean"/> | |
| 68513 | 69376 | </return-value> | |
| 68514 | 69377 | <parameters> | |
| @@ -68518,7 +69381,7 @@ stored in pointers, such as `GINT_TO_POINTER (n)`.</doc> | |||
| 68518 | 69381 | allow-none="1"> | |
| 68519 | 69382 | <doc xml:space="preserve" | |
| 68520 | 69383 | filename="glib/ghash.c" | |
| 68521 | - | line="2502">a key</doc> | |
| 69384 | + | line="2505">a key</doc> | |
| 68522 | 69385 | <type name="gpointer" c:type="gconstpointer"/> | |
| 68523 | 69386 | </parameter> | |
| 68524 | 69387 | <parameter name="v2" | |
| @@ -68527,7 +69390,7 @@ stored in pointers, such as `GINT_TO_POINTER (n)`.</doc> | |||
| 68527 | 69390 | allow-none="1"> | |
| 68528 | 69391 | <doc xml:space="preserve" | |
| 68529 | 69392 | filename="glib/ghash.c" | |
| 68530 | - | line="2503">a key to compare with @v1</doc> | |
| 69393 | + | line="2506">a key to compare with @v1</doc> | |
| 68531 | 69394 | <type name="gpointer" c:type="gconstpointer"/> | |
| 68532 | 69395 | </parameter> | |
| 68533 | 69396 | </parameters> | |
| @@ -68535,7 +69398,7 @@ stored in pointers, such as `GINT_TO_POINTER (n)`.</doc> | |||
| 68535 | 69398 | <function name="direct_hash" c:identifier="g_direct_hash"> | |
| 68536 | 69399 | <doc xml:space="preserve" | |
| 68537 | 69400 | filename="glib/ghash.c" | |
| 68538 | - | line="2480">Converts a gpointer to a hash value. | |
| 69401 | + | line="2483">Converts a gpointer to a hash value. | |
| 68539 | 69402 | It can be passed to g_hash_table_new() as the @hash_func parameter, | |
| 68540 | 69403 | when using opaque pointers compared by pointer value as keys in a | |
| 68541 | 69404 | #GHashTable. | |
| @@ -68546,7 +69409,7 @@ stored in pointers, such as `GINT_TO_POINTER (n)`.</doc> | |||
| 68546 | 69409 | <return-value transfer-ownership="none"> | |
| 68547 | 69410 | <doc xml:space="preserve" | |
| 68548 | 69411 | filename="glib/ghash.c" | |
| 68549 | - | line="2492">a hash value corresponding to the key.</doc> | |
| 69412 | + | line="2495">a hash value corresponding to the key.</doc> | |
| 68550 | 69413 | <type name="guint" c:type="guint"/> | |
| 68551 | 69414 | </return-value> | |
| 68552 | 69415 | <parameters> | |
| @@ -68556,7 +69419,7 @@ stored in pointers, such as `GINT_TO_POINTER (n)`.</doc> | |||
| 68556 | 69419 | allow-none="1"> | |
| 68557 | 69420 | <doc xml:space="preserve" | |
| 68558 | 69421 | filename="glib/ghash.c" | |
| 68559 | - | line="2482">a #gpointer key</doc> | |
| 69422 | + | line="2485">a #gpointer key</doc> | |
| 68560 | 69423 | <type name="gpointer" c:type="gconstpointer"/> | |
| 68561 | 69424 | </parameter> | |
| 68562 | 69425 | </parameters> | |
| @@ -68611,7 +69474,7 @@ proper.</doc> | |||
| 68611 | 69474 | <function name="double_equal" c:identifier="g_double_equal" version="2.22"> | |
| 68612 | 69475 | <doc xml:space="preserve" | |
| 68613 | 69476 | filename="glib/ghash.c" | |
| 68614 | - | line="2654">Compares the two #gdouble values being pointed to and returns | |
| 69477 | + | line="2657">Compares the two #gdouble values being pointed to and returns | |
| 68615 | 69478 | %TRUE if they are equal. | |
| 68616 | 69479 | It can be passed to g_hash_table_new() as the @key_equal_func | |
| 68617 | 69480 | parameter, when using non-%NULL pointers to doubles as keys in a | |
| @@ -68620,20 +69483,20 @@ parameter, when using non-%NULL pointers to doubles as keys in a | |||
| 68620 | 69483 | <return-value transfer-ownership="none"> | |
| 68621 | 69484 | <doc xml:space="preserve" | |
| 68622 | 69485 | filename="glib/ghash.c" | |
| 68623 | - | line="2665">%TRUE if the two keys match.</doc> | |
| 69486 | + | line="2668">%TRUE if the two keys match.</doc> | |
| 68624 | 69487 | <type name="gboolean" c:type="gboolean"/> | |
| 68625 | 69488 | </return-value> | |
| 68626 | 69489 | <parameters> | |
| 68627 | 69490 | <parameter name="v1" transfer-ownership="none"> | |
| 68628 | 69491 | <doc xml:space="preserve" | |
| 68629 | 69492 | filename="glib/ghash.c" | |
| 68630 | - | line="2656">a pointer to a #gdouble key</doc> | |
| 69493 | + | line="2659">a pointer to a #gdouble key</doc> | |
| 68631 | 69494 | <type name="gpointer" c:type="gconstpointer"/> | |
| 68632 | 69495 | </parameter> | |
| 68633 | 69496 | <parameter name="v2" transfer-ownership="none"> | |
| 68634 | 69497 | <doc xml:space="preserve" | |
| 68635 | 69498 | filename="glib/ghash.c" | |
| 68636 | - | line="2657">a pointer to a #gdouble key to compare with @v1</doc> | |
| 69499 | + | line="2660">a pointer to a #gdouble key to compare with @v1</doc> | |
| 68637 | 69500 | <type name="gpointer" c:type="gconstpointer"/> | |
| 68638 | 69501 | </parameter> | |
| 68639 | 69502 | </parameters> | |
| @@ -68641,7 +69504,7 @@ parameter, when using non-%NULL pointers to doubles as keys in a | |||
| 68641 | 69504 | <function name="double_hash" c:identifier="g_double_hash" version="2.22"> | |
| 68642 | 69505 | <doc xml:space="preserve" | |
| 68643 | 69506 | filename="glib/ghash.c" | |
| 68644 | - | line="2676">Converts a pointer to a #gdouble to a hash value. | |
| 69507 | + | line="2679">Converts a pointer to a #gdouble to a hash value. | |
| 68645 | 69508 | It can be passed to g_hash_table_new() as the @hash_func parameter, | |
| 68646 | 69509 | It can be passed to g_hash_table_new() as the @hash_func parameter, | |
| 68647 | 69510 | when using non-%NULL pointers to doubles as keys in a #GHashTable.</doc> | |
| @@ -68649,14 +69512,14 @@ when using non-%NULL pointers to doubles as keys in a #GHashTable.</doc> | |||
| 68649 | 69512 | <return-value transfer-ownership="none"> | |
| 68650 | 69513 | <doc xml:space="preserve" | |
| 68651 | 69514 | filename="glib/ghash.c" | |
| 68652 | - | line="2685">a hash value corresponding to the key.</doc> | |
| 69515 | + | line="2688">a hash value corresponding to the key.</doc> | |
| 68653 | 69516 | <type name="guint" c:type="guint"/> | |
| 68654 | 69517 | </return-value> | |
| 68655 | 69518 | <parameters> | |
| 68656 | 69519 | <parameter name="v" transfer-ownership="none"> | |
| 68657 | 69520 | <doc xml:space="preserve" | |
| 68658 | 69521 | filename="glib/ghash.c" | |
| 68659 | - | line="2678">a pointer to a #gdouble key</doc> | |
| 69522 | + | line="2681">a pointer to a #gdouble key</doc> | |
| 68660 | 69523 | <type name="gpointer" c:type="gconstpointer"/> | |
| 68661 | 69524 | </parameter> | |
| 68662 | 69525 | </parameters> | |
| @@ -68890,7 +69753,7 @@ environment @envp.</doc> | |||
| 68890 | 69753 | <function-macro name="error" c:identifier="g_error" introspectable="0"> | |
| 68891 | 69754 | <doc xml:space="preserve" | |
| 68892 | 69755 | filename="glib/gmessages.c" | |
| 68893 | - | line="280">A convenience function/macro to log an error message. | |
| 69756 | + | line="279">A convenience function/macro to log an error message. | |
| 68894 | 69757 | ||
| 68895 | 69758 | The message should typically *not* be translated to the user’s language. | |
| 68896 | 69759 | ||
| @@ -68911,12 +69774,12 @@ manually. | |||
| 68911 | 69774 | If structured logging is enabled, this will use [func@GLib.log_structured]; | |
| 68912 | 69775 | otherwise it will use [func@GLib.log]. See | |
| 68913 | 69776 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| 68914 | - | <source-position filename="glib/gmessages.h" line="325"/> | |
| 69777 | + | <source-position filename="glib/gmessages.h" line="328"/> | |
| 68915 | 69778 | <parameters> | |
| 68916 | 69779 | <parameter name="..."> | |
| 68917 | 69780 | <doc xml:space="preserve" | |
| 68918 | 69781 | filename="glib/gmessages.c" | |
| 68919 | - | line="282">format string, followed by parameters to insert into the format string | |
| 69782 | + | line="281">format string, followed by parameters to insert into the format string | |
| 68920 | 69783 | (as with `printf()`)</doc> | |
| 68921 | 69784 | </parameter> | |
| 68922 | 69785 | </parameters> | |
| @@ -69170,7 +70033,7 @@ codes are those in the #GFileError enumeration. In the error case, | |||
| 69170 | 70033 | <function name="file_open_tmp" c:identifier="g_file_open_tmp" throws="1"> | |
| 69171 | 70034 | <doc xml:space="preserve" | |
| 69172 | 70035 | filename="glib/gfileutils.c" | |
| 69173 | - | line="1808">Opens a file for writing in the preferred directory for temporary | |
| 70036 | + | line="1829">Opens a file for writing in the preferred directory for temporary | |
| 69174 | 70037 | files (as returned by g_get_tmp_dir()). | |
| 69175 | 70038 | ||
| 69176 | 70039 | @tmpl should be a string in the GLib file name encoding containing | |
| @@ -69190,7 +70053,7 @@ name encoding.</doc> | |||
| 69190 | 70053 | <return-value transfer-ownership="none"> | |
| 69191 | 70054 | <doc xml:space="preserve" | |
| 69192 | 70055 | filename="glib/gfileutils.c" | |
| 69193 | - | line="1833">A file handle (as from open()) to the file opened for | |
| 70056 | + | line="1854">A file handle (as from open()) to the file opened for | |
| 69194 | 70057 | reading and writing. The file is opened in binary mode on platforms | |
| 69195 | 70058 | where there is a difference. The file handle should be closed with | |
| 69196 | 70059 | close(). In case of errors, -1 is returned and @error will be set.</doc> | |
| @@ -69203,7 +70066,7 @@ name encoding.</doc> | |||
| 69203 | 70066 | allow-none="1"> | |
| 69204 | 70067 | <doc xml:space="preserve" | |
| 69205 | 70068 | filename="glib/gfileutils.c" | |
| 69206 | - | line="1810">Template for file name, as in | |
| 70069 | + | line="1831">Template for file name, as in | |
| 69207 | 70070 | g_mkstemp(), basename only, or %NULL for a default template</doc> | |
| 69208 | 70071 | <type name="filename" c:type="const gchar*"/> | |
| 69209 | 70072 | </parameter> | |
| @@ -69213,7 +70076,7 @@ name encoding.</doc> | |||
| 69213 | 70076 | transfer-ownership="full"> | |
| 69214 | 70077 | <doc xml:space="preserve" | |
| 69215 | 70078 | filename="glib/gfileutils.c" | |
| 69216 | - | line="1812">location to store actual name used, | |
| 70079 | + | line="1833">location to store actual name used, | |
| 69217 | 70080 | or %NULL</doc> | |
| 69218 | 70081 | <type name="filename" c:type="gchar**"/> | |
| 69219 | 70082 | </parameter> | |
| @@ -69225,7 +70088,7 @@ name encoding.</doc> | |||
| 69225 | 70088 | throws="1"> | |
| 69226 | 70089 | <doc xml:space="preserve" | |
| 69227 | 70090 | filename="glib/gfileutils.c" | |
| 69228 | - | line="2311">Reads the contents of the symbolic link @filename like the POSIX | |
| 70091 | + | line="2332">Reads the contents of the symbolic link @filename like the POSIX | |
| 69229 | 70092 | `readlink()` function. | |
| 69230 | 70093 | ||
| 69231 | 70094 | The returned string is in the encoding used for filenames. Use | |
| @@ -69252,7 +70115,7 @@ if (!g_path_is_absolute (link_target)) | |||
| 69252 | 70115 | <return-value transfer-ownership="full"> | |
| 69253 | 70116 | <doc xml:space="preserve" | |
| 69254 | 70117 | filename="glib/gfileutils.c" | |
| 69255 | - | line="2340">A newly-allocated string with | |
| 70118 | + | line="2361">A newly-allocated string with | |
| 69256 | 70119 | the contents of the symbolic link, or %NULL if an error occurred.</doc> | |
| 69257 | 70120 | <type name="filename" c:type="gchar*"/> | |
| 69258 | 70121 | </return-value> | |
| @@ -69260,7 +70123,7 @@ if (!g_path_is_absolute (link_target)) | |||
| 69260 | 70123 | <parameter name="filename" transfer-ownership="none"> | |
| 69261 | 70124 | <doc xml:space="preserve" | |
| 69262 | 70125 | filename="glib/gfileutils.c" | |
| 69263 | - | line="2313">the symbolic link</doc> | |
| 70126 | + | line="2334">the symbolic link</doc> | |
| 69264 | 70127 | <type name="filename" c:type="const gchar*"/> | |
| 69265 | 70128 | </parameter> | |
| 69266 | 70129 | </parameters> | |
| @@ -69364,8 +70227,8 @@ Note that the name for the temporary file is constructed by appending up | |||
| 69364 | 70227 | to 7 characters to @filename. | |
| 69365 | 70228 | ||
| 69366 | 70229 | If the file didn’t exist before and is created, it will be given the | |
| 69367 | - | permissions from @mode. Otherwise, the permissions of the existing file may | |
| 69368 | - | be changed to @mode depending on @flags, or they may remain unchanged.</doc> | |
| 70230 | + | permissions from @mode. Otherwise, the permissions of the existing file will | |
| 70231 | + | remain unchanged.</doc> | |
| 69369 | 70232 | <source-position filename="glib/gfileutils.h" line="131"/> | |
| 69370 | 70233 | <return-value transfer-ownership="none"> | |
| 69371 | 70234 | <doc xml:space="preserve" | |
| @@ -69831,7 +70694,7 @@ including the type suffix.</doc> | |||
| 69831 | 70694 | <function name="fopen" c:identifier="g_fopen" version="2.6"> | |
| 69832 | 70695 | <doc xml:space="preserve" | |
| 69833 | 70696 | filename="glib/gstdio.c" | |
| 69834 | - | line="1542">A wrapper for the stdio `fopen()` function. The `fopen()` function | |
| 70697 | + | line="1553">A wrapper for the stdio `fopen()` function. The `fopen()` function | |
| 69835 | 70698 | opens a file and associates a new stream with it. | |
| 69836 | 70699 | ||
| 69837 | 70700 | Because file descriptors are specific to the C library on Windows, | |
| @@ -69846,12 +70709,19 @@ See your C library manual for more details about `fopen()`. | |||
| 69846 | 70709 | As `close()` and `fclose()` are part of the C library, this implies that it is | |
| 69847 | 70710 | currently impossible to close a file if the application C library and the C library | |
| 69848 | 70711 | used by GLib are different. Convenience functions like g_file_set_contents_full() | |
| 69849 | - | avoid this problem.</doc> | |
| 70712 | + | avoid this problem. | |
| 70713 | + | ||
| 70714 | + | Since GLib 2.86, the `e` option is supported in @mode on all platforms. On | |
| 70715 | + | Unix platforms it will set `O_CLOEXEC` on the opened file descriptor. On | |
| 70716 | + | Windows platforms it will be converted to the | |
| 70717 | + | [`N` modifier](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=msvc-170). | |
| 70718 | + | It is recommended to set `e` unconditionally, unless you know the returned | |
| 70719 | + | file should be shared between this process and a new fork.</doc> | |
| 69850 | 70720 | <source-position filename="glib/gstdio.h" line="157"/> | |
| 69851 | 70721 | <return-value transfer-ownership="none" nullable="1"> | |
| 69852 | 70722 | <doc xml:space="preserve" | |
| 69853 | 70723 | filename="glib/gstdio.c" | |
| 69854 | - | line="1565">A `FILE*` if the file was successfully opened, or %NULL if | |
| 70724 | + | line="1583">A `FILE*` if the file was successfully opened, or %NULL if | |
| 69855 | 70725 | an error occurred</doc> | |
| 69856 | 70726 | <type name="gpointer" c:type="FILE*"/> | |
| 69857 | 70727 | </return-value> | |
| @@ -69859,14 +70729,14 @@ avoid this problem.</doc> | |||
| 69859 | 70729 | <parameter name="filename" transfer-ownership="none"> | |
| 69860 | 70730 | <doc xml:space="preserve" | |
| 69861 | 70731 | filename="glib/gstdio.c" | |
| 69862 | - | line="1544">a pathname in the GLib file name encoding | |
| 70732 | + | line="1555">a pathname in the GLib file name encoding | |
| 69863 | 70733 | (UTF-8 on Windows)</doc> | |
| 69864 | 70734 | <type name="filename" c:type="const gchar*"/> | |
| 69865 | 70735 | </parameter> | |
| 69866 | 70736 | <parameter name="mode" transfer-ownership="none"> | |
| 69867 | 70737 | <doc xml:space="preserve" | |
| 69868 | 70738 | filename="glib/gstdio.c" | |
| 69869 | - | line="1546">a string describing the mode in which the file should be opened</doc> | |
| 70739 | + | line="1557">a string describing the mode in which the file should be opened</doc> | |
| 69870 | 70740 | <type name="utf8" c:type="const gchar*"/> | |
| 69871 | 70741 | </parameter> | |
| 69872 | 70742 | </parameters> | |
| @@ -69874,7 +70744,7 @@ avoid this problem.</doc> | |||
| 69874 | 70744 | <function name="format_size" c:identifier="g_format_size" version="2.30"> | |
| 69875 | 70745 | <doc xml:space="preserve" | |
| 69876 | 70746 | filename="glib/gutils.c" | |
| 69877 | - | line="2883">Formats a size (for example the size of a file) into a human readable | |
| 70747 | + | line="2885">Formats a size (for example the size of a file) into a human readable | |
| 69878 | 70748 | string. Sizes are rounded to the nearest size prefix (kB, MB, GB) | |
| 69879 | 70749 | and are displayed rounded to the nearest tenth. E.g. the file size | |
| 69880 | 70750 | 3292528 bytes will be converted into the string "3.2 MB". The returned string | |
| @@ -69891,7 +70761,7 @@ formatted.</doc> | |||
| 69891 | 70761 | <return-value transfer-ownership="full"> | |
| 69892 | 70762 | <doc xml:space="preserve" | |
| 69893 | 70763 | filename="glib/gutils.c" | |
| 69894 | - | line="2901">a newly-allocated formatted string containing | |
| 70764 | + | line="2903">a newly-allocated formatted string containing | |
| 69895 | 70765 | a human readable file size</doc> | |
| 69896 | 70766 | <type name="utf8" c:type="gchar*"/> | |
| 69897 | 70767 | </return-value> | |
| @@ -69899,7 +70769,7 @@ formatted.</doc> | |||
| 69899 | 70769 | <parameter name="size" transfer-ownership="none"> | |
| 69900 | 70770 | <doc xml:space="preserve" | |
| 69901 | 70771 | filename="glib/gutils.c" | |
| 69902 | - | line="2885">a size in bytes</doc> | |
| 70772 | + | line="2887">a size in bytes</doc> | |
| 69903 | 70773 | <type name="guint64" c:type="guint64"/> | |
| 69904 | 70774 | </parameter> | |
| 69905 | 70775 | </parameters> | |
| @@ -69911,7 +70781,7 @@ formatted.</doc> | |||
| 69911 | 70781 | deprecated-version="2.30"> | |
| 69912 | 70782 | <doc xml:space="preserve" | |
| 69913 | 70783 | filename="glib/gutils.c" | |
| 69914 | - | line="3181">Formats a size (for example the size of a file) into a human | |
| 70784 | + | line="3183">Formats a size (for example the size of a file) into a human | |
| 69915 | 70785 | readable string. Sizes are rounded to the nearest size prefix | |
| 69916 | 70786 | (KB, MB, GB) and are displayed rounded to the nearest tenth. | |
| 69917 | 70787 | E.g. the file size 3292528 bytes will be converted into the | |
| @@ -69926,7 +70796,7 @@ This string should be freed with g_free() when not needed any longer.</doc> | |||
| 69926 | 70796 | <return-value transfer-ownership="full"> | |
| 69927 | 70797 | <doc xml:space="preserve" | |
| 69928 | 70798 | filename="glib/gutils.c" | |
| 69929 | - | line="3195">a newly-allocated formatted string | |
| 70799 | + | line="3197">a newly-allocated formatted string | |
| 69930 | 70800 | containing a human readable file size</doc> | |
| 69931 | 70801 | <type name="utf8" c:type="gchar*"/> | |
| 69932 | 70802 | </return-value> | |
| @@ -69934,7 +70804,7 @@ This string should be freed with g_free() when not needed any longer.</doc> | |||
| 69934 | 70804 | <parameter name="size" transfer-ownership="none"> | |
| 69935 | 70805 | <doc xml:space="preserve" | |
| 69936 | 70806 | filename="glib/gutils.c" | |
| 69937 | - | line="3183">a size in bytes</doc> | |
| 70807 | + | line="3185">a size in bytes</doc> | |
| 69938 | 70808 | <type name="gint64" c:type="goffset"/> | |
| 69939 | 70809 | </parameter> | |
| 69940 | 70810 | </parameters> | |
| @@ -69944,7 +70814,7 @@ This string should be freed with g_free() when not needed any longer.</doc> | |||
| 69944 | 70814 | version="2.30"> | |
| 69945 | 70815 | <doc xml:space="preserve" | |
| 69946 | 70816 | filename="glib/gutils.c" | |
| 69947 | - | line="2936">Formats a size. | |
| 70817 | + | line="2938">Formats a size. | |
| 69948 | 70818 | ||
| 69949 | 70819 | This function is similar to g_format_size() but allows for flags | |
| 69950 | 70820 | that modify the output. See #GFormatSizeFlags.</doc> | |
| @@ -69952,7 +70822,7 @@ that modify the output. See #GFormatSizeFlags.</doc> | |||
| 69952 | 70822 | <return-value transfer-ownership="full"> | |
| 69953 | 70823 | <doc xml:space="preserve" | |
| 69954 | 70824 | filename="glib/gutils.c" | |
| 69955 | - | line="2946">a newly-allocated formatted string | |
| 70825 | + | line="2948">a newly-allocated formatted string | |
| 69956 | 70826 | containing a human readable file size</doc> | |
| 69957 | 70827 | <type name="utf8" c:type="gchar*"/> | |
| 69958 | 70828 | </return-value> | |
| @@ -69960,13 +70830,13 @@ that modify the output. See #GFormatSizeFlags.</doc> | |||
| 69960 | 70830 | <parameter name="size" transfer-ownership="none"> | |
| 69961 | 70831 | <doc xml:space="preserve" | |
| 69962 | 70832 | filename="glib/gutils.c" | |
| 69963 | - | line="2938">a size in bytes</doc> | |
| 70833 | + | line="2940">a size in bytes</doc> | |
| 69964 | 70834 | <type name="guint64" c:type="guint64"/> | |
| 69965 | 70835 | </parameter> | |
| 69966 | 70836 | <parameter name="flags" transfer-ownership="none"> | |
| 69967 | 70837 | <doc xml:space="preserve" | |
| 69968 | 70838 | filename="glib/gutils.c" | |
| 69969 | - | line="2939">#GFormatSizeFlags to modify the output</doc> | |
| 70839 | + | line="2941">#GFormatSizeFlags to modify the output</doc> | |
| 69970 | 70840 | <type name="FormatSizeFlags" c:type="GFormatSizeFlags"/> | |
| 69971 | 70841 | </parameter> | |
| 69972 | 70842 | </parameters> | |
| @@ -69977,7 +70847,7 @@ that modify the output. See #GFormatSizeFlags.</doc> | |||
| 69977 | 70847 | introspectable="0"> | |
| 69978 | 70848 | <doc xml:space="preserve" | |
| 69979 | 70849 | filename="glib/gprintf.c" | |
| 69980 | - | line="64">An implementation of the standard `fprintf()` function which supports | |
| 70850 | + | line="65">An implementation of the standard `fprintf()` function which supports | |
| 69981 | 70851 | positional parameters, as specified in the Single Unix Specification. | |
| 69982 | 70852 | ||
| 69983 | 70853 | `glib/gprintf.h` must be explicitly included in order to use this function.</doc> | |
| @@ -69985,27 +70855,27 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 69985 | 70855 | <return-value transfer-ownership="none"> | |
| 69986 | 70856 | <doc xml:space="preserve" | |
| 69987 | 70857 | filename="glib/gprintf.c" | |
| 69988 | - | line="76">the number of bytes printed</doc> | |
| 70858 | + | line="77">the number of bytes printed</doc> | |
| 69989 | 70859 | <type name="gint" c:type="gint"/> | |
| 69990 | 70860 | </return-value> | |
| 69991 | 70861 | <parameters> | |
| 69992 | 70862 | <parameter name="file" transfer-ownership="none"> | |
| 69993 | 70863 | <doc xml:space="preserve" | |
| 69994 | 70864 | filename="glib/gprintf.c" | |
| 69995 | - | line="66">the stream to write to</doc> | |
| 70865 | + | line="67">the stream to write to</doc> | |
| 69996 | 70866 | <type name="gpointer" c:type="FILE*"/> | |
| 69997 | 70867 | </parameter> | |
| 69998 | 70868 | <parameter name="format" transfer-ownership="none"> | |
| 69999 | 70869 | <doc xml:space="preserve" | |
| 70000 | 70870 | filename="glib/gprintf.c" | |
| 70001 | - | line="67">a standard `printf()` format string, but notice | |
| 70871 | + | line="68">a standard `printf()` format string, but notice | |
| 70002 | 70872 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 70003 | 70873 | <type name="utf8" c:type="const gchar*"/> | |
| 70004 | 70874 | </parameter> | |
| 70005 | 70875 | <parameter name="..." transfer-ownership="none"> | |
| 70006 | 70876 | <doc xml:space="preserve" | |
| 70007 | 70877 | filename="glib/gprintf.c" | |
| 70008 | - | line="69">the arguments to insert in the output</doc> | |
| 70878 | + | line="70">the arguments to insert in the output</doc> | |
| 70009 | 70879 | <varargs/> | |
| 70010 | 70880 | </parameter> | |
| 70011 | 70881 | </parameters> | |
| @@ -70081,15 +70951,18 @@ since GLib 2.78.</doc> | |||
| 70081 | 70951 | <function name="freopen" c:identifier="g_freopen" version="2.6"> | |
| 70082 | 70952 | <doc xml:space="preserve" | |
| 70083 | 70953 | filename="glib/gstdio.c" | |
| 70084 | - | line="1609">A wrapper for the POSIX freopen() function. The freopen() function | |
| 70954 | + | line="1627">A wrapper for the POSIX freopen() function. The freopen() function | |
| 70085 | 70955 | opens a file and associates it with an existing stream. | |
| 70086 | 70956 | ||
| 70087 | - | See your C library manual for more details about freopen().</doc> | |
| 70957 | + | See your C library manual for more details about freopen(). | |
| 70958 | + | ||
| 70959 | + | Since GLib 2.86, the `e` option is supported in @mode on all platforms. See | |
| 70960 | + | the documentation for [func@GLib.fopen] for more details.</doc> | |
| 70088 | 70961 | <source-position filename="glib/gstdio.h" line="161"/> | |
| 70089 | 70962 | <return-value transfer-ownership="none" nullable="1"> | |
| 70090 | 70963 | <doc xml:space="preserve" | |
| 70091 | 70964 | filename="glib/gstdio.c" | |
| 70092 | - | line="1621">A FILE* if the file was successfully opened, or %NULL if | |
| 70965 | + | line="1642">A FILE* if the file was successfully opened, or %NULL if | |
| 70093 | 70966 | an error occurred.</doc> | |
| 70094 | 70967 | <type name="gpointer" c:type="FILE*"/> | |
| 70095 | 70968 | </return-value> | |
| @@ -70097,14 +70970,14 @@ See your C library manual for more details about freopen().</doc> | |||
| 70097 | 70970 | <parameter name="filename" transfer-ownership="none"> | |
| 70098 | 70971 | <doc xml:space="preserve" | |
| 70099 | 70972 | filename="glib/gstdio.c" | |
| 70100 | - | line="1611">a pathname in the GLib file name encoding | |
| 70973 | + | line="1629">a pathname in the GLib file name encoding | |
| 70101 | 70974 | (UTF-8 on Windows)</doc> | |
| 70102 | 70975 | <type name="filename" c:type="const gchar*"/> | |
| 70103 | 70976 | </parameter> | |
| 70104 | 70977 | <parameter name="mode" transfer-ownership="none"> | |
| 70105 | 70978 | <doc xml:space="preserve" | |
| 70106 | 70979 | filename="glib/gstdio.c" | |
| 70107 | - | line="1613">a string describing the mode in which the file should be opened</doc> | |
| 70980 | + | line="1631">a string describing the mode in which the file should be opened</doc> | |
| 70108 | 70981 | <type name="utf8" c:type="const gchar*"/> | |
| 70109 | 70982 | </parameter> | |
| 70110 | 70983 | <parameter name="stream" | |
| @@ -70113,7 +70986,7 @@ See your C library manual for more details about freopen().</doc> | |||
| 70113 | 70986 | allow-none="1"> | |
| 70114 | 70987 | <doc xml:space="preserve" | |
| 70115 | 70988 | filename="glib/gstdio.c" | |
| 70116 | - | line="1614">an existing stream which will be reused, or %NULL</doc> | |
| 70989 | + | line="1632">an existing stream which will be reused, or %NULL</doc> | |
| 70117 | 70990 | <type name="gpointer" c:type="FILE*"/> | |
| 70118 | 70991 | </parameter> | |
| 70119 | 70992 | </parameters> | |
| @@ -70121,7 +70994,7 @@ See your C library manual for more details about freopen().</doc> | |||
| 70121 | 70994 | <function name="fsync" c:identifier="g_fsync" version="2.64"> | |
| 70122 | 70995 | <doc xml:space="preserve" | |
| 70123 | 70996 | filename="glib/gstdio.c" | |
| 70124 | - | line="1666">A wrapper for the POSIX `fsync()` function. On Windows, `_commit()` will be | |
| 70997 | + | line="1687">A wrapper for the POSIX `fsync()` function. On Windows, `_commit()` will be | |
| 70125 | 70998 | used. On macOS, `fcntl(F_FULLFSYNC)` will be used. | |
| 70126 | 70999 | The `fsync()` function is used to synchronize a file's in-core | |
| 70127 | 71000 | state with that of the disk. | |
| @@ -70133,7 +71006,7 @@ See the C library manual for more details about fsync().</doc> | |||
| 70133 | 71006 | <return-value transfer-ownership="none"> | |
| 70134 | 71007 | <doc xml:space="preserve" | |
| 70135 | 71008 | filename="glib/gstdio.c" | |
| 70136 | - | line="1679">0 on success, or -1 if an error occurred. | |
| 71009 | + | line="1700">0 on success, or -1 if an error occurred. | |
| 70137 | 71010 | The return value can be used exactly like the return value from fsync().</doc> | |
| 70138 | 71011 | <type name="gint" c:type="gint"/> | |
| 70139 | 71012 | </return-value> | |
| @@ -70141,7 +71014,7 @@ The return value can be used exactly like the return value from fsync().</doc> | |||
| 70141 | 71014 | <parameter name="fd" transfer-ownership="none"> | |
| 70142 | 71015 | <doc xml:space="preserve" | |
| 70143 | 71016 | filename="glib/gstdio.c" | |
| 70144 | - | line="1668">a file descriptor</doc> | |
| 71017 | + | line="1689">a file descriptor</doc> | |
| 70145 | 71018 | <type name="gint" c:type="gint"/> | |
| 70146 | 71019 | </parameter> | |
| 70147 | 71020 | </parameters> | |
| @@ -70170,7 +71043,7 @@ been called).</doc> | |||
| 70170 | 71043 | <function name="get_charset" c:identifier="g_get_charset"> | |
| 70171 | 71044 | <doc xml:space="preserve" | |
| 70172 | 71045 | filename="glib/gcharset.c" | |
| 70173 | - | line="174">Obtains the character set for the [current locale](running.html#locale); | |
| 71046 | + | line="175">Obtains the character set for the [current locale](running.html#locale); | |
| 70174 | 71047 | you might use this character set as an argument to g_convert(), to convert | |
| 70175 | 71048 | from the current locale's encoding to some other encoding. (Frequently | |
| 70176 | 71049 | g_locale_to_utf8() and g_locale_from_utf8() are nice shortcuts, though.) | |
| @@ -70195,7 +71068,7 @@ freed.</doc> | |||
| 70195 | 71068 | <return-value transfer-ownership="none"> | |
| 70196 | 71069 | <doc xml:space="preserve" | |
| 70197 | 71070 | filename="glib/gcharset.c" | |
| 70198 | - | line="201">%TRUE if the returned charset is UTF-8</doc> | |
| 71071 | + | line="202">%TRUE if the returned charset is UTF-8</doc> | |
| 70199 | 71072 | <type name="gboolean" c:type="gboolean"/> | |
| 70200 | 71073 | </return-value> | |
| 70201 | 71074 | <parameters> | |
| @@ -70207,7 +71080,7 @@ freed.</doc> | |||
| 70207 | 71080 | allow-none="1"> | |
| 70208 | 71081 | <doc xml:space="preserve" | |
| 70209 | 71082 | filename="glib/gcharset.c" | |
| 70210 | - | line="176">return location for character set | |
| 71083 | + | line="177">return location for character set | |
| 70211 | 71084 | name, or %NULL.</doc> | |
| 70212 | 71085 | <type name="utf8" c:type="const char**"/> | |
| 70213 | 71086 | </parameter> | |
| @@ -70216,12 +71089,12 @@ freed.</doc> | |||
| 70216 | 71089 | <function name="get_codeset" c:identifier="g_get_codeset"> | |
| 70217 | 71090 | <doc xml:space="preserve" | |
| 70218 | 71091 | filename="glib/gcharset.c" | |
| 70219 | - | line="315">Gets the character set for the current locale.</doc> | |
| 71092 | + | line="316">Gets the character set for the current locale.</doc> | |
| 70220 | 71093 | <source-position filename="glib/gcharset.h" line="35"/> | |
| 70221 | 71094 | <return-value transfer-ownership="full"> | |
| 70222 | 71095 | <doc xml:space="preserve" | |
| 70223 | 71096 | filename="glib/gcharset.c" | |
| 70224 | - | line="320">a newly allocated string containing the name | |
| 71097 | + | line="321">a newly allocated string containing the name | |
| 70225 | 71098 | of the character set. This string must be freed with g_free().</doc> | |
| 70226 | 71099 | <type name="utf8" c:type="gchar*"/> | |
| 70227 | 71100 | </return-value> | |
| @@ -70231,7 +71104,7 @@ freed.</doc> | |||
| 70231 | 71104 | version="2.62"> | |
| 70232 | 71105 | <doc xml:space="preserve" | |
| 70233 | 71106 | filename="glib/gcharset.c" | |
| 70234 | - | line="333">Obtains the character set used by the console attached to the process, | |
| 71107 | + | line="334">Obtains the character set used by the console attached to the process, | |
| 70235 | 71108 | which is suitable for printing output to the terminal. | |
| 70236 | 71109 | ||
| 70237 | 71110 | Usually this matches the result returned by g_get_charset(), but in | |
| @@ -70252,7 +71125,7 @@ freed.</doc> | |||
| 70252 | 71125 | <return-value transfer-ownership="none"> | |
| 70253 | 71126 | <doc xml:space="preserve" | |
| 70254 | 71127 | filename="glib/gcharset.c" | |
| 70255 | - | line="356">%TRUE if the returned charset is UTF-8</doc> | |
| 71128 | + | line="357">%TRUE if the returned charset is UTF-8</doc> | |
| 70256 | 71129 | <type name="gboolean" c:type="gboolean"/> | |
| 70257 | 71130 | </return-value> | |
| 70258 | 71131 | <parameters> | |
| @@ -70264,7 +71137,7 @@ freed.</doc> | |||
| 70264 | 71137 | allow-none="1"> | |
| 70265 | 71138 | <doc xml:space="preserve" | |
| 70266 | 71139 | filename="glib/gcharset.c" | |
| 70267 | - | line="335">return location for character set | |
| 71140 | + | line="336">return location for character set | |
| 70268 | 71141 | name, or %NULL.</doc> | |
| 70269 | 71142 | <type name="utf8" c:type="const char**"/> | |
| 70270 | 71143 | </parameter> | |
| @@ -70273,7 +71146,7 @@ freed.</doc> | |||
| 70273 | 71146 | <function name="get_current_dir" c:identifier="g_get_current_dir"> | |
| 70274 | 71147 | <doc xml:space="preserve" | |
| 70275 | 71148 | filename="glib/gfileutils.c" | |
| 70276 | - | line="2922">Gets the current directory. | |
| 71149 | + | line="2943">Gets the current directory. | |
| 70277 | 71150 | ||
| 70278 | 71151 | The returned string should be freed when no longer needed. | |
| 70279 | 71152 | The encoding of the returned string is system defined. | |
| @@ -70287,7 +71160,7 @@ the current directory is the target of a symbolic link.</doc> | |||
| 70287 | 71160 | <return-value transfer-ownership="full"> | |
| 70288 | 71161 | <doc xml:space="preserve" | |
| 70289 | 71162 | filename="glib/gfileutils.c" | |
| 70290 | - | line="2936">the current directory</doc> | |
| 71163 | + | line="2957">the current directory</doc> | |
| 70291 | 71164 | <type name="filename" c:type="gchar*"/> | |
| 70292 | 71165 | </return-value> | |
| 70293 | 71166 | </function> | |
| @@ -70297,12 +71170,15 @@ the current directory is the target of a symbolic link.</doc> | |||
| 70297 | 71170 | deprecated-version="2.62"> | |
| 70298 | 71171 | <doc xml:space="preserve" | |
| 70299 | 71172 | filename="glib/gmain.c" | |
| 70300 | - | line="2835">Equivalent to the UNIX gettimeofday() function, but portable. | |
| 71173 | + | line="2998">Queries the system wall-clock time. | |
| 71174 | + | ||
| 71175 | + | This is equivalent to the UNIX [`gettimeofday()`](man:gettimeofday(2)) | |
| 71176 | + | function, but portable. | |
| 70301 | 71177 | ||
| 70302 | 71178 | You may find [func@GLib.get_real_time] to be more convenient.</doc> | |
| 70303 | - | <doc-deprecated xml:space="preserve">#GTimeVal is not year-2038-safe. Use | |
| 71179 | + | <doc-deprecated xml:space="preserve">[struct@GLib.TimeVal] is not year-2038-safe. Use | |
| 70304 | 71180 | [func@GLib.get_real_time] instead.</doc-deprecated> | |
| 70305 | - | <source-position filename="glib/gmain.h" line="825"/> | |
| 71181 | + | <source-position filename="glib/gmain.h" line="828"/> | |
| 70306 | 71182 | <return-value transfer-ownership="none"> | |
| 70307 | 71183 | <type name="none" c:type="void"/> | |
| 70308 | 71184 | </return-value> | |
| @@ -70310,7 +71186,7 @@ You may find [func@GLib.get_real_time] to be more convenient.</doc> | |||
| 70310 | 71186 | <parameter name="result" transfer-ownership="none"> | |
| 70311 | 71187 | <doc xml:space="preserve" | |
| 70312 | 71188 | filename="glib/gmain.c" | |
| 70313 | - | line="2837">#GTimeVal structure in which to store current time.</doc> | |
| 71189 | + | line="3000">[struct@GLib.TimeVal] structure in which to store current time</doc> | |
| 70314 | 71190 | <type name="TimeVal" c:type="GTimeVal*"/> | |
| 70315 | 71191 | </parameter> | |
| 70316 | 71192 | </parameters> | |
| @@ -70453,7 +71329,7 @@ The encoding of the returned string is UTF-8.</doc> | |||
| 70453 | 71329 | version="2.6"> | |
| 70454 | 71330 | <doc xml:space="preserve" | |
| 70455 | 71331 | filename="glib/gcharset.c" | |
| 70456 | - | line="751">Computes a list of applicable locale names, which can be used to | |
| 71332 | + | line="752">Computes a list of applicable locale names, which can be used to | |
| 70457 | 71333 | e.g. construct locale-dependent filenames or search paths. The returned | |
| 70458 | 71334 | list is sorted from most desirable to least desirable and always contains | |
| 70459 | 71335 | the default locale "C". | |
| @@ -70468,7 +71344,7 @@ user.</doc> | |||
| 70468 | 71344 | <return-value transfer-ownership="none"> | |
| 70469 | 71345 | <doc xml:space="preserve" | |
| 70470 | 71346 | filename="glib/gcharset.c" | |
| 70471 | - | line="766">a %NULL-terminated array of strings owned by GLib | |
| 71347 | + | line="767">a %NULL-terminated array of strings owned by GLib | |
| 70472 | 71348 | that must not be modified or freed.</doc> | |
| 70473 | 71349 | <array c:type="const gchar* const*"> | |
| 70474 | 71350 | <type name="utf8"/> | |
| @@ -70480,7 +71356,7 @@ user.</doc> | |||
| 70480 | 71356 | version="2.58"> | |
| 70481 | 71357 | <doc xml:space="preserve" | |
| 70482 | 71358 | filename="glib/gcharset.c" | |
| 70483 | - | line="777">Computes a list of applicable locale names with a locale category name, | |
| 71359 | + | line="778">Computes a list of applicable locale names with a locale category name, | |
| 70484 | 71360 | which can be used to construct the fallback locale-dependent filenames | |
| 70485 | 71361 | or search paths. The returned list is sorted from most desirable to | |
| 70486 | 71362 | least desirable and always contains the default locale "C". | |
| @@ -70494,7 +71370,7 @@ g_get_language_names() returns g_get_language_names_with_category("LC_MESSAGES") | |||
| 70494 | 71370 | <return-value transfer-ownership="none"> | |
| 70495 | 71371 | <doc xml:space="preserve" | |
| 70496 | 71372 | filename="glib/gcharset.c" | |
| 70497 | - | line="792">a %NULL-terminated array of strings owned by | |
| 71373 | + | line="793">a %NULL-terminated array of strings owned by | |
| 70498 | 71374 | the thread g_get_language_names_with_category was called from. | |
| 70499 | 71375 | It must not be modified or freed. It must be copied if planned to be used in another thread.</doc> | |
| 70500 | 71376 | <array c:type="const gchar* const*"> | |
| @@ -70505,7 +71381,7 @@ g_get_language_names() returns g_get_language_names_with_category("LC_MESSAGES") | |||
| 70505 | 71381 | <parameter name="category_name" transfer-ownership="none"> | |
| 70506 | 71382 | <doc xml:space="preserve" | |
| 70507 | 71383 | filename="glib/gcharset.c" | |
| 70508 | - | line="779">a locale category name</doc> | |
| 71384 | + | line="780">a locale category name</doc> | |
| 70509 | 71385 | <type name="utf8" c:type="const gchar*"/> | |
| 70510 | 71386 | </parameter> | |
| 70511 | 71387 | </parameters> | |
| @@ -70515,7 +71391,7 @@ g_get_language_names() returns g_get_language_names_with_category("LC_MESSAGES") | |||
| 70515 | 71391 | version="2.28"> | |
| 70516 | 71392 | <doc xml:space="preserve" | |
| 70517 | 71393 | filename="glib/gcharset.c" | |
| 70518 | - | line="644">Returns a list of derived variants of @locale, which can be used to | |
| 71394 | + | line="645">Returns a list of derived variants of @locale, which can be used to | |
| 70519 | 71395 | e.g. construct locale-dependent filenames or search paths. The returned | |
| 70520 | 71396 | list is sorted from most desirable to least desirable. | |
| 70521 | 71397 | This function handles territory, charset and extra locale modifiers. See | |
| @@ -70534,7 +71410,7 @@ use g_get_language_names().</doc> | |||
| 70534 | 71410 | <return-value transfer-ownership="full"> | |
| 70535 | 71411 | <doc xml:space="preserve" | |
| 70536 | 71412 | filename="glib/gcharset.c" | |
| 70537 | - | line="664">a newly | |
| 71413 | + | line="665">a newly | |
| 70538 | 71414 | allocated array of newly allocated strings with the locale variants. Free with | |
| 70539 | 71415 | g_strfreev().</doc> | |
| 70540 | 71416 | <array c:type="gchar**"> | |
| @@ -70545,7 +71421,7 @@ use g_get_language_names().</doc> | |||
| 70545 | 71421 | <parameter name="locale" transfer-ownership="none"> | |
| 70546 | 71422 | <doc xml:space="preserve" | |
| 70547 | 71423 | filename="glib/gcharset.c" | |
| 70548 | - | line="646">a locale identifier</doc> | |
| 71424 | + | line="647">a locale identifier</doc> | |
| 70549 | 71425 | <type name="utf8" c:type="const gchar*"/> | |
| 70550 | 71426 | </parameter> | |
| 70551 | 71427 | </parameters> | |
| @@ -70555,21 +71431,22 @@ use g_get_language_names().</doc> | |||
| 70555 | 71431 | version="2.28"> | |
| 70556 | 71432 | <doc xml:space="preserve" | |
| 70557 | 71433 | filename="glib/gmain.c" | |
| 70558 | - | line="2906">Queries the system monotonic time. | |
| 71434 | + | line="3071">Queries the system monotonic time. | |
| 70559 | 71435 | ||
| 70560 | - | The monotonic clock will always increase and doesn't suffer | |
| 71436 | + | The monotonic clock will always increase and doesn’t suffer | |
| 70561 | 71437 | discontinuities when the user (or NTP) changes the system time. It | |
| 70562 | 71438 | may or may not continue to tick during times where the machine is | |
| 70563 | 71439 | suspended. | |
| 70564 | 71440 | ||
| 70565 | 71441 | We try to use the clock that corresponds as closely as possible to | |
| 70566 | - | the passage of time as measured by system calls such as poll() but it | |
| 71442 | + | the passage of time as measured by system calls such as | |
| 71443 | + | [`poll()`](man:poll(2)) but it | |
| 70567 | 71444 | may not always be possible to do this.</doc> | |
| 70568 | - | <source-position filename="glib/gmain.h" line="829"/> | |
| 71445 | + | <source-position filename="glib/gmain.h" line="832"/> | |
| 70569 | 71446 | <return-value transfer-ownership="none"> | |
| 70570 | 71447 | <doc xml:space="preserve" | |
| 70571 | 71448 | filename="glib/gmain.c" | |
| 70572 | - | line="2920">the monotonic time, in microseconds</doc> | |
| 71449 | + | line="3086">the monotonic time, in microseconds</doc> | |
| 70573 | 71450 | <type name="gint64" c:type="gint64"/> | |
| 70574 | 71451 | </return-value> | |
| 70575 | 71452 | </function> | |
| @@ -70593,7 +71470,7 @@ similar cases.</doc> | |||
| 70593 | 71470 | <function name="get_os_info" c:identifier="g_get_os_info" version="2.64"> | |
| 70594 | 71471 | <doc xml:space="preserve" | |
| 70595 | 71472 | filename="glib/gutils.c" | |
| 70596 | - | line="1659">Get information about the operating system. | |
| 71473 | + | line="1661">Get information about the operating system. | |
| 70597 | 71474 | ||
| 70598 | 71475 | On Linux this comes from the `/etc/os-release` file. On other systems, it may | |
| 70599 | 71476 | come from a variety of sources. You can either use the standard key names | |
| @@ -70605,7 +71482,7 @@ check if the result is %NULL.</doc> | |||
| 70605 | 71482 | <return-value transfer-ownership="full" nullable="1"> | |
| 70606 | 71483 | <doc xml:space="preserve" | |
| 70607 | 71484 | filename="glib/gutils.c" | |
| 70608 | - | line="1672">The associated value for the requested key or %NULL if | |
| 71485 | + | line="1674">The associated value for the requested key or %NULL if | |
| 70609 | 71486 | this information is not provided.</doc> | |
| 70610 | 71487 | <type name="utf8" c:type="gchar*"/> | |
| 70611 | 71488 | </return-value> | |
| @@ -70613,7 +71490,7 @@ check if the result is %NULL.</doc> | |||
| 70613 | 71490 | <parameter name="key_name" transfer-ownership="none"> | |
| 70614 | 71491 | <doc xml:space="preserve" | |
| 70615 | 71492 | filename="glib/gutils.c" | |
| 70616 | - | line="1661">a key for the OS info being requested, for example %G_OS_INFO_KEY_NAME.</doc> | |
| 71493 | + | line="1663">a key for the OS info being requested, for example %G_OS_INFO_KEY_NAME.</doc> | |
| 70617 | 71494 | <type name="utf8" c:type="const gchar*"/> | |
| 70618 | 71495 | </parameter> | |
| 70619 | 71496 | </parameters> | |
| @@ -70660,20 +71537,20 @@ returned.</doc> | |||
| 70660 | 71537 | version="2.28"> | |
| 70661 | 71538 | <doc xml:space="preserve" | |
| 70662 | 71539 | filename="glib/gmain.c" | |
| 70663 | - | line="2861">Queries the system wall-clock time. | |
| 71540 | + | line="3027">Queries the system wall-clock time. | |
| 70664 | 71541 | ||
| 70665 | - | This call is functionally equivalent to [func@GLib.get_current_time] except | |
| 70666 | - | that the return value is often more convenient than dealing with a | |
| 70667 | - | #GTimeVal. | |
| 71542 | + | This is equivalent to the UNIX [`gettimeofday()`](man:gettimeofday(2)) | |
| 71543 | + | function, but portable. | |
| 70668 | 71544 | ||
| 70669 | 71545 | You should only use this call if you are actually interested in the real | |
| 70670 | 71546 | wall-clock time. [func@GLib.get_monotonic_time] is probably more useful for | |
| 70671 | 71547 | measuring intervals.</doc> | |
| 70672 | - | <source-position filename="glib/gmain.h" line="831"/> | |
| 71548 | + | <source-position filename="glib/gmain.h" line="834"/> | |
| 70673 | 71549 | <return-value transfer-ownership="none"> | |
| 70674 | 71550 | <doc xml:space="preserve" | |
| 70675 | 71551 | filename="glib/gmain.c" | |
| 70676 | - | line="2874">the number of microseconds since January 1, 1970 UTC.</doc> | |
| 71552 | + | line="3039">the number of microseconds since | |
| 71553 | + | [January 1, 1970 UTC](https://en.wikipedia.org/wiki/Unix_time)</doc> | |
| 70677 | 71554 | <type name="gint64" c:type="gint64"/> | |
| 70678 | 71555 | </return-value> | |
| 70679 | 71556 | </function> | |
| @@ -70682,7 +71559,7 @@ measuring intervals.</doc> | |||
| 70682 | 71559 | version="2.6"> | |
| 70683 | 71560 | <doc xml:space="preserve" | |
| 70684 | 71561 | filename="glib/gutils.c" | |
| 70685 | - | line="2809">Returns an ordered list of base directories in which to access | |
| 71562 | + | line="2811">Returns an ordered list of base directories in which to access | |
| 70686 | 71563 | system-wide configuration information. | |
| 70687 | 71564 | ||
| 70688 | 71565 | On UNIX platforms this is determined using the mechanisms described | |
| @@ -70706,7 +71583,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70706 | 71583 | <return-value transfer-ownership="none"> | |
| 70707 | 71584 | <doc xml:space="preserve" | |
| 70708 | 71585 | filename="glib/gutils.c" | |
| 70709 | - | line="2833"> | |
| 71586 | + | line="2835"> | |
| 70710 | 71587 | a %NULL-terminated array of strings owned by GLib that must not be | |
| 70711 | 71588 | modified or freed.</doc> | |
| 70712 | 71589 | <array c:type="const gchar* const*"> | |
| @@ -70719,7 +71596,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70719 | 71596 | version="2.6"> | |
| 70720 | 71597 | <doc xml:space="preserve" | |
| 70721 | 71598 | filename="glib/gutils.c" | |
| 70722 | - | line="2717">Returns an ordered list of base directories in which to access | |
| 71599 | + | line="2719">Returns an ordered list of base directories in which to access | |
| 70723 | 71600 | system-wide application data. | |
| 70724 | 71601 | ||
| 70725 | 71602 | On UNIX platforms this is determined using the mechanisms described | |
| @@ -70757,7 +71634,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70757 | 71634 | <return-value transfer-ownership="none"> | |
| 70758 | 71635 | <doc xml:space="preserve" | |
| 70759 | 71636 | filename="glib/gutils.c" | |
| 70760 | - | line="2755"> | |
| 71637 | + | line="2757"> | |
| 70761 | 71638 | a %NULL-terminated array of strings owned by GLib that must not be | |
| 70762 | 71639 | modified or freed.</doc> | |
| 70763 | 71640 | <array c:type="const gchar* const*"> | |
| @@ -70795,7 +71672,7 @@ string.</doc> | |||
| 70795 | 71672 | version="2.6"> | |
| 70796 | 71673 | <doc xml:space="preserve" | |
| 70797 | 71674 | filename="glib/gutils.c" | |
| 70798 | - | line="2018">Returns a base directory in which to store non-essential, cached | |
| 71675 | + | line="2020">Returns a base directory in which to store non-essential, cached | |
| 70799 | 71676 | data specific to particular user. | |
| 70800 | 71677 | ||
| 70801 | 71678 | On UNIX platforms this is determined using the mechanisms described | |
| @@ -70815,7 +71692,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70815 | 71692 | <return-value transfer-ownership="none"> | |
| 70816 | 71693 | <doc xml:space="preserve" | |
| 70817 | 71694 | filename="glib/gutils.c" | |
| 70818 | - | line="2038">a string owned by GLib that | |
| 71695 | + | line="2040">a string owned by GLib that | |
| 70819 | 71696 | must not be modified or freed.</doc> | |
| 70820 | 71697 | <type name="filename" c:type="const gchar*"/> | |
| 70821 | 71698 | </return-value> | |
| @@ -70825,7 +71702,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70825 | 71702 | version="2.6"> | |
| 70826 | 71703 | <doc xml:space="preserve" | |
| 70827 | 71704 | filename="glib/gutils.c" | |
| 70828 | - | line="1954">Returns a base directory in which to store user-specific application | |
| 71705 | + | line="1956">Returns a base directory in which to store user-specific application | |
| 70829 | 71706 | configuration information such as user preferences and settings. | |
| 70830 | 71707 | ||
| 70831 | 71708 | On UNIX platforms this is determined using the mechanisms described | |
| @@ -70846,7 +71723,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70846 | 71723 | <return-value transfer-ownership="none"> | |
| 70847 | 71724 | <doc xml:space="preserve" | |
| 70848 | 71725 | filename="glib/gutils.c" | |
| 70849 | - | line="1975">a string owned by GLib that | |
| 71726 | + | line="1977">a string owned by GLib that | |
| 70850 | 71727 | must not be modified or freed.</doc> | |
| 70851 | 71728 | <type name="filename" c:type="const gchar*"/> | |
| 70852 | 71729 | </return-value> | |
| @@ -70856,7 +71733,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70856 | 71733 | version="2.6"> | |
| 70857 | 71734 | <doc xml:space="preserve" | |
| 70858 | 71735 | filename="glib/gutils.c" | |
| 70859 | - | line="1889">Returns a base directory in which to access application data such | |
| 71736 | + | line="1891">Returns a base directory in which to access application data such | |
| 70860 | 71737 | as icons that is customized for a particular user. | |
| 70861 | 71738 | ||
| 70862 | 71739 | On UNIX platforms this is determined using the mechanisms described | |
| @@ -70877,7 +71754,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70877 | 71754 | <return-value transfer-ownership="none"> | |
| 70878 | 71755 | <doc xml:space="preserve" | |
| 70879 | 71756 | filename="glib/gutils.c" | |
| 70880 | - | line="1910">a string owned by GLib that must | |
| 71757 | + | line="1912">a string owned by GLib that must | |
| 70881 | 71758 | not be modified or freed.</doc> | |
| 70882 | 71759 | <type name="filename" c:type="const gchar*"/> | |
| 70883 | 71760 | </return-value> | |
| @@ -70902,7 +71779,7 @@ consistent on a machine. On Windows, it is always UTF-8.</doc> | |||
| 70902 | 71779 | version="2.28"> | |
| 70903 | 71780 | <doc xml:space="preserve" | |
| 70904 | 71781 | filename="glib/gutils.c" | |
| 70905 | - | line="2160">Returns a directory that is unique to the current user on the local | |
| 71782 | + | line="2162">Returns a directory that is unique to the current user on the local | |
| 70906 | 71783 | system. | |
| 70907 | 71784 | ||
| 70908 | 71785 | This is determined using the mechanisms described | |
| @@ -70919,7 +71796,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70919 | 71796 | <return-value transfer-ownership="none"> | |
| 70920 | 71797 | <doc xml:space="preserve" | |
| 70921 | 71798 | filename="glib/gutils.c" | |
| 70922 | - | line="2177">a string owned by GLib that must not be | |
| 71799 | + | line="2179">a string owned by GLib that must not be | |
| 70923 | 71800 | modified or freed.</doc> | |
| 70924 | 71801 | <type name="filename" c:type="const gchar*"/> | |
| 70925 | 71802 | </return-value> | |
| @@ -70929,7 +71806,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70929 | 71806 | version="2.14"> | |
| 70930 | 71807 | <doc xml:space="preserve" | |
| 70931 | 71808 | filename="glib/gutils.c" | |
| 70932 | - | line="2450">Returns the full path of a special directory using its logical id. | |
| 71809 | + | line="2452">Returns the full path of a special directory using its logical id. | |
| 70933 | 71810 | ||
| 70934 | 71811 | On UNIX this is done using the XDG special user directories. | |
| 70935 | 71812 | For compatibility with existing practise, %G_USER_DIRECTORY_DESKTOP | |
| @@ -70943,7 +71820,7 @@ will not reflect any change once the special directories are loaded.</doc> | |||
| 70943 | 71820 | <return-value transfer-ownership="none" nullable="1"> | |
| 70944 | 71821 | <doc xml:space="preserve" | |
| 70945 | 71822 | filename="glib/gutils.c" | |
| 70946 | - | line="2465">the path to the specified special | |
| 71823 | + | line="2467">the path to the specified special | |
| 70947 | 71824 | directory, or %NULL if the logical id was not found. The returned string is | |
| 70948 | 71825 | owned by GLib and should not be modified or freed.</doc> | |
| 70949 | 71826 | <type name="filename" c:type="const gchar*"/> | |
| @@ -70952,7 +71829,7 @@ will not reflect any change once the special directories are loaded.</doc> | |||
| 70952 | 71829 | <parameter name="directory" transfer-ownership="none"> | |
| 70953 | 71830 | <doc xml:space="preserve" | |
| 70954 | 71831 | filename="glib/gutils.c" | |
| 70955 | - | line="2452">the logical id of special directory</doc> | |
| 71832 | + | line="2454">the logical id of special directory</doc> | |
| 70956 | 71833 | <type name="UserDirectory" c:type="GUserDirectory"/> | |
| 70957 | 71834 | </parameter> | |
| 70958 | 71835 | </parameters> | |
| @@ -70962,7 +71839,7 @@ will not reflect any change once the special directories are loaded.</doc> | |||
| 70962 | 71839 | version="2.72"> | |
| 70963 | 71840 | <doc xml:space="preserve" | |
| 70964 | 71841 | filename="glib/gutils.c" | |
| 70965 | - | line="2081">Returns a base directory in which to store state files specific to | |
| 71842 | + | line="2083">Returns a base directory in which to store state files specific to | |
| 70966 | 71843 | particular user. | |
| 70967 | 71844 | ||
| 70968 | 71845 | On UNIX platforms this is determined using the mechanisms described | |
| @@ -70983,7 +71860,7 @@ it’s not thread-safe to modify environment variables at runtime.</doc> | |||
| 70983 | 71860 | <return-value transfer-ownership="none"> | |
| 70984 | 71861 | <doc xml:space="preserve" | |
| 70985 | 71862 | filename="glib/gutils.c" | |
| 70986 | - | line="2102">a string owned by GLib that | |
| 71863 | + | line="2104">a string owned by GLib that | |
| 70987 | 71864 | must not be modified or freed.</doc> | |
| 70988 | 71865 | <type name="filename" c:type="const gchar*"/> | |
| 70989 | 71866 | </return-value> | |
| @@ -71023,7 +71900,7 @@ references to other environment variables, they are expanded.</doc> | |||
| 71023 | 71900 | version="2.32"> | |
| 71024 | 71901 | <doc xml:space="preserve" | |
| 71025 | 71902 | filename="glib/ghash.c" | |
| 71026 | - | line="1637">This is a convenience function for using a #GHashTable as a set. It | |
| 71903 | + | line="1640">This is a convenience function for using a #GHashTable as a set. It | |
| 71027 | 71904 | is equivalent to calling g_hash_table_replace() with @key as both the | |
| 71028 | 71905 | key and the value. | |
| 71029 | 71906 | ||
| @@ -71042,14 +71919,14 @@ or not.</doc> | |||
| 71042 | 71919 | <return-value transfer-ownership="none"> | |
| 71043 | 71920 | <doc xml:space="preserve" | |
| 71044 | 71921 | filename="glib/ghash.c" | |
| 71045 | - | line="1658">%TRUE if the key did not exist yet</doc> | |
| 71922 | + | line="1661">%TRUE if the key did not exist yet</doc> | |
| 71046 | 71923 | <type name="gboolean" c:type="gboolean"/> | |
| 71047 | 71924 | </return-value> | |
| 71048 | 71925 | <parameters> | |
| 71049 | 71926 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71050 | 71927 | <doc xml:space="preserve" | |
| 71051 | 71928 | filename="glib/ghash.c" | |
| 71052 | - | line="1639">a #GHashTable</doc> | |
| 71929 | + | line="1642">a #GHashTable</doc> | |
| 71053 | 71930 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71054 | 71931 | <type name="gpointer" c:type="gpointer"/> | |
| 71055 | 71932 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71061,7 +71938,7 @@ or not.</doc> | |||
| 71061 | 71938 | allow-none="1"> | |
| 71062 | 71939 | <doc xml:space="preserve" | |
| 71063 | 71940 | filename="glib/ghash.c" | |
| 71064 | - | line="1640">a key to insert</doc> | |
| 71941 | + | line="1643">a key to insert</doc> | |
| 71065 | 71942 | <type name="gpointer" c:type="gpointer"/> | |
| 71066 | 71943 | </parameter> | |
| 71067 | 71944 | </parameters> | |
| @@ -71072,19 +71949,19 @@ or not.</doc> | |||
| 71072 | 71949 | version="2.32"> | |
| 71073 | 71950 | <doc xml:space="preserve" | |
| 71074 | 71951 | filename="glib/ghash.c" | |
| 71075 | - | line="1669">Checks if @key is in @hash_table.</doc> | |
| 71952 | + | line="1672">Checks if @key is in @hash_table.</doc> | |
| 71076 | 71953 | <source-position filename="glib/ghash.h" line="105"/> | |
| 71077 | 71954 | <return-value transfer-ownership="none"> | |
| 71078 | 71955 | <doc xml:space="preserve" | |
| 71079 | 71956 | filename="glib/ghash.c" | |
| 71080 | - | line="1676">%TRUE if @key is in @hash_table, %FALSE otherwise.</doc> | |
| 71957 | + | line="1679">%TRUE if @key is in @hash_table, %FALSE otherwise.</doc> | |
| 71081 | 71958 | <type name="gboolean" c:type="gboolean"/> | |
| 71082 | 71959 | </return-value> | |
| 71083 | 71960 | <parameters> | |
| 71084 | 71961 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71085 | 71962 | <doc xml:space="preserve" | |
| 71086 | 71963 | filename="glib/ghash.c" | |
| 71087 | - | line="1671">a #GHashTable</doc> | |
| 71964 | + | line="1674">a #GHashTable</doc> | |
| 71088 | 71965 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71089 | 71966 | <type name="gpointer" c:type="gpointer"/> | |
| 71090 | 71967 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71096,7 +71973,7 @@ or not.</doc> | |||
| 71096 | 71973 | allow-none="1"> | |
| 71097 | 71974 | <doc xml:space="preserve" | |
| 71098 | 71975 | filename="glib/ghash.c" | |
| 71099 | - | line="1672">a key to check</doc> | |
| 71976 | + | line="1675">a key to check</doc> | |
| 71100 | 71977 | <type name="gpointer" c:type="gconstpointer"/> | |
| 71101 | 71978 | </parameter> | |
| 71102 | 71979 | </parameters> | |
| @@ -71106,7 +71983,7 @@ or not.</doc> | |||
| 71106 | 71983 | moved-to="HashTable.destroy"> | |
| 71107 | 71984 | <doc xml:space="preserve" | |
| 71108 | 71985 | filename="glib/ghash.c" | |
| 71109 | - | line="1447">Destroys all keys and values in the #GHashTable and decrements its | |
| 71986 | + | line="1450">Destroys all keys and values in the #GHashTable and decrements its | |
| 71110 | 71987 | reference count by 1. If keys and/or values are dynamically allocated, | |
| 71111 | 71988 | you should either free them first or create the #GHashTable with destroy | |
| 71112 | 71989 | notifiers using g_hash_table_new_full(). In the latter case the destroy | |
| @@ -71120,7 +71997,7 @@ destruction phase.</doc> | |||
| 71120 | 71997 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71121 | 71998 | <doc xml:space="preserve" | |
| 71122 | 71999 | filename="glib/ghash.c" | |
| 71123 | - | line="1449">a #GHashTable</doc> | |
| 72000 | + | line="1452">a #GHashTable</doc> | |
| 71124 | 72001 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71125 | 72002 | <type name="gpointer" c:type="gpointer"/> | |
| 71126 | 72003 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71134,7 +72011,7 @@ destruction phase.</doc> | |||
| 71134 | 72011 | version="2.4"> | |
| 71135 | 72012 | <doc xml:space="preserve" | |
| 71136 | 72013 | filename="glib/ghash.c" | |
| 71137 | - | line="2136">Calls the given function for key/value pairs in the #GHashTable | |
| 72014 | + | line="2139">Calls the given function for key/value pairs in the #GHashTable | |
| 71138 | 72015 | until @predicate returns %TRUE. The function is passed the key | |
| 71139 | 72016 | and value of each pair, and the given @user_data parameter. The | |
| 71140 | 72017 | hash table may not be modified while iterating over it (you can't | |
| @@ -71151,7 +72028,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 71151 | 72028 | <return-value transfer-ownership="none" nullable="1"> | |
| 71152 | 72029 | <doc xml:space="preserve" | |
| 71153 | 72030 | filename="glib/ghash.c" | |
| 71154 | - | line="2156">The value of the first key/value pair is returned, | |
| 72031 | + | line="2159">The value of the first key/value pair is returned, | |
| 71155 | 72032 | for which @predicate evaluates to %TRUE. If no pair with the | |
| 71156 | 72033 | requested property is found, %NULL is returned.</doc> | |
| 71157 | 72034 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71160,7 +72037,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 71160 | 72037 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71161 | 72038 | <doc xml:space="preserve" | |
| 71162 | 72039 | filename="glib/ghash.c" | |
| 71163 | - | line="2138">a #GHashTable</doc> | |
| 72040 | + | line="2141">a #GHashTable</doc> | |
| 71164 | 72041 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71165 | 72042 | <type name="gpointer" c:type="gpointer"/> | |
| 71166 | 72043 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71172,7 +72049,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 71172 | 72049 | closure="2"> | |
| 71173 | 72050 | <doc xml:space="preserve" | |
| 71174 | 72051 | filename="glib/ghash.c" | |
| 71175 | - | line="2139">function to test the key/value pairs for a certain property</doc> | |
| 72052 | + | line="2142">function to test the key/value pairs for a certain property</doc> | |
| 71176 | 72053 | <type name="HRFunc" c:type="GHRFunc"/> | |
| 71177 | 72054 | </parameter> | |
| 71178 | 72055 | <parameter name="user_data" | |
| @@ -71181,7 +72058,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 71181 | 72058 | allow-none="1"> | |
| 71182 | 72059 | <doc xml:space="preserve" | |
| 71183 | 72060 | filename="glib/ghash.c" | |
| 71184 | - | line="2140">user data to pass to the function</doc> | |
| 72061 | + | line="2143">user data to pass to the function</doc> | |
| 71185 | 72062 | <type name="gpointer" c:type="gpointer"/> | |
| 71186 | 72063 | </parameter> | |
| 71187 | 72064 | </parameters> | |
| @@ -71191,7 +72068,7 @@ values in a hash table ends up needing O(n*n) operations).</doc> | |||
| 71191 | 72068 | moved-to="HashTable.foreach"> | |
| 71192 | 72069 | <doc xml:space="preserve" | |
| 71193 | 72070 | filename="glib/ghash.c" | |
| 71194 | - | line="2085">Calls the given function for each of the key/value pairs in the | |
| 72071 | + | line="2088">Calls the given function for each of the key/value pairs in the | |
| 71195 | 72072 | #GHashTable. The function is passed the key and value of each | |
| 71196 | 72073 | pair, and the given @user_data parameter. The hash table may not | |
| 71197 | 72074 | be modified while iterating over it (you can't add/remove | |
| @@ -71211,7 +72088,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 71211 | 72088 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71212 | 72089 | <doc xml:space="preserve" | |
| 71213 | 72090 | filename="glib/ghash.c" | |
| 71214 | - | line="2087">a #GHashTable</doc> | |
| 72091 | + | line="2090">a #GHashTable</doc> | |
| 71215 | 72092 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71216 | 72093 | <type name="gpointer" c:type="gpointer"/> | |
| 71217 | 72094 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71223,7 +72100,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 71223 | 72100 | closure="2"> | |
| 71224 | 72101 | <doc xml:space="preserve" | |
| 71225 | 72102 | filename="glib/ghash.c" | |
| 71226 | - | line="2088">the function to call for each key/value pair</doc> | |
| 72103 | + | line="2091">the function to call for each key/value pair</doc> | |
| 71227 | 72104 | <type name="HFunc" c:type="GHFunc"/> | |
| 71228 | 72105 | </parameter> | |
| 71229 | 72106 | <parameter name="user_data" | |
| @@ -71232,7 +72109,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 71232 | 72109 | allow-none="1"> | |
| 71233 | 72110 | <doc xml:space="preserve" | |
| 71234 | 72111 | filename="glib/ghash.c" | |
| 71235 | - | line="2089">user data to pass to the function</doc> | |
| 72112 | + | line="2092">user data to pass to the function</doc> | |
| 71236 | 72113 | <type name="gpointer" c:type="gpointer"/> | |
| 71237 | 72114 | </parameter> | |
| 71238 | 72115 | </parameters> | |
| @@ -71242,7 +72119,7 @@ order searches in contrast to g_hash_table_lookup().</doc> | |||
| 71242 | 72119 | moved-to="HashTable.foreach_remove"> | |
| 71243 | 72120 | <doc xml:space="preserve" | |
| 71244 | 72121 | filename="glib/ghash.c" | |
| 71245 | - | line="2030">Calls the given function for each key/value pair in the | |
| 72122 | + | line="2033">Calls the given function for each key/value pair in the | |
| 71246 | 72123 | #GHashTable. If the function returns %TRUE, then the key/value | |
| 71247 | 72124 | pair is removed from the #GHashTable. If you supplied key or | |
| 71248 | 72125 | value destroy functions when creating the #GHashTable, they are | |
| @@ -71254,14 +72131,14 @@ key/value pairs in the hash table.</doc> | |||
| 71254 | 72131 | <return-value transfer-ownership="none"> | |
| 71255 | 72132 | <doc xml:space="preserve" | |
| 71256 | 72133 | filename="glib/ghash.c" | |
| 71257 | - | line="2045">the number of key/value pairs removed</doc> | |
| 72134 | + | line="2048">the number of key/value pairs removed</doc> | |
| 71258 | 72135 | <type name="guint" c:type="guint"/> | |
| 71259 | 72136 | </return-value> | |
| 71260 | 72137 | <parameters> | |
| 71261 | 72138 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71262 | 72139 | <doc xml:space="preserve" | |
| 71263 | 72140 | filename="glib/ghash.c" | |
| 71264 | - | line="2032">a #GHashTable</doc> | |
| 72141 | + | line="2035">a #GHashTable</doc> | |
| 71265 | 72142 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71266 | 72143 | <type name="gpointer" c:type="gpointer"/> | |
| 71267 | 72144 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71273,7 +72150,7 @@ key/value pairs in the hash table.</doc> | |||
| 71273 | 72150 | closure="2"> | |
| 71274 | 72151 | <doc xml:space="preserve" | |
| 71275 | 72152 | filename="glib/ghash.c" | |
| 71276 | - | line="2033">the function to call for each key/value pair</doc> | |
| 72153 | + | line="2036">the function to call for each key/value pair</doc> | |
| 71277 | 72154 | <type name="HRFunc" c:type="GHRFunc"/> | |
| 71278 | 72155 | </parameter> | |
| 71279 | 72156 | <parameter name="user_data" | |
| @@ -71282,7 +72159,7 @@ key/value pairs in the hash table.</doc> | |||
| 71282 | 72159 | allow-none="1"> | |
| 71283 | 72160 | <doc xml:space="preserve" | |
| 71284 | 72161 | filename="glib/ghash.c" | |
| 71285 | - | line="2034">user data to pass to the function</doc> | |
| 72162 | + | line="2037">user data to pass to the function</doc> | |
| 71286 | 72163 | <type name="gpointer" c:type="gpointer"/> | |
| 71287 | 72164 | </parameter> | |
| 71288 | 72165 | </parameters> | |
| @@ -71292,7 +72169,7 @@ key/value pairs in the hash table.</doc> | |||
| 71292 | 72169 | moved-to="HashTable.foreach_steal"> | |
| 71293 | 72170 | <doc xml:space="preserve" | |
| 71294 | 72171 | filename="glib/ghash.c" | |
| 71295 | - | line="2058">Calls the given function for each key/value pair in the | |
| 72172 | + | line="2061">Calls the given function for each key/value pair in the | |
| 71296 | 72173 | #GHashTable. If the function returns %TRUE, then the key/value | |
| 71297 | 72174 | pair is removed from the #GHashTable, but no key or value | |
| 71298 | 72175 | destroy functions are called. | |
| @@ -71303,14 +72180,14 @@ key/value pairs in the hash table.</doc> | |||
| 71303 | 72180 | <return-value transfer-ownership="none"> | |
| 71304 | 72181 | <doc xml:space="preserve" | |
| 71305 | 72182 | filename="glib/ghash.c" | |
| 71306 | - | line="2072">the number of key/value pairs removed.</doc> | |
| 72183 | + | line="2075">the number of key/value pairs removed.</doc> | |
| 71307 | 72184 | <type name="guint" c:type="guint"/> | |
| 71308 | 72185 | </return-value> | |
| 71309 | 72186 | <parameters> | |
| 71310 | 72187 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71311 | 72188 | <doc xml:space="preserve" | |
| 71312 | 72189 | filename="glib/ghash.c" | |
| 71313 | - | line="2060">a #GHashTable</doc> | |
| 72190 | + | line="2063">a #GHashTable</doc> | |
| 71314 | 72191 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71315 | 72192 | <type name="gpointer" c:type="gpointer"/> | |
| 71316 | 72193 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71322,7 +72199,7 @@ key/value pairs in the hash table.</doc> | |||
| 71322 | 72199 | closure="2"> | |
| 71323 | 72200 | <doc xml:space="preserve" | |
| 71324 | 72201 | filename="glib/ghash.c" | |
| 71325 | - | line="2061">the function to call for each key/value pair</doc> | |
| 72202 | + | line="2064">the function to call for each key/value pair</doc> | |
| 71326 | 72203 | <type name="HRFunc" c:type="GHRFunc"/> | |
| 71327 | 72204 | </parameter> | |
| 71328 | 72205 | <parameter name="user_data" | |
| @@ -71331,7 +72208,7 @@ key/value pairs in the hash table.</doc> | |||
| 71331 | 72208 | allow-none="1"> | |
| 71332 | 72209 | <doc xml:space="preserve" | |
| 71333 | 72210 | filename="glib/ghash.c" | |
| 71334 | - | line="2062">user data to pass to the function</doc> | |
| 72211 | + | line="2065">user data to pass to the function</doc> | |
| 71335 | 72212 | <type name="gpointer" c:type="gpointer"/> | |
| 71336 | 72213 | </parameter> | |
| 71337 | 72214 | </parameters> | |
| @@ -71359,7 +72236,7 @@ release of GLib. It does nothing.</doc> | |||
| 71359 | 72236 | introspectable="0"> | |
| 71360 | 72237 | <doc xml:space="preserve" | |
| 71361 | 72238 | filename="glib/ghash.c" | |
| 71362 | - | line="2304">Retrieves every key inside @hash_table, as a #GPtrArray. | |
| 72239 | + | line="2307">Retrieves every key inside @hash_table, as a #GPtrArray. | |
| 71363 | 72240 | The returned data is valid until changes to the hash release those keys. | |
| 71364 | 72241 | ||
| 71365 | 72242 | This iterates over every entry in the hash table to build its return value. | |
| @@ -71371,8 +72248,8 @@ You should always unref the returned array with g_ptr_array_unref().</doc> | |||
| 71371 | 72248 | <return-value transfer-ownership="container"> | |
| 71372 | 72249 | <doc xml:space="preserve" | |
| 71373 | 72250 | filename="glib/ghash.c" | |
| 71374 | - | line="2317">a #GPtrArray containing each key from | |
| 71375 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 72251 | + | line="2320">a #GPtrArray containing each key from | |
| 72252 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 71376 | 72253 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 71377 | 72254 | <type name="gpointer" c:type="gpointer"/> | |
| 71378 | 72255 | </array> | |
| @@ -71381,7 +72258,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71381 | 72258 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71382 | 72259 | <doc xml:space="preserve" | |
| 71383 | 72260 | filename="glib/ghash.c" | |
| 71384 | - | line="2306">a #GHashTable</doc> | |
| 72261 | + | line="2309">a #GHashTable</doc> | |
| 71385 | 72262 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71386 | 72263 | <type name="gpointer" c:type="gpointer"/> | |
| 71387 | 72264 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71396,7 +72273,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71396 | 72273 | introspectable="0"> | |
| 71397 | 72274 | <doc xml:space="preserve" | |
| 71398 | 72275 | filename="glib/ghash.c" | |
| 71399 | - | line="2379">Retrieves every value inside @hash_table, as a #GPtrArray. | |
| 72276 | + | line="2382">Retrieves every value inside @hash_table, as a #GPtrArray. | |
| 71400 | 72277 | The returned data is valid until changes to the hash release those values. | |
| 71401 | 72278 | ||
| 71402 | 72279 | This iterates over every entry in the hash table to build its return value. | |
| @@ -71408,8 +72285,8 @@ You should always unref the returned array with g_ptr_array_unref().</doc> | |||
| 71408 | 72285 | <return-value transfer-ownership="container"> | |
| 71409 | 72286 | <doc xml:space="preserve" | |
| 71410 | 72287 | filename="glib/ghash.c" | |
| 71411 | - | line="2392">a #GPtrArray containing each value from | |
| 71412 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 72288 | + | line="2395">a #GPtrArray containing each value from | |
| 72289 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 71413 | 72290 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 71414 | 72291 | <type name="gpointer" c:type="gpointer"/> | |
| 71415 | 72292 | </array> | |
| @@ -71418,7 +72295,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71418 | 72295 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71419 | 72296 | <doc xml:space="preserve" | |
| 71420 | 72297 | filename="glib/ghash.c" | |
| 71421 | - | line="2381">a #GHashTable</doc> | |
| 72298 | + | line="2384">a #GHashTable</doc> | |
| 71422 | 72299 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71423 | 72300 | <type name="gpointer" c:type="gpointer"/> | |
| 71424 | 72301 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71431,7 +72308,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71431 | 72308 | moved-to="HashTable.insert"> | |
| 71432 | 72309 | <doc xml:space="preserve" | |
| 71433 | 72310 | filename="glib/ghash.c" | |
| 71434 | - | line="1580">Inserts a new key and value into a #GHashTable. | |
| 72311 | + | line="1583">Inserts a new key and value into a #GHashTable. | |
| 71435 | 72312 | ||
| 71436 | 72313 | If the key already exists in the #GHashTable its current | |
| 71437 | 72314 | value is replaced with the new value. If you supplied a | |
| @@ -71447,14 +72324,14 @@ or not.</doc> | |||
| 71447 | 72324 | <return-value transfer-ownership="none"> | |
| 71448 | 72325 | <doc xml:space="preserve" | |
| 71449 | 72326 | filename="glib/ghash.c" | |
| 71450 | - | line="1599">%TRUE if the key did not exist yet</doc> | |
| 72327 | + | line="1602">%TRUE if the key did not exist yet</doc> | |
| 71451 | 72328 | <type name="gboolean" c:type="gboolean"/> | |
| 71452 | 72329 | </return-value> | |
| 71453 | 72330 | <parameters> | |
| 71454 | 72331 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71455 | 72332 | <doc xml:space="preserve" | |
| 71456 | 72333 | filename="glib/ghash.c" | |
| 71457 | - | line="1582">a #GHashTable</doc> | |
| 72334 | + | line="1585">a #GHashTable</doc> | |
| 71458 | 72335 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71459 | 72336 | <type name="gpointer" c:type="gpointer"/> | |
| 71460 | 72337 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71466,7 +72343,7 @@ or not.</doc> | |||
| 71466 | 72343 | allow-none="1"> | |
| 71467 | 72344 | <doc xml:space="preserve" | |
| 71468 | 72345 | filename="glib/ghash.c" | |
| 71469 | - | line="1583">a key to insert</doc> | |
| 72346 | + | line="1586">a key to insert</doc> | |
| 71470 | 72347 | <type name="gpointer" c:type="gpointer"/> | |
| 71471 | 72348 | </parameter> | |
| 71472 | 72349 | <parameter name="value" | |
| @@ -71475,7 +72352,7 @@ or not.</doc> | |||
| 71475 | 72352 | allow-none="1"> | |
| 71476 | 72353 | <doc xml:space="preserve" | |
| 71477 | 72354 | filename="glib/ghash.c" | |
| 71478 | - | line="1584">the value to associate with the key</doc> | |
| 72355 | + | line="1587">the value to associate with the key</doc> | |
| 71479 | 72356 | <type name="gpointer" c:type="gpointer"/> | |
| 71480 | 72357 | </parameter> | |
| 71481 | 72358 | </parameters> | |
| @@ -71485,7 +72362,7 @@ or not.</doc> | |||
| 71485 | 72362 | moved-to="HashTable.lookup"> | |
| 71486 | 72363 | <doc xml:space="preserve" | |
| 71487 | 72364 | filename="glib/ghash.c" | |
| 71488 | - | line="1467">Looks up a key in a #GHashTable. Note that this function cannot | |
| 72365 | + | line="1470">Looks up a key in a #GHashTable. Note that this function cannot | |
| 71489 | 72366 | distinguish between a key that is not present and one which is present | |
| 71490 | 72367 | and has the value %NULL. If you need this distinction, use | |
| 71491 | 72368 | g_hash_table_lookup_extended().</doc> | |
| @@ -71493,14 +72370,14 @@ g_hash_table_lookup_extended().</doc> | |||
| 71493 | 72370 | <return-value transfer-ownership="none" nullable="1"> | |
| 71494 | 72371 | <doc xml:space="preserve" | |
| 71495 | 72372 | filename="glib/ghash.c" | |
| 71496 | - | line="1477">the associated value, or %NULL if the key is not found</doc> | |
| 72373 | + | line="1480">the associated value, or %NULL if the key is not found</doc> | |
| 71497 | 72374 | <type name="gpointer" c:type="gpointer"/> | |
| 71498 | 72375 | </return-value> | |
| 71499 | 72376 | <parameters> | |
| 71500 | 72377 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71501 | 72378 | <doc xml:space="preserve" | |
| 71502 | 72379 | filename="glib/ghash.c" | |
| 71503 | - | line="1469">a #GHashTable</doc> | |
| 72380 | + | line="1472">a #GHashTable</doc> | |
| 71504 | 72381 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71505 | 72382 | <type name="gpointer" c:type="gpointer"/> | |
| 71506 | 72383 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71512,7 +72389,7 @@ g_hash_table_lookup_extended().</doc> | |||
| 71512 | 72389 | allow-none="1"> | |
| 71513 | 72390 | <doc xml:space="preserve" | |
| 71514 | 72391 | filename="glib/ghash.c" | |
| 71515 | - | line="1470">the key to look up</doc> | |
| 72392 | + | line="1473">the key to look up</doc> | |
| 71516 | 72393 | <type name="gpointer" c:type="gconstpointer"/> | |
| 71517 | 72394 | </parameter> | |
| 71518 | 72395 | </parameters> | |
| @@ -71522,7 +72399,7 @@ g_hash_table_lookup_extended().</doc> | |||
| 71522 | 72399 | moved-to="HashTable.lookup_extended"> | |
| 71523 | 72400 | <doc xml:space="preserve" | |
| 71524 | 72401 | filename="glib/ghash.c" | |
| 71525 | - | line="1495">Looks up a key in the #GHashTable, returning the original key and the | |
| 72402 | + | line="1498">Looks up a key in the #GHashTable, returning the original key and the | |
| 71526 | 72403 | associated value and a #gboolean which is %TRUE if the key was found. This | |
| 71527 | 72404 | is useful if you need to free the memory allocated for the original key, | |
| 71528 | 72405 | for example before calling g_hash_table_remove(). | |
| @@ -71534,14 +72411,14 @@ of @hash_table are %NULL-safe.</doc> | |||
| 71534 | 72411 | <return-value transfer-ownership="none"> | |
| 71535 | 72412 | <doc xml:space="preserve" | |
| 71536 | 72413 | filename="glib/ghash.c" | |
| 71537 | - | line="1512">%TRUE if the key was found in the #GHashTable</doc> | |
| 72414 | + | line="1515">%TRUE if the key was found in the #GHashTable</doc> | |
| 71538 | 72415 | <type name="gboolean" c:type="gboolean"/> | |
| 71539 | 72416 | </return-value> | |
| 71540 | 72417 | <parameters> | |
| 71541 | 72418 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71542 | 72419 | <doc xml:space="preserve" | |
| 71543 | 72420 | filename="glib/ghash.c" | |
| 71544 | - | line="1497">a #GHashTable</doc> | |
| 72421 | + | line="1500">a #GHashTable</doc> | |
| 71545 | 72422 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71546 | 72423 | <type name="gpointer" c:type="gpointer"/> | |
| 71547 | 72424 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71553,7 +72430,7 @@ of @hash_table are %NULL-safe.</doc> | |||
| 71553 | 72430 | allow-none="1"> | |
| 71554 | 72431 | <doc xml:space="preserve" | |
| 71555 | 72432 | filename="glib/ghash.c" | |
| 71556 | - | line="1498">the key to look up</doc> | |
| 72433 | + | line="1501">the key to look up</doc> | |
| 71557 | 72434 | <type name="gpointer" c:type="gconstpointer"/> | |
| 71558 | 72435 | </parameter> | |
| 71559 | 72436 | <parameter name="orig_key" | |
| @@ -71565,7 +72442,7 @@ of @hash_table are %NULL-safe.</doc> | |||
| 71565 | 72442 | allow-none="1"> | |
| 71566 | 72443 | <doc xml:space="preserve" | |
| 71567 | 72444 | filename="glib/ghash.c" | |
| 71568 | - | line="1499">return location for the original key</doc> | |
| 72445 | + | line="1502">return location for the original key</doc> | |
| 71569 | 72446 | <type name="gpointer" c:type="gpointer*"/> | |
| 71570 | 72447 | </parameter> | |
| 71571 | 72448 | <parameter name="value" | |
| @@ -71577,7 +72454,7 @@ of @hash_table are %NULL-safe.</doc> | |||
| 71577 | 72454 | allow-none="1"> | |
| 71578 | 72455 | <doc xml:space="preserve" | |
| 71579 | 72456 | filename="glib/ghash.c" | |
| 71580 | - | line="1500">return location for the value associated | |
| 72457 | + | line="1503">return location for the value associated | |
| 71581 | 72458 | with the key</doc> | |
| 71582 | 72459 | <type name="gpointer" c:type="gpointer*"/> | |
| 71583 | 72460 | </parameter> | |
| @@ -71589,7 +72466,7 @@ with the key</doc> | |||
| 71589 | 72466 | version="2.72"> | |
| 71590 | 72467 | <doc xml:space="preserve" | |
| 71591 | 72468 | filename="glib/ghash.c" | |
| 71592 | - | line="1038">Creates a new #GHashTable like g_hash_table_new_full() with a reference | |
| 72469 | + | line="1041">Creates a new #GHashTable like g_hash_table_new_full() with a reference | |
| 71593 | 72470 | count of 1. | |
| 71594 | 72471 | ||
| 71595 | 72472 | It inherits the hash function, the key equal function, the key destroy function, | |
| @@ -71601,7 +72478,7 @@ or values from @other_hash_table.</doc> | |||
| 71601 | 72478 | <return-value transfer-ownership="full"> | |
| 71602 | 72479 | <doc xml:space="preserve" | |
| 71603 | 72480 | filename="glib/ghash.c" | |
| 71604 | - | line="1051">a new #GHashTable</doc> | |
| 72481 | + | line="1054">a new #GHashTable</doc> | |
| 71605 | 72482 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71606 | 72483 | <type name="gpointer" c:type="gpointer"/> | |
| 71607 | 72484 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71611,7 +72488,7 @@ or values from @other_hash_table.</doc> | |||
| 71611 | 72488 | <parameter name="other_hash_table" transfer-ownership="none"> | |
| 71612 | 72489 | <doc xml:space="preserve" | |
| 71613 | 72490 | filename="glib/ghash.c" | |
| 71614 | - | line="1040">Another #GHashTable</doc> | |
| 72491 | + | line="1043">Another #GHashTable</doc> | |
| 71615 | 72492 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71616 | 72493 | <type name="gpointer" c:type="gpointer"/> | |
| 71617 | 72494 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71625,13 +72502,13 @@ or values from @other_hash_table.</doc> | |||
| 71625 | 72502 | version="2.10"> | |
| 71626 | 72503 | <doc xml:space="preserve" | |
| 71627 | 72504 | filename="glib/ghash.c" | |
| 71628 | - | line="1399">Atomically increments the reference count of @hash_table by one. | |
| 72505 | + | line="1402">Atomically increments the reference count of @hash_table by one. | |
| 71629 | 72506 | This function is MT-safe and may be called from any thread.</doc> | |
| 71630 | 72507 | <source-position filename="glib/ghash.h" line="161"/> | |
| 71631 | 72508 | <return-value transfer-ownership="full"> | |
| 71632 | 72509 | <doc xml:space="preserve" | |
| 71633 | 72510 | filename="glib/ghash.c" | |
| 71634 | - | line="1406">the passed in #GHashTable</doc> | |
| 72511 | + | line="1409">the passed in #GHashTable</doc> | |
| 71635 | 72512 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71636 | 72513 | <type name="gpointer" c:type="gpointer"/> | |
| 71637 | 72514 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71641,7 +72518,7 @@ This function is MT-safe and may be called from any thread.</doc> | |||
| 71641 | 72518 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71642 | 72519 | <doc xml:space="preserve" | |
| 71643 | 72520 | filename="glib/ghash.c" | |
| 71644 | - | line="1401">a valid #GHashTable</doc> | |
| 72521 | + | line="1404">a valid #GHashTable</doc> | |
| 71645 | 72522 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71646 | 72523 | <type name="gpointer" c:type="gpointer"/> | |
| 71647 | 72524 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71654,7 +72531,7 @@ This function is MT-safe and may be called from any thread.</doc> | |||
| 71654 | 72531 | moved-to="HashTable.remove"> | |
| 71655 | 72532 | <doc xml:space="preserve" | |
| 71656 | 72533 | filename="glib/ghash.c" | |
| 71657 | - | line="1732">Removes a key and its associated value from a #GHashTable. | |
| 72534 | + | line="1735">Removes a key and its associated value from a #GHashTable. | |
| 71658 | 72535 | ||
| 71659 | 72536 | If the #GHashTable was created using g_hash_table_new_full(), the | |
| 71660 | 72537 | key and value are freed using the supplied destroy functions, otherwise | |
| @@ -71664,14 +72541,14 @@ yourself.</doc> | |||
| 71664 | 72541 | <return-value transfer-ownership="none"> | |
| 71665 | 72542 | <doc xml:space="preserve" | |
| 71666 | 72543 | filename="glib/ghash.c" | |
| 71667 | - | line="1744">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 72544 | + | line="1747">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 71668 | 72545 | <type name="gboolean" c:type="gboolean"/> | |
| 71669 | 72546 | </return-value> | |
| 71670 | 72547 | <parameters> | |
| 71671 | 72548 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71672 | 72549 | <doc xml:space="preserve" | |
| 71673 | 72550 | filename="glib/ghash.c" | |
| 71674 | - | line="1734">a #GHashTable</doc> | |
| 72551 | + | line="1737">a #GHashTable</doc> | |
| 71675 | 72552 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71676 | 72553 | <type name="gpointer" c:type="gpointer"/> | |
| 71677 | 72554 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71683,7 +72560,7 @@ yourself.</doc> | |||
| 71683 | 72560 | allow-none="1"> | |
| 71684 | 72561 | <doc xml:space="preserve" | |
| 71685 | 72562 | filename="glib/ghash.c" | |
| 71686 | - | line="1735">the key to remove</doc> | |
| 72563 | + | line="1738">the key to remove</doc> | |
| 71687 | 72564 | <type name="gpointer" c:type="gconstpointer"/> | |
| 71688 | 72565 | </parameter> | |
| 71689 | 72566 | </parameters> | |
| @@ -71694,7 +72571,7 @@ yourself.</doc> | |||
| 71694 | 72571 | version="2.12"> | |
| 71695 | 72572 | <doc xml:space="preserve" | |
| 71696 | 72573 | filename="glib/ghash.c" | |
| 71697 | - | line="1849">Removes all keys and their associated values from a #GHashTable. | |
| 72574 | + | line="1852">Removes all keys and their associated values from a #GHashTable. | |
| 71698 | 72575 | ||
| 71699 | 72576 | If the #GHashTable was created using g_hash_table_new_full(), | |
| 71700 | 72577 | the keys and values are freed using the supplied destroy functions, | |
| @@ -71708,7 +72585,7 @@ values are freed yourself.</doc> | |||
| 71708 | 72585 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71709 | 72586 | <doc xml:space="preserve" | |
| 71710 | 72587 | filename="glib/ghash.c" | |
| 71711 | - | line="1851">a #GHashTable</doc> | |
| 72588 | + | line="1854">a #GHashTable</doc> | |
| 71712 | 72589 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71713 | 72590 | <type name="gpointer" c:type="gpointer"/> | |
| 71714 | 72591 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71721,7 +72598,7 @@ values are freed yourself.</doc> | |||
| 71721 | 72598 | moved-to="HashTable.replace"> | |
| 71722 | 72599 | <doc xml:space="preserve" | |
| 71723 | 72600 | filename="glib/ghash.c" | |
| 71724 | - | line="1609">Inserts a new key and value into a #GHashTable similar to | |
| 72601 | + | line="1612">Inserts a new key and value into a #GHashTable similar to | |
| 71725 | 72602 | g_hash_table_insert(). The difference is that if the key | |
| 71726 | 72603 | already exists in the #GHashTable, it gets replaced by the | |
| 71727 | 72604 | new key. If you supplied a @value_destroy_func when creating | |
| @@ -71736,14 +72613,14 @@ or not.</doc> | |||
| 71736 | 72613 | <return-value transfer-ownership="none"> | |
| 71737 | 72614 | <doc xml:space="preserve" | |
| 71738 | 72615 | filename="glib/ghash.c" | |
| 71739 | - | line="1627">%TRUE if the key did not exist yet</doc> | |
| 72616 | + | line="1630">%TRUE if the key did not exist yet</doc> | |
| 71740 | 72617 | <type name="gboolean" c:type="gboolean"/> | |
| 71741 | 72618 | </return-value> | |
| 71742 | 72619 | <parameters> | |
| 71743 | 72620 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71744 | 72621 | <doc xml:space="preserve" | |
| 71745 | 72622 | filename="glib/ghash.c" | |
| 71746 | - | line="1611">a #GHashTable</doc> | |
| 72623 | + | line="1614">a #GHashTable</doc> | |
| 71747 | 72624 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71748 | 72625 | <type name="gpointer" c:type="gpointer"/> | |
| 71749 | 72626 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71755,7 +72632,7 @@ or not.</doc> | |||
| 71755 | 72632 | allow-none="1"> | |
| 71756 | 72633 | <doc xml:space="preserve" | |
| 71757 | 72634 | filename="glib/ghash.c" | |
| 71758 | - | line="1612">a key to insert</doc> | |
| 72635 | + | line="1615">a key to insert</doc> | |
| 71759 | 72636 | <type name="gpointer" c:type="gpointer"/> | |
| 71760 | 72637 | </parameter> | |
| 71761 | 72638 | <parameter name="value" | |
| @@ -71764,7 +72641,7 @@ or not.</doc> | |||
| 71764 | 72641 | allow-none="1"> | |
| 71765 | 72642 | <doc xml:space="preserve" | |
| 71766 | 72643 | filename="glib/ghash.c" | |
| 71767 | - | line="1613">the value to associate with the key</doc> | |
| 72644 | + | line="1616">the value to associate with the key</doc> | |
| 71768 | 72645 | <type name="gpointer" c:type="gpointer"/> | |
| 71769 | 72646 | </parameter> | |
| 71770 | 72647 | </parameters> | |
| @@ -71774,19 +72651,19 @@ or not.</doc> | |||
| 71774 | 72651 | moved-to="HashTable.size"> | |
| 71775 | 72652 | <doc xml:space="preserve" | |
| 71776 | 72653 | filename="glib/ghash.c" | |
| 71777 | - | line="2202">Returns the number of elements contained in the #GHashTable.</doc> | |
| 72654 | + | line="2205">Returns the number of elements contained in the #GHashTable.</doc> | |
| 71778 | 72655 | <source-position filename="glib/ghash.h" line="129"/> | |
| 71779 | 72656 | <return-value transfer-ownership="none"> | |
| 71780 | 72657 | <doc xml:space="preserve" | |
| 71781 | 72658 | filename="glib/ghash.c" | |
| 71782 | - | line="2208">the number of key/value pairs in the #GHashTable.</doc> | |
| 72659 | + | line="2211">the number of key/value pairs in the #GHashTable.</doc> | |
| 71783 | 72660 | <type name="guint" c:type="guint"/> | |
| 71784 | 72661 | </return-value> | |
| 71785 | 72662 | <parameters> | |
| 71786 | 72663 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71787 | 72664 | <doc xml:space="preserve" | |
| 71788 | 72665 | filename="glib/ghash.c" | |
| 71789 | - | line="2204">a #GHashTable</doc> | |
| 72666 | + | line="2207">a #GHashTable</doc> | |
| 71790 | 72667 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71791 | 72668 | <type name="gpointer" c:type="gpointer"/> | |
| 71792 | 72669 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71799,20 +72676,20 @@ or not.</doc> | |||
| 71799 | 72676 | moved-to="HashTable.steal"> | |
| 71800 | 72677 | <doc xml:space="preserve" | |
| 71801 | 72678 | filename="glib/ghash.c" | |
| 71802 | - | line="1753">Removes a key and its associated value from a #GHashTable without | |
| 72679 | + | line="1756">Removes a key and its associated value from a #GHashTable without | |
| 71803 | 72680 | calling the key and value destroy functions.</doc> | |
| 71804 | 72681 | <source-position filename="glib/ghash.h" line="88"/> | |
| 71805 | 72682 | <return-value transfer-ownership="none"> | |
| 71806 | 72683 | <doc xml:space="preserve" | |
| 71807 | 72684 | filename="glib/ghash.c" | |
| 71808 | - | line="1761">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 72685 | + | line="1764">%TRUE if the key was found and removed from the #GHashTable</doc> | |
| 71809 | 72686 | <type name="gboolean" c:type="gboolean"/> | |
| 71810 | 72687 | </return-value> | |
| 71811 | 72688 | <parameters> | |
| 71812 | 72689 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71813 | 72690 | <doc xml:space="preserve" | |
| 71814 | 72691 | filename="glib/ghash.c" | |
| 71815 | - | line="1755">a #GHashTable</doc> | |
| 72692 | + | line="1758">a #GHashTable</doc> | |
| 71816 | 72693 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71817 | 72694 | <type name="gpointer" c:type="gpointer"/> | |
| 71818 | 72695 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71824,7 +72701,7 @@ calling the key and value destroy functions.</doc> | |||
| 71824 | 72701 | allow-none="1"> | |
| 71825 | 72702 | <doc xml:space="preserve" | |
| 71826 | 72703 | filename="glib/ghash.c" | |
| 71827 | - | line="1756">the key to remove</doc> | |
| 72704 | + | line="1759">the key to remove</doc> | |
| 71828 | 72705 | <type name="gpointer" c:type="gconstpointer"/> | |
| 71829 | 72706 | </parameter> | |
| 71830 | 72707 | </parameters> | |
| @@ -71835,7 +72712,7 @@ calling the key and value destroy functions.</doc> | |||
| 71835 | 72712 | version="2.12"> | |
| 71836 | 72713 | <doc xml:space="preserve" | |
| 71837 | 72714 | filename="glib/ghash.c" | |
| 71838 | - | line="1876">Removes all keys and their associated values from a #GHashTable | |
| 72715 | + | line="1879">Removes all keys and their associated values from a #GHashTable | |
| 71839 | 72716 | without calling the key and value destroy functions.</doc> | |
| 71840 | 72717 | <source-position filename="glib/ghash.h" line="96"/> | |
| 71841 | 72718 | <return-value transfer-ownership="none"> | |
| @@ -71845,7 +72722,7 @@ without calling the key and value destroy functions.</doc> | |||
| 71845 | 72722 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71846 | 72723 | <doc xml:space="preserve" | |
| 71847 | 72724 | filename="glib/ghash.c" | |
| 71848 | - | line="1878">a #GHashTable</doc> | |
| 72725 | + | line="1881">a #GHashTable</doc> | |
| 71849 | 72726 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71850 | 72727 | <type name="gpointer" c:type="gpointer"/> | |
| 71851 | 72728 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71860,7 +72737,7 @@ without calling the key and value destroy functions.</doc> | |||
| 71860 | 72737 | introspectable="0"> | |
| 71861 | 72738 | <doc xml:space="preserve" | |
| 71862 | 72739 | filename="glib/ghash.c" | |
| 71863 | - | line="1899">Removes all keys and their associated values from a #GHashTable | |
| 72740 | + | line="1902">Removes all keys and their associated values from a #GHashTable | |
| 71864 | 72741 | without calling the key destroy functions, returning the keys | |
| 71865 | 72742 | as a #GPtrArray with the free func set to the @hash_table key | |
| 71866 | 72743 | destroy function.</doc> | |
| @@ -71868,8 +72745,8 @@ destroy function.</doc> | |||
| 71868 | 72745 | <return-value transfer-ownership="container"> | |
| 71869 | 72746 | <doc xml:space="preserve" | |
| 71870 | 72747 | filename="glib/ghash.c" | |
| 71871 | - | line="1908">a #GPtrArray containing each key of | |
| 71872 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 72748 | + | line="1911">a #GPtrArray containing each key of | |
| 72749 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 71873 | 72750 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 71874 | 72751 | <type name="gpointer" c:type="gpointer"/> | |
| 71875 | 72752 | </array> | |
| @@ -71878,7 +72755,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71878 | 72755 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71879 | 72756 | <doc xml:space="preserve" | |
| 71880 | 72757 | filename="glib/ghash.c" | |
| 71881 | - | line="1901">a #GHashTable</doc> | |
| 72758 | + | line="1904">a #GHashTable</doc> | |
| 71882 | 72759 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71883 | 72760 | <type name="gpointer" c:type="gpointer"/> | |
| 71884 | 72761 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71893,7 +72770,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71893 | 72770 | introspectable="0"> | |
| 71894 | 72771 | <doc xml:space="preserve" | |
| 71895 | 72772 | filename="glib/ghash.c" | |
| 71896 | - | line="1936">Removes all keys and their associated values from a #GHashTable | |
| 72773 | + | line="1939">Removes all keys and their associated values from a #GHashTable | |
| 71897 | 72774 | without calling the value destroy functions, returning the values | |
| 71898 | 72775 | as a #GPtrArray with the free func set to the @hash_table value | |
| 71899 | 72776 | destroy function.</doc> | |
| @@ -71901,8 +72778,8 @@ destroy function.</doc> | |||
| 71901 | 72778 | <return-value transfer-ownership="container"> | |
| 71902 | 72779 | <doc xml:space="preserve" | |
| 71903 | 72780 | filename="glib/ghash.c" | |
| 71904 | - | line="1945">a #GPtrArray containing each value of | |
| 71905 | - | the table. Unref with with g_ptr_array_unref() when done.</doc> | |
| 72781 | + | line="1948">a #GPtrArray containing each value of | |
| 72782 | + | the table. Unref with g_ptr_array_unref() when done.</doc> | |
| 71906 | 72783 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 71907 | 72784 | <type name="gpointer" c:type="gpointer"/> | |
| 71908 | 72785 | </array> | |
| @@ -71911,7 +72788,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71911 | 72788 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71912 | 72789 | <doc xml:space="preserve" | |
| 71913 | 72790 | filename="glib/ghash.c" | |
| 71914 | - | line="1938">a #GHashTable</doc> | |
| 72791 | + | line="1941">a #GHashTable</doc> | |
| 71915 | 72792 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71916 | 72793 | <type name="gpointer" c:type="gpointer"/> | |
| 71917 | 72794 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71925,7 +72802,7 @@ the table. Unref with with g_ptr_array_unref() when done.</doc> | |||
| 71925 | 72802 | version="2.58"> | |
| 71926 | 72803 | <doc xml:space="preserve" | |
| 71927 | 72804 | filename="glib/ghash.c" | |
| 71928 | - | line="1770">Looks up a key in the #GHashTable, stealing the original key and the | |
| 72805 | + | line="1773">Looks up a key in the #GHashTable, stealing the original key and the | |
| 71929 | 72806 | associated value and returning %TRUE if the key was found. If the key was | |
| 71930 | 72807 | not found, %FALSE is returned. | |
| 71931 | 72808 | ||
| @@ -71946,14 +72823,14 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 71946 | 72823 | <return-value transfer-ownership="none"> | |
| 71947 | 72824 | <doc xml:space="preserve" | |
| 71948 | 72825 | filename="glib/ghash.c" | |
| 71949 | - | line="1797">%TRUE if the key was found in the #GHashTable</doc> | |
| 72826 | + | line="1800">%TRUE if the key was found in the #GHashTable</doc> | |
| 71950 | 72827 | <type name="gboolean" c:type="gboolean"/> | |
| 71951 | 72828 | </return-value> | |
| 71952 | 72829 | <parameters> | |
| 71953 | 72830 | <parameter name="hash_table" transfer-ownership="none"> | |
| 71954 | 72831 | <doc xml:space="preserve" | |
| 71955 | 72832 | filename="glib/ghash.c" | |
| 71956 | - | line="1772">a #GHashTable</doc> | |
| 72833 | + | line="1775">a #GHashTable</doc> | |
| 71957 | 72834 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 71958 | 72835 | <type name="gpointer" c:type="gpointer"/> | |
| 71959 | 72836 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -71965,7 +72842,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 71965 | 72842 | allow-none="1"> | |
| 71966 | 72843 | <doc xml:space="preserve" | |
| 71967 | 72844 | filename="glib/ghash.c" | |
| 71968 | - | line="1773">the key to look up</doc> | |
| 72845 | + | line="1776">the key to look up</doc> | |
| 71969 | 72846 | <type name="gpointer" c:type="gconstpointer"/> | |
| 71970 | 72847 | </parameter> | |
| 71971 | 72848 | <parameter name="stolen_key" | |
| @@ -71977,7 +72854,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 71977 | 72854 | allow-none="1"> | |
| 71978 | 72855 | <doc xml:space="preserve" | |
| 71979 | 72856 | filename="glib/ghash.c" | |
| 71980 | - | line="1774">return location for the | |
| 72857 | + | line="1777">return location for the | |
| 71981 | 72858 | original key</doc> | |
| 71982 | 72859 | <type name="gpointer" c:type="gpointer*"/> | |
| 71983 | 72860 | </parameter> | |
| @@ -71990,7 +72867,7 @@ stealing both the key and the value from such a dictionary, the value was | |||
| 71990 | 72867 | allow-none="1"> | |
| 71991 | 72868 | <doc xml:space="preserve" | |
| 71992 | 72869 | filename="glib/ghash.c" | |
| 71993 | - | line="1776">return location | |
| 72870 | + | line="1779">return location | |
| 71994 | 72871 | for the value associated with the key</doc> | |
| 71995 | 72872 | <type name="gpointer" c:type="gpointer*"/> | |
| 71996 | 72873 | </parameter> | |
| @@ -72018,7 +72895,7 @@ release of GLib. It does nothing.</doc> | |||
| 72018 | 72895 | version="2.10"> | |
| 72019 | 72896 | <doc xml:space="preserve" | |
| 72020 | 72897 | filename="glib/ghash.c" | |
| 72021 | - | line="1420">Atomically decrements the reference count of @hash_table by one. | |
| 72898 | + | line="1423">Atomically decrements the reference count of @hash_table by one. | |
| 72022 | 72899 | If the reference count drops to 0, all keys and values will be | |
| 72023 | 72900 | destroyed, and all memory allocated by the hash table is released. | |
| 72024 | 72901 | This function is MT-safe and may be called from any thread.</doc> | |
| @@ -72030,7 +72907,7 @@ This function is MT-safe and may be called from any thread.</doc> | |||
| 72030 | 72907 | <parameter name="hash_table" transfer-ownership="full"> | |
| 72031 | 72908 | <doc xml:space="preserve" | |
| 72032 | 72909 | filename="glib/ghash.c" | |
| 72033 | - | line="1422">a valid #GHashTable</doc> | |
| 72910 | + | line="1425">a valid #GHashTable</doc> | |
| 72034 | 72911 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| 72035 | 72912 | <type name="gpointer" c:type="gpointer"/> | |
| 72036 | 72913 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -72258,7 +73135,7 @@ from the #GHookList and g_hook_free() is called to free it.</doc> | |||
| 72258 | 73135 | version="2.22"> | |
| 72259 | 73136 | <doc xml:space="preserve" | |
| 72260 | 73137 | filename="glib/ghostutils.c" | |
| 72261 | - | line="718">Tests if @hostname contains segments with an ASCII-compatible | |
| 73138 | + | line="726">Tests if @hostname contains segments with an ASCII-compatible | |
| 72262 | 73139 | encoding of an Internationalized Domain Name. If this returns | |
| 72263 | 73140 | %TRUE, you should decode the hostname with g_hostname_to_unicode() | |
| 72264 | 73141 | before displaying it to the user. | |
| @@ -72270,7 +73147,7 @@ g_hostname_is_ascii_encoded() to both return %TRUE for a name.</doc> | |||
| 72270 | 73147 | <return-value transfer-ownership="none"> | |
| 72271 | 73148 | <doc xml:space="preserve" | |
| 72272 | 73149 | filename="glib/ghostutils.c" | |
| 72273 | - | line="731">%TRUE if @hostname contains any ASCII-encoded | |
| 73150 | + | line="739">%TRUE if @hostname contains any ASCII-encoded | |
| 72274 | 73151 | segments.</doc> | |
| 72275 | 73152 | <type name="gboolean" c:type="gboolean"/> | |
| 72276 | 73153 | </return-value> | |
| @@ -72278,7 +73155,7 @@ segments.</doc> | |||
| 72278 | 73155 | <parameter name="hostname" transfer-ownership="none"> | |
| 72279 | 73156 | <doc xml:space="preserve" | |
| 72280 | 73157 | filename="glib/ghostutils.c" | |
| 72281 | - | line="720">a hostname</doc> | |
| 73158 | + | line="728">a hostname</doc> | |
| 72282 | 73159 | <type name="utf8" c:type="const gchar*"/> | |
| 72283 | 73160 | </parameter> | |
| 72284 | 73161 | </parameters> | |
| @@ -72288,7 +73165,7 @@ segments.</doc> | |||
| 72288 | 73165 | version="2.22"> | |
| 72289 | 73166 | <doc xml:space="preserve" | |
| 72290 | 73167 | filename="glib/ghostutils.c" | |
| 72291 | - | line="751">Tests if @hostname is the string form of an IPv4 or IPv6 address. | |
| 73168 | + | line="759">Tests if @hostname is the string form of an IPv4 or IPv6 address. | |
| 72292 | 73169 | (Eg, "192.168.0.1".) | |
| 72293 | 73170 | ||
| 72294 | 73171 | Since 2.66, IPv6 addresses with a zone-id are accepted (RFC6874).</doc> | |
| @@ -72296,14 +73173,14 @@ Since 2.66, IPv6 addresses with a zone-id are accepted (RFC6874).</doc> | |||
| 72296 | 73173 | <return-value transfer-ownership="none"> | |
| 72297 | 73174 | <doc xml:space="preserve" | |
| 72298 | 73175 | filename="glib/ghostutils.c" | |
| 72299 | - | line="760">%TRUE if @hostname is an IP address</doc> | |
| 73176 | + | line="768">%TRUE if @hostname is an IP address</doc> | |
| 72300 | 73177 | <type name="gboolean" c:type="gboolean"/> | |
| 72301 | 73178 | </return-value> | |
| 72302 | 73179 | <parameters> | |
| 72303 | 73180 | <parameter name="hostname" transfer-ownership="none"> | |
| 72304 | 73181 | <doc xml:space="preserve" | |
| 72305 | 73182 | filename="glib/ghostutils.c" | |
| 72306 | - | line="753">a hostname (or IP address in string form)</doc> | |
| 73183 | + | line="761">a hostname (or IP address in string form)</doc> | |
| 72307 | 73184 | <type name="utf8" c:type="const gchar*"/> | |
| 72308 | 73185 | </parameter> | |
| 72309 | 73186 | </parameters> | |
| @@ -72313,7 +73190,7 @@ Since 2.66, IPv6 addresses with a zone-id are accepted (RFC6874).</doc> | |||
| 72313 | 73190 | version="2.22"> | |
| 72314 | 73191 | <doc xml:space="preserve" | |
| 72315 | 73192 | filename="glib/ghostutils.c" | |
| 72316 | - | line="540">Tests if @hostname contains Unicode characters. If this returns | |
| 73193 | + | line="546">Tests if @hostname contains Unicode characters. If this returns | |
| 72317 | 73194 | %TRUE, you need to encode the hostname with g_hostname_to_ascii() | |
| 72318 | 73195 | before using it in non-IDN-aware contexts. | |
| 72319 | 73196 | ||
| @@ -72324,14 +73201,14 @@ g_hostname_is_ascii_encoded() to both return %TRUE for a name.</doc> | |||
| 72324 | 73201 | <return-value transfer-ownership="none"> | |
| 72325 | 73202 | <doc xml:space="preserve" | |
| 72326 | 73203 | filename="glib/ghostutils.c" | |
| 72327 | - | line="552">%TRUE if @hostname contains any non-ASCII characters</doc> | |
| 73204 | + | line="558">%TRUE if @hostname contains any non-ASCII characters</doc> | |
| 72328 | 73205 | <type name="gboolean" c:type="gboolean"/> | |
| 72329 | 73206 | </return-value> | |
| 72330 | 73207 | <parameters> | |
| 72331 | 73208 | <parameter name="hostname" transfer-ownership="none"> | |
| 72332 | 73209 | <doc xml:space="preserve" | |
| 72333 | 73210 | filename="glib/ghostutils.c" | |
| 72334 | - | line="542">a hostname</doc> | |
| 73211 | + | line="548">a hostname</doc> | |
| 72335 | 73212 | <type name="utf8" c:type="const gchar*"/> | |
| 72336 | 73213 | </parameter> | |
| 72337 | 73214 | </parameters> | |
| @@ -72341,14 +73218,14 @@ g_hostname_is_ascii_encoded() to both return %TRUE for a name.</doc> | |||
| 72341 | 73218 | version="2.22"> | |
| 72342 | 73219 | <doc xml:space="preserve" | |
| 72343 | 73220 | filename="glib/ghostutils.c" | |
| 72344 | - | line="444">Converts @hostname to its canonical ASCII form; an ASCII-only | |
| 73221 | + | line="450">Converts @hostname to its canonical ASCII form; an ASCII-only | |
| 72345 | 73222 | string containing no uppercase letters and not ending with a | |
| 72346 | 73223 | trailing dot.</doc> | |
| 72347 | 73224 | <source-position filename="glib/ghostutils.h" line="39"/> | |
| 72348 | 73225 | <return-value transfer-ownership="full" nullable="1"> | |
| 72349 | 73226 | <doc xml:space="preserve" | |
| 72350 | 73227 | filename="glib/ghostutils.c" | |
| 72351 | - | line="452">an ASCII hostname, which must be freed, | |
| 73228 | + | line="458">an ASCII hostname, which must be freed, | |
| 72352 | 73229 | or %NULL if @hostname is in some way invalid.</doc> | |
| 72353 | 73230 | <type name="utf8" c:type="gchar*"/> | |
| 72354 | 73231 | </return-value> | |
| @@ -72356,7 +73233,7 @@ trailing dot.</doc> | |||
| 72356 | 73233 | <parameter name="hostname" transfer-ownership="none"> | |
| 72357 | 73234 | <doc xml:space="preserve" | |
| 72358 | 73235 | filename="glib/ghostutils.c" | |
| 72359 | - | line="446">a valid UTF-8 or ASCII hostname</doc> | |
| 73236 | + | line="452">a valid UTF-8 or ASCII hostname</doc> | |
| 72360 | 73237 | <type name="utf8" c:type="const gchar*"/> | |
| 72361 | 73238 | </parameter> | |
| 72362 | 73239 | </parameters> | |
| @@ -72366,7 +73243,7 @@ trailing dot.</doc> | |||
| 72366 | 73243 | version="2.22"> | |
| 72367 | 73244 | <doc xml:space="preserve" | |
| 72368 | 73245 | filename="glib/ghostutils.c" | |
| 72369 | - | line="647">Converts @hostname to its canonical presentation form; a UTF-8 | |
| 73246 | + | line="655">Converts @hostname to its canonical presentation form; a UTF-8 | |
| 72370 | 73247 | string in Unicode normalization form C, containing no uppercase | |
| 72371 | 73248 | letters, no forbidden characters, and no ASCII-encoded segments, | |
| 72372 | 73249 | and not ending with a trailing dot. | |
| @@ -72377,7 +73254,7 @@ the canonical presentation form will be entirely ASCII.</doc> | |||
| 72377 | 73254 | <return-value transfer-ownership="full" nullable="1"> | |
| 72378 | 73255 | <doc xml:space="preserve" | |
| 72379 | 73256 | filename="glib/ghostutils.c" | |
| 72380 | - | line="659">a UTF-8 hostname, which must be freed, | |
| 73257 | + | line="667">a UTF-8 hostname, which must be freed, | |
| 72381 | 73258 | or %NULL if @hostname is in some way invalid.</doc> | |
| 72382 | 73259 | <type name="utf8" c:type="gchar*"/> | |
| 72383 | 73260 | </return-value> | |
| @@ -72385,7 +73262,7 @@ the canonical presentation form will be entirely ASCII.</doc> | |||
| 72385 | 73262 | <parameter name="hostname" transfer-ownership="none"> | |
| 72386 | 73263 | <doc xml:space="preserve" | |
| 72387 | 73264 | filename="glib/ghostutils.c" | |
| 72388 | - | line="649">a valid UTF-8 or ASCII hostname</doc> | |
| 73265 | + | line="657">a valid UTF-8 or ASCII hostname</doc> | |
| 72389 | 73266 | <type name="utf8" c:type="const gchar*"/> | |
| 72390 | 73267 | </parameter> | |
| 72391 | 73268 | </parameters> | |
| @@ -72522,13 +73399,15 @@ more convenient than the raw iconv wrappers.</doc> | |||
| 72522 | 73399 | introspectable="0"> | |
| 72523 | 73400 | <doc xml:space="preserve" | |
| 72524 | 73401 | filename="glib/gmain.c" | |
| 72525 | - | line="6393">Adds a function to be called whenever there are no higher priority | |
| 72526 | - | events pending to the default main loop. The function is given the | |
| 73402 | + | line="6575">Adds a function to be called whenever there are no higher priority | |
| 73403 | + | events pending to the default main loop. | |
| 73404 | + | ||
| 73405 | + | The function is given the | |
| 72527 | 73406 | default idle priority, [const@GLib.PRIORITY_DEFAULT_IDLE]. If the function | |
| 72528 | - | returns %FALSE it is automatically removed from the list of event | |
| 72529 | - | sources and will not be called again. | |
| 73407 | + | returns [const@GLib.SOURCE_REMOVE] it is automatically removed from the list | |
| 73408 | + | of event sources and will not be called again. | |
| 72530 | 73409 | ||
| 72531 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 73410 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 72532 | 73411 | on how to handle the return value and memory management of @data. | |
| 72533 | 73412 | ||
| 72534 | 73413 | This internally creates a main loop source using [func@GLib.idle_source_new] | |
| @@ -72536,18 +73415,18 @@ and attaches it to the global [struct@GLib.MainContext] using | |||
| 72536 | 73415 | [method@GLib.Source.attach], so the callback will be invoked in whichever | |
| 72537 | 73416 | thread is running that main context. You can do these steps manually if you | |
| 72538 | 73417 | need greater control or to use a custom main context.</doc> | |
| 72539 | - | <source-position filename="glib/gmain.h" line="963"/> | |
| 73418 | + | <source-position filename="glib/gmain.h" line="966"/> | |
| 72540 | 73419 | <return-value transfer-ownership="none"> | |
| 72541 | 73420 | <doc xml:space="preserve" | |
| 72542 | 73421 | filename="glib/gmain.c" | |
| 72543 | - | line="6413">the ID (greater than 0) of the event source.</doc> | |
| 73422 | + | line="6597">the ID (greater than 0) of the event source</doc> | |
| 72544 | 73423 | <type name="guint" c:type="guint"/> | |
| 72545 | 73424 | </return-value> | |
| 72546 | 73425 | <parameters> | |
| 72547 | 73426 | <parameter name="function" transfer-ownership="none" closure="1"> | |
| 72548 | 73427 | <doc xml:space="preserve" | |
| 72549 | 73428 | filename="glib/gmain.c" | |
| 72550 | - | line="6395">function to call</doc> | |
| 73429 | + | line="6577">function to call</doc> | |
| 72551 | 73430 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 72552 | 73431 | </parameter> | |
| 72553 | 73432 | <parameter name="data" | |
| @@ -72556,7 +73435,7 @@ need greater control or to use a custom main context.</doc> | |||
| 72556 | 73435 | allow-none="1"> | |
| 72557 | 73436 | <doc xml:space="preserve" | |
| 72558 | 73437 | filename="glib/gmain.c" | |
| 72559 | - | line="6396">data to pass to @function.</doc> | |
| 73438 | + | line="6578">data to pass to @function</doc> | |
| 72560 | 73439 | <type name="gpointer" c:type="gpointer"/> | |
| 72561 | 73440 | </parameter> | |
| 72562 | 73441 | </parameters> | |
| @@ -72566,13 +73445,13 @@ need greater control or to use a custom main context.</doc> | |||
| 72566 | 73445 | shadows="idle_add"> | |
| 72567 | 73446 | <doc xml:space="preserve" | |
| 72568 | 73447 | filename="glib/gmain.c" | |
| 72569 | - | line="6358">Adds a function to be called whenever there are no higher priority | |
| 73448 | + | line="6540">Adds a function to be called whenever there are no higher priority | |
| 72570 | 73449 | events pending. | |
| 72571 | 73450 | ||
| 72572 | - | If the function returns [const@GLib.SOURCE_REMOVE] or %FALSE it is automatically | |
| 73451 | + | If the function returns [const@GLib.SOURCE_REMOVE] it is automatically | |
| 72573 | 73452 | removed from the list of event sources and will not be called again. | |
| 72574 | 73453 | ||
| 72575 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 73454 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 72576 | 73455 | on how to handle the return value and memory management of @data. | |
| 72577 | 73456 | ||
| 72578 | 73457 | This internally creates a main loop source using [func@GLib.idle_source_new] | |
| @@ -72580,20 +73459,20 @@ and attaches it to the global [struct@GLib.MainContext] using | |||
| 72580 | 73459 | [method@GLib.Source.attach], so the callback will be invoked in whichever | |
| 72581 | 73460 | thread is running that main context. You can do these steps manually if you | |
| 72582 | 73461 | need greater control or to use a custom main context.</doc> | |
| 72583 | - | <source-position filename="glib/gmain.h" line="966"/> | |
| 73462 | + | <source-position filename="glib/gmain.h" line="969"/> | |
| 72584 | 73463 | <return-value transfer-ownership="none"> | |
| 72585 | 73464 | <doc xml:space="preserve" | |
| 72586 | 73465 | filename="glib/gmain.c" | |
| 72587 | - | line="6382">the ID (greater than 0) of the event source.</doc> | |
| 73466 | + | line="6564">the ID (greater than 0) of the event source</doc> | |
| 72588 | 73467 | <type name="guint" c:type="guint"/> | |
| 72589 | 73468 | </return-value> | |
| 72590 | 73469 | <parameters> | |
| 72591 | 73470 | <parameter name="priority" transfer-ownership="none"> | |
| 72592 | 73471 | <doc xml:space="preserve" | |
| 72593 | 73472 | filename="glib/gmain.c" | |
| 72594 | - | line="6360">the priority of the idle source. Typically this will be in the | |
| 73473 | + | line="6542">the priority of the idle source; typically this will be in the | |
| 72595 | 73474 | range between [const@GLib.PRIORITY_DEFAULT_IDLE] and | |
| 72596 | - | [const@GLib.PRIORITY_HIGH_IDLE].</doc> | |
| 73475 | + | [const@GLib.PRIORITY_HIGH_IDLE]</doc> | |
| 72597 | 73476 | <type name="gint" c:type="gint"/> | |
| 72598 | 73477 | </parameter> | |
| 72599 | 73478 | <parameter name="function" | |
| @@ -72603,7 +73482,7 @@ need greater control or to use a custom main context.</doc> | |||
| 72603 | 73482 | destroy="3"> | |
| 72604 | 73483 | <doc xml:space="preserve" | |
| 72605 | 73484 | filename="glib/gmain.c" | |
| 72606 | - | line="6363">function to call</doc> | |
| 73485 | + | line="6545">function to call</doc> | |
| 72607 | 73486 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 72608 | 73487 | </parameter> | |
| 72609 | 73488 | <parameter name="data" | |
| @@ -72612,7 +73491,7 @@ need greater control or to use a custom main context.</doc> | |||
| 72612 | 73491 | allow-none="1"> | |
| 72613 | 73492 | <doc xml:space="preserve" | |
| 72614 | 73493 | filename="glib/gmain.c" | |
| 72615 | - | line="6364">data to pass to @function</doc> | |
| 73494 | + | line="6546">data to pass to @function</doc> | |
| 72616 | 73495 | <type name="gpointer" c:type="gpointer"/> | |
| 72617 | 73496 | </parameter> | |
| 72618 | 73497 | <parameter name="notify" | |
| @@ -72622,7 +73501,7 @@ need greater control or to use a custom main context.</doc> | |||
| 72622 | 73501 | scope="async"> | |
| 72623 | 73502 | <doc xml:space="preserve" | |
| 72624 | 73503 | filename="glib/gmain.c" | |
| 72625 | - | line="6365">function to call when the idle is removed, or %NULL</doc> | |
| 73504 | + | line="6547">function to call when the idle is removed</doc> | |
| 72626 | 73505 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 72627 | 73506 | </parameter> | |
| 72628 | 73507 | </parameters> | |
| @@ -72633,26 +73512,28 @@ need greater control or to use a custom main context.</doc> | |||
| 72633 | 73512 | introspectable="0"> | |
| 72634 | 73513 | <doc xml:space="preserve" | |
| 72635 | 73514 | filename="glib/gmain.c" | |
| 72636 | - | line="6422">Adds a function to be called whenever there are no higher priority | |
| 72637 | - | events pending to the default main loop. The function is given the | |
| 73515 | + | line="6606">Adds a function to be called whenever there are no higher priority | |
| 73516 | + | events pending to the default main loop. | |
| 73517 | + | ||
| 73518 | + | The function is given the | |
| 72638 | 73519 | default idle priority, [const@GLib.PRIORITY_DEFAULT_IDLE]. | |
| 72639 | 73520 | ||
| 72640 | 73521 | The function will only be called once and then the source will be | |
| 72641 | 73522 | automatically removed from the main context. | |
| 72642 | 73523 | ||
| 72643 | 73524 | This function otherwise behaves like [func@GLib.idle_add].</doc> | |
| 72644 | - | <source-position filename="glib/gmain.h" line="971"/> | |
| 73525 | + | <source-position filename="glib/gmain.h" line="974"/> | |
| 72645 | 73526 | <return-value transfer-ownership="none"> | |
| 72646 | 73527 | <doc xml:space="preserve" | |
| 72647 | 73528 | filename="glib/gmain.c" | |
| 72648 | - | line="6436">the ID (greater than 0) of the event source</doc> | |
| 73529 | + | line="6622">the ID (greater than 0) of the event source</doc> | |
| 72649 | 73530 | <type name="guint" c:type="guint"/> | |
| 72650 | 73531 | </return-value> | |
| 72651 | 73532 | <parameters> | |
| 72652 | 73533 | <parameter name="function" transfer-ownership="none" closure="1"> | |
| 72653 | 73534 | <doc xml:space="preserve" | |
| 72654 | 73535 | filename="glib/gmain.c" | |
| 72655 | - | line="6424">function to call</doc> | |
| 73536 | + | line="6608">function to call</doc> | |
| 72656 | 73537 | <type name="SourceOnceFunc" c:type="GSourceOnceFunc"/> | |
| 72657 | 73538 | </parameter> | |
| 72658 | 73539 | <parameter name="data" | |
| @@ -72661,7 +73542,7 @@ This function otherwise behaves like [func@GLib.idle_add].</doc> | |||
| 72661 | 73542 | allow-none="1"> | |
| 72662 | 73543 | <doc xml:space="preserve" | |
| 72663 | 73544 | filename="glib/gmain.c" | |
| 72664 | - | line="6425">data to pass to @function</doc> | |
| 73545 | + | line="6609">data to pass to @function</doc> | |
| 72665 | 73546 | <type name="gpointer" c:type="gpointer"/> | |
| 72666 | 73547 | </parameter> | |
| 72667 | 73548 | </parameters> | |
| @@ -72669,12 +73550,12 @@ This function otherwise behaves like [func@GLib.idle_add].</doc> | |||
| 72669 | 73550 | <function name="idle_remove_by_data" c:identifier="g_idle_remove_by_data"> | |
| 72670 | 73551 | <doc xml:space="preserve" | |
| 72671 | 73552 | filename="glib/gmain.c" | |
| 72672 | - | line="6447">Removes the idle function with the given data.</doc> | |
| 72673 | - | <source-position filename="glib/gmain.h" line="974"/> | |
| 73553 | + | line="6632">Removes the idle function with the given data.</doc> | |
| 73554 | + | <source-position filename="glib/gmain.h" line="977"/> | |
| 72674 | 73555 | <return-value transfer-ownership="none"> | |
| 72675 | 73556 | <doc xml:space="preserve" | |
| 72676 | 73557 | filename="glib/gmain.c" | |
| 72677 | - | line="6453">%TRUE if an idle source was found and removed.</doc> | |
| 73558 | + | line="6638">true if an idle source was found and removed, false otherwise</doc> | |
| 72678 | 73559 | <type name="gboolean" c:type="gboolean"/> | |
| 72679 | 73560 | </return-value> | |
| 72680 | 73561 | <parameters> | |
| @@ -72684,7 +73565,7 @@ This function otherwise behaves like [func@GLib.idle_add].</doc> | |||
| 72684 | 73565 | allow-none="1"> | |
| 72685 | 73566 | <doc xml:space="preserve" | |
| 72686 | 73567 | filename="glib/gmain.c" | |
| 72687 | - | line="6449">the data for the idle source's callback.</doc> | |
| 73568 | + | line="6634">the data for the idle source’s callback.</doc> | |
| 72688 | 73569 | <type name="gpointer" c:type="gpointer"/> | |
| 72689 | 73570 | </parameter> | |
| 72690 | 73571 | </parameters> | |
| @@ -72692,7 +73573,7 @@ This function otherwise behaves like [func@GLib.idle_add].</doc> | |||
| 72692 | 73573 | <function name="idle_source_new" c:identifier="g_idle_source_new"> | |
| 72693 | 73574 | <doc xml:space="preserve" | |
| 72694 | 73575 | filename="glib/gmain.c" | |
| 72695 | - | line="6311">Creates a new idle source. | |
| 73576 | + | line="6493">Creates a new idle source. | |
| 72696 | 73577 | ||
| 72697 | 73578 | The source will not initially be associated with any | |
| 72698 | 73579 | [struct@GLib.MainContext] and must be added to one with | |
| @@ -72700,11 +73581,11 @@ The source will not initially be associated with any | |||
| 72700 | 73581 | default priority for idle sources is [const@GLib.PRIORITY_DEFAULT_IDLE], as | |
| 72701 | 73582 | compared to other sources which have a default priority of | |
| 72702 | 73583 | [const@GLib.PRIORITY_DEFAULT].</doc> | |
| 72703 | - | <source-position filename="glib/gmain.h" line="813"/> | |
| 73584 | + | <source-position filename="glib/gmain.h" line="816"/> | |
| 72704 | 73585 | <return-value transfer-ownership="full"> | |
| 72705 | 73586 | <doc xml:space="preserve" | |
| 72706 | 73587 | filename="glib/gmain.c" | |
| 72707 | - | line="6323">the newly-created idle source</doc> | |
| 73588 | + | line="6505">the newly-created idle source</doc> | |
| 72708 | 73589 | <type name="Source" c:type="GSource*"/> | |
| 72709 | 73590 | </return-value> | |
| 72710 | 73591 | </function> | |
| @@ -72714,7 +73595,7 @@ compared to other sources which have a default priority of | |||
| 72714 | 73595 | introspectable="0"> | |
| 72715 | 73596 | <doc xml:space="preserve" | |
| 72716 | 73597 | filename="glib/gmessages.c" | |
| 72717 | - | line="308">A convenience function/macro to log an informational message. | |
| 73598 | + | line="307">A convenience function/macro to log an informational message. | |
| 72718 | 73599 | ||
| 72719 | 73600 | Seldom used. | |
| 72720 | 73601 | ||
| @@ -72731,12 +73612,12 @@ to set the allowed domains at runtime, use | |||
| 72731 | 73612 | If structured logging is enabled, this will use [func@GLib.log_structured]; | |
| 72732 | 73613 | otherwise it will use [func@GLib.log]. See | |
| 72733 | 73614 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| 72734 | - | <source-position filename="glib/gmessages.h" line="340"/> | |
| 73615 | + | <source-position filename="glib/gmessages.h" line="343"/> | |
| 72735 | 73616 | <parameters> | |
| 72736 | 73617 | <parameter name="..."> | |
| 72737 | 73618 | <doc xml:space="preserve" | |
| 72738 | 73619 | filename="glib/gmessages.c" | |
| 72739 | - | line="310">format string, followed by parameters to insert into the format string | |
| 73620 | + | line="309">format string, followed by parameters to insert into the format string | |
| 72740 | 73621 | (as with `printf()`)</doc> | |
| 72741 | 73622 | </parameter> | |
| 72742 | 73623 | </parameters> | |
| @@ -72744,7 +73625,7 @@ otherwise it will use [func@GLib.log]. See | |||
| 72744 | 73625 | <function name="int64_equal" c:identifier="g_int64_equal" version="2.22"> | |
| 72745 | 73626 | <doc xml:space="preserve" | |
| 72746 | 73627 | filename="glib/ghash.c" | |
| 72747 | - | line="2610">Compares the two #gint64 values being pointed to and returns | |
| 73628 | + | line="2613">Compares the two #gint64 values being pointed to and returns | |
| 72748 | 73629 | %TRUE if they are equal. | |
| 72749 | 73630 | It can be passed to g_hash_table_new() as the @key_equal_func | |
| 72750 | 73631 | parameter, when using non-%NULL pointers to 64-bit integers as keys in a | |
| @@ -72753,20 +73634,20 @@ parameter, when using non-%NULL pointers to 64-bit integers as keys in a | |||
| 72753 | 73634 | <return-value transfer-ownership="none"> | |
| 72754 | 73635 | <doc xml:space="preserve" | |
| 72755 | 73636 | filename="glib/ghash.c" | |
| 72756 | - | line="2621">%TRUE if the two keys match.</doc> | |
| 73637 | + | line="2624">%TRUE if the two keys match.</doc> | |
| 72757 | 73638 | <type name="gboolean" c:type="gboolean"/> | |
| 72758 | 73639 | </return-value> | |
| 72759 | 73640 | <parameters> | |
| 72760 | 73641 | <parameter name="v1" transfer-ownership="none"> | |
| 72761 | 73642 | <doc xml:space="preserve" | |
| 72762 | 73643 | filename="glib/ghash.c" | |
| 72763 | - | line="2612">a pointer to a #gint64 key</doc> | |
| 73644 | + | line="2615">a pointer to a #gint64 key</doc> | |
| 72764 | 73645 | <type name="gpointer" c:type="gconstpointer"/> | |
| 72765 | 73646 | </parameter> | |
| 72766 | 73647 | <parameter name="v2" transfer-ownership="none"> | |
| 72767 | 73648 | <doc xml:space="preserve" | |
| 72768 | 73649 | filename="glib/ghash.c" | |
| 72769 | - | line="2613">a pointer to a #gint64 key to compare with @v1</doc> | |
| 73650 | + | line="2616">a pointer to a #gint64 key to compare with @v1</doc> | |
| 72770 | 73651 | <type name="gpointer" c:type="gconstpointer"/> | |
| 72771 | 73652 | </parameter> | |
| 72772 | 73653 | </parameters> | |
| @@ -72774,7 +73655,7 @@ parameter, when using non-%NULL pointers to 64-bit integers as keys in a | |||
| 72774 | 73655 | <function name="int64_hash" c:identifier="g_int64_hash" version="2.22"> | |
| 72775 | 73656 | <doc xml:space="preserve" | |
| 72776 | 73657 | filename="glib/ghash.c" | |
| 72777 | - | line="2632">Converts a pointer to a #gint64 to a hash value. | |
| 73658 | + | line="2635">Converts a pointer to a #gint64 to a hash value. | |
| 72778 | 73659 | ||
| 72779 | 73660 | It can be passed to g_hash_table_new() as the @hash_func parameter, | |
| 72780 | 73661 | when using non-%NULL pointers to 64-bit integer values as keys in a | |
| @@ -72783,14 +73664,14 @@ when using non-%NULL pointers to 64-bit integer values as keys in a | |||
| 72783 | 73664 | <return-value transfer-ownership="none"> | |
| 72784 | 73665 | <doc xml:space="preserve" | |
| 72785 | 73666 | filename="glib/ghash.c" | |
| 72786 | - | line="2642">a hash value corresponding to the key.</doc> | |
| 73667 | + | line="2645">a hash value corresponding to the key.</doc> | |
| 72787 | 73668 | <type name="guint" c:type="guint"/> | |
| 72788 | 73669 | </return-value> | |
| 72789 | 73670 | <parameters> | |
| 72790 | 73671 | <parameter name="v" transfer-ownership="none"> | |
| 72791 | 73672 | <doc xml:space="preserve" | |
| 72792 | 73673 | filename="glib/ghash.c" | |
| 72793 | - | line="2634">a pointer to a #gint64 key</doc> | |
| 73674 | + | line="2637">a pointer to a #gint64 key</doc> | |
| 72794 | 73675 | <type name="gpointer" c:type="gconstpointer"/> | |
| 72795 | 73676 | </parameter> | |
| 72796 | 73677 | </parameters> | |
| @@ -72798,7 +73679,7 @@ when using non-%NULL pointers to 64-bit integer values as keys in a | |||
| 72798 | 73679 | <function name="int_equal" c:identifier="g_int_equal"> | |
| 72799 | 73680 | <doc xml:space="preserve" | |
| 72800 | 73681 | filename="glib/ghash.c" | |
| 72801 | - | line="2522">Compares the two #gint values being pointed to and returns | |
| 73682 | + | line="2525">Compares the two #gint values being pointed to and returns | |
| 72802 | 73683 | %TRUE if they are equal. | |
| 72803 | 73684 | It can be passed to g_hash_table_new() as the @key_equal_func | |
| 72804 | 73685 | parameter, when using non-%NULL pointers to integers as keys in a | |
| @@ -72811,20 +73692,20 @@ directly: if your hash table's keys are of the form | |||
| 72811 | 73692 | <return-value transfer-ownership="none"> | |
| 72812 | 73693 | <doc xml:space="preserve" | |
| 72813 | 73694 | filename="glib/ghash.c" | |
| 72814 | - | line="2537">%TRUE if the two keys match.</doc> | |
| 73695 | + | line="2540">%TRUE if the two keys match.</doc> | |
| 72815 | 73696 | <type name="gboolean" c:type="gboolean"/> | |
| 72816 | 73697 | </return-value> | |
| 72817 | 73698 | <parameters> | |
| 72818 | 73699 | <parameter name="v1" transfer-ownership="none"> | |
| 72819 | 73700 | <doc xml:space="preserve" | |
| 72820 | 73701 | filename="glib/ghash.c" | |
| 72821 | - | line="2524">a pointer to a #gint key</doc> | |
| 73702 | + | line="2527">a pointer to a #gint key</doc> | |
| 72822 | 73703 | <type name="gpointer" c:type="gconstpointer"/> | |
| 72823 | 73704 | </parameter> | |
| 72824 | 73705 | <parameter name="v2" transfer-ownership="none"> | |
| 72825 | 73706 | <doc xml:space="preserve" | |
| 72826 | 73707 | filename="glib/ghash.c" | |
| 72827 | - | line="2525">a pointer to a #gint key to compare with @v1</doc> | |
| 73708 | + | line="2528">a pointer to a #gint key to compare with @v1</doc> | |
| 72828 | 73709 | <type name="gpointer" c:type="gconstpointer"/> | |
| 72829 | 73710 | </parameter> | |
| 72830 | 73711 | </parameters> | |
| @@ -72832,7 +73713,7 @@ directly: if your hash table's keys are of the form | |||
| 72832 | 73713 | <function name="int_hash" c:identifier="g_int_hash"> | |
| 72833 | 73714 | <doc xml:space="preserve" | |
| 72834 | 73715 | filename="glib/ghash.c" | |
| 72835 | - | line="2546">Converts a pointer to a #gint to a hash value. | |
| 73716 | + | line="2549">Converts a pointer to a #gint to a hash value. | |
| 72836 | 73717 | It can be passed to g_hash_table_new() as the @hash_func parameter, | |
| 72837 | 73718 | when using non-%NULL pointers to integer values as keys in a #GHashTable. | |
| 72838 | 73719 | ||
| @@ -72843,14 +73724,14 @@ directly: if your hash table's keys are of the form | |||
| 72843 | 73724 | <return-value transfer-ownership="none"> | |
| 72844 | 73725 | <doc xml:space="preserve" | |
| 72845 | 73726 | filename="glib/ghash.c" | |
| 72846 | - | line="2558">a hash value corresponding to the key.</doc> | |
| 73727 | + | line="2561">a hash value corresponding to the key.</doc> | |
| 72847 | 73728 | <type name="guint" c:type="guint"/> | |
| 72848 | 73729 | </return-value> | |
| 72849 | 73730 | <parameters> | |
| 72850 | 73731 | <parameter name="v" transfer-ownership="none"> | |
| 72851 | 73732 | <doc xml:space="preserve" | |
| 72852 | 73733 | filename="glib/ghash.c" | |
| 72853 | - | line="2548">a pointer to a #gint key</doc> | |
| 73734 | + | line="2551">a pointer to a #gint key</doc> | |
| 72854 | 73735 | <type name="gpointer" c:type="gconstpointer"/> | |
| 72855 | 73736 | </parameter> | |
| 72856 | 73737 | </parameters> | |
| @@ -73122,7 +74003,9 @@ Note that it is considered perfectly acceptable to access | |||
| 73122 | 74003 | </function-macro> | |
| 73123 | 74004 | <function name="list_pop_allocator" | |
| 73124 | 74005 | c:identifier="g_list_pop_allocator" | |
| 73125 | - | moved-to="List.pop_allocator"> | |
| 74006 | + | moved-to="List.pop_allocator" | |
| 74007 | + | deprecated="1" | |
| 74008 | + | deprecated-version="2.10"> | |
| 73126 | 74009 | <source-position filename="glib/deprecated/gallocator.h" line="76"/> | |
| 73127 | 74010 | <return-value transfer-ownership="none"> | |
| 73128 | 74011 | <type name="none" c:type="void"/> | |
| @@ -73147,7 +74030,9 @@ Note that it is considered perfectly acceptable to access | |||
| 73147 | 74030 | </function-macro> | |
| 73148 | 74031 | <function name="list_push_allocator" | |
| 73149 | 74032 | c:identifier="g_list_push_allocator" | |
| 73150 | - | moved-to="List.push_allocator"> | |
| 74033 | + | moved-to="List.push_allocator" | |
| 74034 | + | deprecated="1" | |
| 74035 | + | deprecated-version="2.10"> | |
| 73151 | 74036 | <source-position filename="glib/deprecated/gallocator.h" line="74"/> | |
| 73152 | 74037 | <return-value transfer-ownership="none"> | |
| 73153 | 74038 | <type name="none" c:type="void"/> | |
| @@ -73328,7 +74213,7 @@ may contain embedded nul characters.</doc> | |||
| 73328 | 74213 | <function name="log" c:identifier="g_log" introspectable="0"> | |
| 73329 | 74214 | <doc xml:space="preserve" | |
| 73330 | 74215 | filename="glib/gmessages.c" | |
| 73331 | - | line="1298">Logs an error or debugging message. | |
| 74216 | + | line="1302">Logs an error or debugging message. | |
| 73332 | 74217 | ||
| 73333 | 74218 | If the log level has been set as fatal, [func@GLib.BREAKPOINT] is called | |
| 73334 | 74219 | to terminate the program. See the documentation for [func@GLib.BREAKPOINT] for | |
| @@ -73351,27 +74236,27 @@ output via the structured log writer function (see [func@GLib.log_set_writer_fun | |||
| 73351 | 74236 | allow-none="1"> | |
| 73352 | 74237 | <doc xml:space="preserve" | |
| 73353 | 74238 | filename="glib/gmessages.c" | |
| 73354 | - | line="1300">the log domain, usually `G_LOG_DOMAIN`, or `NULL` | |
| 74239 | + | line="1304">the log domain, usually `G_LOG_DOMAIN`, or `NULL` | |
| 73355 | 74240 | for the default</doc> | |
| 73356 | 74241 | <type name="utf8" c:type="const gchar*"/> | |
| 73357 | 74242 | </parameter> | |
| 73358 | 74243 | <parameter name="log_level" transfer-ownership="none"> | |
| 73359 | 74244 | <doc xml:space="preserve" | |
| 73360 | 74245 | filename="glib/gmessages.c" | |
| 73361 | - | line="1302">the log level, either from [type@GLib.LogLevelFlags] | |
| 74246 | + | line="1306">the log level, either from [type@GLib.LogLevelFlags] | |
| 73362 | 74247 | or a user-defined level</doc> | |
| 73363 | 74248 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73364 | 74249 | </parameter> | |
| 73365 | 74250 | <parameter name="format" transfer-ownership="none"> | |
| 73366 | 74251 | <doc xml:space="preserve" | |
| 73367 | 74252 | filename="glib/gmessages.c" | |
| 73368 | - | line="1304">the message format. See the `printf()` documentation</doc> | |
| 74253 | + | line="1308">the message format. See the `printf()` documentation</doc> | |
| 73369 | 74254 | <type name="utf8" c:type="const gchar*"/> | |
| 73370 | 74255 | </parameter> | |
| 73371 | 74256 | <parameter name="..." transfer-ownership="none"> | |
| 73372 | 74257 | <doc xml:space="preserve" | |
| 73373 | 74258 | filename="glib/gmessages.c" | |
| 73374 | - | line="1305">the parameters to insert into the format string</doc> | |
| 74259 | + | line="1309">the parameters to insert into the format string</doc> | |
| 73375 | 74260 | <varargs/> | |
| 73376 | 74261 | </parameter> | |
| 73377 | 74262 | </parameters> | |
| @@ -73379,7 +74264,7 @@ output via the structured log writer function (see [func@GLib.log_set_writer_fun | |||
| 73379 | 74264 | <function name="log_default_handler" c:identifier="g_log_default_handler"> | |
| 73380 | 74265 | <doc xml:space="preserve" | |
| 73381 | 74266 | filename="glib/gmessages.c" | |
| 73382 | - | line="3352">The default log handler set up by GLib; [func@GLib.log_set_default_handler] | |
| 74267 | + | line="3442">The default log handler set up by GLib; [func@GLib.log_set_default_handler] | |
| 73383 | 74268 | allows to install an alternate default log handler. | |
| 73384 | 74269 | ||
| 73385 | 74270 | This is used if no log handler has been set for the particular log | |
| @@ -73421,14 +74306,14 @@ This has no effect if structured logging is enabled; see | |||
| 73421 | 74306 | allow-none="1"> | |
| 73422 | 74307 | <doc xml:space="preserve" | |
| 73423 | 74308 | filename="glib/gmessages.c" | |
| 73424 | - | line="3354">the log domain of the message, or `NULL` for the | |
| 74309 | + | line="3444">the log domain of the message, or `NULL` for the | |
| 73425 | 74310 | default `""` application domain</doc> | |
| 73426 | 74311 | <type name="utf8" c:type="const gchar*"/> | |
| 73427 | 74312 | </parameter> | |
| 73428 | 74313 | <parameter name="log_level" transfer-ownership="none"> | |
| 73429 | 74314 | <doc xml:space="preserve" | |
| 73430 | 74315 | filename="glib/gmessages.c" | |
| 73431 | - | line="3356">the level of the message</doc> | |
| 74316 | + | line="3446">the level of the message</doc> | |
| 73432 | 74317 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73433 | 74318 | </parameter> | |
| 73434 | 74319 | <parameter name="message" | |
| @@ -73437,7 +74322,7 @@ This has no effect if structured logging is enabled; see | |||
| 73437 | 74322 | allow-none="1"> | |
| 73438 | 74323 | <doc xml:space="preserve" | |
| 73439 | 74324 | filename="glib/gmessages.c" | |
| 73440 | - | line="3357">the message</doc> | |
| 74325 | + | line="3447">the message</doc> | |
| 73441 | 74326 | <type name="utf8" c:type="const gchar*"/> | |
| 73442 | 74327 | </parameter> | |
| 73443 | 74328 | <parameter name="unused_data" | |
| @@ -73446,17 +74331,58 @@ This has no effect if structured logging is enabled; see | |||
| 73446 | 74331 | allow-none="1"> | |
| 73447 | 74332 | <doc xml:space="preserve" | |
| 73448 | 74333 | filename="glib/gmessages.c" | |
| 73449 | - | line="3358">data passed from [func@GLib.log] which is unused</doc> | |
| 74334 | + | line="3448">data passed from [func@GLib.log] which is unused</doc> | |
| 73450 | 74335 | <type name="gpointer" c:type="gpointer"/> | |
| 73451 | 74336 | </parameter> | |
| 73452 | 74337 | </parameters> | |
| 73453 | 74338 | </function> | |
| 74339 | + | <function name="log_get_always_fatal" | |
| 74340 | + | c:identifier="g_log_get_always_fatal" | |
| 74341 | + | version="2.86"> | |
| 74342 | + | <doc xml:space="preserve" | |
| 74343 | + | filename="glib/gmessages.c" | |
| 74344 | + | line="571">Gets the current fatal mask. | |
| 74345 | + | ||
| 74346 | + | This is mostly used by custom log writers to make fatal messages | |
| 74347 | + | (`fatal-warnings`, `fatal-criticals`) work as expected, when using the | |
| 74348 | + | `G_DEBUG` environment variable (see [Running GLib Applications](running.html)). | |
| 74349 | + | ||
| 74350 | + | An example usage is shown below: | |
| 74351 | + | ||
| 74352 | + | ```c | |
| 74353 | + | static GLogWriterOutput | |
| 74354 | + | my_custom_log_writer_fn (GLogLevelFlags log_level, | |
| 74355 | + | const GLogField *fields, | |
| 74356 | + | gsize n_fields, | |
| 74357 | + | gpointer user_data) | |
| 74358 | + | { | |
| 74359 | + | ||
| 74360 | + | // abort if the message was fatal | |
| 74361 | + | if (log_level & g_log_get_always_fatal ()) | |
| 74362 | + | g_abort (); | |
| 74363 | + | ||
| 74364 | + | // custom log handling code | |
| 74365 | + | ... | |
| 74366 | + | ... | |
| 74367 | + | ||
| 74368 | + | // success | |
| 74369 | + | return G_LOG_WRITER_HANDLED; | |
| 74370 | + | } | |
| 74371 | + | ```</doc> | |
| 74372 | + | <source-position filename="glib/gmessages.h" line="121"/> | |
| 74373 | + | <return-value transfer-ownership="none"> | |
| 74374 | + | <doc xml:space="preserve" | |
| 74375 | + | filename="glib/gmessages.c" | |
| 74376 | + | line="603">the current fatal mask</doc> | |
| 74377 | + | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74378 | + | </return-value> | |
| 74379 | + | </function> | |
| 73454 | 74380 | <function name="log_get_debug_enabled" | |
| 73455 | 74381 | c:identifier="g_log_get_debug_enabled" | |
| 73456 | 74382 | version="2.72"> | |
| 73457 | 74383 | <doc xml:space="preserve" | |
| 73458 | 74384 | filename="glib/gmessages.c" | |
| 73459 | - | line="3018">Return whether debug output from the GLib logging system is enabled. | |
| 74385 | + | line="3104">Return whether debug output from the GLib logging system is enabled. | |
| 73460 | 74386 | ||
| 73461 | 74387 | Note that this should not be used to conditionalise calls to [func@GLib.debug] or | |
| 73462 | 74388 | other logging functions; it should only be used from [type@GLib.LogWriterFunc] | |
| @@ -73465,18 +74391,18 @@ implementations. | |||
| 73465 | 74391 | Note also that the value of this does not depend on `G_MESSAGES_DEBUG`, nor | |
| 73466 | 74392 | `DEBUG_INVOCATION`, nor [func@GLib.log_writer_default_set_debug_domains]; see | |
| 73467 | 74393 | the docs for [func@GLib.log_set_debug_enabled].</doc> | |
| 73468 | - | <source-position filename="glib/gmessages.h" line="264"/> | |
| 74394 | + | <source-position filename="glib/gmessages.h" line="267"/> | |
| 73469 | 74395 | <return-value transfer-ownership="none"> | |
| 73470 | 74396 | <doc xml:space="preserve" | |
| 73471 | 74397 | filename="glib/gmessages.c" | |
| 73472 | - | line="3031">`TRUE` if debug output is enabled, `FALSE` otherwise</doc> | |
| 74398 | + | line="3117">`TRUE` if debug output is enabled, `FALSE` otherwise</doc> | |
| 73473 | 74399 | <type name="gboolean" c:type="gboolean"/> | |
| 73474 | 74400 | </return-value> | |
| 73475 | 74401 | </function> | |
| 73476 | 74402 | <function name="log_remove_handler" c:identifier="g_log_remove_handler"> | |
| 73477 | 74403 | <doc xml:space="preserve" | |
| 73478 | 74404 | filename="glib/gmessages.c" | |
| 73479 | - | line="853">Removes the log handler. | |
| 74405 | + | line="906">Removes the log handler. | |
| 73480 | 74406 | ||
| 73481 | 74407 | This has no effect if structured logging is enabled; see | |
| 73482 | 74408 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| @@ -73488,13 +74414,13 @@ This has no effect if structured logging is enabled; see | |||
| 73488 | 74414 | <parameter name="log_domain" transfer-ownership="none"> | |
| 73489 | 74415 | <doc xml:space="preserve" | |
| 73490 | 74416 | filename="glib/gmessages.c" | |
| 73491 | - | line="855">the log domain</doc> | |
| 74417 | + | line="908">the log domain</doc> | |
| 73492 | 74418 | <type name="utf8" c:type="const gchar*"/> | |
| 73493 | 74419 | </parameter> | |
| 73494 | 74420 | <parameter name="handler_id" transfer-ownership="none"> | |
| 73495 | 74421 | <doc xml:space="preserve" | |
| 73496 | 74422 | filename="glib/gmessages.c" | |
| 73497 | - | line="856">the ID of the handler, which was returned | |
| 74423 | + | line="909">the ID of the handler, which was returned | |
| 73498 | 74424 | in [func@GLib.log_set_handler]</doc> | |
| 73499 | 74425 | <type name="guint" c:type="guint"/> | |
| 73500 | 74426 | </parameter> | |
| @@ -73504,7 +74430,7 @@ This has no effect if structured logging is enabled; see | |||
| 73504 | 74430 | c:identifier="g_log_set_always_fatal"> | |
| 73505 | 74431 | <doc xml:space="preserve" | |
| 73506 | 74432 | filename="glib/gmessages.c" | |
| 73507 | - | line="560">Sets the message levels which are always fatal, in any log domain. | |
| 74433 | + | line="613">Sets the message levels which are always fatal, in any log domain. | |
| 73508 | 74434 | ||
| 73509 | 74435 | When a message with any of these levels is logged the program terminates. | |
| 73510 | 74436 | You can only set the levels defined by GLib to be fatal. | |
| @@ -73512,7 +74438,7 @@ You can only set the levels defined by GLib to be fatal. | |||
| 73512 | 74438 | ||
| 73513 | 74439 | You can also make some message levels fatal at runtime by setting | |
| 73514 | 74440 | the `G_DEBUG` environment variable (see | |
| 73515 | - | [Running GLib Applications](glib-running.html)). | |
| 74441 | + | [Running GLib Applications](running.html)). | |
| 73516 | 74442 | ||
| 73517 | 74443 | Libraries should not call this function, as it affects all messages logged | |
| 73518 | 74444 | by a process, including those from other libraries. | |
| @@ -73525,14 +74451,14 @@ are fatal. See [Using Structured Logging](logging.html#using-structured-logging) | |||
| 73525 | 74451 | <return-value transfer-ownership="none"> | |
| 73526 | 74452 | <doc xml:space="preserve" | |
| 73527 | 74453 | filename="glib/gmessages.c" | |
| 73528 | - | line="583">the old fatal mask</doc> | |
| 74454 | + | line="636">the old fatal mask</doc> | |
| 73529 | 74455 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73530 | 74456 | </return-value> | |
| 73531 | 74457 | <parameters> | |
| 73532 | 74458 | <parameter name="fatal_mask" transfer-ownership="none"> | |
| 73533 | 74459 | <doc xml:space="preserve" | |
| 73534 | 74460 | filename="glib/gmessages.c" | |
| 73535 | - | line="562">the mask containing bits set for each level of error which is | |
| 74461 | + | line="615">the mask containing bits set for each level of error which is | |
| 73536 | 74462 | to be fatal</doc> | |
| 73537 | 74463 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73538 | 74464 | </parameter> | |
| @@ -73543,7 +74469,7 @@ are fatal. See [Using Structured Logging](logging.html#using-structured-logging) | |||
| 73543 | 74469 | version="2.72"> | |
| 73544 | 74470 | <doc xml:space="preserve" | |
| 73545 | 74471 | filename="glib/gmessages.c" | |
| 73546 | - | line="3041">Enable or disable debug output from the GLib logging system for all domains. | |
| 74472 | + | line="3127">Enable or disable debug output from the GLib logging system for all domains. | |
| 73547 | 74473 | ||
| 73548 | 74474 | This value interacts disjunctively with `G_MESSAGES_DEBUG`, `DEBUG_INVOCATION` and | |
| 73549 | 74475 | [func@GLib.log_writer_default_set_debug_domains] — if any of them would allow | |
| @@ -73551,7 +74477,7 @@ a debug message to be outputted, it will be. | |||
| 73551 | 74477 | ||
| 73552 | 74478 | Note that this should not be used from within library code to enable debug | |
| 73553 | 74479 | output — it is intended for external use.</doc> | |
| 73554 | - | <source-position filename="glib/gmessages.h" line="266"/> | |
| 74480 | + | <source-position filename="glib/gmessages.h" line="269"/> | |
| 73555 | 74481 | <return-value transfer-ownership="none"> | |
| 73556 | 74482 | <type name="none" c:type="void"/> | |
| 73557 | 74483 | </return-value> | |
| @@ -73559,7 +74485,7 @@ output — it is intended for external use.</doc> | |||
| 73559 | 74485 | <parameter name="enabled" transfer-ownership="none"> | |
| 73560 | 74486 | <doc xml:space="preserve" | |
| 73561 | 74487 | filename="glib/gmessages.c" | |
| 73562 | - | line="3043">`TRUE` to enable debug output, `FALSE` otherwise</doc> | |
| 74488 | + | line="3129">`TRUE` to enable debug output, `FALSE` otherwise</doc> | |
| 73563 | 74489 | <type name="gboolean" c:type="gboolean"/> | |
| 73564 | 74490 | </parameter> | |
| 73565 | 74491 | </parameters> | |
| @@ -73570,7 +74496,7 @@ output — it is intended for external use.</doc> | |||
| 73570 | 74496 | introspectable="0"> | |
| 73571 | 74497 | <doc xml:space="preserve" | |
| 73572 | 74498 | filename="glib/gmessages.c" | |
| 73573 | - | line="781">Installs a default log handler which is used if no | |
| 74499 | + | line="834">Installs a default log handler which is used if no | |
| 73574 | 74500 | log handler has been set for the particular log domain | |
| 73575 | 74501 | and log level combination. | |
| 73576 | 74502 | ||
| @@ -73582,14 +74508,14 @@ This has no effect if structured logging is enabled; see | |||
| 73582 | 74508 | <return-value> | |
| 73583 | 74509 | <doc xml:space="preserve" | |
| 73584 | 74510 | filename="glib/gmessages.c" | |
| 73585 | - | line="795">the previous default log handler</doc> | |
| 74511 | + | line="848">the previous default log handler</doc> | |
| 73586 | 74512 | <type name="LogFunc" c:type="GLogFunc"/> | |
| 73587 | 74513 | </return-value> | |
| 73588 | 74514 | <parameters> | |
| 73589 | 74515 | <parameter name="log_func" transfer-ownership="none" closure="1"> | |
| 73590 | 74516 | <doc xml:space="preserve" | |
| 73591 | 74517 | filename="glib/gmessages.c" | |
| 73592 | - | line="783">the log handler function</doc> | |
| 74518 | + | line="836">the log handler function</doc> | |
| 73593 | 74519 | <type name="LogFunc" c:type="GLogFunc"/> | |
| 73594 | 74520 | </parameter> | |
| 73595 | 74521 | <parameter name="user_data" | |
| @@ -73598,7 +74524,7 @@ This has no effect if structured logging is enabled; see | |||
| 73598 | 74524 | allow-none="1"> | |
| 73599 | 74525 | <doc xml:space="preserve" | |
| 73600 | 74526 | filename="glib/gmessages.c" | |
| 73601 | - | line="784">data passed to the log handler</doc> | |
| 74527 | + | line="837">data passed to the log handler</doc> | |
| 73602 | 74528 | <type name="gpointer" c:type="gpointer"/> | |
| 73603 | 74529 | </parameter> | |
| 73604 | 74530 | </parameters> | |
| @@ -73606,7 +74532,7 @@ This has no effect if structured logging is enabled; see | |||
| 73606 | 74532 | <function name="log_set_fatal_mask" c:identifier="g_log_set_fatal_mask"> | |
| 73607 | 74533 | <doc xml:space="preserve" | |
| 73608 | 74534 | filename="glib/gmessages.c" | |
| 73609 | - | line="607">Sets the log levels which are fatal in the given domain. | |
| 74535 | + | line="660">Sets the log levels which are fatal in the given domain. | |
| 73610 | 74536 | ||
| 73611 | 74537 | [flags@GLib.LogLevelFlags.LEVEL_ERROR] is always fatal. | |
| 73612 | 74538 | ||
| @@ -73624,20 +74550,20 @@ This function is mostly intended to be used with | |||
| 73624 | 74550 | <return-value transfer-ownership="none"> | |
| 73625 | 74551 | <doc xml:space="preserve" | |
| 73626 | 74552 | filename="glib/gmessages.c" | |
| 73627 | - | line="627">the old fatal mask for the log domain</doc> | |
| 74553 | + | line="680">the old fatal mask for the log domain</doc> | |
| 73628 | 74554 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73629 | 74555 | </return-value> | |
| 73630 | 74556 | <parameters> | |
| 73631 | 74557 | <parameter name="log_domain" transfer-ownership="none"> | |
| 73632 | 74558 | <doc xml:space="preserve" | |
| 73633 | 74559 | filename="glib/gmessages.c" | |
| 73634 | - | line="609">the log domain</doc> | |
| 74560 | + | line="662">the log domain</doc> | |
| 73635 | 74561 | <type name="utf8" c:type="const gchar*"/> | |
| 73636 | 74562 | </parameter> | |
| 73637 | 74563 | <parameter name="fatal_mask" transfer-ownership="none"> | |
| 73638 | 74564 | <doc xml:space="preserve" | |
| 73639 | 74565 | filename="glib/gmessages.c" | |
| 73640 | - | line="610">the new fatal mask</doc> | |
| 74566 | + | line="663">the new fatal mask</doc> | |
| 73641 | 74567 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73642 | 74568 | </parameter> | |
| 73643 | 74569 | </parameters> | |
| @@ -73648,7 +74574,7 @@ This function is mostly intended to be used with | |||
| 73648 | 74574 | introspectable="0"> | |
| 73649 | 74575 | <doc xml:space="preserve" | |
| 73650 | 74576 | filename="glib/gmessages.c" | |
| 73651 | - | line="659">Sets the log handler for a domain and a set of log levels. | |
| 74577 | + | line="712">Sets the log handler for a domain and a set of log levels. | |
| 73652 | 74578 | ||
| 73653 | 74579 | To handle fatal and recursive messages the @log_levels parameter | |
| 73654 | 74580 | must be combined with the [flags@GLib.LogLevelFlags.FLAG_FATAL] and [flags@GLib.LogLevelFlags.FLAG_RECURSION] | |
| @@ -73689,7 +74615,7 @@ g_log_set_handler ("GLib", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | |||
| 73689 | 74615 | <return-value transfer-ownership="none"> | |
| 73690 | 74616 | <doc xml:space="preserve" | |
| 73691 | 74617 | filename="glib/gmessages.c" | |
| 73692 | - | line="708">the id of the new handler</doc> | |
| 74618 | + | line="761">the id of the new handler</doc> | |
| 73693 | 74619 | <type name="guint" c:type="guint"/> | |
| 73694 | 74620 | </return-value> | |
| 73695 | 74621 | <parameters> | |
| @@ -73699,14 +74625,14 @@ g_log_set_handler ("GLib", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | |||
| 73699 | 74625 | allow-none="1"> | |
| 73700 | 74626 | <doc xml:space="preserve" | |
| 73701 | 74627 | filename="glib/gmessages.c" | |
| 73702 | - | line="661">the log domain | |
| 74628 | + | line="714">the log domain | |
| 73703 | 74629 | application domain</doc> | |
| 73704 | 74630 | <type name="utf8" c:type="const gchar*"/> | |
| 73705 | 74631 | </parameter> | |
| 73706 | 74632 | <parameter name="log_levels" transfer-ownership="none"> | |
| 73707 | 74633 | <doc xml:space="preserve" | |
| 73708 | 74634 | filename="glib/gmessages.c" | |
| 73709 | - | line="663">the log levels to apply the log handler for. | |
| 74635 | + | line="716">the log levels to apply the log handler for. | |
| 73710 | 74636 | To handle fatal and recursive messages as well, combine | |
| 73711 | 74637 | the log levels with the [flags@GLib.LogLevelFlags.FLAG_FATAL] and | |
| 73712 | 74638 | [flags@GLib.LogLevelFlags.FLAG_RECURSION] bit flags.</doc> | |
| @@ -73715,7 +74641,7 @@ g_log_set_handler ("GLib", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | |||
| 73715 | 74641 | <parameter name="log_func" transfer-ownership="none" closure="3"> | |
| 73716 | 74642 | <doc xml:space="preserve" | |
| 73717 | 74643 | filename="glib/gmessages.c" | |
| 73718 | - | line="667">the log handler function</doc> | |
| 74644 | + | line="720">the log handler function</doc> | |
| 73719 | 74645 | <type name="LogFunc" c:type="GLogFunc"/> | |
| 73720 | 74646 | </parameter> | |
| 73721 | 74647 | <parameter name="user_data" | |
| @@ -73724,7 +74650,7 @@ g_log_set_handler ("GLib", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | |||
| 73724 | 74650 | allow-none="1"> | |
| 73725 | 74651 | <doc xml:space="preserve" | |
| 73726 | 74652 | filename="glib/gmessages.c" | |
| 73727 | - | line="668">data passed to the log handler</doc> | |
| 74653 | + | line="721">data passed to the log handler</doc> | |
| 73728 | 74654 | <type name="gpointer" c:type="gpointer"/> | |
| 73729 | 74655 | </parameter> | |
| 73730 | 74656 | </parameters> | |
| @@ -73735,7 +74661,7 @@ g_log_set_handler ("GLib", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | |||
| 73735 | 74661 | version="2.46"> | |
| 73736 | 74662 | <doc xml:space="preserve" | |
| 73737 | 74663 | filename="glib/gmessages.c" | |
| 73738 | - | line="719">Like [func@GLib.log_set_handler], but takes a destroy notify for the @user_data. | |
| 74664 | + | line="772">Like [func@GLib.log_set_handler], but takes a destroy notify for the @user_data. | |
| 73739 | 74665 | ||
| 73740 | 74666 | This has no effect if structured logging is enabled; see | |
| 73741 | 74667 | [Using Structured Logging](logging.html#using-structured-logging). | |
| @@ -73746,7 +74672,7 @@ application domain.</doc> | |||
| 73746 | 74672 | <return-value transfer-ownership="none"> | |
| 73747 | 74673 | <doc xml:space="preserve" | |
| 73748 | 74674 | filename="glib/gmessages.c" | |
| 73749 | - | line="739">the ID of the new handler</doc> | |
| 74675 | + | line="792">the ID of the new handler</doc> | |
| 73750 | 74676 | <type name="guint" c:type="guint"/> | |
| 73751 | 74677 | </return-value> | |
| 73752 | 74678 | <parameters> | |
| @@ -73756,14 +74682,14 @@ application domain.</doc> | |||
| 73756 | 74682 | allow-none="1"> | |
| 73757 | 74683 | <doc xml:space="preserve" | |
| 73758 | 74684 | filename="glib/gmessages.c" | |
| 73759 | - | line="721">the log domain | |
| 74685 | + | line="774">the log domain | |
| 73760 | 74686 | application domain</doc> | |
| 73761 | 74687 | <type name="utf8" c:type="const gchar*"/> | |
| 73762 | 74688 | </parameter> | |
| 73763 | 74689 | <parameter name="log_levels" transfer-ownership="none"> | |
| 73764 | 74690 | <doc xml:space="preserve" | |
| 73765 | 74691 | filename="glib/gmessages.c" | |
| 73766 | - | line="723">the log levels to apply the log handler for. | |
| 74692 | + | line="776">the log levels to apply the log handler for. | |
| 73767 | 74693 | To handle fatal and recursive messages as well, combine | |
| 73768 | 74694 | the log levels with the [flags@GLib.LogLevelFlags.FLAG_FATAL] and | |
| 73769 | 74695 | [flags@GLib.LogLevelFlags.FLAG_RECURSION] bit flags.</doc> | |
| @@ -73776,7 +74702,7 @@ application domain.</doc> | |||
| 73776 | 74702 | destroy="4"> | |
| 73777 | 74703 | <doc xml:space="preserve" | |
| 73778 | 74704 | filename="glib/gmessages.c" | |
| 73779 | - | line="727">the log handler function</doc> | |
| 74705 | + | line="780">the log handler function</doc> | |
| 73780 | 74706 | <type name="LogFunc" c:type="GLogFunc"/> | |
| 73781 | 74707 | </parameter> | |
| 73782 | 74708 | <parameter name="user_data" | |
| @@ -73785,13 +74711,13 @@ application domain.</doc> | |||
| 73785 | 74711 | allow-none="1"> | |
| 73786 | 74712 | <doc xml:space="preserve" | |
| 73787 | 74713 | filename="glib/gmessages.c" | |
| 73788 | - | line="728">data passed to the log handler</doc> | |
| 74714 | + | line="781">data passed to the log handler</doc> | |
| 73789 | 74715 | <type name="gpointer" c:type="gpointer"/> | |
| 73790 | 74716 | </parameter> | |
| 73791 | 74717 | <parameter name="destroy" transfer-ownership="none" scope="async"> | |
| 73792 | 74718 | <doc xml:space="preserve" | |
| 73793 | 74719 | filename="glib/gmessages.c" | |
| 73794 | - | line="729">destroy notify for @user_data, or `NULL`</doc> | |
| 74720 | + | line="782">destroy notify for @user_data, or `NULL`</doc> | |
| 73795 | 74721 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 73796 | 74722 | </parameter> | |
| 73797 | 74723 | </parameters> | |
| @@ -73801,7 +74727,7 @@ application domain.</doc> | |||
| 73801 | 74727 | version="2.50"> | |
| 73802 | 74728 | <doc xml:space="preserve" | |
| 73803 | 74729 | filename="glib/gmessages.c" | |
| 73804 | - | line="1936">Set a writer function which will be called to format and write out each log | |
| 74730 | + | line="1958">Set a writer function which will be called to format and write out each log | |
| 73805 | 74731 | message. | |
| 73806 | 74732 | ||
| 73807 | 74733 | Each program should set a writer function, or the default writer | |
| @@ -73812,7 +74738,7 @@ install a writer function, as there must be a single, central point where | |||
| 73812 | 74738 | log messages are formatted and outputted. | |
| 73813 | 74739 | ||
| 73814 | 74740 | There can only be one writer function. It is an error to set more than one.</doc> | |
| 73815 | - | <source-position filename="glib/gmessages.h" line="217"/> | |
| 74741 | + | <source-position filename="glib/gmessages.h" line="220"/> | |
| 73816 | 74742 | <return-value transfer-ownership="none"> | |
| 73817 | 74743 | <type name="none" c:type="void"/> | |
| 73818 | 74744 | </return-value> | |
| @@ -73824,7 +74750,7 @@ There can only be one writer function. It is an error to set more than one.</doc | |||
| 73824 | 74750 | destroy="2"> | |
| 73825 | 74751 | <doc xml:space="preserve" | |
| 73826 | 74752 | filename="glib/gmessages.c" | |
| 73827 | - | line="1938">log writer function, which must not be `NULL`</doc> | |
| 74753 | + | line="1960">log writer function, which must not be `NULL`</doc> | |
| 73828 | 74754 | <type name="LogWriterFunc" c:type="GLogWriterFunc"/> | |
| 73829 | 74755 | </parameter> | |
| 73830 | 74756 | <parameter name="user_data" | |
| @@ -73833,7 +74759,7 @@ There can only be one writer function. It is an error to set more than one.</doc | |||
| 73833 | 74759 | allow-none="1"> | |
| 73834 | 74760 | <doc xml:space="preserve" | |
| 73835 | 74761 | filename="glib/gmessages.c" | |
| 73836 | - | line="1939">user data to pass to @func</doc> | |
| 74762 | + | line="1961">user data to pass to @func</doc> | |
| 73837 | 74763 | <type name="gpointer" c:type="gpointer"/> | |
| 73838 | 74764 | </parameter> | |
| 73839 | 74765 | <parameter name="user_data_free" | |
| @@ -73842,7 +74768,7 @@ There can only be one writer function. It is an error to set more than one.</doc | |||
| 73842 | 74768 | destroy="0"> | |
| 73843 | 74769 | <doc xml:space="preserve" | |
| 73844 | 74770 | filename="glib/gmessages.c" | |
| 73845 | - | line="1940">function to free @user_data once it’s | |
| 74771 | + | line="1962">function to free @user_data once it’s | |
| 73846 | 74772 | finished with, if non-`NULL`</doc> | |
| 73847 | 74773 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 73848 | 74774 | </parameter> | |
| @@ -73854,7 +74780,7 @@ There can only be one writer function. It is an error to set more than one.</doc | |||
| 73854 | 74780 | introspectable="0"> | |
| 73855 | 74781 | <doc xml:space="preserve" | |
| 73856 | 74782 | filename="glib/gmessages.c" | |
| 73857 | - | line="1502">Log a message with structured data. | |
| 74783 | + | line="1506">Log a message with structured data. | |
| 73858 | 74784 | ||
| 73859 | 74785 | The message will be passed through to the log writer set by the application | |
| 73860 | 74786 | using [func@GLib.log_set_writer_func]. If the message is fatal (i.e. its log level | |
| @@ -73943,7 +74869,7 @@ field for which `printf()`-style formatting is supported. | |||
| 73943 | 74869 | The default writer function for `stdout` and `stderr` will automatically | |
| 73944 | 74870 | append a new-line character after the message, so you should not add one | |
| 73945 | 74871 | manually to the format string.</doc> | |
| 73946 | - | <source-position filename="glib/gmessages.h" line="203"/> | |
| 74872 | + | <source-position filename="glib/gmessages.h" line="206"/> | |
| 73947 | 74873 | <return-value transfer-ownership="none"> | |
| 73948 | 74874 | <type name="none" c:type="void"/> | |
| 73949 | 74875 | </return-value> | |
| @@ -73951,20 +74877,20 @@ manually to the format string.</doc> | |||
| 73951 | 74877 | <parameter name="log_domain" transfer-ownership="none"> | |
| 73952 | 74878 | <doc xml:space="preserve" | |
| 73953 | 74879 | filename="glib/gmessages.c" | |
| 73954 | - | line="1504">log domain, usually `G_LOG_DOMAIN`</doc> | |
| 74880 | + | line="1508">log domain, usually `G_LOG_DOMAIN`</doc> | |
| 73955 | 74881 | <type name="utf8" c:type="const gchar*"/> | |
| 73956 | 74882 | </parameter> | |
| 73957 | 74883 | <parameter name="log_level" transfer-ownership="none"> | |
| 73958 | 74884 | <doc xml:space="preserve" | |
| 73959 | 74885 | filename="glib/gmessages.c" | |
| 73960 | - | line="1505">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74886 | + | line="1509">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 73961 | 74887 | level</doc> | |
| 73962 | 74888 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 73963 | 74889 | </parameter> | |
| 73964 | 74890 | <parameter name="..." transfer-ownership="none"> | |
| 73965 | 74891 | <doc xml:space="preserve" | |
| 73966 | 74892 | filename="glib/gmessages.c" | |
| 73967 | - | line="1507">key-value pairs of structured data to add to the log entry, followed | |
| 74893 | + | line="1511">key-value pairs of structured data to add to the log entry, followed | |
| 73968 | 74894 | by the key `MESSAGE`, followed by a `printf()`-style message format, | |
| 73969 | 74895 | followed by parameters to insert in the format string</doc> | |
| 73970 | 74896 | <varargs/> | |
| @@ -73976,7 +74902,7 @@ manually to the format string.</doc> | |||
| 73976 | 74902 | version="2.50"> | |
| 73977 | 74903 | <doc xml:space="preserve" | |
| 73978 | 74904 | filename="glib/gmessages.c" | |
| 73979 | - | line="1824">Log a message with structured data. | |
| 74905 | + | line="1831">Log a message with structured data. | |
| 73980 | 74906 | ||
| 73981 | 74907 | The message will be passed through to the log writer set by the application | |
| 73982 | 74908 | using [func@GLib.log_set_writer_func]. If the | |
| @@ -73987,7 +74913,7 @@ See [func@GLib.log_structured] for more documentation. | |||
| 73987 | 74913 | ||
| 73988 | 74914 | This assumes that @log_level is already present in @fields (typically as the | |
| 73989 | 74915 | `PRIORITY` field).</doc> | |
| 73990 | - | <source-position filename="glib/gmessages.h" line="207"/> | |
| 74916 | + | <source-position filename="glib/gmessages.h" line="210"/> | |
| 73991 | 74917 | <return-value transfer-ownership="none"> | |
| 73992 | 74918 | <type name="none" c:type="void"/> | |
| 73993 | 74919 | </return-value> | |
| @@ -73995,14 +74921,14 @@ This assumes that @log_level is already present in @fields (typically as the | |||
| 73995 | 74921 | <parameter name="log_level" transfer-ownership="none"> | |
| 73996 | 74922 | <doc xml:space="preserve" | |
| 73997 | 74923 | filename="glib/gmessages.c" | |
| 73998 | - | line="1826">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74924 | + | line="1833">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 73999 | 74925 | level</doc> | |
| 74000 | 74926 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74001 | 74927 | </parameter> | |
| 74002 | 74928 | <parameter name="fields" transfer-ownership="none"> | |
| 74003 | 74929 | <doc xml:space="preserve" | |
| 74004 | 74930 | filename="glib/gmessages.c" | |
| 74005 | - | line="1828">key–value pairs of structured data to add | |
| 74931 | + | line="1835">key–value pairs of structured data to add | |
| 74006 | 74932 | to the log message</doc> | |
| 74007 | 74933 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 74008 | 74934 | <type name="LogField" c:type="GLogField"/> | |
| @@ -74011,7 +74937,7 @@ This assumes that @log_level is already present in @fields (typically as the | |||
| 74011 | 74937 | <parameter name="n_fields" transfer-ownership="none"> | |
| 74012 | 74938 | <doc xml:space="preserve" | |
| 74013 | 74939 | filename="glib/gmessages.c" | |
| 74014 | - | line="1830">number of elements in the @fields array</doc> | |
| 74940 | + | line="1837">number of elements in the @fields array</doc> | |
| 74015 | 74941 | <type name="gsize" c:type="gsize"/> | |
| 74016 | 74942 | </parameter> | |
| 74017 | 74943 | </parameters> | |
| @@ -74019,7 +74945,7 @@ This assumes that @log_level is already present in @fields (typically as the | |||
| 74019 | 74945 | <function name="log_structured_standard" | |
| 74020 | 74946 | c:identifier="g_log_structured_standard" | |
| 74021 | 74947 | introspectable="0"> | |
| 74022 | - | <source-position filename="glib/gmessages.h" line="311"/> | |
| 74948 | + | <source-position filename="glib/gmessages.h" line="314"/> | |
| 74023 | 74949 | <return-value transfer-ownership="none"> | |
| 74024 | 74950 | <type name="none" c:type="void"/> | |
| 74025 | 74951 | </return-value> | |
| @@ -74050,7 +74976,7 @@ This assumes that @log_level is already present in @fields (typically as the | |||
| 74050 | 74976 | <function name="log_variant" c:identifier="g_log_variant" version="2.50"> | |
| 74051 | 74977 | <doc xml:space="preserve" | |
| 74052 | 74978 | filename="glib/gmessages.c" | |
| 74053 | - | line="1707">Log a message with structured data, accepting the data within a [type@GLib.Variant]. | |
| 74979 | + | line="1714">Log a message with structured data, accepting the data within a [type@GLib.Variant]. | |
| 74054 | 74980 | ||
| 74055 | 74981 | This version is especially useful for use in other languages, via introspection. | |
| 74056 | 74982 | ||
| @@ -74065,7 +74991,7 @@ to the log writer as such. The size of the array should not be higher than | |||
| 74065 | 74991 | [method@GLib.Variant.print] will be used to convert the value into a string. | |
| 74066 | 74992 | ||
| 74067 | 74993 | For more details on its usage and about the parameters, see [func@GLib.log_structured].</doc> | |
| 74068 | - | <source-position filename="glib/gmessages.h" line="212"/> | |
| 74994 | + | <source-position filename="glib/gmessages.h" line="215"/> | |
| 74069 | 74995 | <return-value transfer-ownership="none"> | |
| 74070 | 74996 | <type name="none" c:type="void"/> | |
| 74071 | 74997 | </return-value> | |
| @@ -74076,20 +75002,20 @@ For more details on its usage and about the parameters, see [func@GLib.log_struc | |||
| 74076 | 75002 | allow-none="1"> | |
| 74077 | 75003 | <doc xml:space="preserve" | |
| 74078 | 75004 | filename="glib/gmessages.c" | |
| 74079 | - | line="1709">log domain, usually `G_LOG_DOMAIN`</doc> | |
| 75005 | + | line="1716">log domain, usually `G_LOG_DOMAIN`</doc> | |
| 74080 | 75006 | <type name="utf8" c:type="const gchar*"/> | |
| 74081 | 75007 | </parameter> | |
| 74082 | 75008 | <parameter name="log_level" transfer-ownership="none"> | |
| 74083 | 75009 | <doc xml:space="preserve" | |
| 74084 | 75010 | filename="glib/gmessages.c" | |
| 74085 | - | line="1710">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75011 | + | line="1717">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74086 | 75012 | level</doc> | |
| 74087 | 75013 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74088 | 75014 | </parameter> | |
| 74089 | 75015 | <parameter name="fields" transfer-ownership="none"> | |
| 74090 | 75016 | <doc xml:space="preserve" | |
| 74091 | 75017 | filename="glib/gmessages.c" | |
| 74092 | - | line="1712">a dictionary ([type@GLib.Variant] of the type `G_VARIANT_TYPE_VARDICT`) | |
| 75018 | + | line="1719">a dictionary ([type@GLib.Variant] of the type `G_VARIANT_TYPE_VARDICT`) | |
| 74093 | 75019 | containing the key-value pairs of message data.</doc> | |
| 74094 | 75020 | <type name="Variant" c:type="GVariant*"/> | |
| 74095 | 75021 | </parameter> | |
| @@ -74100,7 +75026,7 @@ containing the key-value pairs of message data.</doc> | |||
| 74100 | 75026 | version="2.50"> | |
| 74101 | 75027 | <doc xml:space="preserve" | |
| 74102 | 75028 | filename="glib/gmessages.c" | |
| 74103 | - | line="2859">Format a structured log message and output it to the default log destination | |
| 75029 | + | line="2945">Format a structured log message and output it to the default log destination | |
| 74104 | 75030 | for the platform. | |
| 74105 | 75031 | ||
| 74106 | 75032 | On Linux, this is typically the systemd journal, falling | |
| @@ -74122,11 +75048,11 @@ the environment, or set at runtime by [func@GLib.log_writer_default_set_debug_do | |||
| 74122 | 75048 | [func@GLib.log_writer_default] uses the mask set by [func@GLib.log_set_always_fatal] to | |
| 74123 | 75049 | determine which messages are fatal. When using a custom writer function instead it is | |
| 74124 | 75050 | up to the writer function to determine which log messages are fatal.</doc> | |
| 74125 | - | <source-position filename="glib/gmessages.h" line="248"/> | |
| 75051 | + | <source-position filename="glib/gmessages.h" line="251"/> | |
| 74126 | 75052 | <return-value transfer-ownership="none"> | |
| 74127 | 75053 | <doc xml:space="preserve" | |
| 74128 | 75054 | filename="glib/gmessages.c" | |
| 74129 | - | line="2891">[enum@GLib.LogWriterOutput.HANDLED] on success, | |
| 75055 | + | line="2977">[enum@GLib.LogWriterOutput.HANDLED] on success, | |
| 74130 | 75056 | [enum@GLib.LogWriterOutput.UNHANDLED] otherwise</doc> | |
| 74131 | 75057 | <type name="LogWriterOutput" c:type="GLogWriterOutput"/> | |
| 74132 | 75058 | </return-value> | |
| @@ -74134,14 +75060,14 @@ up to the writer function to determine which log messages are fatal.</doc> | |||
| 74134 | 75060 | <parameter name="log_level" transfer-ownership="none"> | |
| 74135 | 75061 | <doc xml:space="preserve" | |
| 74136 | 75062 | filename="glib/gmessages.c" | |
| 74137 | - | line="2861">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75063 | + | line="2947">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74138 | 75064 | level</doc> | |
| 74139 | 75065 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74140 | 75066 | </parameter> | |
| 74141 | 75067 | <parameter name="fields" transfer-ownership="none"> | |
| 74142 | 75068 | <doc xml:space="preserve" | |
| 74143 | 75069 | filename="glib/gmessages.c" | |
| 74144 | - | line="2863">key–value pairs of structured data forming | |
| 75070 | + | line="2949">key–value pairs of structured data forming | |
| 74145 | 75071 | the log message</doc> | |
| 74146 | 75072 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 74147 | 75073 | <type name="LogField" c:type="GLogField"/> | |
| @@ -74150,7 +75076,7 @@ up to the writer function to determine which log messages are fatal.</doc> | |||
| 74150 | 75076 | <parameter name="n_fields" transfer-ownership="none"> | |
| 74151 | 75077 | <doc xml:space="preserve" | |
| 74152 | 75078 | filename="glib/gmessages.c" | |
| 74153 | - | line="2865">number of elements in the @fields array</doc> | |
| 75079 | + | line="2951">number of elements in the @fields array</doc> | |
| 74154 | 75080 | <type name="gsize" c:type="gsize"/> | |
| 74155 | 75081 | </parameter> | |
| 74156 | 75082 | <parameter name="user_data" | |
| @@ -74159,7 +75085,7 @@ up to the writer function to determine which log messages are fatal.</doc> | |||
| 74159 | 75085 | allow-none="1"> | |
| 74160 | 75086 | <doc xml:space="preserve" | |
| 74161 | 75087 | filename="glib/gmessages.c" | |
| 74162 | - | line="2866">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 75088 | + | line="2952">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 74163 | 75089 | <type name="gpointer" c:type="gpointer"/> | |
| 74164 | 75090 | </parameter> | |
| 74165 | 75091 | </parameters> | |
| @@ -74169,11 +75095,11 @@ up to the writer function to determine which log messages are fatal.</doc> | |||
| 74169 | 75095 | version="2.80"> | |
| 74170 | 75096 | <doc xml:space="preserve" | |
| 74171 | 75097 | filename="glib/gmessages.c" | |
| 74172 | - | line="2716">Reset the list of domains to be logged, that might be initially set by the | |
| 75098 | + | line="2802">Reset the list of domains to be logged, that might be initially set by the | |
| 74173 | 75099 | `G_MESSAGES_DEBUG` or `DEBUG_INVOCATION` environment variables. | |
| 74174 | 75100 | ||
| 74175 | 75101 | This function is thread-safe.</doc> | |
| 74176 | - | <source-position filename="glib/gmessages.h" line="259"/> | |
| 75102 | + | <source-position filename="glib/gmessages.h" line="262"/> | |
| 74177 | 75103 | <return-value transfer-ownership="none"> | |
| 74178 | 75104 | <type name="none" c:type="void"/> | |
| 74179 | 75105 | </return-value> | |
| @@ -74184,7 +75110,7 @@ This function is thread-safe.</doc> | |||
| 74184 | 75110 | allow-none="1"> | |
| 74185 | 75111 | <doc xml:space="preserve" | |
| 74186 | 75112 | filename="glib/gmessages.c" | |
| 74187 | - | line="2718">`NULL`-terminated array with domains to be printed. | |
| 75113 | + | line="2804">`NULL`-terminated array with domains to be printed. | |
| 74188 | 75114 | `NULL` or an array with no values means none. Array with a single value `"all"` means all.</doc> | |
| 74189 | 75115 | <type name="utf8" c:type="const gchar* const*"/> | |
| 74190 | 75116 | </parameter> | |
| @@ -74195,7 +75121,7 @@ This function is thread-safe.</doc> | |||
| 74195 | 75121 | version="2.68"> | |
| 74196 | 75122 | <doc xml:space="preserve" | |
| 74197 | 75123 | filename="glib/gmessages.c" | |
| 74198 | - | line="1043">Configure whether the built-in log functions will output all log messages to | |
| 75124 | + | line="1047">Configure whether the built-in log functions will output all log messages to | |
| 74199 | 75125 | `stderr`. | |
| 74200 | 75126 | ||
| 74201 | 75127 | The built-in log functions are [func@GLib.log_default_handler] for the | |
| @@ -74210,7 +75136,7 @@ to reserve `stdout` for structured output such as JSON or XML. | |||
| 74210 | 75136 | This function sets global state. It is not thread-aware, and should be | |
| 74211 | 75137 | called at the very start of a program, before creating any other threads | |
| 74212 | 75138 | or creating objects that could create worker threads of their own.</doc> | |
| 74213 | - | <source-position filename="glib/gmessages.h" line="254"/> | |
| 75139 | + | <source-position filename="glib/gmessages.h" line="257"/> | |
| 74214 | 75140 | <return-value transfer-ownership="none"> | |
| 74215 | 75141 | <type name="none" c:type="void"/> | |
| 74216 | 75142 | </return-value> | |
| @@ -74218,7 +75144,7 @@ or creating objects that could create worker threads of their own.</doc> | |||
| 74218 | 75144 | <parameter name="use_stderr" transfer-ownership="none"> | |
| 74219 | 75145 | <doc xml:space="preserve" | |
| 74220 | 75146 | filename="glib/gmessages.c" | |
| 74221 | - | line="1045">If `TRUE`, use `stderr` for log messages that would | |
| 75147 | + | line="1049">If `TRUE`, use `stderr` for log messages that would | |
| 74222 | 75148 | normally have appeared on `stdout`</doc> | |
| 74223 | 75149 | <type name="gboolean" c:type="gboolean"/> | |
| 74224 | 75150 | </parameter> | |
| @@ -74229,7 +75155,7 @@ or creating objects that could create worker threads of their own.</doc> | |||
| 74229 | 75155 | version="2.68"> | |
| 74230 | 75156 | <doc xml:space="preserve" | |
| 74231 | 75157 | filename="glib/gmessages.c" | |
| 74232 | - | line="2814">Check whether [func@GLib.log_writer_default] and [func@GLib.log_default_handler] would | |
| 75158 | + | line="2900">Check whether [func@GLib.log_writer_default] and [func@GLib.log_default_handler] would | |
| 74233 | 75159 | ignore a message with the given domain and level. | |
| 74234 | 75160 | ||
| 74235 | 75161 | As with [func@GLib.log_default_handler], this function drops debug and informational | |
| @@ -74256,11 +75182,11 @@ if (!g_log_writer_default_would_drop (G_LOG_LEVEL_DEBUG, G_LOG_DOMAIN)) | |||
| 74256 | 75182 | g_debug ("my_object result: %s", result); | |
| 74257 | 75183 | } | |
| 74258 | 75184 | ```</doc> | |
| 74259 | - | <source-position filename="glib/gmessages.h" line="256"/> | |
| 75185 | + | <source-position filename="glib/gmessages.h" line="259"/> | |
| 74260 | 75186 | <return-value transfer-ownership="none"> | |
| 74261 | 75187 | <doc xml:space="preserve" | |
| 74262 | 75188 | filename="glib/gmessages.c" | |
| 74263 | - | line="2848">`TRUE` if the log message would be dropped by GLib’s | |
| 75189 | + | line="2934">`TRUE` if the log message would be dropped by GLib’s | |
| 74264 | 75190 | default log handlers</doc> | |
| 74265 | 75191 | <type name="gboolean" c:type="gboolean"/> | |
| 74266 | 75192 | </return-value> | |
| @@ -74268,7 +75194,7 @@ if (!g_log_writer_default_would_drop (G_LOG_LEVEL_DEBUG, G_LOG_DOMAIN)) | |||
| 74268 | 75194 | <parameter name="log_level" transfer-ownership="none"> | |
| 74269 | 75195 | <doc xml:space="preserve" | |
| 74270 | 75196 | filename="glib/gmessages.c" | |
| 74271 | - | line="2817">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75197 | + | line="2903">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74272 | 75198 | level</doc> | |
| 74273 | 75199 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74274 | 75200 | </parameter> | |
| @@ -74278,7 +75204,7 @@ if (!g_log_writer_default_would_drop (G_LOG_LEVEL_DEBUG, G_LOG_DOMAIN)) | |||
| 74278 | 75204 | allow-none="1"> | |
| 74279 | 75205 | <doc xml:space="preserve" | |
| 74280 | 75206 | filename="glib/gmessages.c" | |
| 74281 | - | line="2816">log domain</doc> | |
| 75207 | + | line="2902">log domain</doc> | |
| 74282 | 75208 | <type name="utf8" c:type="const char*"/> | |
| 74283 | 75209 | </parameter> | |
| 74284 | 75210 | </parameters> | |
| @@ -74288,7 +75214,7 @@ if (!g_log_writer_default_would_drop (G_LOG_LEVEL_DEBUG, G_LOG_DOMAIN)) | |||
| 74288 | 75214 | version="2.50"> | |
| 74289 | 75215 | <doc xml:space="preserve" | |
| 74290 | 75216 | filename="glib/gmessages.c" | |
| 74291 | - | line="2125">Format a structured log message as a string suitable for outputting to the | |
| 75217 | + | line="2274">Format a structured log message as a string suitable for outputting to the | |
| 74292 | 75218 | terminal (or elsewhere). | |
| 74293 | 75219 | ||
| 74294 | 75220 | This will include the values of all fields it knows | |
| @@ -74299,11 +75225,11 @@ unknown fields. | |||
| 74299 | 75225 | The returned string does **not** have a trailing new-line character. It is | |
| 74300 | 75226 | encoded in the character set of the current locale, which is not necessarily | |
| 74301 | 75227 | UTF-8.</doc> | |
| 74302 | - | <source-position filename="glib/gmessages.h" line="227"/> | |
| 75228 | + | <source-position filename="glib/gmessages.h" line="230"/> | |
| 74303 | 75229 | <return-value transfer-ownership="full"> | |
| 74304 | 75230 | <doc xml:space="preserve" | |
| 74305 | 75231 | filename="glib/gmessages.c" | |
| 74306 | - | line="2148">string containing the formatted log message, in | |
| 75232 | + | line="2297">string containing the formatted log message, in | |
| 74307 | 75233 | the character set of the current locale</doc> | |
| 74308 | 75234 | <type name="utf8" c:type="gchar*"/> | |
| 74309 | 75235 | </return-value> | |
| @@ -74311,14 +75237,14 @@ UTF-8.</doc> | |||
| 74311 | 75237 | <parameter name="log_level" transfer-ownership="none"> | |
| 74312 | 75238 | <doc xml:space="preserve" | |
| 74313 | 75239 | filename="glib/gmessages.c" | |
| 74314 | - | line="2127">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75240 | + | line="2276">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74315 | 75241 | level</doc> | |
| 74316 | 75242 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74317 | 75243 | </parameter> | |
| 74318 | 75244 | <parameter name="fields" transfer-ownership="none"> | |
| 74319 | 75245 | <doc xml:space="preserve" | |
| 74320 | 75246 | filename="glib/gmessages.c" | |
| 74321 | - | line="2129">key–value pairs of structured data forming | |
| 75247 | + | line="2278">key–value pairs of structured data forming | |
| 74322 | 75248 | the log message</doc> | |
| 74323 | 75249 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 74324 | 75250 | <type name="LogField" c:type="GLogField"/> | |
| @@ -74327,13 +75253,13 @@ UTF-8.</doc> | |||
| 74327 | 75253 | <parameter name="n_fields" transfer-ownership="none"> | |
| 74328 | 75254 | <doc xml:space="preserve" | |
| 74329 | 75255 | filename="glib/gmessages.c" | |
| 74330 | - | line="2131">number of elements in the @fields array</doc> | |
| 75256 | + | line="2280">number of elements in the @fields array</doc> | |
| 74331 | 75257 | <type name="gsize" c:type="gsize"/> | |
| 74332 | 75258 | </parameter> | |
| 74333 | 75259 | <parameter name="use_color" transfer-ownership="none"> | |
| 74334 | 75260 | <doc xml:space="preserve" | |
| 74335 | 75261 | filename="glib/gmessages.c" | |
| 74336 | - | line="2132">`TRUE` to use | |
| 75262 | + | line="2281">`TRUE` to use | |
| 74337 | 75263 | [ANSI color escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) | |
| 74338 | 75264 | when formatting the message, `FALSE` to not</doc> | |
| 74339 | 75265 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -74345,7 +75271,7 @@ UTF-8.</doc> | |||
| 74345 | 75271 | version="2.50"> | |
| 74346 | 75272 | <doc xml:space="preserve" | |
| 74347 | 75273 | filename="glib/gmessages.c" | |
| 74348 | - | line="2096">Check whether the given @output_fd file descriptor is a connection to the | |
| 75274 | + | line="2118">Check whether the given @output_fd file descriptor is a connection to the | |
| 74349 | 75275 | systemd journal, or something else (like a log file or `stdout` or | |
| 74350 | 75276 | `stderr`). | |
| 74351 | 75277 | ||
| @@ -74354,18 +75280,18 @@ the following construct without needing any additional error handling: | |||
| 74354 | 75280 | ```c | |
| 74355 | 75281 | is_journald = g_log_writer_is_journald (fileno (stderr)); | |
| 74356 | 75282 | ```</doc> | |
| 74357 | - | <source-position filename="glib/gmessages.h" line="224"/> | |
| 75283 | + | <source-position filename="glib/gmessages.h" line="227"/> | |
| 74358 | 75284 | <return-value transfer-ownership="none"> | |
| 74359 | 75285 | <doc xml:space="preserve" | |
| 74360 | 75286 | filename="glib/gmessages.c" | |
| 74361 | - | line="2110">`TRUE` if @output_fd points to the journal, `FALSE` otherwise</doc> | |
| 75287 | + | line="2132">`TRUE` if @output_fd points to the journal, `FALSE` otherwise</doc> | |
| 74362 | 75288 | <type name="gboolean" c:type="gboolean"/> | |
| 74363 | 75289 | </return-value> | |
| 74364 | 75290 | <parameters> | |
| 74365 | 75291 | <parameter name="output_fd" transfer-ownership="none"> | |
| 74366 | 75292 | <doc xml:space="preserve" | |
| 74367 | 75293 | filename="glib/gmessages.c" | |
| 74368 | - | line="2098">output file descriptor to check</doc> | |
| 75294 | + | line="2120">output file descriptor to check</doc> | |
| 74369 | 75295 | <type name="gint" c:type="gint"/> | |
| 74370 | 75296 | </parameter> | |
| 74371 | 75297 | </parameters> | |
| @@ -74375,7 +75301,7 @@ is_journald = g_log_writer_is_journald (fileno (stderr)); | |||
| 74375 | 75301 | version="2.50"> | |
| 74376 | 75302 | <doc xml:space="preserve" | |
| 74377 | 75303 | filename="glib/gmessages.c" | |
| 74378 | - | line="2458">Format a structured log message and send it to the systemd journal as a set | |
| 75304 | + | line="2543">Format a structured log message and send it to the systemd journal as a set | |
| 74379 | 75305 | of key–value pairs. | |
| 74380 | 75306 | ||
| 74381 | 75307 | All fields are sent to the journal, but if a field has | |
| @@ -74386,25 +75312,25 @@ This is suitable for use as a [type@GLib.LogWriterFunc]. | |||
| 74386 | 75312 | ||
| 74387 | 75313 | If GLib has been compiled without systemd support, this function is still | |
| 74388 | 75314 | defined, but will always return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |
| 74389 | - | <source-position filename="glib/gmessages.h" line="238"/> | |
| 75315 | + | <source-position filename="glib/gmessages.h" line="241"/> | |
| 74390 | 75316 | <return-value transfer-ownership="none"> | |
| 74391 | 75317 | <doc xml:space="preserve" | |
| 74392 | 75318 | filename="glib/gmessages.c" | |
| 74393 | - | line="2479">[enum@GLib.LogWriterOutput.HANDLED] on success, [enum@GLib.LogWriterOutput.UNHANDLED] otherwise</doc> | |
| 75319 | + | line="2564">[enum@GLib.LogWriterOutput.HANDLED] on success, [enum@GLib.LogWriterOutput.UNHANDLED] otherwise</doc> | |
| 74394 | 75320 | <type name="LogWriterOutput" c:type="GLogWriterOutput"/> | |
| 74395 | 75321 | </return-value> | |
| 74396 | 75322 | <parameters> | |
| 74397 | 75323 | <parameter name="log_level" transfer-ownership="none"> | |
| 74398 | 75324 | <doc xml:space="preserve" | |
| 74399 | 75325 | filename="glib/gmessages.c" | |
| 74400 | - | line="2460">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75326 | + | line="2545">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74401 | 75327 | level</doc> | |
| 74402 | 75328 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74403 | 75329 | </parameter> | |
| 74404 | 75330 | <parameter name="fields" transfer-ownership="none"> | |
| 74405 | 75331 | <doc xml:space="preserve" | |
| 74406 | 75332 | filename="glib/gmessages.c" | |
| 74407 | - | line="2462">key–value pairs of structured data forming | |
| 75333 | + | line="2547">key–value pairs of structured data forming | |
| 74408 | 75334 | the log message</doc> | |
| 74409 | 75335 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 74410 | 75336 | <type name="LogField" c:type="GLogField"/> | |
| @@ -74413,7 +75339,7 @@ defined, but will always return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |||
| 74413 | 75339 | <parameter name="n_fields" transfer-ownership="none"> | |
| 74414 | 75340 | <doc xml:space="preserve" | |
| 74415 | 75341 | filename="glib/gmessages.c" | |
| 74416 | - | line="2464">number of elements in the @fields array</doc> | |
| 75342 | + | line="2549">number of elements in the @fields array</doc> | |
| 74417 | 75343 | <type name="gsize" c:type="gsize"/> | |
| 74418 | 75344 | </parameter> | |
| 74419 | 75345 | <parameter name="user_data" | |
| @@ -74422,7 +75348,7 @@ defined, but will always return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |||
| 74422 | 75348 | allow-none="1"> | |
| 74423 | 75349 | <doc xml:space="preserve" | |
| 74424 | 75350 | filename="glib/gmessages.c" | |
| 74425 | - | line="2465">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 75351 | + | line="2550">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 74426 | 75352 | <type name="gpointer" c:type="gpointer"/> | |
| 74427 | 75353 | </parameter> | |
| 74428 | 75354 | </parameters> | |
| @@ -74432,7 +75358,7 @@ defined, but will always return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |||
| 74432 | 75358 | version="2.50"> | |
| 74433 | 75359 | <doc xml:space="preserve" | |
| 74434 | 75360 | filename="glib/gmessages.c" | |
| 74435 | - | line="2571">Format a structured log message and print it to either `stdout` or `stderr`, | |
| 75361 | + | line="2656">Format a structured log message and print it to either `stdout` or `stderr`, | |
| 74436 | 75362 | depending on its log level. | |
| 74437 | 75363 | ||
| 74438 | 75364 | [flags@GLib.LogLevelFlags.LEVEL_INFO] and [flags@GLib.LogLevelFlags.LEVEL_DEBUG] messages | |
| @@ -74449,11 +75375,11 @@ they will be used in the output. | |||
| 74449 | 75375 | A trailing new-line character is added to the log message when it is printed. | |
| 74450 | 75376 | ||
| 74451 | 75377 | This is suitable for use as a [type@GLib.LogWriterFunc].</doc> | |
| 74452 | - | <source-position filename="glib/gmessages.h" line="243"/> | |
| 75378 | + | <source-position filename="glib/gmessages.h" line="246"/> | |
| 74453 | 75379 | <return-value transfer-ownership="none"> | |
| 74454 | 75380 | <doc xml:space="preserve" | |
| 74455 | 75381 | filename="glib/gmessages.c" | |
| 74456 | - | line="2598">[enum@GLib.LogWriterOutput.HANDLED] on success, | |
| 75382 | + | line="2683">[enum@GLib.LogWriterOutput.HANDLED] on success, | |
| 74457 | 75383 | [enum@GLib.LogWriterOutput.UNHANDLED] otherwise</doc> | |
| 74458 | 75384 | <type name="LogWriterOutput" c:type="GLogWriterOutput"/> | |
| 74459 | 75385 | </return-value> | |
| @@ -74461,14 +75387,14 @@ This is suitable for use as a [type@GLib.LogWriterFunc].</doc> | |||
| 74461 | 75387 | <parameter name="log_level" transfer-ownership="none"> | |
| 74462 | 75388 | <doc xml:space="preserve" | |
| 74463 | 75389 | filename="glib/gmessages.c" | |
| 74464 | - | line="2573">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75390 | + | line="2658">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74465 | 75391 | level</doc> | |
| 74466 | 75392 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74467 | 75393 | </parameter> | |
| 74468 | 75394 | <parameter name="fields" transfer-ownership="none"> | |
| 74469 | 75395 | <doc xml:space="preserve" | |
| 74470 | 75396 | filename="glib/gmessages.c" | |
| 74471 | - | line="2575">key–value pairs of structured data forming | |
| 75397 | + | line="2660">key–value pairs of structured data forming | |
| 74472 | 75398 | the log message</doc> | |
| 74473 | 75399 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 74474 | 75400 | <type name="LogField" c:type="GLogField"/> | |
| @@ -74477,7 +75403,7 @@ This is suitable for use as a [type@GLib.LogWriterFunc].</doc> | |||
| 74477 | 75403 | <parameter name="n_fields" transfer-ownership="none"> | |
| 74478 | 75404 | <doc xml:space="preserve" | |
| 74479 | 75405 | filename="glib/gmessages.c" | |
| 74480 | - | line="2577">number of elements in the @fields array</doc> | |
| 75406 | + | line="2662">number of elements in the @fields array</doc> | |
| 74481 | 75407 | <type name="gsize" c:type="gsize"/> | |
| 74482 | 75408 | </parameter> | |
| 74483 | 75409 | <parameter name="user_data" | |
| @@ -74486,7 +75412,7 @@ This is suitable for use as a [type@GLib.LogWriterFunc].</doc> | |||
| 74486 | 75412 | allow-none="1"> | |
| 74487 | 75413 | <doc xml:space="preserve" | |
| 74488 | 75414 | filename="glib/gmessages.c" | |
| 74489 | - | line="2578">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 75415 | + | line="2663">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 74490 | 75416 | <type name="gpointer" c:type="gpointer"/> | |
| 74491 | 75417 | </parameter> | |
| 74492 | 75418 | </parameters> | |
| @@ -74496,22 +75422,22 @@ This is suitable for use as a [type@GLib.LogWriterFunc].</doc> | |||
| 74496 | 75422 | version="2.50"> | |
| 74497 | 75423 | <doc xml:space="preserve" | |
| 74498 | 75424 | filename="glib/gmessages.c" | |
| 74499 | - | line="1980">Check whether the given @output_fd file descriptor supports | |
| 75425 | + | line="2002">Check whether the given @output_fd file descriptor supports | |
| 74500 | 75426 | [ANSI color escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code). | |
| 74501 | 75427 | ||
| 74502 | 75428 | If so, they can safely be used when formatting log messages.</doc> | |
| 74503 | - | <source-position filename="glib/gmessages.h" line="222"/> | |
| 75429 | + | <source-position filename="glib/gmessages.h" line="225"/> | |
| 74504 | 75430 | <return-value transfer-ownership="none"> | |
| 74505 | 75431 | <doc xml:space="preserve" | |
| 74506 | 75432 | filename="glib/gmessages.c" | |
| 74507 | - | line="1989">`TRUE` if ANSI color escapes are supported, `FALSE` otherwise</doc> | |
| 75433 | + | line="2011">`TRUE` if ANSI color escapes are supported, `FALSE` otherwise</doc> | |
| 74508 | 75434 | <type name="gboolean" c:type="gboolean"/> | |
| 74509 | 75435 | </return-value> | |
| 74510 | 75436 | <parameters> | |
| 74511 | 75437 | <parameter name="output_fd" transfer-ownership="none"> | |
| 74512 | 75438 | <doc xml:space="preserve" | |
| 74513 | 75439 | filename="glib/gmessages.c" | |
| 74514 | - | line="1982">output file descriptor to check</doc> | |
| 75440 | + | line="2004">output file descriptor to check</doc> | |
| 74515 | 75441 | <type name="gint" c:type="gint"/> | |
| 74516 | 75442 | </parameter> | |
| 74517 | 75443 | </parameters> | |
| @@ -74521,7 +75447,7 @@ If so, they can safely be used when formatting log messages.</doc> | |||
| 74521 | 75447 | version="2.80"> | |
| 74522 | 75448 | <doc xml:space="preserve" | |
| 74523 | 75449 | filename="glib/gmessages.c" | |
| 74524 | - | line="2260">Format a structured log message and send it to the syslog daemon. Only fields | |
| 75450 | + | line="2345">Format a structured log message and send it to the syslog daemon. Only fields | |
| 74525 | 75451 | which are understood by this function are included in the formatted string | |
| 74526 | 75452 | which is printed. | |
| 74527 | 75453 | ||
| @@ -74533,25 +75459,25 @@ This is suitable for use as a [type@GLib.LogWriterFunc]. | |||
| 74533 | 75459 | ||
| 74534 | 75460 | If syslog is not supported, this function is still defined, but will always | |
| 74535 | 75461 | return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |
| 74536 | - | <source-position filename="glib/gmessages.h" line="233"/> | |
| 75462 | + | <source-position filename="glib/gmessages.h" line="236"/> | |
| 74537 | 75463 | <return-value transfer-ownership="none"> | |
| 74538 | 75464 | <doc xml:space="preserve" | |
| 74539 | 75465 | filename="glib/gmessages.c" | |
| 74540 | - | line="2282">[enum@GLib.LogWriterOutput.HANDLED] on success, [enum@GLib.LogWriterOutput.UNHANDLED] otherwise</doc> | |
| 75466 | + | line="2367">[enum@GLib.LogWriterOutput.HANDLED] on success, [enum@GLib.LogWriterOutput.UNHANDLED] otherwise</doc> | |
| 74541 | 75467 | <type name="LogWriterOutput" c:type="GLogWriterOutput"/> | |
| 74542 | 75468 | </return-value> | |
| 74543 | 75469 | <parameters> | |
| 74544 | 75470 | <parameter name="log_level" transfer-ownership="none"> | |
| 74545 | 75471 | <doc xml:space="preserve" | |
| 74546 | 75472 | filename="glib/gmessages.c" | |
| 74547 | - | line="2262">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 75473 | + | line="2347">log level, either from [type@GLib.LogLevelFlags], or a user-defined | |
| 74548 | 75474 | level</doc> | |
| 74549 | 75475 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74550 | 75476 | </parameter> | |
| 74551 | 75477 | <parameter name="fields" transfer-ownership="none"> | |
| 74552 | 75478 | <doc xml:space="preserve" | |
| 74553 | 75479 | filename="glib/gmessages.c" | |
| 74554 | - | line="2264">key–value pairs of structured data forming | |
| 75480 | + | line="2349">key–value pairs of structured data forming | |
| 74555 | 75481 | the log message</doc> | |
| 74556 | 75482 | <array length="2" zero-terminated="0" c:type="const GLogField*"> | |
| 74557 | 75483 | <type name="LogField" c:type="GLogField"/> | |
| @@ -74560,7 +75486,7 @@ return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |||
| 74560 | 75486 | <parameter name="n_fields" transfer-ownership="none"> | |
| 74561 | 75487 | <doc xml:space="preserve" | |
| 74562 | 75488 | filename="glib/gmessages.c" | |
| 74563 | - | line="2266">number of elements in the @fields array</doc> | |
| 75489 | + | line="2351">number of elements in the @fields array</doc> | |
| 74564 | 75490 | <type name="gsize" c:type="gsize"/> | |
| 74565 | 75491 | </parameter> | |
| 74566 | 75492 | <parameter name="user_data" | |
| @@ -74569,7 +75495,7 @@ return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |||
| 74569 | 75495 | allow-none="1"> | |
| 74570 | 75496 | <doc xml:space="preserve" | |
| 74571 | 75497 | filename="glib/gmessages.c" | |
| 74572 | - | line="2267">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 75498 | + | line="2352">user data passed to [func@GLib.log_set_writer_func]</doc> | |
| 74573 | 75499 | <type name="gpointer" c:type="gpointer"/> | |
| 74574 | 75500 | </parameter> | |
| 74575 | 75501 | </parameters> | |
| @@ -74577,7 +75503,7 @@ return [enum@GLib.LogWriterOutput.UNHANDLED].</doc> | |||
| 74577 | 75503 | <function name="logv" c:identifier="g_logv" introspectable="0"> | |
| 74578 | 75504 | <doc xml:space="preserve" | |
| 74579 | 75505 | filename="glib/gmessages.c" | |
| 74580 | - | line="1135">Logs an error or debugging message. | |
| 75506 | + | line="1139">Logs an error or debugging message. | |
| 74581 | 75507 | ||
| 74582 | 75508 | If the log level has been set as fatal, [func@GLib.BREAKPOINT] is called | |
| 74583 | 75509 | to terminate the program. See the documentation for [func@GLib.BREAKPOINT] for | |
| @@ -74603,26 +75529,26 @@ application domain.</doc> | |||
| 74603 | 75529 | allow-none="1"> | |
| 74604 | 75530 | <doc xml:space="preserve" | |
| 74605 | 75531 | filename="glib/gmessages.c" | |
| 74606 | - | line="1137">the log domain | |
| 75532 | + | line="1141">the log domain | |
| 74607 | 75533 | application domain</doc> | |
| 74608 | 75534 | <type name="utf8" c:type="const gchar*"/> | |
| 74609 | 75535 | </parameter> | |
| 74610 | 75536 | <parameter name="log_level" transfer-ownership="none"> | |
| 74611 | 75537 | <doc xml:space="preserve" | |
| 74612 | 75538 | filename="glib/gmessages.c" | |
| 74613 | - | line="1139">the log level</doc> | |
| 75539 | + | line="1143">the log level</doc> | |
| 74614 | 75540 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 74615 | 75541 | </parameter> | |
| 74616 | 75542 | <parameter name="format" transfer-ownership="none"> | |
| 74617 | 75543 | <doc xml:space="preserve" | |
| 74618 | 75544 | filename="glib/gmessages.c" | |
| 74619 | - | line="1140">the message format. See the `printf()` documentation</doc> | |
| 75545 | + | line="1144">the message format. See the `printf()` documentation</doc> | |
| 74620 | 75546 | <type name="utf8" c:type="const gchar*"/> | |
| 74621 | 75547 | </parameter> | |
| 74622 | 75548 | <parameter name="args" transfer-ownership="none"> | |
| 74623 | 75549 | <doc xml:space="preserve" | |
| 74624 | 75550 | filename="glib/gmessages.c" | |
| 74625 | - | line="1141">the parameters to insert into the format string</doc> | |
| 75551 | + | line="1145">the parameters to insert into the format string</doc> | |
| 74626 | 75552 | <type name="va_list" c:type="va_list"/> | |
| 74627 | 75553 | </parameter> | |
| 74628 | 75554 | </parameters> | |
| @@ -74630,7 +75556,7 @@ application domain.</doc> | |||
| 74630 | 75556 | <function name="lstat" c:identifier="g_lstat" version="2.6"> | |
| 74631 | 75557 | <doc xml:space="preserve" | |
| 74632 | 75558 | filename="glib/gstdio.c" | |
| 74633 | - | line="1351">A wrapper for the POSIX lstat() function. The lstat() function is | |
| 75559 | + | line="1362">A wrapper for the POSIX lstat() function. The lstat() function is | |
| 74634 | 75560 | like stat() except that in the case of symbolic links, it returns | |
| 74635 | 75561 | information about the symbolic link itself and not the file that it | |
| 74636 | 75562 | refers to. If the system does not support symbolic links g_lstat() | |
| @@ -74641,7 +75567,7 @@ See your C library manual for more details about lstat().</doc> | |||
| 74641 | 75567 | <return-value transfer-ownership="none"> | |
| 74642 | 75568 | <doc xml:space="preserve" | |
| 74643 | 75569 | filename="glib/gstdio.c" | |
| 74644 | - | line="1366">0 if the information was successfully retrieved, | |
| 75570 | + | line="1377">0 if the information was successfully retrieved, | |
| 74645 | 75571 | -1 if an error occurred</doc> | |
| 74646 | 75572 | <type name="gint" c:type="int"/> | |
| 74647 | 75573 | </return-value> | |
| @@ -74649,14 +75575,14 @@ See your C library manual for more details about lstat().</doc> | |||
| 74649 | 75575 | <parameter name="filename" transfer-ownership="none"> | |
| 74650 | 75576 | <doc xml:space="preserve" | |
| 74651 | 75577 | filename="glib/gstdio.c" | |
| 74652 | - | line="1353">a pathname in the GLib file name encoding | |
| 75578 | + | line="1364">a pathname in the GLib file name encoding | |
| 74653 | 75579 | (UTF-8 on Windows)</doc> | |
| 74654 | 75580 | <type name="filename" c:type="const gchar*"/> | |
| 74655 | 75581 | </parameter> | |
| 74656 | 75582 | <parameter name="buf" transfer-ownership="none"> | |
| 74657 | 75583 | <doc xml:space="preserve" | |
| 74658 | 75584 | filename="glib/gstdio.c" | |
| 74659 | - | line="1355">a pointer to a stat struct, which will be filled with the file | |
| 75585 | + | line="1366">a pointer to a stat struct, which will be filled with the file | |
| 74660 | 75586 | information</doc> | |
| 74661 | 75587 | <type name="StatBuf" c:type="GStatBuf*"/> | |
| 74662 | 75588 | </parameter> | |
| @@ -74721,15 +75647,17 @@ See your C library manual for more details about lstat().</doc> | |||
| 74721 | 75647 | moved-to="MainContext.default"> | |
| 74722 | 75648 | <doc xml:space="preserve" | |
| 74723 | 75649 | filename="glib/gmain.c" | |
| 74724 | - | line="687">Returns the global-default main context. This is the main context | |
| 75650 | + | line="725">Returns the global-default main context. | |
| 75651 | + | ||
| 75652 | + | This is the main context | |
| 74725 | 75653 | used for main loop functions when a main loop is not explicitly | |
| 74726 | - | specified, and corresponds to the "main" main loop. See also | |
| 75654 | + | specified, and corresponds to the ‘main’ main loop. See also | |
| 74727 | 75655 | [func@GLib.MainContext.get_thread_default].</doc> | |
| 74728 | - | <source-position filename="glib/gmain.h" line="497"/> | |
| 75656 | + | <source-position filename="glib/gmain.h" line="498"/> | |
| 74729 | 75657 | <return-value transfer-ownership="none"> | |
| 74730 | 75658 | <doc xml:space="preserve" | |
| 74731 | 75659 | filename="glib/gmain.c" | |
| 74732 | - | line="695">the global-default main context.</doc> | |
| 75660 | + | line="735">the global-default main context.</doc> | |
| 74733 | 75661 | <type name="MainContext" c:type="GMainContext*"/> | |
| 74734 | 75662 | </return-value> | |
| 74735 | 75663 | </function> | |
| @@ -74739,23 +75667,24 @@ specified, and corresponds to the "main" main loop. See also | |||
| 74739 | 75667 | version="2.22"> | |
| 74740 | 75668 | <doc xml:space="preserve" | |
| 74741 | 75669 | filename="glib/gmain.c" | |
| 74742 | - | line="846">Gets the thread-default #GMainContext for this thread. Asynchronous | |
| 74743 | - | operations that want to be able to be run in contexts other than | |
| 75670 | + | line="886">Gets the thread-default main context for this thread. | |
| 75671 | + | ||
| 75672 | + | Asynchronous operations that want to be able to be run in contexts other than | |
| 74744 | 75673 | the default one should call this method or | |
| 74745 | 75674 | [func@GLib.MainContext.ref_thread_default] to get a | |
| 74746 | 75675 | [struct@GLib.MainContext] to add their [struct@GLib.Source]s to. (Note that | |
| 74747 | 75676 | even in single-threaded programs applications may sometimes want to | |
| 74748 | 75677 | temporarily push a non-default context, so it is not safe to assume that | |
| 74749 | - | this will always return %NULL if you are running in the default thread.) | |
| 75678 | + | this will always return `NULL` if you are running in the default thread.) | |
| 74750 | 75679 | ||
| 74751 | 75680 | If you need to hold a reference on the context, use | |
| 74752 | 75681 | [func@GLib.MainContext.ref_thread_default] instead.</doc> | |
| 74753 | - | <source-position filename="glib/gmain.h" line="578"/> | |
| 75682 | + | <source-position filename="glib/gmain.h" line="579"/> | |
| 74754 | 75683 | <return-value transfer-ownership="none" nullable="1"> | |
| 74755 | 75684 | <doc xml:space="preserve" | |
| 74756 | 75685 | filename="glib/gmain.c" | |
| 74757 | - | line="861">the thread-default #GMainContext, or | |
| 74758 | - | %NULL if the thread-default context is the global-default main context.</doc> | |
| 75686 | + | line="902">the thread-default main context, or | |
| 75687 | + | `NULL` if the thread-default context is the global-default main context</doc> | |
| 74759 | 75688 | <type name="MainContext" c:type="GMainContext*"/> | |
| 74760 | 75689 | </return-value> | |
| 74761 | 75690 | </function> | |
| @@ -74765,19 +75694,21 @@ If you need to hold a reference on the context, use | |||
| 74765 | 75694 | version="2.32"> | |
| 74766 | 75695 | <doc xml:space="preserve" | |
| 74767 | 75696 | filename="glib/gmain.c" | |
| 74768 | - | line="878">Gets the thread-default [struct@GLib.MainContext] for this thread, as with | |
| 74769 | - | [func@GLib.MainContext.get_thread_default], but also adds a reference to | |
| 74770 | - | it with [method@GLib.MainContext.ref]. In addition, unlike | |
| 75697 | + | line="918">Gets a reference to the thread-default [struct@GLib.MainContext] for this | |
| 75698 | + | thread | |
| 75699 | + | ||
| 75700 | + | This is the same as [func@GLib.MainContext.get_thread_default], but it also | |
| 75701 | + | adds a reference to the returned main context with [method@GLib.MainContext.ref]. | |
| 75702 | + | In addition, unlike | |
| 74771 | 75703 | [func@GLib.MainContext.get_thread_default], if the thread-default context | |
| 74772 | 75704 | is the global-default context, this will return that | |
| 74773 | 75705 | [struct@GLib.MainContext] (with a ref added to it) rather than returning | |
| 74774 | - | %NULL.</doc> | |
| 74775 | - | <source-position filename="glib/gmain.h" line="580"/> | |
| 75706 | + | `NULL`.</doc> | |
| 75707 | + | <source-position filename="glib/gmain.h" line="581"/> | |
| 74776 | 75708 | <return-value transfer-ownership="full"> | |
| 74777 | 75709 | <doc xml:space="preserve" | |
| 74778 | 75710 | filename="glib/gmain.c" | |
| 74779 | - | line="889">the thread-default #GMainContext. Unref | |
| 74780 | - | with [method@GLib.MainContext.unref] when you are done with it.</doc> | |
| 75711 | + | line="932">the thread-default main context</doc> | |
| 74781 | 75712 | <type name="MainContext" c:type="GMainContext*"/> | |
| 74782 | 75713 | </return-value> | |
| 74783 | 75714 | </function> | |
| @@ -74786,30 +75717,32 @@ is the global-default context, this will return that | |||
| 74786 | 75717 | version="2.12"> | |
| 74787 | 75718 | <doc xml:space="preserve" | |
| 74788 | 75719 | filename="glib/gmain.c" | |
| 74789 | - | line="3156">Returns the currently firing source for this thread.</doc> | |
| 74790 | - | <source-position filename="glib/gmain.h" line="569"/> | |
| 75720 | + | line="3322">Returns the currently firing source for this thread.</doc> | |
| 75721 | + | <source-position filename="glib/gmain.h" line="570"/> | |
| 74791 | 75722 | <return-value transfer-ownership="none" nullable="1"> | |
| 74792 | 75723 | <doc xml:space="preserve" | |
| 74793 | 75724 | filename="glib/gmain.c" | |
| 74794 | - | line="3161">The currently firing source or %NULL.</doc> | |
| 75725 | + | line="3327">the currently firing source, or `NULL` | |
| 75726 | + | if none is firing</doc> | |
| 74795 | 75727 | <type name="Source" c:type="GSource*"/> | |
| 74796 | 75728 | </return-value> | |
| 74797 | 75729 | </function> | |
| 74798 | 75730 | <function name="main_depth" c:identifier="g_main_depth"> | |
| 74799 | 75731 | <doc xml:space="preserve" | |
| 74800 | 75732 | filename="glib/gmain.c" | |
| 74801 | - | line="3042">Returns the depth of the stack of calls to | |
| 75733 | + | line="3207">Returns the depth of the stack of calls to | |
| 74802 | 75734 | [method@GLib.MainContext.dispatch] on any #GMainContext in the current thread. | |
| 74803 | - | That is, when called from the toplevel, it gives 0. When | |
| 75735 | + | ||
| 75736 | + | That is, when called from the top level, it gives `0`. When | |
| 74804 | 75737 | called from within a callback from [method@GLib.MainContext.iteration] | |
| 74805 | - | (or [method@GLib.MainLoop.run], etc.) it returns 1. When called from within | |
| 75738 | + | (or [method@GLib.MainLoop.run], etc.) it returns `1`. When called from within | |
| 74806 | 75739 | a callback to a recursive call to [method@GLib.MainContext.iteration], | |
| 74807 | - | it returns 2. And so forth. | |
| 75740 | + | it returns `2`. And so forth. | |
| 74808 | 75741 | ||
| 74809 | 75742 | This function is useful in a situation like the following: | |
| 74810 | - | Imagine an extremely simple "garbage collected" system. | |
| 75743 | + | Imagine an extremely simple ‘garbage collected’ system. | |
| 74811 | 75744 | ||
| 74812 | - | |[<!-- language="C" --> | |
| 75745 | + | ```c | |
| 74813 | 75746 | static GList *free_list; | |
| 74814 | 75747 | ||
| 74815 | 75748 | gpointer | |
| @@ -74837,16 +75770,16 @@ while (TRUE); | |||
| 74837 | 75770 | g_main_context_iteration (NULL, TRUE); | |
| 74838 | 75771 | free_allocated_memory(); | |
| 74839 | 75772 | } | |
| 74840 | - | ]| | |
| 75773 | + | ``` | |
| 74841 | 75774 | ||
| 74842 | 75775 | This works from an application, however, if you want to do the same | |
| 74843 | 75776 | thing from a library, it gets more difficult, since you no longer | |
| 74844 | 75777 | control the main loop. You might think you can simply use an idle | |
| 74845 | - | function to make the call to free_allocated_memory(), but that | |
| 74846 | - | doesn't work, since the idle function could be called from a | |
| 75778 | + | function to make the call to `free_allocated_memory()`, but that | |
| 75779 | + | doesn’t work, since the idle function could be called from a | |
| 74847 | 75780 | recursive callback. This can be fixed by using [func@GLib.main_depth] | |
| 74848 | 75781 | ||
| 74849 | - | |[<!-- language="C" --> | |
| 75782 | + | ```c | |
| 74850 | 75783 | gpointer | |
| 74851 | 75784 | allocate_memory (gsize size) | |
| 74852 | 75785 | { | |
| @@ -74877,33 +75810,33 @@ free_allocated_memory (void) | |||
| 74877 | 75810 | l = next; | |
| 74878 | 75811 | } | |
| 74879 | 75812 | } | |
| 74880 | - | ]| | |
| 75813 | + | ``` | |
| 74881 | 75814 | ||
| 74882 | 75815 | There is a temptation to use [func@GLib.main_depth] to solve | |
| 74883 | 75816 | problems with reentrancy. For instance, while waiting for data | |
| 74884 | 75817 | to be received from the network in response to a menu item, | |
| 74885 | 75818 | the menu item might be selected again. It might seem that | |
| 74886 | - | one could make the menu item's callback return immediately | |
| 75819 | + | one could make the menu item’s callback return immediately | |
| 74887 | 75820 | and do nothing if [func@GLib.main_depth] returns a value greater than 1. | |
| 74888 | 75821 | However, this should be avoided since the user then sees selecting | |
| 74889 | - | the menu item do nothing. Furthermore, you'll find yourself adding | |
| 75822 | + | the menu item do nothing. Furthermore, you’ll find yourself adding | |
| 74890 | 75823 | these checks all over your code, since there are doubtless many, | |
| 74891 | 75824 | many things that the user could do. Instead, you can use the | |
| 74892 | 75825 | following techniques: | |
| 74893 | 75826 | ||
| 74894 | - | 1. Use gtk_widget_set_sensitive() or modal dialogs to prevent | |
| 75827 | + | 1. Use `gtk_widget_set_sensitive()` or modal dialogs to prevent | |
| 74895 | 75828 | the user from interacting with elements while the main | |
| 74896 | 75829 | loop is recursing. | |
| 74897 | 75830 | ||
| 74898 | - | 2. Avoid main loop recursion in situations where you can't handle | |
| 75831 | + | 2. Avoid main loop recursion in situations where you can’t handle | |
| 74899 | 75832 | arbitrary callbacks. Instead, structure your code so that you | |
| 74900 | 75833 | simply return to the main loop and then get called again when | |
| 74901 | 75834 | there is more work to do.</doc> | |
| 74902 | - | <source-position filename="glib/gmain.h" line="567"/> | |
| 75835 | + | <source-position filename="glib/gmain.h" line="568"/> | |
| 74903 | 75836 | <return-value transfer-ownership="none"> | |
| 74904 | 75837 | <doc xml:space="preserve" | |
| 74905 | 75838 | filename="glib/gmain.c" | |
| 74906 | - | line="3147">The main loop recursion level in the current thread</doc> | |
| 75839 | + | line="3313">the main loop recursion level in the current thread</doc> | |
| 74907 | 75840 | <type name="gint" c:type="gint"/> | |
| 74908 | 75841 | </return-value> | |
| 74909 | 75842 | </function> | |
| @@ -75198,7 +76131,7 @@ attributes (of type %G_MARKUP_ERROR_INVALID_CONTENT) as well | |||
| 75198 | 76131 | as parse errors for boolean-valued attributes (again of type | |
| 75199 | 76132 | %G_MARKUP_ERROR_INVALID_CONTENT). In all of these cases %FALSE | |
| 75200 | 76133 | will be returned and @error will be set as appropriate.</doc> | |
| 75201 | - | <source-position filename="glib/gmarkup.h" line="255"/> | |
| 76134 | + | <source-position filename="glib/gmarkup.h" line="259"/> | |
| 75202 | 76135 | <return-value transfer-ownership="none"> | |
| 75203 | 76136 | <doc xml:space="preserve" | |
| 75204 | 76137 | filename="glib/gmarkup.c" | |
| @@ -75274,7 +76207,7 @@ the range of &#x1; ... &#x1f; for all control sequences | |||
| 75274 | 76207 | except for tabstop, newline and carriage return. The character | |
| 75275 | 76208 | references in this range are not valid XML 1.0, but they are | |
| 75276 | 76209 | valid XML 1.1 and will be accepted by the GMarkup parser.</doc> | |
| 75277 | - | <source-position filename="glib/gmarkup.h" line="231"/> | |
| 76210 | + | <source-position filename="glib/gmarkup.h" line="235"/> | |
| 75278 | 76211 | <return-value transfer-ownership="full"> | |
| 75279 | 76212 | <doc xml:space="preserve" | |
| 75280 | 76213 | filename="glib/gmarkup.c" | |
| @@ -75320,7 +76253,7 @@ output = g_markup_printf_escaped ("<purchase>" | |||
| 75320 | 76253 | "</purchase>", | |
| 75321 | 76254 | store, item); | |
| 75322 | 76255 | ]|</doc> | |
| 75323 | - | <source-position filename="glib/gmarkup.h" line="235"/> | |
| 76256 | + | <source-position filename="glib/gmarkup.h" line="239"/> | |
| 75324 | 76257 | <return-value transfer-ownership="full"> | |
| 75325 | 76258 | <doc xml:space="preserve" | |
| 75326 | 76259 | filename="glib/gmarkup.c" | |
| @@ -75352,7 +76285,7 @@ output = g_markup_printf_escaped ("<purchase>" | |||
| 75352 | 76285 | line="2399">Formats the data in @args according to @format, escaping | |
| 75353 | 76286 | all string and character arguments in the fashion | |
| 75354 | 76287 | of g_markup_escape_text(). See g_markup_printf_escaped().</doc> | |
| 75355 | - | <source-position filename="glib/gmarkup.h" line="238"/> | |
| 76288 | + | <source-position filename="glib/gmarkup.h" line="242"/> | |
| 75356 | 76289 | <return-value transfer-ownership="full"> | |
| 75357 | 76290 | <doc xml:space="preserve" | |
| 75358 | 76291 | filename="glib/gmarkup.c" | |
| @@ -75377,7 +76310,9 @@ of g_markup_escape_text(). See g_markup_printf_escaped().</doc> | |||
| 75377 | 76310 | </function> | |
| 75378 | 76311 | <function-macro name="mem_chunk_create" | |
| 75379 | 76312 | c:identifier="g_mem_chunk_create" | |
| 75380 | - | introspectable="0"> | |
| 76313 | + | introspectable="0" | |
| 76314 | + | deprecated="1" | |
| 76315 | + | deprecated-version="2.10"> | |
| 75381 | 76316 | <source-position filename="glib/deprecated/gallocator.h" line="39"/> | |
| 75382 | 76317 | <parameters> | |
| 75383 | 76318 | <parameter name="type"> | |
| @@ -75390,7 +76325,9 @@ of g_markup_escape_text(). See g_markup_printf_escaped().</doc> | |||
| 75390 | 76325 | </function-macro> | |
| 75391 | 76326 | <function name="mem_chunk_info" | |
| 75392 | 76327 | c:identifier="g_mem_chunk_info" | |
| 75393 | - | moved-to="MemChunk.info"> | |
| 76328 | + | moved-to="MemChunk.info" | |
| 76329 | + | deprecated="1" | |
| 76330 | + | deprecated-version="2.10"> | |
| 75394 | 76331 | <source-position filename="glib/deprecated/gallocator.h" line="63"/> | |
| 75395 | 76332 | <return-value transfer-ownership="none"> | |
| 75396 | 76333 | <type name="none" c:type="void"/> | |
| @@ -75558,7 +76495,7 @@ The source and destination areas may overlap.</doc> | |||
| 75558 | 76495 | <function-macro name="message" c:identifier="g_message" introspectable="0"> | |
| 75559 | 76496 | <doc xml:space="preserve" | |
| 75560 | 76497 | filename="glib/gmessages.c" | |
| 75561 | - | line="181">A convenience function/macro to log a normal message. | |
| 76498 | + | line="180">A convenience function/macro to log a normal message. | |
| 75562 | 76499 | ||
| 75563 | 76500 | If [func@GLib.log_default_handler] is used as the log handler function, a new-line | |
| 75564 | 76501 | character will automatically be appended to @..., and need not be entered | |
| @@ -75567,12 +76504,12 @@ manually. | |||
| 75567 | 76504 | If structured logging is enabled, this will use [func@GLib.log_structured]; | |
| 75568 | 76505 | otherwise it will use [func@GLib.log]. See | |
| 75569 | 76506 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| 75570 | - | <source-position filename="glib/gmessages.h" line="331"/> | |
| 76507 | + | <source-position filename="glib/gmessages.h" line="334"/> | |
| 75571 | 76508 | <parameters> | |
| 75572 | 76509 | <parameter name="..."> | |
| 75573 | 76510 | <doc xml:space="preserve" | |
| 75574 | 76511 | filename="glib/gmessages.c" | |
| 75575 | - | line="183">format string, followed by parameters to insert into the format string | |
| 76512 | + | line="182">format string, followed by parameters to insert into the format string | |
| 75576 | 76513 | (as with `printf()`)</doc> | |
| 75577 | 76514 | </parameter> | |
| 75578 | 76515 | </parameters> | |
| @@ -75580,7 +76517,7 @@ otherwise it will use [func@GLib.log]. See | |||
| 75580 | 76517 | <function name="mkdir" c:identifier="g_mkdir" version="2.6"> | |
| 75581 | 76518 | <doc xml:space="preserve" | |
| 75582 | 76519 | filename="glib/gstdio.c" | |
| 75583 | - | line="1200">A wrapper for the POSIX mkdir() function. The mkdir() function | |
| 76520 | + | line="1211">A wrapper for the POSIX mkdir() function. The mkdir() function | |
| 75584 | 76521 | attempts to create a directory with the given name and permissions. | |
| 75585 | 76522 | The mode argument is ignored on Windows. | |
| 75586 | 76523 | ||
| @@ -75589,7 +76526,7 @@ See your C library manual for more details about mkdir().</doc> | |||
| 75589 | 76526 | <return-value transfer-ownership="none"> | |
| 75590 | 76527 | <doc xml:space="preserve" | |
| 75591 | 76528 | filename="glib/gstdio.c" | |
| 75592 | - | line="1212">0 if the directory was successfully created, -1 if an error | |
| 76529 | + | line="1223">0 if the directory was successfully created, -1 if an error | |
| 75593 | 76530 | occurred</doc> | |
| 75594 | 76531 | <type name="gint" c:type="int"/> | |
| 75595 | 76532 | </return-value> | |
| @@ -75597,14 +76534,14 @@ See your C library manual for more details about mkdir().</doc> | |||
| 75597 | 76534 | <parameter name="filename" transfer-ownership="none"> | |
| 75598 | 76535 | <doc xml:space="preserve" | |
| 75599 | 76536 | filename="glib/gstdio.c" | |
| 75600 | - | line="1202">a pathname in the GLib file name encoding | |
| 76537 | + | line="1213">a pathname in the GLib file name encoding | |
| 75601 | 76538 | (UTF-8 on Windows)</doc> | |
| 75602 | 76539 | <type name="filename" c:type="const gchar*"/> | |
| 75603 | 76540 | </parameter> | |
| 75604 | 76541 | <parameter name="mode" transfer-ownership="none"> | |
| 75605 | 76542 | <doc xml:space="preserve" | |
| 75606 | 76543 | filename="glib/gstdio.c" | |
| 75607 | - | line="1204">permissions to use for the newly created directory</doc> | |
| 76544 | + | line="1215">permissions to use for the newly created directory</doc> | |
| 75608 | 76545 | <type name="gint" c:type="int"/> | |
| 75609 | 76546 | </parameter> | |
| 75610 | 76547 | </parameters> | |
| @@ -75645,7 +76582,7 @@ created. Returns -1 if an error occurred, with errno set.</doc> | |||
| 75645 | 76582 | introspectable="0"> | |
| 75646 | 76583 | <doc xml:space="preserve" | |
| 75647 | 76584 | filename="glib/gfileutils.c" | |
| 75648 | - | line="1633">Creates a temporary directory in the current directory. | |
| 76585 | + | line="1654">Creates a temporary directory in the current directory. | |
| 75649 | 76586 | ||
| 75650 | 76587 | See the [`mkdtemp()`](man:mkdtemp(3)) documentation on most UNIX-like systems. | |
| 75651 | 76588 | ||
| @@ -75665,7 +76602,7 @@ g_dir_make_tmp() instead.</doc> | |||
| 75665 | 76602 | <return-value transfer-ownership="full" nullable="1"> | |
| 75666 | 76603 | <doc xml:space="preserve" | |
| 75667 | 76604 | filename="glib/gfileutils.c" | |
| 75668 | - | line="1654">A pointer to @tmpl, which has been | |
| 76605 | + | line="1675">A pointer to @tmpl, which has been | |
| 75669 | 76606 | modified to hold the directory name. In case of errors, %NULL is | |
| 75670 | 76607 | returned and %errno will be set.</doc> | |
| 75671 | 76608 | <type name="filename" c:type="gchar*"/> | |
| @@ -75674,7 +76611,7 @@ g_dir_make_tmp() instead.</doc> | |||
| 75674 | 76611 | <parameter name="tmpl" transfer-ownership="none"> | |
| 75675 | 76612 | <doc xml:space="preserve" | |
| 75676 | 76613 | filename="glib/gfileutils.c" | |
| 75677 | - | line="1635">template directory name</doc> | |
| 76614 | + | line="1656">template directory name</doc> | |
| 75678 | 76615 | <type name="filename" c:type="gchar*"/> | |
| 75679 | 76616 | </parameter> | |
| 75680 | 76617 | </parameters> | |
| @@ -75685,7 +76622,7 @@ g_dir_make_tmp() instead.</doc> | |||
| 75685 | 76622 | introspectable="0"> | |
| 75686 | 76623 | <doc xml:space="preserve" | |
| 75687 | 76624 | filename="glib/gfileutils.c" | |
| 75688 | - | line="1595">Creates a temporary directory in the current directory. | |
| 76625 | + | line="1616">Creates a temporary directory in the current directory. | |
| 75689 | 76626 | ||
| 75690 | 76627 | See the [`mkdtemp()`](man:mkdtemp(3)) documentation on most UNIX-like systems. | |
| 75691 | 76628 | ||
| @@ -75705,7 +76642,7 @@ g_dir_make_tmp() instead.</doc> | |||
| 75705 | 76642 | <return-value transfer-ownership="full" nullable="1"> | |
| 75706 | 76643 | <doc xml:space="preserve" | |
| 75707 | 76644 | filename="glib/gfileutils.c" | |
| 75708 | - | line="1617">A pointer to @tmpl, which has been | |
| 76645 | + | line="1638">A pointer to @tmpl, which has been | |
| 75709 | 76646 | modified to hold the directory name. In case of errors, %NULL is | |
| 75710 | 76647 | returned, and %errno will be set.</doc> | |
| 75711 | 76648 | <type name="filename" c:type="gchar*"/> | |
| @@ -75714,13 +76651,13 @@ g_dir_make_tmp() instead.</doc> | |||
| 75714 | 76651 | <parameter name="tmpl" transfer-ownership="none"> | |
| 75715 | 76652 | <doc xml:space="preserve" | |
| 75716 | 76653 | filename="glib/gfileutils.c" | |
| 75717 | - | line="1597">template directory name</doc> | |
| 76654 | + | line="1618">template directory name</doc> | |
| 75718 | 76655 | <type name="filename" c:type="gchar*"/> | |
| 75719 | 76656 | </parameter> | |
| 75720 | 76657 | <parameter name="mode" transfer-ownership="none"> | |
| 75721 | 76658 | <doc xml:space="preserve" | |
| 75722 | 76659 | filename="glib/gfileutils.c" | |
| 75723 | - | line="1598">permissions to create the temporary directory with</doc> | |
| 76660 | + | line="1619">permissions to create the temporary directory with</doc> | |
| 75724 | 76661 | <type name="gint" c:type="gint"/> | |
| 75725 | 76662 | </parameter> | |
| 75726 | 76663 | </parameters> | |
| @@ -75728,7 +76665,7 @@ g_dir_make_tmp() instead.</doc> | |||
| 75728 | 76665 | <function name="mkstemp" c:identifier="g_mkstemp" introspectable="0"> | |
| 75729 | 76666 | <doc xml:space="preserve" | |
| 75730 | 76667 | filename="glib/gfileutils.c" | |
| 75731 | - | line="1703">Opens a temporary file in the current directory. | |
| 76668 | + | line="1724">Opens a temporary file in the current directory. | |
| 75732 | 76669 | ||
| 75733 | 76670 | See the [`mkstemp()`](man:mkstemp(3)) documentation on most UNIX-like systems. | |
| 75734 | 76671 | ||
| @@ -75743,7 +76680,7 @@ Most importantly, on Windows it should be in UTF-8.</doc> | |||
| 75743 | 76680 | <return-value transfer-ownership="none"> | |
| 75744 | 76681 | <doc xml:space="preserve" | |
| 75745 | 76682 | filename="glib/gfileutils.c" | |
| 75746 | - | line="1719">A file handle (as from open()) to the file | |
| 76683 | + | line="1740">A file handle (as from open()) to the file | |
| 75747 | 76684 | opened for reading and writing. The file is opened in binary | |
| 75748 | 76685 | mode on platforms where there is a difference. The file handle | |
| 75749 | 76686 | should be closed with close(). In case of errors, -1 is | |
| @@ -75754,7 +76691,7 @@ Most importantly, on Windows it should be in UTF-8.</doc> | |||
| 75754 | 76691 | <parameter name="tmpl" transfer-ownership="none"> | |
| 75755 | 76692 | <doc xml:space="preserve" | |
| 75756 | 76693 | filename="glib/gfileutils.c" | |
| 75757 | - | line="1705">template filename</doc> | |
| 76694 | + | line="1726">template filename</doc> | |
| 75758 | 76695 | <type name="filename" c:type="gchar*"/> | |
| 75759 | 76696 | </parameter> | |
| 75760 | 76697 | </parameters> | |
| @@ -75765,7 +76702,7 @@ Most importantly, on Windows it should be in UTF-8.</doc> | |||
| 75765 | 76702 | introspectable="0"> | |
| 75766 | 76703 | <doc xml:space="preserve" | |
| 75767 | 76704 | filename="glib/gfileutils.c" | |
| 75768 | - | line="1666">Opens a temporary file in the current directory. | |
| 76705 | + | line="1687">Opens a temporary file in the current directory. | |
| 75769 | 76706 | ||
| 75770 | 76707 | See the [`mkstemp()`](man:mkstemp(3)) documentation on most UNIX-like systems. | |
| 75771 | 76708 | ||
| @@ -75781,7 +76718,7 @@ on Windows it should be in UTF-8.</doc> | |||
| 75781 | 76718 | <return-value transfer-ownership="none"> | |
| 75782 | 76719 | <doc xml:space="preserve" | |
| 75783 | 76720 | filename="glib/gfileutils.c" | |
| 75784 | - | line="1686">A file handle (as from open()) to the file | |
| 76721 | + | line="1707">A file handle (as from open()) to the file | |
| 75785 | 76722 | opened for reading and writing. The file handle should be | |
| 75786 | 76723 | closed with close(). In case of errors, -1 is returned | |
| 75787 | 76724 | and %errno will be set.</doc> | |
| @@ -75791,20 +76728,20 @@ on Windows it should be in UTF-8.</doc> | |||
| 75791 | 76728 | <parameter name="tmpl" transfer-ownership="none"> | |
| 75792 | 76729 | <doc xml:space="preserve" | |
| 75793 | 76730 | filename="glib/gfileutils.c" | |
| 75794 | - | line="1668">template filename</doc> | |
| 76731 | + | line="1689">template filename</doc> | |
| 75795 | 76732 | <type name="filename" c:type="gchar*"/> | |
| 75796 | 76733 | </parameter> | |
| 75797 | 76734 | <parameter name="flags" transfer-ownership="none"> | |
| 75798 | 76735 | <doc xml:space="preserve" | |
| 75799 | 76736 | filename="glib/gfileutils.c" | |
| 75800 | - | line="1669">flags to pass to an open() call in addition to O_EXCL | |
| 76737 | + | line="1690">flags to pass to an open() call in addition to O_EXCL | |
| 75801 | 76738 | and O_CREAT, which are passed automatically</doc> | |
| 75802 | 76739 | <type name="gint" c:type="gint"/> | |
| 75803 | 76740 | </parameter> | |
| 75804 | 76741 | <parameter name="mode" transfer-ownership="none"> | |
| 75805 | 76742 | <doc xml:space="preserve" | |
| 75806 | 76743 | filename="glib/gfileutils.c" | |
| 75807 | - | line="1671">permissions to create the temporary file with</doc> | |
| 76744 | + | line="1692">permissions to create the temporary file with</doc> | |
| 75808 | 76745 | <type name="gint" c:type="gint"/> | |
| 75809 | 76746 | </parameter> | |
| 75810 | 76747 | </parameters> | |
| @@ -76071,7 +77008,9 @@ vulnerability.</doc> | |||
| 76071 | 77008 | </function-macro> | |
| 76072 | 77009 | <function name="node_pop_allocator" | |
| 76073 | 77010 | c:identifier="g_node_pop_allocator" | |
| 76074 | - | moved-to="Node.pop_allocator"> | |
| 77011 | + | moved-to="Node.pop_allocator" | |
| 77012 | + | deprecated="1" | |
| 77013 | + | deprecated-version="2.10"> | |
| 76075 | 77014 | <source-position filename="glib/deprecated/gallocator.h" line="84"/> | |
| 76076 | 77015 | <return-value transfer-ownership="none"> | |
| 76077 | 77016 | <type name="none" c:type="void"/> | |
| @@ -76114,7 +77053,9 @@ vulnerability.</doc> | |||
| 76114 | 77053 | </function-macro> | |
| 76115 | 77054 | <function name="node_push_allocator" | |
| 76116 | 77055 | c:identifier="g_node_push_allocator" | |
| 76117 | - | moved-to="Node.push_allocator"> | |
| 77056 | + | moved-to="Node.push_allocator" | |
| 77057 | + | deprecated="1" | |
| 77058 | + | deprecated-version="2.10"> | |
| 76118 | 77059 | <source-position filename="glib/deprecated/gallocator.h" line="82"/> | |
| 76119 | 77060 | <return-value transfer-ownership="none"> | |
| 76120 | 77061 | <type name="none" c:type="void"/> | |
| @@ -76154,7 +77095,7 @@ vulnerability.</doc> | |||
| 76154 | 77095 | <function name="nullify_pointer" c:identifier="g_nullify_pointer"> | |
| 76155 | 77096 | <doc xml:space="preserve" | |
| 76156 | 77097 | filename="glib/gutils.c" | |
| 76157 | - | line="2855">Set the pointer at the specified location to %NULL.</doc> | |
| 77098 | + | line="2857">Set the pointer at the specified location to %NULL.</doc> | |
| 76158 | 77099 | <source-position filename="glib/gutils.h" line="292"/> | |
| 76159 | 77100 | <return-value transfer-ownership="none"> | |
| 76160 | 77101 | <type name="none" c:type="void"/> | |
| @@ -76163,7 +77104,7 @@ vulnerability.</doc> | |||
| 76163 | 77104 | <parameter name="nullify_location" transfer-ownership="none"> | |
| 76164 | 77105 | <doc xml:space="preserve" | |
| 76165 | 77106 | filename="glib/gutils.c" | |
| 76166 | - | line="2857">the memory address of the pointer.</doc> | |
| 77107 | + | line="2859">the memory address of the pointer.</doc> | |
| 76167 | 77108 | <type name="gpointer" c:type="gpointer*"/> | |
| 76168 | 77109 | </parameter> | |
| 76169 | 77110 | </parameters> | |
| @@ -76221,7 +77162,7 @@ If "[P]roceed" is selected, the function returns. | |||
| 76221 | 77162 | This function may cause different actions on non-UNIX platforms. | |
| 76222 | 77163 | ||
| 76223 | 77164 | On Windows consider using the `G_DEBUGGER` environment | |
| 76224 | - | variable (see [Running GLib Applications](glib-running.html)) and | |
| 77165 | + | variable (see [Running GLib Applications](running.html)) and | |
| 76225 | 77166 | calling g_on_error_stack_trace() instead.</doc> | |
| 76226 | 77167 | <source-position filename="glib/gbacktrace.h" line="43"/> | |
| 76227 | 77168 | <return-value transfer-ownership="none"> | |
| @@ -76255,7 +77196,7 @@ When running on Windows, this function is *not* called by | |||
| 76255 | 77196 | g_on_error_query(). If called directly, it will raise an | |
| 76256 | 77197 | exception, which will crash the program. If the `G_DEBUGGER` environment | |
| 76257 | 77198 | variable is set, a debugger will be invoked to attach and | |
| 76258 | - | handle that exception (see [Running GLib Applications](glib-running.html)).</doc> | |
| 77199 | + | handle that exception (see [Running GLib Applications](running.html)).</doc> | |
| 76259 | 77200 | <source-position filename="glib/gbacktrace.h" line="45"/> | |
| 76260 | 77201 | <return-value transfer-ownership="none"> | |
| 76261 | 77202 | <type name="none" c:type="void"/> | |
| @@ -76505,7 +77446,7 @@ can be used to initialize pointers (or #guintptr) instead of #gsize.</doc> | |||
| 76505 | 77446 | <function name="open" c:identifier="g_open" version="2.6"> | |
| 76506 | 77447 | <doc xml:space="preserve" | |
| 76507 | 77448 | filename="glib/gstdio.c" | |
| 76508 | - | line="1017">A wrapper for the POSIX open() function. The open() function is | |
| 77449 | + | line="1028">A wrapper for the POSIX open() function. The open() function is | |
| 76509 | 77450 | used to convert a pathname into a file descriptor. | |
| 76510 | 77451 | ||
| 76511 | 77452 | On POSIX systems file descriptors are implemented by the operating | |
| @@ -76527,7 +77468,7 @@ See your C library manual for more details about open().</doc> | |||
| 76527 | 77468 | <return-value transfer-ownership="none"> | |
| 76528 | 77469 | <doc xml:space="preserve" | |
| 76529 | 77470 | filename="glib/gstdio.c" | |
| 76530 | - | line="1043">a new file descriptor, or -1 if an error occurred. | |
| 77471 | + | line="1054">a new file descriptor, or -1 if an error occurred. | |
| 76531 | 77472 | The return value can be used exactly like the return value | |
| 76532 | 77473 | from open().</doc> | |
| 76533 | 77474 | <type name="gint" c:type="int"/> | |
| @@ -76536,20 +77477,20 @@ See your C library manual for more details about open().</doc> | |||
| 76536 | 77477 | <parameter name="filename" transfer-ownership="none"> | |
| 76537 | 77478 | <doc xml:space="preserve" | |
| 76538 | 77479 | filename="glib/gstdio.c" | |
| 76539 | - | line="1019">a pathname in the GLib file name encoding | |
| 77480 | + | line="1030">a pathname in the GLib file name encoding | |
| 76540 | 77481 | (UTF-8 on Windows)</doc> | |
| 76541 | 77482 | <type name="filename" c:type="const gchar*"/> | |
| 76542 | 77483 | </parameter> | |
| 76543 | 77484 | <parameter name="flags" transfer-ownership="none"> | |
| 76544 | 77485 | <doc xml:space="preserve" | |
| 76545 | 77486 | filename="glib/gstdio.c" | |
| 76546 | - | line="1021">as in open()</doc> | |
| 77487 | + | line="1032">as in open()</doc> | |
| 76547 | 77488 | <type name="gint" c:type="int"/> | |
| 76548 | 77489 | </parameter> | |
| 76549 | 77490 | <parameter name="mode" transfer-ownership="none"> | |
| 76550 | 77491 | <doc xml:space="preserve" | |
| 76551 | 77492 | filename="glib/gstdio.c" | |
| 76552 | - | line="1022">as in open()</doc> | |
| 77493 | + | line="1033">as in open()</doc> | |
| 76553 | 77494 | <type name="gint" c:type="int"/> | |
| 76554 | 77495 | </parameter> | |
| 76555 | 77496 | </parameters> | |
| @@ -76618,7 +77559,7 @@ commas, or %NULL.</doc> | |||
| 76618 | 77559 | line="555">Compares two path buffers for equality and returns `TRUE` | |
| 76619 | 77560 | if they are equal. | |
| 76620 | 77561 | ||
| 76621 | - | The path inside the paths buffers are not going to be normalized, | |
| 77562 | + | The paths inside the path buffers are not going to be normalized, | |
| 76622 | 77563 | so `X/Y/Z/A/..`, `X/./Y/Z` and `X/Y/Z` are not going to be considered | |
| 76623 | 77564 | equal. | |
| 76624 | 77565 | ||
| @@ -76650,7 +77591,7 @@ This function can be passed to g_hash_table_new() as the | |||
| 76650 | 77591 | <function name="path_get_basename" c:identifier="g_path_get_basename"> | |
| 76651 | 77592 | <doc xml:space="preserve" | |
| 76652 | 77593 | filename="glib/gfileutils.c" | |
| 76653 | - | line="2584">Gets the last component of the filename. | |
| 77594 | + | line="2605">Gets the last component of the filename. | |
| 76654 | 77595 | ||
| 76655 | 77596 | If @file_name ends with a directory separator it gets the component | |
| 76656 | 77597 | before the last slash. If @file_name consists only of directory | |
| @@ -76660,7 +77601,7 @@ separator is returned. If @file_name is empty, it gets ".".</doc> | |||
| 76660 | 77601 | <return-value transfer-ownership="full"> | |
| 76661 | 77602 | <doc xml:space="preserve" | |
| 76662 | 77603 | filename="glib/gfileutils.c" | |
| 76663 | - | line="2595">a newly allocated string | |
| 77604 | + | line="2616">a newly allocated string | |
| 76664 | 77605 | containing the last component of the filename</doc> | |
| 76665 | 77606 | <type name="filename" c:type="gchar*"/> | |
| 76666 | 77607 | </return-value> | |
| @@ -76668,7 +77609,7 @@ separator is returned. If @file_name is empty, it gets ".".</doc> | |||
| 76668 | 77609 | <parameter name="file_name" transfer-ownership="none"> | |
| 76669 | 77610 | <doc xml:space="preserve" | |
| 76670 | 77611 | filename="glib/gfileutils.c" | |
| 76671 | - | line="2586">the name of the file</doc> | |
| 77612 | + | line="2607">the name of the file</doc> | |
| 76672 | 77613 | <type name="filename" c:type="const gchar*"/> | |
| 76673 | 77614 | </parameter> | |
| 76674 | 77615 | </parameters> | |
| @@ -76676,7 +77617,7 @@ separator is returned. If @file_name is empty, it gets ".".</doc> | |||
| 76676 | 77617 | <function name="path_get_dirname" c:identifier="g_path_get_dirname"> | |
| 76677 | 77618 | <doc xml:space="preserve" | |
| 76678 | 77619 | filename="glib/gfileutils.c" | |
| 76679 | - | line="2661">Gets the directory components of a file name. For example, the directory | |
| 77620 | + | line="2682">Gets the directory components of a file name. For example, the directory | |
| 76680 | 77621 | component of `/usr/bin/test` is `/usr/bin`. The directory component of `/` | |
| 76681 | 77622 | is `/`. | |
| 76682 | 77623 | ||
| @@ -76686,14 +77627,14 @@ The returned string should be freed when no longer needed.</doc> | |||
| 76686 | 77627 | <return-value transfer-ownership="full"> | |
| 76687 | 77628 | <doc xml:space="preserve" | |
| 76688 | 77629 | filename="glib/gfileutils.c" | |
| 76689 | - | line="2672">the directory components of the file</doc> | |
| 77630 | + | line="2693">the directory components of the file</doc> | |
| 76690 | 77631 | <type name="filename" c:type="gchar*"/> | |
| 76691 | 77632 | </return-value> | |
| 76692 | 77633 | <parameters> | |
| 76693 | 77634 | <parameter name="file_name" transfer-ownership="none"> | |
| 76694 | 77635 | <doc xml:space="preserve" | |
| 76695 | 77636 | filename="glib/gfileutils.c" | |
| 76696 | - | line="2663">the name of the file</doc> | |
| 77637 | + | line="2684">the name of the file</doc> | |
| 76697 | 77638 | <type name="filename" c:type="const gchar*"/> | |
| 76698 | 77639 | </parameter> | |
| 76699 | 77640 | </parameters> | |
| @@ -76701,7 +77642,7 @@ The returned string should be freed when no longer needed.</doc> | |||
| 76701 | 77642 | <function name="path_is_absolute" c:identifier="g_path_is_absolute"> | |
| 76702 | 77643 | <doc xml:space="preserve" | |
| 76703 | 77644 | filename="glib/gfileutils.c" | |
| 76704 | - | line="2419">Returns %TRUE if the given @file_name is an absolute file name. | |
| 77645 | + | line="2440">Returns %TRUE if the given @file_name is an absolute file name. | |
| 76705 | 77646 | Note that this is a somewhat vague concept on Windows. | |
| 76706 | 77647 | ||
| 76707 | 77648 | On POSIX systems, an absolute file name is well-defined. It always | |
| @@ -76729,14 +77670,14 @@ Windows-specific code.</doc> | |||
| 76729 | 77670 | <return-value transfer-ownership="none"> | |
| 76730 | 77671 | <doc xml:space="preserve" | |
| 76731 | 77672 | filename="glib/gfileutils.c" | |
| 76732 | - | line="2448">%TRUE if @file_name is absolute</doc> | |
| 77673 | + | line="2469">%TRUE if @file_name is absolute</doc> | |
| 76733 | 77674 | <type name="gboolean" c:type="gboolean"/> | |
| 76734 | 77675 | </return-value> | |
| 76735 | 77676 | <parameters> | |
| 76736 | 77677 | <parameter name="file_name" transfer-ownership="none"> | |
| 76737 | 77678 | <doc xml:space="preserve" | |
| 76738 | 77679 | filename="glib/gfileutils.c" | |
| 76739 | - | line="2421">a file name</doc> | |
| 77680 | + | line="2442">a file name</doc> | |
| 76740 | 77681 | <type name="filename" c:type="const gchar*"/> | |
| 76741 | 77682 | </parameter> | |
| 76742 | 77683 | </parameters> | |
| @@ -76744,14 +77685,14 @@ Windows-specific code.</doc> | |||
| 76744 | 77685 | <function name="path_skip_root" c:identifier="g_path_skip_root"> | |
| 76745 | 77686 | <doc xml:space="preserve" | |
| 76746 | 77687 | filename="glib/gfileutils.c" | |
| 76747 | - | line="2468">Returns a pointer into @file_name after the root component, | |
| 77688 | + | line="2489">Returns a pointer into @file_name after the root component, | |
| 76748 | 77689 | i.e. after the "/" in UNIX or "C:\" under Windows. If @file_name | |
| 76749 | 77690 | is not an absolute path it returns %NULL.</doc> | |
| 76750 | 77691 | <source-position filename="glib/gfileutils.h" line="204"/> | |
| 76751 | 77692 | <return-value transfer-ownership="none" nullable="1"> | |
| 76752 | 77693 | <doc xml:space="preserve" | |
| 76753 | 77694 | filename="glib/gfileutils.c" | |
| 76754 | - | line="2476">a pointer into @file_name after the | |
| 77695 | + | line="2497">a pointer into @file_name after the | |
| 76755 | 77696 | root component</doc> | |
| 76756 | 77697 | <type name="filename" c:type="const gchar*"/> | |
| 76757 | 77698 | </return-value> | |
| @@ -76759,7 +77700,7 @@ is not an absolute path it returns %NULL.</doc> | |||
| 76759 | 77700 | <parameter name="file_name" transfer-ownership="none"> | |
| 76760 | 77701 | <doc xml:space="preserve" | |
| 76761 | 77702 | filename="glib/gfileutils.c" | |
| 76762 | - | line="2470">a file name</doc> | |
| 77703 | + | line="2491">a file name</doc> | |
| 76763 | 77704 | <type name="filename" c:type="const gchar*"/> | |
| 76764 | 77705 | </parameter> | |
| 76765 | 77706 | </parameters> | |
| @@ -76833,7 +77774,7 @@ does not contain any multibyte characters. GLib offers the | |||
| 76833 | 77774 | c:identifier="g_pattern_match_simple"> | |
| 76834 | 77775 | <doc xml:space="preserve" | |
| 76835 | 77776 | filename="glib/gpattern.c" | |
| 76836 | - | line="502">Matches a string against a pattern given as a string. | |
| 77777 | + | line="512">Matches a string against a pattern given as a string. | |
| 76837 | 77778 | ||
| 76838 | 77779 | If this | |
| 76839 | 77780 | function is to be called in a loop, it’s more efficient to compile | |
| @@ -76843,20 +77784,20 @@ the pattern once with [ctor@GLib.PatternSpec.new] and call | |||
| 76843 | 77784 | <return-value transfer-ownership="none"> | |
| 76844 | 77785 | <doc xml:space="preserve" | |
| 76845 | 77786 | filename="glib/gpattern.c" | |
| 76846 | - | line="514">%TRUE if @string matches @pspec</doc> | |
| 77787 | + | line="524">%TRUE if @string matches @pspec</doc> | |
| 76847 | 77788 | <type name="gboolean" c:type="gboolean"/> | |
| 76848 | 77789 | </return-value> | |
| 76849 | 77790 | <parameters> | |
| 76850 | 77791 | <parameter name="pattern" transfer-ownership="none"> | |
| 76851 | 77792 | <doc xml:space="preserve" | |
| 76852 | 77793 | filename="glib/gpattern.c" | |
| 76853 | - | line="504">the UTF-8 encoded pattern</doc> | |
| 77794 | + | line="514">the UTF-8 encoded pattern</doc> | |
| 76854 | 77795 | <type name="utf8" c:type="const gchar*"/> | |
| 76855 | 77796 | </parameter> | |
| 76856 | 77797 | <parameter name="string" transfer-ownership="none"> | |
| 76857 | 77798 | <doc xml:space="preserve" | |
| 76858 | 77799 | filename="glib/gpattern.c" | |
| 76859 | - | line="505">the UTF-8 encoded string to match</doc> | |
| 77800 | + | line="515">the UTF-8 encoded string to match</doc> | |
| 76860 | 77801 | <type name="utf8" c:type="const gchar*"/> | |
| 76861 | 77802 | </parameter> | |
| 76862 | 77803 | </parameters> | |
| @@ -76868,7 +77809,7 @@ the pattern once with [ctor@GLib.PatternSpec.new] and call | |||
| 76868 | 77809 | deprecated-version="2.70"> | |
| 76869 | 77810 | <doc xml:space="preserve" | |
| 76870 | 77811 | filename="glib/gpattern.c" | |
| 76871 | - | line="481">Matches a string against a compiled pattern. | |
| 77812 | + | line="491">Matches a string against a compiled pattern. | |
| 76872 | 77813 | ||
| 76873 | 77814 | If the string is to be | |
| 76874 | 77815 | matched against more than one pattern, consider using | |
| @@ -76878,20 +77819,20 @@ matched against more than one pattern, consider using | |||
| 76878 | 77819 | <return-value transfer-ownership="none"> | |
| 76879 | 77820 | <doc xml:space="preserve" | |
| 76880 | 77821 | filename="glib/gpattern.c" | |
| 76881 | - | line="492">%TRUE if @string matches @pspec</doc> | |
| 77822 | + | line="502">%TRUE if @string matches @pspec</doc> | |
| 76882 | 77823 | <type name="gboolean" c:type="gboolean"/> | |
| 76883 | 77824 | </return-value> | |
| 76884 | 77825 | <parameters> | |
| 76885 | 77826 | <parameter name="pspec" transfer-ownership="none"> | |
| 76886 | 77827 | <doc xml:space="preserve" | |
| 76887 | 77828 | filename="glib/gpattern.c" | |
| 76888 | - | line="483">a #GPatternSpec</doc> | |
| 77829 | + | line="493">a #GPatternSpec</doc> | |
| 76889 | 77830 | <type name="PatternSpec" c:type="GPatternSpec*"/> | |
| 76890 | 77831 | </parameter> | |
| 76891 | 77832 | <parameter name="string" transfer-ownership="none"> | |
| 76892 | 77833 | <doc xml:space="preserve" | |
| 76893 | 77834 | filename="glib/gpattern.c" | |
| 76894 | - | line="484">the UTF-8 encoded string to match</doc> | |
| 77835 | + | line="494">the UTF-8 encoded string to match</doc> | |
| 76895 | 77836 | <type name="utf8" c:type="const gchar*"/> | |
| 76896 | 77837 | </parameter> | |
| 76897 | 77838 | </parameters> | |
| @@ -76901,7 +77842,7 @@ matched against more than one pattern, consider using | |||
| 76901 | 77842 | version="2.30"> | |
| 76902 | 77843 | <doc xml:space="preserve" | |
| 76903 | 77844 | filename="glib/gbitlock.c" | |
| 76904 | - | line="495">This is equivalent to g_bit_lock, but working on pointers (or other | |
| 77845 | + | line="584">This is equivalent to g_bit_lock, but working on pointers (or other | |
| 76905 | 77846 | pointer-sized values). | |
| 76906 | 77847 | ||
| 76907 | 77848 | For portability reasons, you may only lock on the bottom 32 bits of | |
| @@ -76909,7 +77850,7 @@ the pointer. | |||
| 76909 | 77850 | ||
| 76910 | 77851 | While @address has a `volatile` qualifier, this is a historical | |
| 76911 | 77852 | artifact and the argument passed to it should not be `volatile`.</doc> | |
| 76912 | - | <source-position filename="glib/gbitlock.h" line="45"/> | |
| 77853 | + | <source-position filename="glib/gbitlock.h" line="56"/> | |
| 76913 | 77854 | <return-value transfer-ownership="none"> | |
| 76914 | 77855 | <type name="none" c:type="void"/> | |
| 76915 | 77856 | </return-value> | |
| @@ -76917,13 +77858,13 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 76917 | 77858 | <parameter name="address" transfer-ownership="none"> | |
| 76918 | 77859 | <doc xml:space="preserve" | |
| 76919 | 77860 | filename="glib/gbitlock.c" | |
| 76920 | - | line="497">a pointer to a #gpointer-sized value</doc> | |
| 77861 | + | line="586">a pointer to a #gpointer-sized value</doc> | |
| 76921 | 77862 | <type name="gpointer" c:type="void*"/> | |
| 76922 | 77863 | </parameter> | |
| 76923 | 77864 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 76924 | 77865 | <doc xml:space="preserve" | |
| 76925 | 77866 | filename="glib/gbitlock.c" | |
| 76926 | - | line="498">a bit value between 0 and 31</doc> | |
| 77867 | + | line="587">a bit value between 0 and 31</doc> | |
| 76927 | 77868 | <type name="gint" c:type="gint"/> | |
| 76928 | 77869 | </parameter> | |
| 76929 | 77870 | </parameters> | |
| @@ -76933,12 +77874,12 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 76933 | 77874 | version="2.80"> | |
| 76934 | 77875 | <doc xml:space="preserve" | |
| 76935 | 77876 | filename="glib/gbitlock.c" | |
| 76936 | - | line="425">This is equivalent to g_bit_lock, but working on pointers (or other | |
| 77877 | + | line="522">This is equivalent to g_bit_lock, but working on pointers (or other | |
| 76937 | 77878 | pointer-sized values). | |
| 76938 | 77879 | ||
| 76939 | 77880 | For portability reasons, you may only lock on the bottom 32 bits of | |
| 76940 | 77881 | the pointer.</doc> | |
| 76941 | - | <source-position filename="glib/gbitlock.h" line="49"/> | |
| 77882 | + | <source-position filename="glib/gbitlock.h" line="60"/> | |
| 76942 | 77883 | <return-value transfer-ownership="none"> | |
| 76943 | 77884 | <type name="none" c:type="void"/> | |
| 76944 | 77885 | </return-value> | |
| @@ -76946,13 +77887,13 @@ the pointer.</doc> | |||
| 76946 | 77887 | <parameter name="address" transfer-ownership="none"> | |
| 76947 | 77888 | <doc xml:space="preserve" | |
| 76948 | 77889 | filename="glib/gbitlock.c" | |
| 76949 | - | line="427">a pointer to a #gpointer-sized value</doc> | |
| 77890 | + | line="524">a pointer to a #gpointer-sized value</doc> | |
| 76950 | 77891 | <type name="gpointer" c:type="gpointer"/> | |
| 76951 | 77892 | </parameter> | |
| 76952 | 77893 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 76953 | 77894 | <doc xml:space="preserve" | |
| 76954 | 77895 | filename="glib/gbitlock.c" | |
| 76955 | - | line="428">a bit value between 0 and 31</doc> | |
| 77896 | + | line="525">a bit value between 0 and 31</doc> | |
| 76956 | 77897 | <type name="guint" c:type="guint"/> | |
| 76957 | 77898 | </parameter> | |
| 76958 | 77899 | <parameter name="out_ptr" | |
| @@ -76963,7 +77904,7 @@ the pointer.</doc> | |||
| 76963 | 77904 | allow-none="1"> | |
| 76964 | 77905 | <doc xml:space="preserve" | |
| 76965 | 77906 | filename="glib/gbitlock.c" | |
| 76966 | - | line="429">returns the set pointer atomically. | |
| 77907 | + | line="526">returns the set pointer atomically. | |
| 76967 | 77908 | This is the value after setting the lock, it thus always has the | |
| 76968 | 77909 | lock bit set, while previously @address had the lockbit unset. | |
| 76969 | 77910 | You may also use g_pointer_bit_lock_mask_ptr() to clear the lock bit.</doc> | |
| @@ -76976,13 +77917,13 @@ the pointer.</doc> | |||
| 76976 | 77917 | version="2.80"> | |
| 76977 | 77918 | <doc xml:space="preserve" | |
| 76978 | 77919 | filename="glib/gbitlock.c" | |
| 76979 | - | line="619">This mangles @ptr as g_pointer_bit_lock() and g_pointer_bit_unlock() | |
| 77920 | + | line="702">This mangles @ptr as g_pointer_bit_lock() and g_pointer_bit_unlock() | |
| 76980 | 77921 | do.</doc> | |
| 76981 | - | <source-position filename="glib/gbitlock.h" line="61"/> | |
| 77922 | + | <source-position filename="glib/gbitlock.h" line="72"/> | |
| 76982 | 77923 | <return-value transfer-ownership="none" nullable="1"> | |
| 76983 | 77924 | <doc xml:space="preserve" | |
| 76984 | 77925 | filename="glib/gbitlock.c" | |
| 76985 | - | line="637">the mangled pointer.</doc> | |
| 77926 | + | line="720">the mangled pointer.</doc> | |
| 76986 | 77927 | <type name="gpointer" c:type="gpointer"/> | |
| 76987 | 77928 | </return-value> | |
| 76988 | 77929 | <parameters> | |
| @@ -76992,27 +77933,27 @@ do.</doc> | |||
| 76992 | 77933 | allow-none="1"> | |
| 76993 | 77934 | <doc xml:space="preserve" | |
| 76994 | 77935 | filename="glib/gbitlock.c" | |
| 76995 | - | line="621">the pointer to mask</doc> | |
| 77936 | + | line="704">the pointer to mask</doc> | |
| 76996 | 77937 | <type name="gpointer" c:type="gpointer"/> | |
| 76997 | 77938 | </parameter> | |
| 76998 | 77939 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 76999 | 77940 | <doc xml:space="preserve" | |
| 77000 | 77941 | filename="glib/gbitlock.c" | |
| 77001 | - | line="622">the bit to set/clear. If set to `G_MAXUINT`, the | |
| 77942 | + | line="705">the bit to set/clear. If set to `G_MAXUINT`, the | |
| 77002 | 77943 | lockbit is taken from @preserve_ptr or @ptr (depending on @preserve_mask).</doc> | |
| 77003 | 77944 | <type name="guint" c:type="guint"/> | |
| 77004 | 77945 | </parameter> | |
| 77005 | 77946 | <parameter name="set" transfer-ownership="none"> | |
| 77006 | 77947 | <doc xml:space="preserve" | |
| 77007 | 77948 | filename="glib/gbitlock.c" | |
| 77008 | - | line="624">whether to set (lock) the bit or unset (unlock). This | |
| 77949 | + | line="707">whether to set (lock) the bit or unset (unlock). This | |
| 77009 | 77950 | has no effect, if @lock_bit is set to `G_MAXUINT`.</doc> | |
| 77010 | 77951 | <type name="gboolean" c:type="gboolean"/> | |
| 77011 | 77952 | </parameter> | |
| 77012 | 77953 | <parameter name="preserve_mask" transfer-ownership="none"> | |
| 77013 | 77954 | <doc xml:space="preserve" | |
| 77014 | 77955 | filename="glib/gbitlock.c" | |
| 77015 | - | line="626">if non-zero, a bit-mask for @preserve_ptr. The | |
| 77956 | + | line="709">if non-zero, a bit-mask for @preserve_ptr. The | |
| 77016 | 77957 | @preserve_mask bits from @preserve_ptr are set in the result. | |
| 77017 | 77958 | Note that the @lock_bit bit will be always set according to @set, | |
| 77018 | 77959 | regardless of @preserve_mask and @preserve_ptr (unless @lock_bit is | |
| @@ -77025,7 +77966,7 @@ do.</doc> | |||
| 77025 | 77966 | allow-none="1"> | |
| 77026 | 77967 | <doc xml:space="preserve" | |
| 77027 | 77968 | filename="glib/gbitlock.c" | |
| 77028 | - | line="631">if @preserve_mask is non-zero, the bits | |
| 77969 | + | line="714">if @preserve_mask is non-zero, the bits | |
| 77029 | 77970 | from this pointer are set in the result.</doc> | |
| 77030 | 77971 | <type name="gpointer" c:type="gpointer"/> | |
| 77031 | 77972 | </parameter> | |
| @@ -77036,7 +77977,7 @@ do.</doc> | |||
| 77036 | 77977 | version="2.30"> | |
| 77037 | 77978 | <doc xml:space="preserve" | |
| 77038 | 77979 | filename="glib/gbitlock.c" | |
| 77039 | - | line="518">This is equivalent to g_bit_trylock(), but working on pointers (or | |
| 77980 | + | line="607">This is equivalent to g_bit_trylock(), but working on pointers (or | |
| 77040 | 77981 | other pointer-sized values). | |
| 77041 | 77982 | ||
| 77042 | 77983 | For portability reasons, you may only lock on the bottom 32 bits of | |
| @@ -77044,24 +77985,24 @@ the pointer. | |||
| 77044 | 77985 | ||
| 77045 | 77986 | While @address has a `volatile` qualifier, this is a historical | |
| 77046 | 77987 | artifact and the argument passed to it should not be `volatile`.</doc> | |
| 77047 | - | <source-position filename="glib/gbitlock.h" line="54"/> | |
| 77988 | + | <source-position filename="glib/gbitlock.h" line="65"/> | |
| 77048 | 77989 | <return-value transfer-ownership="none"> | |
| 77049 | 77990 | <doc xml:space="preserve" | |
| 77050 | 77991 | filename="glib/gbitlock.c" | |
| 77051 | - | line="532">%TRUE if the lock was acquired</doc> | |
| 77992 | + | line="621">%TRUE if the lock was acquired</doc> | |
| 77052 | 77993 | <type name="gboolean" c:type="gboolean"/> | |
| 77053 | 77994 | </return-value> | |
| 77054 | 77995 | <parameters> | |
| 77055 | 77996 | <parameter name="address" transfer-ownership="none"> | |
| 77056 | 77997 | <doc xml:space="preserve" | |
| 77057 | 77998 | filename="glib/gbitlock.c" | |
| 77058 | - | line="520">a pointer to a #gpointer-sized value</doc> | |
| 77999 | + | line="609">a pointer to a #gpointer-sized value</doc> | |
| 77059 | 78000 | <type name="gpointer" c:type="void*"/> | |
| 77060 | 78001 | </parameter> | |
| 77061 | 78002 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 77062 | 78003 | <doc xml:space="preserve" | |
| 77063 | 78004 | filename="glib/gbitlock.c" | |
| 77064 | - | line="521">a bit value between 0 and 31</doc> | |
| 78005 | + | line="610">a bit value between 0 and 31</doc> | |
| 77065 | 78006 | <type name="gint" c:type="gint"/> | |
| 77066 | 78007 | </parameter> | |
| 77067 | 78008 | </parameters> | |
| @@ -77071,7 +78012,7 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 77071 | 78012 | version="2.30"> | |
| 77072 | 78013 | <doc xml:space="preserve" | |
| 77073 | 78014 | filename="glib/gbitlock.c" | |
| 77074 | - | line="569">This is equivalent to g_bit_unlock, but working on pointers (or other | |
| 78015 | + | line="658">This is equivalent to g_bit_unlock, but working on pointers (or other | |
| 77075 | 78016 | pointer-sized values). | |
| 77076 | 78017 | ||
| 77077 | 78018 | For portability reasons, you may only lock on the bottom 32 bits of | |
| @@ -77079,7 +78020,7 @@ the pointer. | |||
| 77079 | 78020 | ||
| 77080 | 78021 | While @address has a `volatile` qualifier, this is a historical | |
| 77081 | 78022 | artifact and the argument passed to it should not be `volatile`.</doc> | |
| 77082 | - | <source-position filename="glib/gbitlock.h" line="57"/> | |
| 78023 | + | <source-position filename="glib/gbitlock.h" line="68"/> | |
| 77083 | 78024 | <return-value transfer-ownership="none"> | |
| 77084 | 78025 | <type name="none" c:type="void"/> | |
| 77085 | 78026 | </return-value> | |
| @@ -77087,13 +78028,13 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 77087 | 78028 | <parameter name="address" transfer-ownership="none"> | |
| 77088 | 78029 | <doc xml:space="preserve" | |
| 77089 | 78030 | filename="glib/gbitlock.c" | |
| 77090 | - | line="571">a pointer to a #gpointer-sized value</doc> | |
| 78031 | + | line="660">a pointer to a #gpointer-sized value</doc> | |
| 77091 | 78032 | <type name="gpointer" c:type="void*"/> | |
| 77092 | 78033 | </parameter> | |
| 77093 | 78034 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 77094 | 78035 | <doc xml:space="preserve" | |
| 77095 | 78036 | filename="glib/gbitlock.c" | |
| 77096 | - | line="572">a bit value between 0 and 31</doc> | |
| 78037 | + | line="661">a bit value between 0 and 31</doc> | |
| 77097 | 78038 | <type name="gint" c:type="gint"/> | |
| 77098 | 78039 | </parameter> | |
| 77099 | 78040 | </parameters> | |
| @@ -77103,14 +78044,14 @@ artifact and the argument passed to it should not be `volatile`.</doc> | |||
| 77103 | 78044 | version="2.80"> | |
| 77104 | 78045 | <doc xml:space="preserve" | |
| 77105 | 78046 | filename="glib/gbitlock.c" | |
| 77106 | - | line="649">This is equivalent to g_pointer_bit_unlock() and atomically setting | |
| 78047 | + | line="732">This is equivalent to g_pointer_bit_unlock() and atomically setting | |
| 77107 | 78048 | the pointer value. | |
| 77108 | 78049 | ||
| 77109 | 78050 | Note that the lock bit will be cleared from the pointer. If the unlocked | |
| 77110 | 78051 | pointer that was set is not identical to @ptr, an assertion fails. In other | |
| 77111 | 78052 | words, @ptr must have @lock_bit unset. This also means, you usually can | |
| 77112 | 78053 | only use this on the lowest bits.</doc> | |
| 77113 | - | <source-position filename="glib/gbitlock.h" line="68"/> | |
| 78054 | + | <source-position filename="glib/gbitlock.h" line="79"/> | |
| 77114 | 78055 | <return-value transfer-ownership="none"> | |
| 77115 | 78056 | <type name="none" c:type="void"/> | |
| 77116 | 78057 | </return-value> | |
| @@ -77118,13 +78059,13 @@ only use this on the lowest bits.</doc> | |||
| 77118 | 78059 | <parameter name="address" transfer-ownership="none"> | |
| 77119 | 78060 | <doc xml:space="preserve" | |
| 77120 | 78061 | filename="glib/gbitlock.c" | |
| 77121 | - | line="651">a pointer to a #gpointer-sized value</doc> | |
| 78062 | + | line="734">a pointer to a #gpointer-sized value</doc> | |
| 77122 | 78063 | <type name="gpointer" c:type="void*"/> | |
| 77123 | 78064 | </parameter> | |
| 77124 | 78065 | <parameter name="lock_bit" transfer-ownership="none"> | |
| 77125 | 78066 | <doc xml:space="preserve" | |
| 77126 | 78067 | filename="glib/gbitlock.c" | |
| 77127 | - | line="652">a bit value between 0 and 31</doc> | |
| 78068 | + | line="735">a bit value between 0 and 31</doc> | |
| 77128 | 78069 | <type name="guint" c:type="guint"/> | |
| 77129 | 78070 | </parameter> | |
| 77130 | 78071 | <parameter name="ptr" | |
| @@ -77133,16 +78074,16 @@ only use this on the lowest bits.</doc> | |||
| 77133 | 78074 | allow-none="1"> | |
| 77134 | 78075 | <doc xml:space="preserve" | |
| 77135 | 78076 | filename="glib/gbitlock.c" | |
| 77136 | - | line="653">the new pointer value to set</doc> | |
| 78077 | + | line="736">the new pointer value to set</doc> | |
| 77137 | 78078 | <type name="gpointer" c:type="gpointer"/> | |
| 77138 | 78079 | </parameter> | |
| 77139 | 78080 | <parameter name="preserve_mask" transfer-ownership="none"> | |
| 77140 | 78081 | <doc xml:space="preserve" | |
| 77141 | 78082 | filename="glib/gbitlock.c" | |
| 77142 | - | line="654">if non-zero, those bits of the current pointer in @address | |
| 78083 | + | line="737">if non-zero, those bits of the current pointer in @address | |
| 77143 | 78084 | are preserved. | |
| 77144 | - | Note that the @lock_bit bit will be always set according to @set, | |
| 77145 | - | regardless of @preserve_mask and the currently set value in @address.</doc> | |
| 78085 | + | Note that the @lock_bit bit will be always unset regardless of | |
| 78086 | + | @ptr, @preserve_mask and the currently set value in @address.</doc> | |
| 77146 | 78087 | <type name="guintptr" c:type="guintptr"/> | |
| 77147 | 78088 | </parameter> | |
| 77148 | 78089 | </parameters> | |
| @@ -77275,7 +78216,7 @@ error condition) then also do nothing.</doc> | |||
| 77275 | 78216 | <function name="print" c:identifier="g_print" introspectable="0"> | |
| 77276 | 78217 | <doc xml:space="preserve" | |
| 77277 | 78218 | filename="glib/gmessages.c" | |
| 77278 | - | line="3532">Outputs a formatted message via the print handler. | |
| 78219 | + | line="3618">Outputs a formatted message via the print handler. | |
| 77279 | 78220 | ||
| 77280 | 78221 | The default print handler outputs the encoded message to `stdout`, without | |
| 77281 | 78222 | appending a trailing new-line character. Typically, @format should end with | |
| @@ -77286,7 +78227,7 @@ messages, since it may be redirected by applications to special | |||
| 77286 | 78227 | purpose message windows or even files. Instead, libraries should | |
| 77287 | 78228 | use [func@GLib.log], [func@GLib.log_structured], or the convenience macros | |
| 77288 | 78229 | [func@GLib.message], [func@GLib.warning] and [func@GLib.error].</doc> | |
| 77289 | - | <source-position filename="glib/gmessages.h" line="527"/> | |
| 78230 | + | <source-position filename="glib/gmessages.h" line="530"/> | |
| 77290 | 78231 | <return-value transfer-ownership="none"> | |
| 77291 | 78232 | <type name="none" c:type="void"/> | |
| 77292 | 78233 | </return-value> | |
| @@ -77294,13 +78235,13 @@ use [func@GLib.log], [func@GLib.log_structured], or the convenience macros | |||
| 77294 | 78235 | <parameter name="format" transfer-ownership="none"> | |
| 77295 | 78236 | <doc xml:space="preserve" | |
| 77296 | 78237 | filename="glib/gmessages.c" | |
| 77297 | - | line="3534">the message format. See the `printf()` documentation</doc> | |
| 78238 | + | line="3620">the message format. See the `printf()` documentation</doc> | |
| 77298 | 78239 | <type name="utf8" c:type="const gchar*"/> | |
| 77299 | 78240 | </parameter> | |
| 77300 | 78241 | <parameter name="..." transfer-ownership="none"> | |
| 77301 | 78242 | <doc xml:space="preserve" | |
| 77302 | 78243 | filename="glib/gmessages.c" | |
| 77303 | - | line="3535">the parameters to insert into the format string</doc> | |
| 78244 | + | line="3621">the parameters to insert into the format string</doc> | |
| 77304 | 78245 | <varargs/> | |
| 77305 | 78246 | </parameter> | |
| 77306 | 78247 | </parameters> | |
| @@ -77308,7 +78249,7 @@ use [func@GLib.log], [func@GLib.log_structured], or the convenience macros | |||
| 77308 | 78249 | <function name="printerr" c:identifier="g_printerr" introspectable="0"> | |
| 77309 | 78250 | <doc xml:space="preserve" | |
| 77310 | 78251 | filename="glib/gmessages.c" | |
| 77311 | - | line="3599">Outputs a formatted message via the error message handler. | |
| 78252 | + | line="3685">Outputs a formatted message via the error message handler. | |
| 77312 | 78253 | ||
| 77313 | 78254 | The default handler outputs the encoded message to `stderr`, without appending | |
| 77314 | 78255 | a trailing new-line character. Typically, @format should end with its own | |
| @@ -77317,7 +78258,7 @@ new-line character. | |||
| 77317 | 78258 | This function should not be used from within libraries. | |
| 77318 | 78259 | Instead [func@GLib.log] or [func@GLib.log_structured] should be used, or the convenience | |
| 77319 | 78260 | macros [func@GLib.message], [func@GLib.warning] and [func@GLib.error].</doc> | |
| 77320 | - | <source-position filename="glib/gmessages.h" line="532"/> | |
| 78261 | + | <source-position filename="glib/gmessages.h" line="535"/> | |
| 77321 | 78262 | <return-value transfer-ownership="none"> | |
| 77322 | 78263 | <type name="none" c:type="void"/> | |
| 77323 | 78264 | </return-value> | |
| @@ -77325,13 +78266,13 @@ macros [func@GLib.message], [func@GLib.warning] and [func@GLib.error].</doc> | |||
| 77325 | 78266 | <parameter name="format" transfer-ownership="none"> | |
| 77326 | 78267 | <doc xml:space="preserve" | |
| 77327 | 78268 | filename="glib/gmessages.c" | |
| 77328 | - | line="3601">the message format. See the `printf()` documentation</doc> | |
| 78269 | + | line="3687">the message format. See the `printf()` documentation</doc> | |
| 77329 | 78270 | <type name="utf8" c:type="const gchar*"/> | |
| 77330 | 78271 | </parameter> | |
| 77331 | 78272 | <parameter name="..." transfer-ownership="none"> | |
| 77332 | 78273 | <doc xml:space="preserve" | |
| 77333 | 78274 | filename="glib/gmessages.c" | |
| 77334 | - | line="3602">the parameters to insert into the format string</doc> | |
| 78275 | + | line="3688">the parameters to insert into the format string</doc> | |
| 77335 | 78276 | <varargs/> | |
| 77336 | 78277 | </parameter> | |
| 77337 | 78278 | </parameters> | |
| @@ -77342,7 +78283,7 @@ macros [func@GLib.message], [func@GLib.warning] and [func@GLib.error].</doc> | |||
| 77342 | 78283 | introspectable="0"> | |
| 77343 | 78284 | <doc xml:space="preserve" | |
| 77344 | 78285 | filename="glib/gprintf.c" | |
| 77345 | - | line="31">An implementation of the standard `printf()` function which supports | |
| 78286 | + | line="32">An implementation of the standard `printf()` function which supports | |
| 77346 | 78287 | positional parameters, as specified in the Single Unix Specification. | |
| 77347 | 78288 | ||
| 77348 | 78289 | As with the standard `printf()`, this does not automatically append a trailing | |
| @@ -77354,21 +78295,21 @@ own new-line character. | |||
| 77354 | 78295 | <return-value transfer-ownership="none"> | |
| 77355 | 78296 | <doc xml:space="preserve" | |
| 77356 | 78297 | filename="glib/gprintf.c" | |
| 77357 | - | line="46">the number of bytes printed</doc> | |
| 78298 | + | line="47">the number of bytes printed</doc> | |
| 77358 | 78299 | <type name="gint" c:type="gint"/> | |
| 77359 | 78300 | </return-value> | |
| 77360 | 78301 | <parameters> | |
| 77361 | 78302 | <parameter name="format" transfer-ownership="none"> | |
| 77362 | 78303 | <doc xml:space="preserve" | |
| 77363 | 78304 | filename="glib/gprintf.c" | |
| 77364 | - | line="33">a standard `printf()` format string, but notice | |
| 78305 | + | line="34">a standard `printf()` format string, but notice | |
| 77365 | 78306 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 77366 | 78307 | <type name="utf8" c:type="const gchar*"/> | |
| 77367 | 78308 | </parameter> | |
| 77368 | 78309 | <parameter name="..." transfer-ownership="none"> | |
| 77369 | 78310 | <doc xml:space="preserve" | |
| 77370 | 78311 | filename="glib/gprintf.c" | |
| 77371 | - | line="35">the arguments to insert in the output</doc> | |
| 78312 | + | line="36">the arguments to insert in the output</doc> | |
| 77372 | 78313 | <varargs/> | |
| 77373 | 78314 | </parameter> | |
| 77374 | 78315 | </parameters> | |
| @@ -77378,7 +78319,7 @@ own new-line character. | |||
| 77378 | 78319 | introspectable="0"> | |
| 77379 | 78320 | <doc xml:space="preserve" | |
| 77380 | 78321 | filename="glib/gmessages.c" | |
| 77381 | - | line="3634">Calculates the maximum space needed to store the output | |
| 78322 | + | line="3720">Calculates the maximum space needed to store the output | |
| 77382 | 78323 | of the `sprintf()` function. | |
| 77383 | 78324 | ||
| 77384 | 78325 | If @format or @args are invalid, `0` is returned. This could happen if, for | |
| @@ -77392,20 +78333,20 @@ placeholders in any case, as their behaviour is locale-dependent.</doc> | |||
| 77392 | 78333 | <return-value transfer-ownership="none"> | |
| 77393 | 78334 | <doc xml:space="preserve" | |
| 77394 | 78335 | filename="glib/gmessages.c" | |
| 77395 | - | line="3650">the maximum space needed to store the formatted string, or `0` on error</doc> | |
| 78336 | + | line="3736">the maximum space needed to store the formatted string, or `0` on error</doc> | |
| 77396 | 78337 | <type name="gsize" c:type="gsize"/> | |
| 77397 | 78338 | </return-value> | |
| 77398 | 78339 | <parameters> | |
| 77399 | 78340 | <parameter name="format" transfer-ownership="none"> | |
| 77400 | 78341 | <doc xml:space="preserve" | |
| 77401 | 78342 | filename="glib/gmessages.c" | |
| 77402 | - | line="3636">the format string. See the `printf()` documentation</doc> | |
| 78343 | + | line="3722">the format string. See the `printf()` documentation</doc> | |
| 77403 | 78344 | <type name="utf8" c:type="const gchar*"/> | |
| 77404 | 78345 | </parameter> | |
| 77405 | 78346 | <parameter name="args" transfer-ownership="none"> | |
| 77406 | 78347 | <doc xml:space="preserve" | |
| 77407 | 78348 | filename="glib/gmessages.c" | |
| 77408 | - | line="3637">the parameters to be inserted into the format string</doc> | |
| 78349 | + | line="3723">the parameters to be inserted into the format string</doc> | |
| 77409 | 78350 | <type name="va_list" c:type="va_list"/> | |
| 77410 | 78351 | </parameter> | |
| 77411 | 78352 | </parameters> | |
| @@ -77520,25 +78461,26 @@ g_prefix_error().</doc> | |||
| 77520 | 78461 | introspectable="0"> | |
| 77521 | 78462 | <doc xml:space="preserve" | |
| 77522 | 78463 | filename="glib/garray.c" | |
| 77523 | - | line="2601">Checks whether @needle exists in @haystack. If the element is found, %TRUE is | |
| 77524 | - | returned and the element’s index is returned in @index_ (if non-%NULL). | |
| 77525 | - | Otherwise, %FALSE is returned and @index_ is undefined. If @needle exists | |
| 78464 | + | line="2620">Checks whether @needle exists in @haystack. If the element is found, true | |
| 78465 | + | is returned and the element’s index is returned in @index_ (if non-`NULL`). | |
| 78466 | + | Otherwise, false is returned and @index_ is undefined. If @needle exists | |
| 77526 | 78467 | multiple times in @haystack, the index of the first instance is returned. | |
| 77527 | 78468 | ||
| 77528 | 78469 | This does pointer comparisons only. If you want to use more complex equality | |
| 77529 | - | checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc> | |
| 78470 | + | checks, such as string comparisons, use | |
| 78471 | + | [func@GLib.PtrArray.find_with_equal_func].</doc> | |
| 77530 | 78472 | <source-position filename="glib/garray.h" line="257"/> | |
| 77531 | 78473 | <return-value transfer-ownership="none"> | |
| 77532 | 78474 | <doc xml:space="preserve" | |
| 77533 | 78475 | filename="glib/garray.c" | |
| 77534 | - | line="2616">%TRUE if @needle is one of the elements of @haystack</doc> | |
| 78476 | + | line="2636">true if @needle is one of the elements of @haystack; false otherwise</doc> | |
| 77535 | 78477 | <type name="gboolean" c:type="gboolean"/> | |
| 77536 | 78478 | </return-value> | |
| 77537 | 78479 | <parameters> | |
| 77538 | 78480 | <parameter name="haystack" transfer-ownership="none"> | |
| 77539 | 78481 | <doc xml:space="preserve" | |
| 77540 | 78482 | filename="glib/garray.c" | |
| 77541 | - | line="2603">pointer array to be searched</doc> | |
| 78483 | + | line="2622">the pointer array to be searched</doc> | |
| 77542 | 78484 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 77543 | 78485 | <type name="gpointer" c:type="gpointer"/> | |
| 77544 | 78486 | </array> | |
| @@ -77549,7 +78491,7 @@ checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc | |||
| 77549 | 78491 | allow-none="1"> | |
| 77550 | 78492 | <doc xml:space="preserve" | |
| 77551 | 78493 | filename="glib/garray.c" | |
| 77552 | - | line="2604">pointer to look for</doc> | |
| 78494 | + | line="2623">the pointer to look for</doc> | |
| 77553 | 78495 | <type name="gpointer" c:type="gconstpointer"/> | |
| 77554 | 78496 | </parameter> | |
| 77555 | 78497 | <parameter name="index_" | |
| @@ -77560,7 +78502,7 @@ checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc | |||
| 77560 | 78502 | allow-none="1"> | |
| 77561 | 78503 | <doc xml:space="preserve" | |
| 77562 | 78504 | filename="glib/garray.c" | |
| 77563 | - | line="2605">return location for the index of | |
| 78505 | + | line="2624">the return location for the index of | |
| 77564 | 78506 | the element, if found</doc> | |
| 77565 | 78507 | <type name="guint" c:type="guint*"/> | |
| 77566 | 78508 | </parameter> | |
| @@ -77573,27 +78515,27 @@ checks, such as string comparisons, use g_ptr_array_find_with_equal_func().</doc | |||
| 77573 | 78515 | introspectable="0"> | |
| 77574 | 78516 | <doc xml:space="preserve" | |
| 77575 | 78517 | filename="glib/garray.c" | |
| 77576 | - | line="2627">Checks whether @needle exists in @haystack, using the given @equal_func. | |
| 77577 | - | If the element is found, %TRUE is returned and the element’s index is | |
| 77578 | - | returned in @index_ (if non-%NULL). Otherwise, %FALSE is returned and @index_ | |
| 78518 | + | line="2647">Checks whether @needle exists in @haystack, using the given @equal_func. | |
| 78519 | + | If the element is found, true is returned and the element’s index is | |
| 78520 | + | returned in @index_ (if non-`NULL`). Otherwise, false is returned and @index_ | |
| 77579 | 78521 | is undefined. If @needle exists multiple times in @haystack, the index of | |
| 77580 | 78522 | the first instance is returned. | |
| 77581 | 78523 | ||
| 77582 | 78524 | @equal_func is called with the element from the array as its first parameter, | |
| 77583 | - | and @needle as its second parameter. If @equal_func is %NULL, pointer | |
| 78525 | + | and @needle as its second parameter. If @equal_func is `NULL`, pointer | |
| 77584 | 78526 | equality is used.</doc> | |
| 77585 | 78527 | <source-position filename="glib/garray.h" line="261"/> | |
| 77586 | 78528 | <return-value transfer-ownership="none"> | |
| 77587 | 78529 | <doc xml:space="preserve" | |
| 77588 | 78530 | filename="glib/garray.c" | |
| 77589 | - | line="2647">%TRUE if @needle is one of the elements of @haystack</doc> | |
| 78531 | + | line="2667">true if @needle is one of the elements of @haystack; false otherwise</doc> | |
| 77590 | 78532 | <type name="gboolean" c:type="gboolean"/> | |
| 77591 | 78533 | </return-value> | |
| 77592 | 78534 | <parameters> | |
| 77593 | 78535 | <parameter name="haystack" transfer-ownership="none"> | |
| 77594 | 78536 | <doc xml:space="preserve" | |
| 77595 | 78537 | filename="glib/garray.c" | |
| 77596 | - | line="2629">pointer array to be searched</doc> | |
| 78538 | + | line="2649">the pointer array to be searched</doc> | |
| 77597 | 78539 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 77598 | 78540 | <type name="gpointer" c:type="gpointer"/> | |
| 77599 | 78541 | </array> | |
| @@ -77604,7 +78546,7 @@ equality is used.</doc> | |||
| 77604 | 78546 | allow-none="1"> | |
| 77605 | 78547 | <doc xml:space="preserve" | |
| 77606 | 78548 | filename="glib/garray.c" | |
| 77607 | - | line="2630">pointer to look for</doc> | |
| 78549 | + | line="2650">the pointer to look for</doc> | |
| 77608 | 78550 | <type name="gpointer" c:type="gconstpointer"/> | |
| 77609 | 78551 | </parameter> | |
| 77610 | 78552 | <parameter name="equal_func" | |
| @@ -77613,8 +78555,8 @@ equality is used.</doc> | |||
| 77613 | 78555 | allow-none="1"> | |
| 77614 | 78556 | <doc xml:space="preserve" | |
| 77615 | 78557 | filename="glib/garray.c" | |
| 77616 | - | line="2631">the function to call for each element, which should | |
| 77617 | - | return %TRUE when the desired element is found; or %NULL to use pointer | |
| 78558 | + | line="2651">the function to call for each element, which should | |
| 78559 | + | return true when the desired element is found; or `NULL` to use pointer | |
| 77618 | 78560 | equality</doc> | |
| 77619 | 78561 | <type name="EqualFunc" c:type="GEqualFunc"/> | |
| 77620 | 78562 | </parameter> | |
| @@ -77626,7 +78568,7 @@ equality is used.</doc> | |||
| 77626 | 78568 | allow-none="1"> | |
| 77627 | 78569 | <doc xml:space="preserve" | |
| 77628 | 78570 | filename="glib/garray.c" | |
| 77629 | - | line="2634">return location for the index of | |
| 78571 | + | line="2654">the return location for the index of | |
| 77630 | 78572 | the element, if found</doc> | |
| 77631 | 78573 | <type name="guint" c:type="guint*"/> | |
| 77632 | 78574 | </parameter> | |
| @@ -77637,7 +78579,7 @@ equality is used.</doc> | |||
| 77637 | 78579 | introspectable="0"> | |
| 77638 | 78580 | <doc xml:space="preserve" | |
| 77639 | 78581 | filename="glib/garray.c" | |
| 77640 | - | line="1104">Returns the pointer at the given index of the pointer array. | |
| 78582 | + | line="1116">Returns the pointer at the given index of the pointer array. | |
| 77641 | 78583 | ||
| 77642 | 78584 | This does not perform bounds checking on the given @index_, | |
| 77643 | 78585 | so you are responsible for checking it against the array length.</doc> | |
| @@ -77646,12 +78588,12 @@ so you are responsible for checking it against the array length.</doc> | |||
| 77646 | 78588 | <parameter name="array"> | |
| 77647 | 78589 | <doc xml:space="preserve" | |
| 77648 | 78590 | filename="glib/garray.c" | |
| 77649 | - | line="1106">a #GPtrArray</doc> | |
| 78591 | + | line="1118">a pointer array</doc> | |
| 77650 | 78592 | </parameter> | |
| 77651 | 78593 | <parameter name="index_"> | |
| 77652 | 78594 | <doc xml:space="preserve" | |
| 77653 | 78595 | filename="glib/garray.c" | |
| 77654 | - | line="1107">the index of the pointer to return</doc> | |
| 78596 | + | line="1119">the index of the pointer to return</doc> | |
| 77655 | 78597 | </parameter> | |
| 77656 | 78598 | </parameters> | |
| 77657 | 78599 | </function-macro> | |
| @@ -77662,27 +78604,28 @@ so you are responsible for checking it against the array length.</doc> | |||
| 77662 | 78604 | introspectable="0"> | |
| 77663 | 78605 | <doc xml:space="preserve" | |
| 77664 | 78606 | filename="glib/garray.c" | |
| 77665 | - | line="1313">Creates a new #GPtrArray, copying @len pointers from @data, and setting | |
| 78607 | + | line="1326">Creates a new `GPtrArray`, copying @len pointers from @data, and setting | |
| 77666 | 78608 | the array’s reference count to 1. | |
| 77667 | 78609 | ||
| 77668 | 78610 | This avoids having to manually add each element one by one. | |
| 77669 | 78611 | ||
| 77670 | 78612 | If @copy_func is provided, then it is used to copy each element before | |
| 77671 | - | adding them to the new array. If it is %NULL then the pointers are copied | |
| 78613 | + | adding them to the new array. If it is `NULL` then the pointers are copied | |
| 77672 | 78614 | directly. | |
| 77673 | 78615 | ||
| 77674 | 78616 | It also sets @element_free_func for freeing each element when the array is | |
| 77675 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 77676 | - | with @free_segment set to %TRUE or when removing elements. | |
| 78617 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 78618 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 78619 | + | removing elements. | |
| 77677 | 78620 | ||
| 77678 | - | Do not use it if @len is greater than %G_MAXUINT. #GPtrArray | |
| 77679 | - | stores the length of its data in #guint, which may be shorter than | |
| 77680 | - | #gsize.</doc> | |
| 78621 | + | Do not use it if @len is greater than [`G_MAXUINT`](types.html#guint). | |
| 78622 | + | `GPtrArray` stores the length of its data in `guint`, which may be shorter | |
| 78623 | + | than `gsize`.</doc> | |
| 77681 | 78624 | <source-position filename="glib/garray.h" line="159"/> | |
| 77682 | 78625 | <return-value transfer-ownership="full"> | |
| 77683 | 78626 | <doc xml:space="preserve" | |
| 77684 | 78627 | filename="glib/garray.c" | |
| 77685 | - | line="1341">A new #GPtrArray</doc> | |
| 78628 | + | line="1354">The new `GPtrArray`</doc> | |
| 77686 | 78629 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 77687 | 78630 | <type name="gpointer" c:type="gpointer"/> | |
| 77688 | 78631 | </array> | |
| @@ -77694,8 +78637,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77694 | 78637 | allow-none="1"> | |
| 77695 | 78638 | <doc xml:space="preserve" | |
| 77696 | 78639 | filename="glib/garray.c" | |
| 77697 | - | line="1315">an array of pointers, | |
| 77698 | - | or %NULL for an empty array</doc> | |
| 78640 | + | line="1328">an array of pointers</doc> | |
| 77699 | 78641 | <array length="1" zero-terminated="0" c:type="gpointer*"> | |
| 77700 | 78642 | <type name="gpointer" c:type="gpointer"/> | |
| 77701 | 78643 | </array> | |
| @@ -77703,7 +78645,7 @@ or %NULL for an empty array</doc> | |||
| 77703 | 78645 | <parameter name="len" transfer-ownership="none"> | |
| 77704 | 78646 | <doc xml:space="preserve" | |
| 77705 | 78647 | filename="glib/garray.c" | |
| 77706 | - | line="1317">the number of pointers in @data</doc> | |
| 78648 | + | line="1329">the number of pointers in @data</doc> | |
| 77707 | 78649 | <type name="gsize" c:type="gsize"/> | |
| 77708 | 78650 | </parameter> | |
| 77709 | 78651 | <parameter name="copy_func" | |
| @@ -77715,8 +78657,8 @@ or %NULL for an empty array</doc> | |||
| 77715 | 78657 | destroy="4"> | |
| 77716 | 78658 | <doc xml:space="preserve" | |
| 77717 | 78659 | filename="glib/garray.c" | |
| 77718 | - | line="1318">a copy function used to copy every element in the | |
| 77719 | - | array or %NULL.</doc> | |
| 78660 | + | line="1330">a copy function used to copy every element in the | |
| 78661 | + | array</doc> | |
| 77720 | 78662 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 77721 | 78663 | </parameter> | |
| 77722 | 78664 | <parameter name="copy_func_user_data" | |
| @@ -77725,7 +78667,7 @@ or %NULL for an empty array</doc> | |||
| 77725 | 78667 | allow-none="1"> | |
| 77726 | 78668 | <doc xml:space="preserve" | |
| 77727 | 78669 | filename="glib/garray.c" | |
| 77728 | - | line="1320">user data passed to @copy_func, or %NULL</doc> | |
| 78670 | + | line="1332">the user data passed to @copy_func</doc> | |
| 77729 | 78671 | <type name="gpointer" c:type="gpointer"/> | |
| 77730 | 78672 | </parameter> | |
| 77731 | 78673 | <parameter name="element_free_func" | |
| @@ -77735,8 +78677,8 @@ or %NULL for an empty array</doc> | |||
| 77735 | 78677 | scope="async"> | |
| 77736 | 78678 | <doc xml:space="preserve" | |
| 77737 | 78679 | filename="glib/garray.c" | |
| 77738 | - | line="1321">a function to free elements on @array | |
| 77739 | - | destruction or %NULL</doc> | |
| 78680 | + | line="1333">a function to free elements on @array | |
| 78681 | + | destruction</doc> | |
| 77740 | 78682 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 77741 | 78683 | </parameter> | |
| 77742 | 78684 | </parameters> | |
| @@ -77748,23 +78690,24 @@ or %NULL for an empty array</doc> | |||
| 77748 | 78690 | introspectable="0"> | |
| 77749 | 78691 | <doc xml:space="preserve" | |
| 77750 | 78692 | filename="glib/garray.c" | |
| 77751 | - | line="1359">Creates a new #GPtrArray copying the pointers from @data after having | |
| 78693 | + | line="1372">Creates a new `GPtrArray` copying the pointers from @data after having | |
| 77752 | 78694 | computed the length of it and with a reference count of 1. | |
| 77753 | 78695 | This avoids having to manually add each element one by one. | |
| 77754 | 78696 | If @copy_func is provided, then it is used to copy the data in the new | |
| 77755 | 78697 | array. | |
| 77756 | - | It also set @element_free_func for freeing each element when the array is | |
| 77757 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 77758 | - | with @free_segment set to %TRUE or when removing elements. | |
| 78698 | + | It also sets @element_free_func for freeing each element when the array is | |
| 78699 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 78700 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 78701 | + | removing elements. | |
| 77759 | 78702 | ||
| 77760 | - | Do not use it if the @data has more than %G_MAXUINT elements. #GPtrArray | |
| 77761 | - | stores the length of its data in #guint, which may be shorter than | |
| 77762 | - | #gsize.</doc> | |
| 78703 | + | Do not use it if the @data has more than [`G_MAXUINT`](types.html#guint) | |
| 78704 | + | elements. `GPtrArray` stores the length of its data in `guint`, which may be | |
| 78705 | + | shorter than `gsize`.</doc> | |
| 77763 | 78706 | <source-position filename="glib/garray.h" line="184"/> | |
| 77764 | 78707 | <return-value transfer-ownership="full"> | |
| 77765 | 78708 | <doc xml:space="preserve" | |
| 77766 | 78709 | filename="glib/garray.c" | |
| 77767 | - | line="1382">A new #GPtrArray</doc> | |
| 78710 | + | line="1396">The new `GPtrArray`</doc> | |
| 77768 | 78711 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 77769 | 78712 | <type name="gpointer" c:type="gpointer"/> | |
| 77770 | 78713 | </array> | |
| @@ -77776,8 +78719,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77776 | 78719 | allow-none="1"> | |
| 77777 | 78720 | <doc xml:space="preserve" | |
| 77778 | 78721 | filename="glib/garray.c" | |
| 77779 | - | line="1361">an array of | |
| 77780 | - | pointers, %NULL terminated; or %NULL for an empty array</doc> | |
| 78722 | + | line="1374">an array of | |
| 78723 | + | pointers, `NULL` terminated</doc> | |
| 77781 | 78724 | <array c:type="gpointer*"> | |
| 77782 | 78725 | <type name="gpointer" c:type="gpointer"/> | |
| 77783 | 78726 | </array> | |
| @@ -77791,8 +78734,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77791 | 78734 | destroy="3"> | |
| 77792 | 78735 | <doc xml:space="preserve" | |
| 77793 | 78736 | filename="glib/garray.c" | |
| 77794 | - | line="1363">a copy function used to copy every element in the | |
| 77795 | - | array or %NULL.</doc> | |
| 78737 | + | line="1376">a copy function used to copy every element in the | |
| 78738 | + | array</doc> | |
| 77796 | 78739 | <type name="CopyFunc" c:type="GCopyFunc"/> | |
| 77797 | 78740 | </parameter> | |
| 77798 | 78741 | <parameter name="copy_func_user_data" | |
| @@ -77801,7 +78744,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77801 | 78744 | allow-none="1"> | |
| 77802 | 78745 | <doc xml:space="preserve" | |
| 77803 | 78746 | filename="glib/garray.c" | |
| 77804 | - | line="1365">user data passed to @copy_func, or %NULL</doc> | |
| 78747 | + | line="1378">the user data passed to @copy_func</doc> | |
| 77805 | 78748 | <type name="gpointer" c:type="gpointer"/> | |
| 77806 | 78749 | </parameter> | |
| 77807 | 78750 | <parameter name="element_free_func" | |
| @@ -77811,8 +78754,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77811 | 78754 | scope="async"> | |
| 77812 | 78755 | <doc xml:space="preserve" | |
| 77813 | 78756 | filename="glib/garray.c" | |
| 77814 | - | line="1366">a function to free elements on @array | |
| 77815 | - | destruction or %NULL</doc> | |
| 78757 | + | line="1379">a function to free elements on @array | |
| 78758 | + | destruction</doc> | |
| 77816 | 78759 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 77817 | 78760 | </parameter> | |
| 77818 | 78761 | </parameters> | |
| @@ -77824,26 +78767,27 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77824 | 78767 | introspectable="0"> | |
| 77825 | 78768 | <doc xml:space="preserve" | |
| 77826 | 78769 | filename="glib/garray.c" | |
| 77827 | - | line="1178">Creates a new #GPtrArray with @data as pointers, @len as length and a | |
| 78770 | + | line="1186">Creates a new `GPtrArray` with @data as pointers, @len as length and a | |
| 77828 | 78771 | reference count of 1. | |
| 77829 | 78772 | ||
| 77830 | 78773 | This avoids having to copy such data manually. | |
| 77831 | - | After this call, @data belongs to the #GPtrArray and may no longer be | |
| 78774 | + | After this call, @data belongs to the `GPtrArray` and may no longer be | |
| 77832 | 78775 | modified by the caller. The memory of @data has to be dynamically | |
| 77833 | - | allocated and will eventually be freed with g_free(). | |
| 78776 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 77834 | 78777 | ||
| 77835 | 78778 | It also sets @element_free_func for freeing each element when the array is | |
| 77836 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 77837 | - | with @free_segment set to %TRUE or when removing elements. | |
| 78779 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 78780 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 78781 | + | removing elements. | |
| 77838 | 78782 | ||
| 77839 | - | Do not use it if @len is greater than %G_MAXUINT. #GPtrArray | |
| 77840 | - | stores the length of its data in #guint, which may be shorter than | |
| 77841 | - | #gsize.</doc> | |
| 78783 | + | Do not use it if @len is greater than [`G_MAXUINT`](types.html#guint). | |
| 78784 | + | `GPtrArray` stores the length of its data in `guint`, which may be shorter | |
| 78785 | + | than `gsize`.</doc> | |
| 77842 | 78786 | <source-position filename="glib/garray.h" line="155"/> | |
| 77843 | 78787 | <return-value transfer-ownership="full"> | |
| 77844 | 78788 | <doc xml:space="preserve" | |
| 77845 | 78789 | filename="glib/garray.c" | |
| 77846 | - | line="1202">A new #GPtrArray</doc> | |
| 78790 | + | line="1210">The new `GPtrArray`</doc> | |
| 77847 | 78791 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 77848 | 78792 | <type name="gpointer" c:type="gpointer"/> | |
| 77849 | 78793 | </array> | |
| @@ -77855,8 +78799,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77855 | 78799 | allow-none="1"> | |
| 77856 | 78800 | <doc xml:space="preserve" | |
| 77857 | 78801 | filename="glib/garray.c" | |
| 77858 | - | line="1180">an array of pointers, | |
| 77859 | - | or %NULL for an empty array</doc> | |
| 78802 | + | line="1188">an array of pointers</doc> | |
| 77860 | 78803 | <array length="1" zero-terminated="0" c:type="gpointer*"> | |
| 77861 | 78804 | <type name="gpointer" c:type="gpointer"/> | |
| 77862 | 78805 | </array> | |
| @@ -77864,7 +78807,7 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77864 | 78807 | <parameter name="len" transfer-ownership="none"> | |
| 77865 | 78808 | <doc xml:space="preserve" | |
| 77866 | 78809 | filename="glib/garray.c" | |
| 77867 | - | line="1182">the number of pointers in @data</doc> | |
| 78810 | + | line="1189">the number of pointers in @data</doc> | |
| 77868 | 78811 | <type name="gsize" c:type="gsize"/> | |
| 77869 | 78812 | </parameter> | |
| 77870 | 78813 | <parameter name="element_free_func" | |
| @@ -77874,8 +78817,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77874 | 78817 | scope="async"> | |
| 77875 | 78818 | <doc xml:space="preserve" | |
| 77876 | 78819 | filename="glib/garray.c" | |
| 77877 | - | line="1183">A function to free elements on @array | |
| 77878 | - | destruction or %NULL</doc> | |
| 78820 | + | line="1190">a function to free elements on @array | |
| 78821 | + | destruction</doc> | |
| 77879 | 78822 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 77880 | 78823 | </parameter> | |
| 77881 | 78824 | </parameters> | |
| @@ -77887,29 +78830,30 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77887 | 78830 | introspectable="0"> | |
| 77888 | 78831 | <doc xml:space="preserve" | |
| 77889 | 78832 | filename="glib/garray.c" | |
| 77890 | - | line="1227">Creates a new #GPtrArray with @data as pointers, computing the length of it | |
| 78833 | + | line="1235">Creates a new `GPtrArray` with @data as pointers, computing the length of it | |
| 77891 | 78834 | and setting the reference count to 1. | |
| 77892 | 78835 | ||
| 77893 | 78836 | This avoids having to copy such data manually. | |
| 77894 | - | After this call, @data belongs to the #GPtrArray and may no longer be | |
| 78837 | + | After this call, @data belongs to the `GPtrArray` and may no longer be | |
| 77895 | 78838 | modified by the caller. The memory of @data has to be dynamically | |
| 77896 | - | allocated and will eventually be freed with g_free(). | |
| 78839 | + | allocated and will eventually be freed with [func@GLib.free]. | |
| 77897 | 78840 | ||
| 77898 | - | The length is calculated by iterating through @data until the first %NULL | |
| 78841 | + | The length is calculated by iterating through @data until the first `NULL` | |
| 77899 | 78842 | element is found. | |
| 77900 | 78843 | ||
| 77901 | 78844 | It also sets @element_free_func for freeing each element when the array is | |
| 77902 | - | destroyed either via g_ptr_array_unref(), when g_ptr_array_free() is called | |
| 77903 | - | with @free_segment set to %TRUE or when removing elements. | |
| 78845 | + | destroyed either via [func@GLib.PtrArray.unref], when | |
| 78846 | + | [func@GLib.PtrArray.free] is called with @free_segment set to true or when | |
| 78847 | + | removing elements. | |
| 77904 | 78848 | ||
| 77905 | - | Do not use it if the @data length is greater than %G_MAXUINT. #GPtrArray | |
| 77906 | - | stores the length of its data in #guint, which may be shorter than | |
| 77907 | - | #gsize.</doc> | |
| 78849 | + | Do not use it if the @data length is greater than | |
| 78850 | + | [`G_MAXUINT`](types.html#guint). `GPtrArray` stores the length of its data | |
| 78851 | + | in `guint`, which may be shorter than `gsize`.</doc> | |
| 77908 | 78852 | <source-position filename="glib/garray.h" line="181"/> | |
| 77909 | 78853 | <return-value transfer-ownership="full"> | |
| 77910 | 78854 | <doc xml:space="preserve" | |
| 77911 | 78855 | filename="glib/garray.c" | |
| 77912 | - | line="1253">A new #GPtrArray</doc> | |
| 78856 | + | line="1262">The new `GPtrArray`</doc> | |
| 77913 | 78857 | <array name="GLib.PtrArray" c:type="GPtrArray*"> | |
| 77914 | 78858 | <type name="gpointer" c:type="gpointer"/> | |
| 77915 | 78859 | </array> | |
| @@ -77921,8 +78865,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77921 | 78865 | allow-none="1"> | |
| 77922 | 78866 | <doc xml:space="preserve" | |
| 77923 | 78867 | filename="glib/garray.c" | |
| 77924 | - | line="1229">an array | |
| 77925 | - | of pointers, %NULL terminated, or %NULL for an empty array</doc> | |
| 78868 | + | line="1237">an array | |
| 78869 | + | of pointers, `NULL` terminated</doc> | |
| 77926 | 78870 | <array c:type="gpointer*"> | |
| 77927 | 78871 | <type name="gpointer" c:type="gpointer"/> | |
| 77928 | 78872 | </array> | |
| @@ -77934,8 +78878,8 @@ stores the length of its data in #guint, which may be shorter than | |||
| 77934 | 78878 | scope="async"> | |
| 77935 | 78879 | <doc xml:space="preserve" | |
| 77936 | 78880 | filename="glib/garray.c" | |
| 77937 | - | line="1231">a function to free elements on @array | |
| 77938 | - | destruction or %NULL</doc> | |
| 78881 | + | line="1239">a function to free elements on @array | |
| 78882 | + | destruction</doc> | |
| 77939 | 78883 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 77940 | 78884 | </parameter> | |
| 77941 | 78885 | </parameters> | |
| @@ -78120,14 +79064,14 @@ running.</doc> | |||
| 78120 | 79064 | introspectable="0"> | |
| 78121 | 79065 | <doc xml:space="preserve" | |
| 78122 | 79066 | filename="glib/grand.c" | |
| 78123 | - | line="383">Returns a random #gboolean from @rand_. | |
| 79067 | + | line="384">Returns a random #gboolean from @rand_. | |
| 78124 | 79068 | This corresponds to an unbiased coin toss.</doc> | |
| 78125 | 79069 | <source-position filename="glib/grand.h" line="68"/> | |
| 78126 | 79070 | <parameters> | |
| 78127 | 79071 | <parameter name="rand_"> | |
| 78128 | 79072 | <doc xml:space="preserve" | |
| 78129 | 79073 | filename="glib/grand.c" | |
| 78130 | - | line="385">a #GRand</doc> | |
| 79074 | + | line="386">a #GRand</doc> | |
| 78131 | 79075 | </parameter> | |
| 78132 | 79076 | </parameters> | |
| 78133 | 79077 | </function-macro> | |
| @@ -78136,45 +79080,45 @@ This corresponds to an unbiased coin toss.</doc> | |||
| 78136 | 79080 | introspectable="0"> | |
| 78137 | 79081 | <doc xml:space="preserve" | |
| 78138 | 79082 | filename="glib/grand.c" | |
| 78139 | - | line="583">Returns a random #gboolean. | |
| 79083 | + | line="584">Returns a random #gboolean. | |
| 78140 | 79084 | This corresponds to an unbiased coin toss.</doc> | |
| 78141 | 79085 | <source-position filename="glib/grand.h" line="85"/> | |
| 78142 | 79086 | </function-macro> | |
| 78143 | 79087 | <function name="random_double" c:identifier="g_random_double"> | |
| 78144 | 79088 | <doc xml:space="preserve" | |
| 78145 | 79089 | filename="glib/grand.c" | |
| 78146 | - | line="630">Returns a random #gdouble equally distributed over the range [0..1).</doc> | |
| 79090 | + | line="631">Returns a random #gdouble equally distributed over the range [0..1).</doc> | |
| 78147 | 79091 | <source-position filename="glib/grand.h" line="93"/> | |
| 78148 | 79092 | <return-value transfer-ownership="none"> | |
| 78149 | 79093 | <doc xml:space="preserve" | |
| 78150 | 79094 | filename="glib/grand.c" | |
| 78151 | - | line="635">a random number</doc> | |
| 79095 | + | line="636">a random number</doc> | |
| 78152 | 79096 | <type name="gdouble" c:type="gdouble"/> | |
| 78153 | 79097 | </return-value> | |
| 78154 | 79098 | </function> | |
| 78155 | 79099 | <function name="random_double_range" c:identifier="g_random_double_range"> | |
| 78156 | 79100 | <doc xml:space="preserve" | |
| 78157 | 79101 | filename="glib/grand.c" | |
| 78158 | - | line="647">Returns a random #gdouble equally distributed over the range | |
| 79102 | + | line="648">Returns a random #gdouble equally distributed over the range | |
| 78159 | 79103 | [@begin..@end).</doc> | |
| 78160 | 79104 | <source-position filename="glib/grand.h" line="95"/> | |
| 78161 | 79105 | <return-value transfer-ownership="none"> | |
| 78162 | 79106 | <doc xml:space="preserve" | |
| 78163 | 79107 | filename="glib/grand.c" | |
| 78164 | - | line="655">a random number</doc> | |
| 79108 | + | line="656">a random number</doc> | |
| 78165 | 79109 | <type name="gdouble" c:type="gdouble"/> | |
| 78166 | 79110 | </return-value> | |
| 78167 | 79111 | <parameters> | |
| 78168 | 79112 | <parameter name="begin" transfer-ownership="none"> | |
| 78169 | 79113 | <doc xml:space="preserve" | |
| 78170 | 79114 | filename="glib/grand.c" | |
| 78171 | - | line="649">lower closed bound of the interval</doc> | |
| 79115 | + | line="650">lower closed bound of the interval</doc> | |
| 78172 | 79116 | <type name="gdouble" c:type="gdouble"/> | |
| 78173 | 79117 | </parameter> | |
| 78174 | 79118 | <parameter name="end" transfer-ownership="none"> | |
| 78175 | 79119 | <doc xml:space="preserve" | |
| 78176 | 79120 | filename="glib/grand.c" | |
| 78177 | - | line="650">upper open bound of the interval</doc> | |
| 79121 | + | line="651">upper open bound of the interval</doc> | |
| 78178 | 79122 | <type name="gdouble" c:type="gdouble"/> | |
| 78179 | 79123 | </parameter> | |
| 78180 | 79124 | </parameters> | |
| @@ -78182,39 +79126,39 @@ This corresponds to an unbiased coin toss.</doc> | |||
| 78182 | 79126 | <function name="random_int" c:identifier="g_random_int"> | |
| 78183 | 79127 | <doc xml:space="preserve" | |
| 78184 | 79128 | filename="glib/grand.c" | |
| 78185 | - | line="591">Return a random #guint32 equally distributed over the range | |
| 79129 | + | line="592">Return a random #guint32 equally distributed over the range | |
| 78186 | 79130 | [0..2^32-1].</doc> | |
| 78187 | 79131 | <source-position filename="glib/grand.h" line="88"/> | |
| 78188 | 79132 | <return-value transfer-ownership="none"> | |
| 78189 | 79133 | <doc xml:space="preserve" | |
| 78190 | 79134 | filename="glib/grand.c" | |
| 78191 | - | line="597">a random number</doc> | |
| 79135 | + | line="598">a random number</doc> | |
| 78192 | 79136 | <type name="guint32" c:type="guint32"/> | |
| 78193 | 79137 | </return-value> | |
| 78194 | 79138 | </function> | |
| 78195 | 79139 | <function name="random_int_range" c:identifier="g_random_int_range"> | |
| 78196 | 79140 | <doc xml:space="preserve" | |
| 78197 | 79141 | filename="glib/grand.c" | |
| 78198 | - | line="609">Returns a random #gint32 equally distributed over the range | |
| 79142 | + | line="610">Returns a random #gint32 equally distributed over the range | |
| 78199 | 79143 | [@begin..@end-1].</doc> | |
| 78200 | 79144 | <source-position filename="glib/grand.h" line="90"/> | |
| 78201 | 79145 | <return-value transfer-ownership="none"> | |
| 78202 | 79146 | <doc xml:space="preserve" | |
| 78203 | 79147 | filename="glib/grand.c" | |
| 78204 | - | line="617">a random number</doc> | |
| 79148 | + | line="618">a random number</doc> | |
| 78205 | 79149 | <type name="gint32" c:type="gint32"/> | |
| 78206 | 79150 | </return-value> | |
| 78207 | 79151 | <parameters> | |
| 78208 | 79152 | <parameter name="begin" transfer-ownership="none"> | |
| 78209 | 79153 | <doc xml:space="preserve" | |
| 78210 | 79154 | filename="glib/grand.c" | |
| 78211 | - | line="611">lower closed bound of the interval</doc> | |
| 79155 | + | line="612">lower closed bound of the interval</doc> | |
| 78212 | 79156 | <type name="gint32" c:type="gint32"/> | |
| 78213 | 79157 | </parameter> | |
| 78214 | 79158 | <parameter name="end" transfer-ownership="none"> | |
| 78215 | 79159 | <doc xml:space="preserve" | |
| 78216 | 79160 | filename="glib/grand.c" | |
| 78217 | - | line="612">upper open bound of the interval</doc> | |
| 79161 | + | line="613">upper open bound of the interval</doc> | |
| 78218 | 79162 | <type name="gint32" c:type="gint32"/> | |
| 78219 | 79163 | </parameter> | |
| 78220 | 79164 | </parameters> | |
| @@ -78222,7 +79166,7 @@ This corresponds to an unbiased coin toss.</doc> | |||
| 78222 | 79166 | <function name="random_set_seed" c:identifier="g_random_set_seed"> | |
| 78223 | 79167 | <doc xml:space="preserve" | |
| 78224 | 79168 | filename="glib/grand.c" | |
| 78225 | - | line="668">Sets the seed for the global random number generator, which is used | |
| 79169 | + | line="669">Sets the seed for the global random number generator, which is used | |
| 78226 | 79170 | by the g_random_* functions, to @seed.</doc> | |
| 78227 | 79171 | <source-position filename="glib/grand.h" line="83"/> | |
| 78228 | 79172 | <return-value transfer-ownership="none"> | |
| @@ -78232,7 +79176,7 @@ by the g_random_* functions, to @seed.</doc> | |||
| 78232 | 79176 | <parameter name="seed" transfer-ownership="none"> | |
| 78233 | 79177 | <doc xml:space="preserve" | |
| 78234 | 79178 | filename="glib/grand.c" | |
| 78235 | - | line="670">a value to reinitialize the global random number generator</doc> | |
| 79179 | + | line="671">a value to reinitialize the global random number generator</doc> | |
| 78236 | 79180 | <type name="guint32" c:type="guint32"/> | |
| 78237 | 79181 | </parameter> | |
| 78238 | 79182 | </parameters> | |
| @@ -78584,7 +79528,10 @@ g_ref_count_init() to be used again.</doc> | |||
| 78584 | 79528 | <type name="gboolean" c:type="gboolean"/> | |
| 78585 | 79529 | </return-value> | |
| 78586 | 79530 | <parameters> | |
| 78587 | - | <parameter name="rc" transfer-ownership="none"> | |
| 79531 | + | <parameter name="rc" | |
| 79532 | + | direction="inout" | |
| 79533 | + | caller-allocates="0" | |
| 79534 | + | transfer-ownership="full"> | |
| 78588 | 79535 | <doc xml:space="preserve" | |
| 78589 | 79536 | filename="glib/grefcount.c" | |
| 78590 | 79537 | line="120">the address of a reference count variable</doc> | |
| @@ -78603,7 +79550,10 @@ g_ref_count_init() to be used again.</doc> | |||
| 78603 | 79550 | <type name="none" c:type="void"/> | |
| 78604 | 79551 | </return-value> | |
| 78605 | 79552 | <parameters> | |
| 78606 | - | <parameter name="rc" transfer-ownership="none"> | |
| 79553 | + | <parameter name="rc" | |
| 79554 | + | direction="inout" | |
| 79555 | + | caller-allocates="0" | |
| 79556 | + | transfer-ownership="full"> | |
| 78607 | 79557 | <doc xml:space="preserve" | |
| 78608 | 79558 | filename="glib/grefcount.c" | |
| 78609 | 79559 | line="89">the address of a reference count variable</doc> | |
| @@ -78622,7 +79572,10 @@ g_ref_count_init() to be used again.</doc> | |||
| 78622 | 79572 | <type name="none" c:type="void"/> | |
| 78623 | 79573 | </return-value> | |
| 78624 | 79574 | <parameters> | |
| 78625 | - | <parameter name="rc" transfer-ownership="none"> | |
| 79575 | + | <parameter name="rc" | |
| 79576 | + | direction="out" | |
| 79577 | + | caller-allocates="0" | |
| 79578 | + | transfer-ownership="full"> | |
| 78626 | 79579 | <doc xml:space="preserve" | |
| 78627 | 79580 | filename="glib/grefcount.c" | |
| 78628 | 79581 | line="64">the address of a reference count variable</doc> | |
| @@ -78817,7 +79770,7 @@ resources allocated by the string are freed as well.</doc> | |||
| 78817 | 79770 | throws="1"> | |
| 78818 | 79771 | <doc xml:space="preserve" | |
| 78819 | 79772 | filename="glib/gregex.c" | |
| 78820 | - | line="3503">Checks whether @replacement is a valid replacement string | |
| 79773 | + | line="3773">Checks whether @replacement is a valid replacement string | |
| 78821 | 79774 | (see g_regex_replace()), i.e. that all escape sequences in | |
| 78822 | 79775 | it are valid. | |
| 78823 | 79776 | ||
| @@ -78830,14 +79783,14 @@ subpattern) requires valid #GMatchInfo object.</doc> | |||
| 78830 | 79783 | <return-value transfer-ownership="none"> | |
| 78831 | 79784 | <doc xml:space="preserve" | |
| 78832 | 79785 | filename="glib/gregex.c" | |
| 78833 | - | line="3520">whether @replacement is a valid replacement string</doc> | |
| 79786 | + | line="3790">whether @replacement is a valid replacement string</doc> | |
| 78834 | 79787 | <type name="gboolean" c:type="gboolean"/> | |
| 78835 | 79788 | </return-value> | |
| 78836 | 79789 | <parameters> | |
| 78837 | 79790 | <parameter name="replacement" transfer-ownership="none"> | |
| 78838 | 79791 | <doc xml:space="preserve" | |
| 78839 | 79792 | filename="glib/gregex.c" | |
| 78840 | - | line="3505">the replacement string</doc> | |
| 79793 | + | line="3775">the replacement string</doc> | |
| 78841 | 79794 | <type name="utf8" c:type="const gchar*"/> | |
| 78842 | 79795 | </parameter> | |
| 78843 | 79796 | <parameter name="has_references" | |
| @@ -78848,7 +79801,7 @@ subpattern) requires valid #GMatchInfo object.</doc> | |||
| 78848 | 79801 | allow-none="1"> | |
| 78849 | 79802 | <doc xml:space="preserve" | |
| 78850 | 79803 | filename="glib/gregex.c" | |
| 78851 | - | line="3506">location to store information about | |
| 79804 | + | line="3776">location to store information about | |
| 78852 | 79805 | references in @replacement or %NULL</doc> | |
| 78853 | 79806 | <type name="gboolean" c:type="gboolean*"/> | |
| 78854 | 79807 | </parameter> | |
| @@ -78867,7 +79820,7 @@ subpattern) requires valid #GMatchInfo object.</doc> | |||
| 78867 | 79820 | version="2.30"> | |
| 78868 | 79821 | <doc xml:space="preserve" | |
| 78869 | 79822 | filename="glib/gregex.c" | |
| 78870 | - | line="3548">Escapes the nul characters in @string to "\x00". It can be used | |
| 79823 | + | line="3818">Escapes the nul characters in @string to "\x00". It can be used | |
| 78871 | 79824 | to compile a regex with embedded nul characters. | |
| 78872 | 79825 | ||
| 78873 | 79826 | For completeness, @length can be -1 for a nul-terminated string. | |
| @@ -78876,20 +79829,20 @@ In this case the output string will be of course equal to @string.</doc> | |||
| 78876 | 79829 | <return-value transfer-ownership="full"> | |
| 78877 | 79830 | <doc xml:space="preserve" | |
| 78878 | 79831 | filename="glib/gregex.c" | |
| 78879 | - | line="3559">a newly-allocated escaped string</doc> | |
| 79832 | + | line="3829">a newly-allocated escaped string</doc> | |
| 78880 | 79833 | <type name="utf8" c:type="gchar*"/> | |
| 78881 | 79834 | </return-value> | |
| 78882 | 79835 | <parameters> | |
| 78883 | 79836 | <parameter name="string" transfer-ownership="none"> | |
| 78884 | 79837 | <doc xml:space="preserve" | |
| 78885 | 79838 | filename="glib/gregex.c" | |
| 78886 | - | line="3550">the string to escape</doc> | |
| 79839 | + | line="3820">the string to escape</doc> | |
| 78887 | 79840 | <type name="utf8" c:type="const gchar*"/> | |
| 78888 | 79841 | </parameter> | |
| 78889 | 79842 | <parameter name="length" transfer-ownership="none"> | |
| 78890 | 79843 | <doc xml:space="preserve" | |
| 78891 | 79844 | filename="glib/gregex.c" | |
| 78892 | - | line="3551">the length of @string</doc> | |
| 79845 | + | line="3821">the length of @string</doc> | |
| 78893 | 79846 | <type name="gint" c:type="gint"/> | |
| 78894 | 79847 | </parameter> | |
| 78895 | 79848 | </parameters> | |
| @@ -78900,7 +79853,7 @@ In this case the output string will be of course equal to @string.</doc> | |||
| 78900 | 79853 | version="2.14"> | |
| 78901 | 79854 | <doc xml:space="preserve" | |
| 78902 | 79855 | filename="glib/gregex.c" | |
| 78903 | - | line="3616">Escapes the special characters used for regular expressions | |
| 79856 | + | line="3886">Escapes the special characters used for regular expressions | |
| 78904 | 79857 | in @string, for instance "a.b*c" becomes "a\.b\*c". This | |
| 78905 | 79858 | function is useful to dynamically generate regular expressions. | |
| 78906 | 79859 | ||
| @@ -78911,20 +79864,20 @@ in @length.</doc> | |||
| 78911 | 79864 | <return-value transfer-ownership="full"> | |
| 78912 | 79865 | <doc xml:space="preserve" | |
| 78913 | 79866 | filename="glib/gregex.c" | |
| 78914 | - | line="3629">a newly-allocated escaped string</doc> | |
| 79867 | + | line="3899">a newly-allocated escaped string</doc> | |
| 78915 | 79868 | <type name="utf8" c:type="gchar*"/> | |
| 78916 | 79869 | </return-value> | |
| 78917 | 79870 | <parameters> | |
| 78918 | 79871 | <parameter name="string" transfer-ownership="none"> | |
| 78919 | 79872 | <doc xml:space="preserve" | |
| 78920 | 79873 | filename="glib/gregex.c" | |
| 78921 | - | line="3618">the string to escape</doc> | |
| 79874 | + | line="3888">the string to escape</doc> | |
| 78922 | 79875 | <type name="utf8" c:type="const gchar*"/> | |
| 78923 | 79876 | </parameter> | |
| 78924 | 79877 | <parameter name="length" transfer-ownership="none"> | |
| 78925 | 79878 | <doc xml:space="preserve" | |
| 78926 | 79879 | filename="glib/gregex.c" | |
| 78927 | - | line="3619">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 79880 | + | line="3889">the length of @string, in bytes, or -1 if @string is nul-terminated</doc> | |
| 78928 | 79881 | <type name="gint" c:type="gint"/> | |
| 78929 | 79882 | </parameter> | |
| 78930 | 79883 | </parameters> | |
| @@ -78935,7 +79888,7 @@ in @length.</doc> | |||
| 78935 | 79888 | version="2.14"> | |
| 78936 | 79889 | <doc xml:space="preserve" | |
| 78937 | 79890 | filename="glib/gregex.c" | |
| 78938 | - | line="2105">Scans for a match in @string for @pattern. | |
| 79891 | + | line="2375">Scans for a match in @string for @pattern. | |
| 78939 | 79892 | ||
| 78940 | 79893 | This function is equivalent to g_regex_match() but it does not | |
| 78941 | 79894 | require to compile the pattern with g_regex_new(), avoiding some | |
| @@ -78949,32 +79902,32 @@ g_regex_new() and then use g_regex_match().</doc> | |||
| 78949 | 79902 | <return-value transfer-ownership="none"> | |
| 78950 | 79903 | <doc xml:space="preserve" | |
| 78951 | 79904 | filename="glib/gregex.c" | |
| 78952 | - | line="2123">%TRUE if the string matched, %FALSE otherwise</doc> | |
| 79905 | + | line="2393">%TRUE if the string matched, %FALSE otherwise</doc> | |
| 78953 | 79906 | <type name="gboolean" c:type="gboolean"/> | |
| 78954 | 79907 | </return-value> | |
| 78955 | 79908 | <parameters> | |
| 78956 | 79909 | <parameter name="pattern" transfer-ownership="none"> | |
| 78957 | 79910 | <doc xml:space="preserve" | |
| 78958 | 79911 | filename="glib/gregex.c" | |
| 78959 | - | line="2107">the regular expression</doc> | |
| 79912 | + | line="2377">the regular expression</doc> | |
| 78960 | 79913 | <type name="utf8" c:type="const gchar*"/> | |
| 78961 | 79914 | </parameter> | |
| 78962 | 79915 | <parameter name="string" transfer-ownership="none"> | |
| 78963 | 79916 | <doc xml:space="preserve" | |
| 78964 | 79917 | filename="glib/gregex.c" | |
| 78965 | - | line="2108">the string to scan for matches</doc> | |
| 79918 | + | line="2378">the string to scan for matches</doc> | |
| 78966 | 79919 | <type name="utf8" c:type="const gchar*"/> | |
| 78967 | 79920 | </parameter> | |
| 78968 | 79921 | <parameter name="compile_options" transfer-ownership="none"> | |
| 78969 | 79922 | <doc xml:space="preserve" | |
| 78970 | 79923 | filename="glib/gregex.c" | |
| 78971 | - | line="2109">compile options for the regular expression, or 0</doc> | |
| 79924 | + | line="2379">compile options for the regular expression, or 0</doc> | |
| 78972 | 79925 | <type name="RegexCompileFlags" c:type="GRegexCompileFlags"/> | |
| 78973 | 79926 | </parameter> | |
| 78974 | 79927 | <parameter name="match_options" transfer-ownership="none"> | |
| 78975 | 79928 | <doc xml:space="preserve" | |
| 78976 | 79929 | filename="glib/gregex.c" | |
| 78977 | - | line="2110">match options, or 0</doc> | |
| 79930 | + | line="2380">match options, or 0</doc> | |
| 78978 | 79931 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 78979 | 79932 | </parameter> | |
| 78980 | 79933 | </parameters> | |
| @@ -78985,7 +79938,7 @@ g_regex_new() and then use g_regex_match().</doc> | |||
| 78985 | 79938 | version="2.14"> | |
| 78986 | 79939 | <doc xml:space="preserve" | |
| 78987 | 79940 | filename="glib/gregex.c" | |
| 78988 | - | line="2531">Breaks the string on the pattern, and returns an array of | |
| 79941 | + | line="2801">Breaks the string on the pattern, and returns an array of | |
| 78989 | 79942 | the tokens. If the pattern contains capturing parentheses, | |
| 78990 | 79943 | then the text for each of the substrings will also be returned. | |
| 78991 | 79944 | If the pattern does not match anywhere in the string, then the | |
| @@ -79016,7 +79969,7 @@ characters. For example splitting "ab c" using as a separator | |||
| 79016 | 79969 | <return-value transfer-ownership="full"> | |
| 79017 | 79970 | <doc xml:space="preserve" | |
| 79018 | 79971 | filename="glib/gregex.c" | |
| 79019 | - | line="2566">a %NULL-terminated array of strings. Free | |
| 79972 | + | line="2836">a %NULL-terminated array of strings. Free | |
| 79020 | 79973 | it using g_strfreev()</doc> | |
| 79021 | 79974 | <array c:type="gchar**"> | |
| 79022 | 79975 | <type name="utf8"/> | |
| @@ -79026,25 +79979,25 @@ it using g_strfreev()</doc> | |||
| 79026 | 79979 | <parameter name="pattern" transfer-ownership="none"> | |
| 79027 | 79980 | <doc xml:space="preserve" | |
| 79028 | 79981 | filename="glib/gregex.c" | |
| 79029 | - | line="2533">the regular expression</doc> | |
| 79982 | + | line="2803">the regular expression</doc> | |
| 79030 | 79983 | <type name="utf8" c:type="const gchar*"/> | |
| 79031 | 79984 | </parameter> | |
| 79032 | 79985 | <parameter name="string" transfer-ownership="none"> | |
| 79033 | 79986 | <doc xml:space="preserve" | |
| 79034 | 79987 | filename="glib/gregex.c" | |
| 79035 | - | line="2534">the string to scan for matches</doc> | |
| 79988 | + | line="2804">the string to scan for matches</doc> | |
| 79036 | 79989 | <type name="utf8" c:type="const gchar*"/> | |
| 79037 | 79990 | </parameter> | |
| 79038 | 79991 | <parameter name="compile_options" transfer-ownership="none"> | |
| 79039 | 79992 | <doc xml:space="preserve" | |
| 79040 | 79993 | filename="glib/gregex.c" | |
| 79041 | - | line="2535">compile options for the regular expression, or 0</doc> | |
| 79994 | + | line="2805">compile options for the regular expression, or 0</doc> | |
| 79042 | 79995 | <type name="RegexCompileFlags" c:type="GRegexCompileFlags"/> | |
| 79043 | 79996 | </parameter> | |
| 79044 | 79997 | <parameter name="match_options" transfer-ownership="none"> | |
| 79045 | 79998 | <doc xml:space="preserve" | |
| 79046 | 79999 | filename="glib/gregex.c" | |
| 79047 | - | line="2536">match options, or 0</doc> | |
| 80000 | + | line="2806">match options, or 0</doc> | |
| 79048 | 80001 | <type name="RegexMatchFlags" c:type="GRegexMatchFlags"/> | |
| 79049 | 80002 | </parameter> | |
| 79050 | 80003 | </parameters> | |
| @@ -79054,7 +80007,7 @@ it using g_strfreev()</doc> | |||
| 79054 | 80007 | version="2.22"> | |
| 79055 | 80008 | <doc xml:space="preserve" | |
| 79056 | 80009 | filename="glib/gutils.c" | |
| 79057 | - | line="2394">Resets the cache used for g_get_user_special_dir(), so | |
| 80010 | + | line="2396">Resets the cache used for g_get_user_special_dir(), so | |
| 79058 | 80011 | that the latest on-disk version is used. Call this only | |
| 79059 | 80012 | if you just changed the data on disk yourself. | |
| 79060 | 80013 | ||
| @@ -79070,7 +80023,7 @@ the directories that actually changed value though.</doc> | |||
| 79070 | 80023 | <function name="remove" c:identifier="g_remove" version="2.6"> | |
| 79071 | 80024 | <doc xml:space="preserve" | |
| 79072 | 80025 | filename="glib/gstdio.c" | |
| 79073 | - | line="1445">A wrapper for the POSIX remove() function. The remove() function | |
| 80026 | + | line="1456">A wrapper for the POSIX remove() function. The remove() function | |
| 79074 | 80027 | deletes a name from the filesystem. | |
| 79075 | 80028 | ||
| 79076 | 80029 | See your C library manual for more details about how remove() works | |
| @@ -79090,7 +80043,7 @@ set by rmdir().</doc> | |||
| 79090 | 80043 | <return-value transfer-ownership="none"> | |
| 79091 | 80044 | <doc xml:space="preserve" | |
| 79092 | 80045 | filename="glib/gstdio.c" | |
| 79093 | - | line="1467">0 if the file was successfully removed, -1 if an error | |
| 80046 | + | line="1478">0 if the file was successfully removed, -1 if an error | |
| 79094 | 80047 | occurred</doc> | |
| 79095 | 80048 | <type name="gint" c:type="int"/> | |
| 79096 | 80049 | </return-value> | |
| @@ -79098,7 +80051,7 @@ set by rmdir().</doc> | |||
| 79098 | 80051 | <parameter name="filename" transfer-ownership="none"> | |
| 79099 | 80052 | <doc xml:space="preserve" | |
| 79100 | 80053 | filename="glib/gstdio.c" | |
| 79101 | - | line="1447">a pathname in the GLib file name encoding | |
| 80054 | + | line="1458">a pathname in the GLib file name encoding | |
| 79102 | 80055 | (UTF-8 on Windows)</doc> | |
| 79103 | 80056 | <type name="filename" c:type="const gchar*"/> | |
| 79104 | 80057 | </parameter> | |
| @@ -79107,7 +80060,7 @@ set by rmdir().</doc> | |||
| 79107 | 80060 | <function name="rename" c:identifier="g_rename" version="2.6"> | |
| 79108 | 80061 | <doc xml:space="preserve" | |
| 79109 | 80062 | filename="glib/gstdio.c" | |
| 79110 | - | line="1140">A wrapper for the POSIX rename() function. The rename() function | |
| 80063 | + | line="1151">A wrapper for the POSIX rename() function. The rename() function | |
| 79111 | 80064 | renames a file, moving it between directories if required. | |
| 79112 | 80065 | ||
| 79113 | 80066 | See your C library manual for more details about how rename() works | |
| @@ -79117,21 +80070,21 @@ a file that is open to some process.</doc> | |||
| 79117 | 80070 | <return-value transfer-ownership="none"> | |
| 79118 | 80071 | <doc xml:space="preserve" | |
| 79119 | 80072 | filename="glib/gstdio.c" | |
| 79120 | - | line="1153">0 if the renaming succeeded, -1 if an error occurred</doc> | |
| 80073 | + | line="1164">0 if the renaming succeeded, -1 if an error occurred</doc> | |
| 79121 | 80074 | <type name="gint" c:type="int"/> | |
| 79122 | 80075 | </return-value> | |
| 79123 | 80076 | <parameters> | |
| 79124 | 80077 | <parameter name="oldfilename" transfer-ownership="none"> | |
| 79125 | 80078 | <doc xml:space="preserve" | |
| 79126 | 80079 | filename="glib/gstdio.c" | |
| 79127 | - | line="1142">a pathname in the GLib file name encoding | |
| 80080 | + | line="1153">a pathname in the GLib file name encoding | |
| 79128 | 80081 | (UTF-8 on Windows)</doc> | |
| 79129 | 80082 | <type name="filename" c:type="const gchar*"/> | |
| 79130 | 80083 | </parameter> | |
| 79131 | 80084 | <parameter name="newfilename" transfer-ownership="none"> | |
| 79132 | 80085 | <doc xml:space="preserve" | |
| 79133 | 80086 | filename="glib/gstdio.c" | |
| 79134 | - | line="1144">a pathname in the GLib file name encoding</doc> | |
| 80087 | + | line="1155">a pathname in the GLib file name encoding</doc> | |
| 79135 | 80088 | <type name="filename" c:type="const gchar*"/> | |
| 79136 | 80089 | </parameter> | |
| 79137 | 80090 | </parameters> | |
| @@ -79165,7 +80118,7 @@ Care is taken to avoid overflow when calculating the size of the allocated block | |||
| 79165 | 80118 | <function-macro name="return_if_fail" | |
| 79166 | 80119 | c:identifier="g_return_if_fail" | |
| 79167 | 80120 | introspectable="0"> | |
| 79168 | - | <source-position filename="glib/gmessages.h" line="599"/> | |
| 80121 | + | <source-position filename="glib/gmessages.h" line="602"/> | |
| 79169 | 80122 | <parameters> | |
| 79170 | 80123 | <parameter name="expr"> | |
| 79171 | 80124 | </parameter> | |
| @@ -79176,9 +80129,9 @@ Care is taken to avoid overflow when calculating the size of the allocated block | |||
| 79176 | 80129 | introspectable="0"> | |
| 79177 | 80130 | <doc xml:space="preserve" | |
| 79178 | 80131 | filename="glib/gmessages.c" | |
| 79179 | - | line="3062">Internal function used to print messages from the public [func@GLib.return_if_fail] | |
| 80132 | + | line="3148">Internal function used to print messages from the public [func@GLib.return_if_fail] | |
| 79180 | 80133 | and [func@GLib.return_val_if_fail] macros.</doc> | |
| 79181 | - | <source-position filename="glib/gmessages.h" line="293"/> | |
| 80134 | + | <source-position filename="glib/gmessages.h" line="296"/> | |
| 79182 | 80135 | <return-value transfer-ownership="none"> | |
| 79183 | 80136 | <type name="none" c:type="void"/> | |
| 79184 | 80137 | </return-value> | |
| @@ -79189,13 +80142,13 @@ and [func@GLib.return_val_if_fail] macros.</doc> | |||
| 79189 | 80142 | allow-none="1"> | |
| 79190 | 80143 | <doc xml:space="preserve" | |
| 79191 | 80144 | filename="glib/gmessages.c" | |
| 79192 | - | line="3064">log domain</doc> | |
| 80145 | + | line="3150">log domain</doc> | |
| 79193 | 80146 | <type name="utf8" c:type="const char*"/> | |
| 79194 | 80147 | </parameter> | |
| 79195 | 80148 | <parameter name="pretty_function" transfer-ownership="none"> | |
| 79196 | 80149 | <doc xml:space="preserve" | |
| 79197 | 80150 | filename="glib/gmessages.c" | |
| 79198 | - | line="3065">function containing the assertion</doc> | |
| 80151 | + | line="3151">function containing the assertion</doc> | |
| 79199 | 80152 | <type name="utf8" c:type="const char*"/> | |
| 79200 | 80153 | </parameter> | |
| 79201 | 80154 | <parameter name="expression" | |
| @@ -79204,7 +80157,7 @@ and [func@GLib.return_val_if_fail] macros.</doc> | |||
| 79204 | 80157 | allow-none="1"> | |
| 79205 | 80158 | <doc xml:space="preserve" | |
| 79206 | 80159 | filename="glib/gmessages.c" | |
| 79207 | - | line="3066">expression which failed</doc> | |
| 80160 | + | line="3152">expression which failed</doc> | |
| 79208 | 80161 | <type name="utf8" c:type="const char*"/> | |
| 79209 | 80162 | </parameter> | |
| 79210 | 80163 | </parameters> | |
| @@ -79212,12 +80165,12 @@ and [func@GLib.return_val_if_fail] macros.</doc> | |||
| 79212 | 80165 | <function-macro name="return_if_reached" | |
| 79213 | 80166 | c:identifier="g_return_if_reached" | |
| 79214 | 80167 | introspectable="0"> | |
| 79215 | - | <source-position filename="glib/gmessages.h" line="635"/> | |
| 80168 | + | <source-position filename="glib/gmessages.h" line="638"/> | |
| 79216 | 80169 | </function-macro> | |
| 79217 | 80170 | <function-macro name="return_val_if_fail" | |
| 79218 | 80171 | c:identifier="g_return_val_if_fail" | |
| 79219 | 80172 | introspectable="0"> | |
| 79220 | - | <source-position filename="glib/gmessages.h" line="625"/> | |
| 80173 | + | <source-position filename="glib/gmessages.h" line="628"/> | |
| 79221 | 80174 | <parameters> | |
| 79222 | 80175 | <parameter name="expr"> | |
| 79223 | 80176 | </parameter> | |
| @@ -79228,7 +80181,7 @@ and [func@GLib.return_val_if_fail] macros.</doc> | |||
| 79228 | 80181 | <function-macro name="return_val_if_reached" | |
| 79229 | 80182 | c:identifier="g_return_val_if_reached" | |
| 79230 | 80183 | introspectable="0"> | |
| 79231 | - | <source-position filename="glib/gmessages.h" line="645"/> | |
| 80184 | + | <source-position filename="glib/gmessages.h" line="648"/> | |
| 79232 | 80185 | <parameters> | |
| 79233 | 80186 | <parameter name="val"> | |
| 79234 | 80187 | </parameter> | |
| @@ -79237,7 +80190,7 @@ and [func@GLib.return_val_if_fail] macros.</doc> | |||
| 79237 | 80190 | <function name="rmdir" c:identifier="g_rmdir" version="2.6"> | |
| 79238 | 80191 | <doc xml:space="preserve" | |
| 79239 | 80192 | filename="glib/gstdio.c" | |
| 79240 | - | line="1500">A wrapper for the POSIX rmdir() function. The rmdir() function | |
| 80193 | + | line="1511">A wrapper for the POSIX rmdir() function. The rmdir() function | |
| 79241 | 80194 | deletes a directory from the filesystem. | |
| 79242 | 80195 | ||
| 79243 | 80196 | See your C library manual for more details about how rmdir() works | |
| @@ -79246,7 +80199,7 @@ on your system.</doc> | |||
| 79246 | 80199 | <return-value transfer-ownership="none"> | |
| 79247 | 80200 | <doc xml:space="preserve" | |
| 79248 | 80201 | filename="glib/gstdio.c" | |
| 79249 | - | line="1511">0 if the directory was successfully removed, -1 if an error | |
| 80202 | + | line="1522">0 if the directory was successfully removed, -1 if an error | |
| 79250 | 80203 | occurred</doc> | |
| 79251 | 80204 | <type name="gint" c:type="int"/> | |
| 79252 | 80205 | </return-value> | |
| @@ -79254,7 +80207,7 @@ on your system.</doc> | |||
| 79254 | 80207 | <parameter name="filename" transfer-ownership="none"> | |
| 79255 | 80208 | <doc xml:space="preserve" | |
| 79256 | 80209 | filename="glib/gstdio.c" | |
| 79257 | - | line="1502">a pathname in the GLib file name encoding | |
| 80210 | + | line="1513">a pathname in the GLib file name encoding | |
| 79258 | 80211 | (UTF-8 on Windows)</doc> | |
| 79259 | 80212 | <type name="filename" c:type="const gchar*"/> | |
| 79260 | 80213 | </parameter> | |
| @@ -79943,7 +80896,7 @@ for requirements on integrating g_set_prgname() with GTK applications.</doc> | |||
| 79943 | 80896 | introspectable="0"> | |
| 79944 | 80897 | <doc xml:space="preserve" | |
| 79945 | 80898 | filename="glib/gmessages.c" | |
| 79946 | - | line="3439">Sets the print handler to @func, or resets it to the | |
| 80899 | + | line="3539">Sets the print handler to @func, or resets it to the | |
| 79947 | 80900 | default GLib handler if `NULL`. | |
| 79948 | 80901 | ||
| 79949 | 80902 | Any messages passed to [func@GLib.print] will be output via | |
| @@ -79958,11 +80911,11 @@ print handler was set, it will return the GLib | |||
| 79958 | 80911 | default print handler and that can be re-used to | |
| 79959 | 80912 | decorate its output and/or to write to `stderr` | |
| 79960 | 80913 | in all platforms. Before GLib 2.76, this was `NULL`.</doc> | |
| 79961 | - | <source-position filename="glib/gmessages.h" line="530"/> | |
| 80914 | + | <source-position filename="glib/gmessages.h" line="533"/> | |
| 79962 | 80915 | <return-value> | |
| 79963 | 80916 | <doc xml:space="preserve" | |
| 79964 | 80917 | filename="glib/gmessages.c" | |
| 79965 | - | line="3460">the old print handler</doc> | |
| 80918 | + | line="3560">the old print handler</doc> | |
| 79966 | 80919 | <type name="PrintFunc" c:type="GPrintFunc"/> | |
| 79967 | 80920 | </return-value> | |
| 79968 | 80921 | <parameters> | |
| @@ -79972,7 +80925,7 @@ in all platforms. Before GLib 2.76, this was `NULL`.</doc> | |||
| 79972 | 80925 | allow-none="1"> | |
| 79973 | 80926 | <doc xml:space="preserve" | |
| 79974 | 80927 | filename="glib/gmessages.c" | |
| 79975 | - | line="3441">the new print handler or `NULL` to | |
| 80928 | + | line="3541">the new print handler or `NULL` to | |
| 79976 | 80929 | reset to the default</doc> | |
| 79977 | 80930 | <type name="PrintFunc" c:type="GPrintFunc"/> | |
| 79978 | 80931 | </parameter> | |
| @@ -79983,7 +80936,7 @@ in all platforms. Before GLib 2.76, this was `NULL`.</doc> | |||
| 79983 | 80936 | introspectable="0"> | |
| 79984 | 80937 | <doc xml:space="preserve" | |
| 79985 | 80938 | filename="glib/gmessages.c" | |
| 79986 | - | line="3569">Sets the handler for printing error messages to @func, | |
| 80939 | + | line="3655">Sets the handler for printing error messages to @func, | |
| 79987 | 80940 | or resets it to the default GLib handler if `NULL`. | |
| 79988 | 80941 | ||
| 79989 | 80942 | Any messages passed to [func@GLib.printerr] will be output via | |
| @@ -79998,11 +80951,11 @@ print handler was set, it will return the GLib default | |||
| 79998 | 80951 | error print handler and that can be re-used to decorate | |
| 79999 | 80952 | its output and/or to write to `stderr` in all platforms. | |
| 80000 | 80953 | Before GLib 2.76, this was `NULL`.</doc> | |
| 80001 | - | <source-position filename="glib/gmessages.h" line="535"/> | |
| 80954 | + | <source-position filename="glib/gmessages.h" line="538"/> | |
| 80002 | 80955 | <return-value> | |
| 80003 | 80956 | <doc xml:space="preserve" | |
| 80004 | 80957 | filename="glib/gmessages.c" | |
| 80005 | - | line="3590">the old error message handler</doc> | |
| 80958 | + | line="3676">the old error message handler</doc> | |
| 80006 | 80959 | <type name="PrintFunc" c:type="GPrintFunc"/> | |
| 80007 | 80960 | </return-value> | |
| 80008 | 80961 | <parameters> | |
| @@ -80012,7 +80965,7 @@ Before GLib 2.76, this was `NULL`.</doc> | |||
| 80012 | 80965 | allow-none="1"> | |
| 80013 | 80966 | <doc xml:space="preserve" | |
| 80014 | 80967 | filename="glib/gmessages.c" | |
| 80015 | - | line="3571">he new error message handler or `NULL` | |
| 80968 | + | line="3657">he new error message handler or `NULL` | |
| 80016 | 80969 | to reset to the default</doc> | |
| 80017 | 80970 | <type name="PrintFunc" c:type="GPrintFunc"/> | |
| 80018 | 80971 | </parameter> | |
| @@ -80136,7 +81089,7 @@ array directly to execvpe(), g_spawn_async(), or the like.</doc> | |||
| 80136 | 81089 | throws="1"> | |
| 80137 | 81090 | <doc xml:space="preserve" | |
| 80138 | 81091 | filename="glib/gshell.c" | |
| 80139 | - | line="617">Parses a command line into an argument vector, in much the same way | |
| 81092 | + | line="622">Parses a command line into an argument vector, in much the same way | |
| 80140 | 81093 | the shell would, but without many of the expansions the shell would | |
| 80141 | 81094 | perform (variable expansion, globs, operators, filename expansion, | |
| 80142 | 81095 | etc. are not supported). | |
| @@ -80158,14 +81111,14 @@ Free the returned vector with g_strfreev().</doc> | |||
| 80158 | 81111 | <return-value transfer-ownership="none"> | |
| 80159 | 81112 | <doc xml:space="preserve" | |
| 80160 | 81113 | filename="glib/gshell.c" | |
| 80161 | - | line="644">%TRUE on success, %FALSE if error set</doc> | |
| 81114 | + | line="649">%TRUE on success, %FALSE if error set</doc> | |
| 80162 | 81115 | <type name="gboolean" c:type="gboolean"/> | |
| 80163 | 81116 | </return-value> | |
| 80164 | 81117 | <parameters> | |
| 80165 | 81118 | <parameter name="command_line" transfer-ownership="none"> | |
| 80166 | 81119 | <doc xml:space="preserve" | |
| 80167 | 81120 | filename="glib/gshell.c" | |
| 80168 | - | line="619">command line to parse</doc> | |
| 81121 | + | line="624">command line to parse</doc> | |
| 80169 | 81122 | <type name="filename" c:type="const gchar*"/> | |
| 80170 | 81123 | </parameter> | |
| 80171 | 81124 | <parameter name="argcp" | |
| @@ -80176,7 +81129,7 @@ Free the returned vector with g_strfreev().</doc> | |||
| 80176 | 81129 | allow-none="1"> | |
| 80177 | 81130 | <doc xml:space="preserve" | |
| 80178 | 81131 | filename="glib/gshell.c" | |
| 80179 | - | line="620">return location for number of args</doc> | |
| 81132 | + | line="625">return location for number of args</doc> | |
| 80180 | 81133 | <type name="gint" c:type="gint*"/> | |
| 80181 | 81134 | </parameter> | |
| 80182 | 81135 | <parameter name="argvp" | |
| @@ -80187,7 +81140,7 @@ Free the returned vector with g_strfreev().</doc> | |||
| 80187 | 81140 | allow-none="1"> | |
| 80188 | 81141 | <doc xml:space="preserve" | |
| 80189 | 81142 | filename="glib/gshell.c" | |
| 80190 | - | line="621"> | |
| 81143 | + | line="626"> | |
| 80191 | 81144 | return location for array of args</doc> | |
| 80192 | 81145 | <array length="1" zero-terminated="1" c:type="gchar***"> | |
| 80193 | 81146 | <type name="filename"/> | |
| @@ -80718,7 +81671,9 @@ Note that it is considered perfectly acceptable to access | |||
| 80718 | 81671 | </function-macro> | |
| 80719 | 81672 | <function name="slist_pop_allocator" | |
| 80720 | 81673 | c:identifier="g_slist_pop_allocator" | |
| 80721 | - | moved-to="SList.pop_allocator"> | |
| 81674 | + | moved-to="SList.pop_allocator" | |
| 81675 | + | deprecated="1" | |
| 81676 | + | deprecated-version="2.10"> | |
| 80722 | 81677 | <source-position filename="glib/deprecated/gallocator.h" line="80"/> | |
| 80723 | 81678 | <return-value transfer-ownership="none"> | |
| 80724 | 81679 | <type name="none" c:type="void"/> | |
| @@ -80726,7 +81681,9 @@ Note that it is considered perfectly acceptable to access | |||
| 80726 | 81681 | </function> | |
| 80727 | 81682 | <function name="slist_push_allocator" | |
| 80728 | 81683 | c:identifier="g_slist_push_allocator" | |
| 80729 | - | moved-to="SList.push_allocator"> | |
| 81684 | + | moved-to="SList.push_allocator" | |
| 81685 | + | deprecated="1" | |
| 81686 | + | deprecated-version="2.10"> | |
| 80730 | 81687 | <source-position filename="glib/deprecated/gallocator.h" line="78"/> | |
| 80731 | 81688 | <return-value transfer-ownership="none"> | |
| 80732 | 81689 | <type name="none" c:type="void"/> | |
| @@ -80740,7 +81697,7 @@ Note that it is considered perfectly acceptable to access | |||
| 80740 | 81697 | <function name="snprintf" c:identifier="g_snprintf" introspectable="0"> | |
| 80741 | 81698 | <doc xml:space="preserve" | |
| 80742 | 81699 | filename="glib/gprintf.c" | |
| 80743 | - | line="133">A safer form of the standard sprintf() function. The output is guaranteed | |
| 81700 | + | line="134">A safer form of the standard sprintf() function. The output is guaranteed | |
| 80744 | 81701 | to not exceed @n characters (including the terminating nul character), so | |
| 80745 | 81702 | it is easy to ensure that a buffer overflow cannot occur. | |
| 80746 | 81703 | ||
| @@ -80761,7 +81718,7 @@ the Single Unix Specification.</doc> | |||
| 80761 | 81718 | <return-value transfer-ownership="none"> | |
| 80762 | 81719 | <doc xml:space="preserve" | |
| 80763 | 81720 | filename="glib/gprintf.c" | |
| 80764 | - | line="160">the number of bytes which would be produced if the buffer | |
| 81721 | + | line="161">the number of bytes which would be produced if the buffer | |
| 80765 | 81722 | was large enough</doc> | |
| 80766 | 81723 | <type name="gint" c:type="gint"/> | |
| 80767 | 81724 | </return-value> | |
| @@ -80769,27 +81726,27 @@ the Single Unix Specification.</doc> | |||
| 80769 | 81726 | <parameter name="string" transfer-ownership="none"> | |
| 80770 | 81727 | <doc xml:space="preserve" | |
| 80771 | 81728 | filename="glib/gprintf.c" | |
| 80772 | - | line="135">the buffer to hold the output</doc> | |
| 81729 | + | line="136">the buffer to hold the output</doc> | |
| 80773 | 81730 | <type name="utf8" c:type="gchar*"/> | |
| 80774 | 81731 | </parameter> | |
| 80775 | 81732 | <parameter name="n" transfer-ownership="none"> | |
| 80776 | 81733 | <doc xml:space="preserve" | |
| 80777 | 81734 | filename="glib/gprintf.c" | |
| 80778 | - | line="136">the maximum number of bytes to produce (including the | |
| 81735 | + | line="137">the maximum number of bytes to produce (including the | |
| 80779 | 81736 | terminating nul character)</doc> | |
| 80780 | 81737 | <type name="gulong" c:type="gulong"/> | |
| 80781 | 81738 | </parameter> | |
| 80782 | 81739 | <parameter name="format" transfer-ownership="none"> | |
| 80783 | 81740 | <doc xml:space="preserve" | |
| 80784 | 81741 | filename="glib/gprintf.c" | |
| 80785 | - | line="138">a standard `printf()` format string, but notice | |
| 81742 | + | line="139">a standard `printf()` format string, but notice | |
| 80786 | 81743 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 80787 | 81744 | <type name="utf8" c:type="const gchar*"/> | |
| 80788 | 81745 | </parameter> | |
| 80789 | 81746 | <parameter name="..." transfer-ownership="none"> | |
| 80790 | 81747 | <doc xml:space="preserve" | |
| 80791 | 81748 | filename="glib/gprintf.c" | |
| 80792 | - | line="140">the arguments to insert in the output</doc> | |
| 81749 | + | line="141">the arguments to insert in the output</doc> | |
| 80793 | 81750 | <varargs/> | |
| 80794 | 81751 | </parameter> | |
| 80795 | 81752 | </parameters> | |
| @@ -80855,10 +81812,12 @@ Unlike `qsort()`, this is guaranteed to be a stable sort.</doc> | |||
| 80855 | 81812 | moved-to="Source.remove"> | |
| 80856 | 81813 | <doc xml:space="preserve" | |
| 80857 | 81814 | filename="glib/gmain.c" | |
| 80858 | - | line="2521">Removes the source with the given ID from the default main context. You must | |
| 81815 | + | line="2676">Removes the source with the given ID from the default main context. | |
| 81816 | + | ||
| 81817 | + | You must | |
| 80859 | 81818 | use [method@GLib.Source.destroy] for sources added to a non-default main context. | |
| 80860 | 81819 | ||
| 80861 | - | The ID of a #GSource is given by [method@GLib.Source.get_id], or will be | |
| 81820 | + | The ID of a [struct@GLib.Source] is given by [method@GLib.Source.get_id], or will be | |
| 80862 | 81821 | returned by the functions [method@GLib.Source.attach], [func@GLib.idle_add], | |
| 80863 | 81822 | [func@GLib.idle_add_full], [func@GLib.timeout_add], | |
| 80864 | 81823 | [func@GLib.timeout_add_full], [func@GLib.child_watch_add], | |
| @@ -80875,18 +81834,18 @@ idle may already have run and been removed by the time this function | |||
| 80875 | 81834 | is called on its (now invalid) source ID. This source ID may have | |
| 80876 | 81835 | been reissued, leading to the operation being performed against the | |
| 80877 | 81836 | wrong source.</doc> | |
| 80878 | - | <source-position filename="glib/gmain.h" line="836"/> | |
| 81837 | + | <source-position filename="glib/gmain.h" line="839"/> | |
| 80879 | 81838 | <return-value transfer-ownership="none"> | |
| 80880 | 81839 | <doc xml:space="preserve" | |
| 80881 | 81840 | filename="glib/gmain.c" | |
| 80882 | - | line="2546">%TRUE if the source was found and removed.</doc> | |
| 81841 | + | line="2703">true if the source was found and removed, false otherwise</doc> | |
| 80883 | 81842 | <type name="gboolean" c:type="gboolean"/> | |
| 80884 | 81843 | </return-value> | |
| 80885 | 81844 | <parameters> | |
| 80886 | 81845 | <parameter name="tag" transfer-ownership="none"> | |
| 80887 | 81846 | <doc xml:space="preserve" | |
| 80888 | 81847 | filename="glib/gmain.c" | |
| 80889 | - | line="2523">the ID of the source to remove.</doc> | |
| 81848 | + | line="2678">the ID of the source to remove.</doc> | |
| 80890 | 81849 | <type name="guint" c:type="guint"/> | |
| 80891 | 81850 | </parameter> | |
| 80892 | 81851 | </parameters> | |
| @@ -80896,21 +81855,23 @@ wrong source.</doc> | |||
| 80896 | 81855 | moved-to="Source.remove_by_funcs_user_data"> | |
| 80897 | 81856 | <doc xml:space="preserve" | |
| 80898 | 81857 | filename="glib/gmain.c" | |
| 80899 | - | line="2589">Removes a source from the default main loop context given the | |
| 80900 | - | source functions and user data. If multiple sources exist with the | |
| 80901 | - | same source functions and user data, only one will be destroyed.</doc> | |
| 80902 | - | <source-position filename="glib/gmain.h" line="840"/> | |
| 81858 | + | line="2747">Removes a source from the default main loop context given the | |
| 81859 | + | source functions and user data. | |
| 81860 | + | ||
| 81861 | + | If multiple sources exist with the same source functions and user data, only | |
| 81862 | + | one will be destroyed.</doc> | |
| 81863 | + | <source-position filename="glib/gmain.h" line="843"/> | |
| 80903 | 81864 | <return-value transfer-ownership="none"> | |
| 80904 | 81865 | <doc xml:space="preserve" | |
| 80905 | 81866 | filename="glib/gmain.c" | |
| 80906 | - | line="2598">%TRUE if a source was found and removed.</doc> | |
| 81867 | + | line="2758">true if a source was found and removed, false otherwise</doc> | |
| 80907 | 81868 | <type name="gboolean" c:type="gboolean"/> | |
| 80908 | 81869 | </return-value> | |
| 80909 | 81870 | <parameters> | |
| 80910 | 81871 | <parameter name="funcs" transfer-ownership="none"> | |
| 80911 | 81872 | <doc xml:space="preserve" | |
| 80912 | 81873 | filename="glib/gmain.c" | |
| 80913 | - | line="2591">The @source_funcs passed to [ctor@GLib.Source.new]</doc> | |
| 81874 | + | line="2749">the @source_funcs passed to [ctor@GLib.Source.new]</doc> | |
| 80914 | 81875 | <type name="SourceFuncs" c:type="GSourceFuncs*"/> | |
| 80915 | 81876 | </parameter> | |
| 80916 | 81877 | <parameter name="user_data" | |
| @@ -80919,7 +81880,7 @@ same source functions and user data, only one will be destroyed.</doc> | |||
| 80919 | 81880 | allow-none="1"> | |
| 80920 | 81881 | <doc xml:space="preserve" | |
| 80921 | 81882 | filename="glib/gmain.c" | |
| 80922 | - | line="2592">the user data for the callback</doc> | |
| 81883 | + | line="2750">the user data for the callback</doc> | |
| 80923 | 81884 | <type name="gpointer" c:type="gpointer"/> | |
| 80924 | 81885 | </parameter> | |
| 80925 | 81886 | </parameters> | |
| @@ -80929,14 +81890,15 @@ same source functions and user data, only one will be destroyed.</doc> | |||
| 80929 | 81890 | moved-to="Source.remove_by_user_data"> | |
| 80930 | 81891 | <doc xml:space="preserve" | |
| 80931 | 81892 | filename="glib/gmain.c" | |
| 80932 | - | line="2564">Removes a source from the default main loop context given the user | |
| 80933 | - | data for the callback. If multiple sources exist with the same user | |
| 80934 | - | data, only one will be destroyed.</doc> | |
| 80935 | - | <source-position filename="glib/gmain.h" line="838"/> | |
| 81893 | + | line="2721">Removes a source from the default main loop context given the user | |
| 81894 | + | data for the callback. | |
| 81895 | + | ||
| 81896 | + | If multiple sources exist with the same user data, only one will be destroyed.</doc> | |
| 81897 | + | <source-position filename="glib/gmain.h" line="841"/> | |
| 80936 | 81898 | <return-value transfer-ownership="none"> | |
| 80937 | 81899 | <doc xml:space="preserve" | |
| 80938 | 81900 | filename="glib/gmain.c" | |
| 80939 | - | line="2572">%TRUE if a source was found and removed.</doc> | |
| 81901 | + | line="2730">true if a source was found and removed, false otherwise</doc> | |
| 80940 | 81902 | <type name="gboolean" c:type="gboolean"/> | |
| 80941 | 81903 | </return-value> | |
| 80942 | 81904 | <parameters> | |
| @@ -80946,7 +81908,7 @@ data, only one will be destroyed.</doc> | |||
| 80946 | 81908 | allow-none="1"> | |
| 80947 | 81909 | <doc xml:space="preserve" | |
| 80948 | 81910 | filename="glib/gmain.c" | |
| 80949 | - | line="2566">the user_data for the callback.</doc> | |
| 81911 | + | line="2723">the user_data for the callback</doc> | |
| 80950 | 81912 | <type name="gpointer" c:type="gpointer"/> | |
| 80951 | 81913 | </parameter> | |
| 80952 | 81914 | </parameters> | |
| @@ -80957,7 +81919,7 @@ data, only one will be destroyed.</doc> | |||
| 80957 | 81919 | version="2.26"> | |
| 80958 | 81920 | <doc xml:space="preserve" | |
| 80959 | 81921 | filename="glib/gmain.c" | |
| 80960 | - | line="2150">Sets the name of a source using its ID. | |
| 81922 | + | line="2293">Sets the name of a source using its ID. | |
| 80961 | 81923 | ||
| 80962 | 81924 | This is a convenience utility to set source names from the return | |
| 80963 | 81925 | value of [func@GLib.idle_add], [func@GLib.timeout_add], etc. | |
| @@ -80973,7 +81935,7 @@ idle may already have run and been removed by the time this function | |||
| 80973 | 81935 | is called on its (now invalid) source ID. This source ID may have | |
| 80974 | 81936 | been reissued, leading to the operation being performed against the | |
| 80975 | 81937 | wrong source.</doc> | |
| 80976 | - | <source-position filename="glib/gmain.h" line="751"/> | |
| 81938 | + | <source-position filename="glib/gmain.h" line="754"/> | |
| 80977 | 81939 | <return-value transfer-ownership="none"> | |
| 80978 | 81940 | <type name="none" c:type="void"/> | |
| 80979 | 81941 | </return-value> | |
| @@ -80981,13 +81943,13 @@ wrong source.</doc> | |||
| 80981 | 81943 | <parameter name="tag" transfer-ownership="none"> | |
| 80982 | 81944 | <doc xml:space="preserve" | |
| 80983 | 81945 | filename="glib/gmain.c" | |
| 80984 | - | line="2152">a #GSource ID</doc> | |
| 81946 | + | line="2295">a source ID</doc> | |
| 80985 | 81947 | <type name="guint" c:type="guint"/> | |
| 80986 | 81948 | </parameter> | |
| 80987 | 81949 | <parameter name="name" transfer-ownership="none"> | |
| 80988 | 81950 | <doc xml:space="preserve" | |
| 80989 | 81951 | filename="glib/gmain.c" | |
| 80990 | - | line="2153">debug name for the source</doc> | |
| 81952 | + | line="2296">debug name for the source</doc> | |
| 80991 | 81953 | <type name="utf8" c:type="const char*"/> | |
| 80992 | 81954 | </parameter> | |
| 80993 | 81955 | </parameters> | |
| @@ -81024,8 +81986,9 @@ each prime is approximately 1.5-2 times the previous prime.</doc> | |||
| 81024 | 81986 | filename="glib/gspawn.c" | |
| 81025 | 81987 | line="35">Executes a child program asynchronously. | |
| 81026 | 81988 | ||
| 81027 | - | See g_spawn_async_with_pipes() for a full description; this function | |
| 81028 | - | simply calls the g_spawn_async_with_pipes() without any pipes. | |
| 81989 | + | See g_spawn_async_with_pipes_and_fds() for a full description; this function | |
| 81990 | + | simply calls the g_spawn_async_with_pipes() without any pipes, which in turn | |
| 81991 | + | calls g_spawn_async_with_pipes_and_fds(). | |
| 81029 | 81992 | ||
| 81030 | 81993 | You should call g_spawn_close_pid() on the returned child process | |
| 81031 | 81994 | reference when you don't need it any more. | |
| @@ -81042,7 +82005,7 @@ are different concepts on Windows.</doc> | |||
| 81042 | 82005 | <return-value transfer-ownership="none"> | |
| 81043 | 82006 | <doc xml:space="preserve" | |
| 81044 | 82007 | filename="glib/gspawn.c" | |
| 81045 | - | line="67">%TRUE on success, %FALSE if error is set</doc> | |
| 82008 | + | line="68">%TRUE on success, %FALSE if error is set</doc> | |
| 81046 | 82009 | <type name="gboolean" c:type="gboolean"/> | |
| 81047 | 82010 | </return-value> | |
| 81048 | 82011 | <parameters> | |
| @@ -81123,7 +82086,7 @@ are different concepts on Windows.</doc> | |||
| 81123 | 82086 | throws="1"> | |
| 81124 | 82087 | <doc xml:space="preserve" | |
| 81125 | 82088 | filename="glib/gspawn.c" | |
| 81126 | - | line="474">Executes a child program asynchronously. | |
| 82089 | + | line="475">Executes a child program asynchronously. | |
| 81127 | 82090 | ||
| 81128 | 82091 | Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero, | |
| 81129 | 82092 | so no FD assignments are used.</doc> | |
| @@ -81131,7 +82094,7 @@ so no FD assignments are used.</doc> | |||
| 81131 | 82094 | <return-value transfer-ownership="none"> | |
| 81132 | 82095 | <doc xml:space="preserve" | |
| 81133 | 82096 | filename="glib/gspawn.c" | |
| 81134 | - | line="495">%TRUE on success, %FALSE if an error was set</doc> | |
| 82097 | + | line="496">%TRUE on success, %FALSE if an error was set</doc> | |
| 81135 | 82098 | <type name="gboolean" c:type="gboolean"/> | |
| 81136 | 82099 | </return-value> | |
| 81137 | 82100 | <parameters> | |
| @@ -81141,13 +82104,13 @@ so no FD assignments are used.</doc> | |||
| 81141 | 82104 | allow-none="1"> | |
| 81142 | 82105 | <doc xml:space="preserve" | |
| 81143 | 82106 | filename="glib/gspawn.c" | |
| 81144 | - | line="476">child's current working directory, or %NULL to inherit parent's, in the GLib file name encoding</doc> | |
| 82107 | + | line="477">child's current working directory, or %NULL to inherit parent's, in the GLib file name encoding</doc> | |
| 81145 | 82108 | <type name="filename" c:type="const gchar*"/> | |
| 81146 | 82109 | </parameter> | |
| 81147 | 82110 | <parameter name="argv" transfer-ownership="none"> | |
| 81148 | 82111 | <doc xml:space="preserve" | |
| 81149 | 82112 | filename="glib/gspawn.c" | |
| 81150 | - | line="477">child's argument vector, in the GLib file name encoding; | |
| 82113 | + | line="478">child's argument vector, in the GLib file name encoding; | |
| 81151 | 82114 | it must be non-empty and %NULL-terminated</doc> | |
| 81152 | 82115 | <array c:type="gchar**"> | |
| 81153 | 82116 | <type name="utf8" c:type="gchar*"/> | |
| @@ -81159,7 +82122,7 @@ so no FD assignments are used.</doc> | |||
| 81159 | 82122 | allow-none="1"> | |
| 81160 | 82123 | <doc xml:space="preserve" | |
| 81161 | 82124 | filename="glib/gspawn.c" | |
| 81162 | - | line="479">child's environment, or %NULL to inherit parent's, in the GLib file name encoding</doc> | |
| 82125 | + | line="480">child's environment, or %NULL to inherit parent's, in the GLib file name encoding</doc> | |
| 81163 | 82126 | <array c:type="gchar**"> | |
| 81164 | 82127 | <type name="utf8" c:type="gchar*"/> | |
| 81165 | 82128 | </array> | |
| @@ -81167,7 +82130,7 @@ so no FD assignments are used.</doc> | |||
| 81167 | 82130 | <parameter name="flags" transfer-ownership="none"> | |
| 81168 | 82131 | <doc xml:space="preserve" | |
| 81169 | 82132 | filename="glib/gspawn.c" | |
| 81170 | - | line="480">flags from #GSpawnFlags</doc> | |
| 82133 | + | line="481">flags from #GSpawnFlags</doc> | |
| 81171 | 82134 | <type name="SpawnFlags" c:type="GSpawnFlags"/> | |
| 81172 | 82135 | </parameter> | |
| 81173 | 82136 | <parameter name="child_setup" | |
| @@ -81178,7 +82141,7 @@ so no FD assignments are used.</doc> | |||
| 81178 | 82141 | closure="5"> | |
| 81179 | 82142 | <doc xml:space="preserve" | |
| 81180 | 82143 | filename="glib/gspawn.c" | |
| 81181 | - | line="481">function to run | |
| 82144 | + | line="482">function to run | |
| 81182 | 82145 | in the child just before `exec()`</doc> | |
| 81183 | 82146 | <type name="SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/> | |
| 81184 | 82147 | </parameter> | |
| @@ -81188,7 +82151,7 @@ so no FD assignments are used.</doc> | |||
| 81188 | 82151 | allow-none="1"> | |
| 81189 | 82152 | <doc xml:space="preserve" | |
| 81190 | 82153 | filename="glib/gspawn.c" | |
| 81191 | - | line="483">user data for @child_setup</doc> | |
| 82154 | + | line="484">user data for @child_setup</doc> | |
| 81192 | 82155 | <type name="gpointer" c:type="gpointer"/> | |
| 81193 | 82156 | </parameter> | |
| 81194 | 82157 | <parameter name="child_pid" | |
| @@ -81199,25 +82162,25 @@ so no FD assignments are used.</doc> | |||
| 81199 | 82162 | allow-none="1"> | |
| 81200 | 82163 | <doc xml:space="preserve" | |
| 81201 | 82164 | filename="glib/gspawn.c" | |
| 81202 | - | line="484">return location for child process ID, or %NULL</doc> | |
| 82165 | + | line="485">return location for child process ID, or %NULL</doc> | |
| 81203 | 82166 | <type name="Pid" c:type="GPid*"/> | |
| 81204 | 82167 | </parameter> | |
| 81205 | 82168 | <parameter name="stdin_fd" transfer-ownership="none"> | |
| 81206 | 82169 | <doc xml:space="preserve" | |
| 81207 | 82170 | filename="glib/gspawn.c" | |
| 81208 | - | line="485">file descriptor to use for child's stdin, or `-1`</doc> | |
| 82171 | + | line="486">file descriptor to use for child's stdin, or `-1`</doc> | |
| 81209 | 82172 | <type name="gint" c:type="gint"/> | |
| 81210 | 82173 | </parameter> | |
| 81211 | 82174 | <parameter name="stdout_fd" transfer-ownership="none"> | |
| 81212 | 82175 | <doc xml:space="preserve" | |
| 81213 | 82176 | filename="glib/gspawn.c" | |
| 81214 | - | line="486">file descriptor to use for child's stdout, or `-1`</doc> | |
| 82177 | + | line="487">file descriptor to use for child's stdout, or `-1`</doc> | |
| 81215 | 82178 | <type name="gint" c:type="gint"/> | |
| 81216 | 82179 | </parameter> | |
| 81217 | 82180 | <parameter name="stderr_fd" transfer-ownership="none"> | |
| 81218 | 82181 | <doc xml:space="preserve" | |
| 81219 | 82182 | filename="glib/gspawn.c" | |
| 81220 | - | line="487">file descriptor to use for child's stderr, or `-1`</doc> | |
| 82183 | + | line="488">file descriptor to use for child's stderr, or `-1`</doc> | |
| 81221 | 82184 | <type name="gint" c:type="gint"/> | |
| 81222 | 82185 | </parameter> | |
| 81223 | 82186 | </parameters> | |
| @@ -81227,13 +82190,13 @@ so no FD assignments are used.</doc> | |||
| 81227 | 82190 | throws="1"> | |
| 81228 | 82191 | <doc xml:space="preserve" | |
| 81229 | 82192 | filename="glib/gspawn.c" | |
| 81230 | - | line="157">Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero, | |
| 82193 | + | line="158">Identical to g_spawn_async_with_pipes_and_fds() but with `n_fds` set to zero, | |
| 81231 | 82194 | so no FD assignments are used.</doc> | |
| 81232 | 82195 | <source-position filename="glib/gspawn.h" line="239"/> | |
| 81233 | 82196 | <return-value transfer-ownership="none"> | |
| 81234 | 82197 | <doc xml:space="preserve" | |
| 81235 | 82198 | filename="glib/gspawn.c" | |
| 81236 | - | line="179">%TRUE on success, %FALSE if an error was set</doc> | |
| 82199 | + | line="180">%TRUE on success, %FALSE if an error was set</doc> | |
| 81237 | 82200 | <type name="gboolean" c:type="gboolean"/> | |
| 81238 | 82201 | </return-value> | |
| 81239 | 82202 | <parameters> | |
| @@ -81243,14 +82206,14 @@ so no FD assignments are used.</doc> | |||
| 81243 | 82206 | allow-none="1"> | |
| 81244 | 82207 | <doc xml:space="preserve" | |
| 81245 | 82208 | filename="glib/gspawn.c" | |
| 81246 | - | line="159">child's current working | |
| 82209 | + | line="160">child's current working | |
| 81247 | 82210 | directory, or %NULL to inherit parent's, in the GLib file name encoding</doc> | |
| 81248 | 82211 | <type name="filename" c:type="const gchar*"/> | |
| 81249 | 82212 | </parameter> | |
| 81250 | 82213 | <parameter name="argv" transfer-ownership="none"> | |
| 81251 | 82214 | <doc xml:space="preserve" | |
| 81252 | 82215 | filename="glib/gspawn.c" | |
| 81253 | - | line="161">child's argument | |
| 82216 | + | line="162">child's argument | |
| 81254 | 82217 | vector, in the GLib file name encoding; it must be non-empty and %NULL-terminated</doc> | |
| 81255 | 82218 | <array c:type="gchar**"> | |
| 81256 | 82219 | <type name="filename"/> | |
| @@ -81262,7 +82225,7 @@ so no FD assignments are used.</doc> | |||
| 81262 | 82225 | allow-none="1"> | |
| 81263 | 82226 | <doc xml:space="preserve" | |
| 81264 | 82227 | filename="glib/gspawn.c" | |
| 81265 | - | line="163"> | |
| 82228 | + | line="164"> | |
| 81266 | 82229 | child's environment, or %NULL to inherit parent's, in the GLib file | |
| 81267 | 82230 | name encoding</doc> | |
| 81268 | 82231 | <array c:type="gchar**"> | |
| @@ -81272,7 +82235,7 @@ so no FD assignments are used.</doc> | |||
| 81272 | 82235 | <parameter name="flags" transfer-ownership="none"> | |
| 81273 | 82236 | <doc xml:space="preserve" | |
| 81274 | 82237 | filename="glib/gspawn.c" | |
| 81275 | - | line="166">flags from #GSpawnFlags</doc> | |
| 82238 | + | line="167">flags from #GSpawnFlags</doc> | |
| 81276 | 82239 | <type name="SpawnFlags" c:type="GSpawnFlags"/> | |
| 81277 | 82240 | </parameter> | |
| 81278 | 82241 | <parameter name="child_setup" | |
| @@ -81283,7 +82246,7 @@ so no FD assignments are used.</doc> | |||
| 81283 | 82246 | closure="5"> | |
| 81284 | 82247 | <doc xml:space="preserve" | |
| 81285 | 82248 | filename="glib/gspawn.c" | |
| 81286 | - | line="167">function to run | |
| 82249 | + | line="168">function to run | |
| 81287 | 82250 | in the child just before `exec()`</doc> | |
| 81288 | 82251 | <type name="SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/> | |
| 81289 | 82252 | </parameter> | |
| @@ -81293,7 +82256,7 @@ so no FD assignments are used.</doc> | |||
| 81293 | 82256 | allow-none="1"> | |
| 81294 | 82257 | <doc xml:space="preserve" | |
| 81295 | 82258 | filename="glib/gspawn.c" | |
| 81296 | - | line="169">user data for @child_setup</doc> | |
| 82259 | + | line="170">user data for @child_setup</doc> | |
| 81297 | 82260 | <type name="gpointer" c:type="gpointer"/> | |
| 81298 | 82261 | </parameter> | |
| 81299 | 82262 | <parameter name="child_pid" | |
| @@ -81304,7 +82267,7 @@ so no FD assignments are used.</doc> | |||
| 81304 | 82267 | allow-none="1"> | |
| 81305 | 82268 | <doc xml:space="preserve" | |
| 81306 | 82269 | filename="glib/gspawn.c" | |
| 81307 | - | line="170">return location for child process ID, or %NULL</doc> | |
| 82270 | + | line="171">return location for child process ID, or %NULL</doc> | |
| 81308 | 82271 | <type name="Pid" c:type="GPid*"/> | |
| 81309 | 82272 | </parameter> | |
| 81310 | 82273 | <parameter name="standard_input" | |
| @@ -81315,7 +82278,7 @@ so no FD assignments are used.</doc> | |||
| 81315 | 82278 | allow-none="1"> | |
| 81316 | 82279 | <doc xml:space="preserve" | |
| 81317 | 82280 | filename="glib/gspawn.c" | |
| 81318 | - | line="171">return location for file descriptor to write to child's stdin, or %NULL</doc> | |
| 82281 | + | line="172">return location for file descriptor to write to child's stdin, or %NULL</doc> | |
| 81319 | 82282 | <type name="gint" c:type="gint*"/> | |
| 81320 | 82283 | </parameter> | |
| 81321 | 82284 | <parameter name="standard_output" | |
| @@ -81326,7 +82289,7 @@ so no FD assignments are used.</doc> | |||
| 81326 | 82289 | allow-none="1"> | |
| 81327 | 82290 | <doc xml:space="preserve" | |
| 81328 | 82291 | filename="glib/gspawn.c" | |
| 81329 | - | line="172">return location for file descriptor to read child's stdout, or %NULL</doc> | |
| 82292 | + | line="173">return location for file descriptor to read child's stdout, or %NULL</doc> | |
| 81330 | 82293 | <type name="gint" c:type="gint*"/> | |
| 81331 | 82294 | </parameter> | |
| 81332 | 82295 | <parameter name="standard_error" | |
| @@ -81337,7 +82300,7 @@ so no FD assignments are used.</doc> | |||
| 81337 | 82300 | allow-none="1"> | |
| 81338 | 82301 | <doc xml:space="preserve" | |
| 81339 | 82302 | filename="glib/gspawn.c" | |
| 81340 | - | line="173">return location for file descriptor to read child's stderr, or %NULL</doc> | |
| 82303 | + | line="174">return location for file descriptor to read child's stderr, or %NULL</doc> | |
| 81341 | 82304 | <type name="gint" c:type="gint*"/> | |
| 81342 | 82305 | </parameter> | |
| 81343 | 82306 | </parameters> | |
| @@ -81348,7 +82311,7 @@ so no FD assignments are used.</doc> | |||
| 81348 | 82311 | throws="1"> | |
| 81349 | 82312 | <doc xml:space="preserve" | |
| 81350 | 82313 | filename="glib/gspawn.c" | |
| 81351 | - | line="208">Executes a child program asynchronously (your program will not | |
| 82314 | + | line="209">Executes a child program asynchronously (your program will not | |
| 81352 | 82315 | block waiting for the child to exit). | |
| 81353 | 82316 | ||
| 81354 | 82317 | The child program is specified by the only argument that must be | |
| @@ -81546,7 +82509,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81546 | 82509 | <return-value transfer-ownership="none"> | |
| 81547 | 82510 | <doc xml:space="preserve" | |
| 81548 | 82511 | filename="glib/gspawn.c" | |
| 81549 | - | line="430">%TRUE on success, %FALSE if an error was set</doc> | |
| 82512 | + | line="431">%TRUE on success, %FALSE if an error was set</doc> | |
| 81550 | 82513 | <type name="gboolean" c:type="gboolean"/> | |
| 81551 | 82514 | </return-value> | |
| 81552 | 82515 | <parameters> | |
| @@ -81556,14 +82519,14 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81556 | 82519 | allow-none="1"> | |
| 81557 | 82520 | <doc xml:space="preserve" | |
| 81558 | 82521 | filename="glib/gspawn.c" | |
| 81559 | - | line="210">child's current working | |
| 82522 | + | line="211">child's current working | |
| 81560 | 82523 | directory, or %NULL to inherit parent's, in the GLib file name encoding</doc> | |
| 81561 | 82524 | <type name="filename" c:type="const gchar*"/> | |
| 81562 | 82525 | </parameter> | |
| 81563 | 82526 | <parameter name="argv" transfer-ownership="none"> | |
| 81564 | 82527 | <doc xml:space="preserve" | |
| 81565 | 82528 | filename="glib/gspawn.c" | |
| 81566 | - | line="212">child's argument | |
| 82529 | + | line="213">child's argument | |
| 81567 | 82530 | vector, in the GLib file name encoding; it must be non-empty and %NULL-terminated</doc> | |
| 81568 | 82531 | <array c:type="const gchar* const*"> | |
| 81569 | 82532 | <type name="filename"/> | |
| @@ -81575,7 +82538,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81575 | 82538 | allow-none="1"> | |
| 81576 | 82539 | <doc xml:space="preserve" | |
| 81577 | 82540 | filename="glib/gspawn.c" | |
| 81578 | - | line="214"> | |
| 82541 | + | line="215"> | |
| 81579 | 82542 | child's environment, or %NULL to inherit parent's, in the GLib file | |
| 81580 | 82543 | name encoding</doc> | |
| 81581 | 82544 | <array c:type="const gchar* const*"> | |
| @@ -81585,7 +82548,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81585 | 82548 | <parameter name="flags" transfer-ownership="none"> | |
| 81586 | 82549 | <doc xml:space="preserve" | |
| 81587 | 82550 | filename="glib/gspawn.c" | |
| 81588 | - | line="217">flags from #GSpawnFlags</doc> | |
| 82551 | + | line="218">flags from #GSpawnFlags</doc> | |
| 81589 | 82552 | <type name="SpawnFlags" c:type="GSpawnFlags"/> | |
| 81590 | 82553 | </parameter> | |
| 81591 | 82554 | <parameter name="child_setup" | |
| @@ -81596,7 +82559,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81596 | 82559 | closure="5"> | |
| 81597 | 82560 | <doc xml:space="preserve" | |
| 81598 | 82561 | filename="glib/gspawn.c" | |
| 81599 | - | line="218">function to run | |
| 82562 | + | line="219">function to run | |
| 81600 | 82563 | in the child just before `exec()`</doc> | |
| 81601 | 82564 | <type name="SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/> | |
| 81602 | 82565 | </parameter> | |
| @@ -81606,25 +82569,25 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81606 | 82569 | allow-none="1"> | |
| 81607 | 82570 | <doc xml:space="preserve" | |
| 81608 | 82571 | filename="glib/gspawn.c" | |
| 81609 | - | line="220">user data for @child_setup</doc> | |
| 82572 | + | line="221">user data for @child_setup</doc> | |
| 81610 | 82573 | <type name="gpointer" c:type="gpointer"/> | |
| 81611 | 82574 | </parameter> | |
| 81612 | 82575 | <parameter name="stdin_fd" transfer-ownership="none"> | |
| 81613 | 82576 | <doc xml:space="preserve" | |
| 81614 | 82577 | filename="glib/gspawn.c" | |
| 81615 | - | line="221">file descriptor to use for child's stdin, or `-1`</doc> | |
| 82578 | + | line="222">file descriptor to use for child's stdin, or `-1`</doc> | |
| 81616 | 82579 | <type name="gint" c:type="gint"/> | |
| 81617 | 82580 | </parameter> | |
| 81618 | 82581 | <parameter name="stdout_fd" transfer-ownership="none"> | |
| 81619 | 82582 | <doc xml:space="preserve" | |
| 81620 | 82583 | filename="glib/gspawn.c" | |
| 81621 | - | line="222">file descriptor to use for child's stdout, or `-1`</doc> | |
| 82584 | + | line="223">file descriptor to use for child's stdout, or `-1`</doc> | |
| 81622 | 82585 | <type name="gint" c:type="gint"/> | |
| 81623 | 82586 | </parameter> | |
| 81624 | 82587 | <parameter name="stderr_fd" transfer-ownership="none"> | |
| 81625 | 82588 | <doc xml:space="preserve" | |
| 81626 | 82589 | filename="glib/gspawn.c" | |
| 81627 | - | line="223">file descriptor to use for child's stderr, or `-1`</doc> | |
| 82590 | + | line="224">file descriptor to use for child's stderr, or `-1`</doc> | |
| 81628 | 82591 | <type name="gint" c:type="gint"/> | |
| 81629 | 82592 | </parameter> | |
| 81630 | 82593 | <parameter name="source_fds" | |
| @@ -81633,7 +82596,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81633 | 82596 | allow-none="1"> | |
| 81634 | 82597 | <doc xml:space="preserve" | |
| 81635 | 82598 | filename="glib/gspawn.c" | |
| 81636 | - | line="224">array of FDs from the parent | |
| 82599 | + | line="225">array of FDs from the parent | |
| 81637 | 82600 | process to make available in the child process</doc> | |
| 81638 | 82601 | <array length="11" zero-terminated="0" c:type="const gint*"> | |
| 81639 | 82602 | <type name="gint" c:type="gint"/> | |
| @@ -81645,7 +82608,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81645 | 82608 | allow-none="1"> | |
| 81646 | 82609 | <doc xml:space="preserve" | |
| 81647 | 82610 | filename="glib/gspawn.c" | |
| 81648 | - | line="226">array of FDs to remap | |
| 82611 | + | line="227">array of FDs to remap | |
| 81649 | 82612 | @source_fds to in the child process</doc> | |
| 81650 | 82613 | <array length="11" zero-terminated="0" c:type="const gint*"> | |
| 81651 | 82614 | <type name="gint" c:type="gint"/> | |
| @@ -81654,7 +82617,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81654 | 82617 | <parameter name="n_fds" transfer-ownership="none"> | |
| 81655 | 82618 | <doc xml:space="preserve" | |
| 81656 | 82619 | filename="glib/gspawn.c" | |
| 81657 | - | line="228">number of FDs in @source_fds and @target_fds</doc> | |
| 82620 | + | line="229">number of FDs in @source_fds and @target_fds</doc> | |
| 81658 | 82621 | <type name="gsize" c:type="gsize"/> | |
| 81659 | 82622 | </parameter> | |
| 81660 | 82623 | <parameter name="child_pid_out" | |
| @@ -81665,7 +82628,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81665 | 82628 | allow-none="1"> | |
| 81666 | 82629 | <doc xml:space="preserve" | |
| 81667 | 82630 | filename="glib/gspawn.c" | |
| 81668 | - | line="229">return location for child process ID, or %NULL</doc> | |
| 82631 | + | line="230">return location for child process ID, or %NULL</doc> | |
| 81669 | 82632 | <type name="Pid" c:type="GPid*"/> | |
| 81670 | 82633 | </parameter> | |
| 81671 | 82634 | <parameter name="stdin_pipe_out" | |
| @@ -81676,7 +82639,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81676 | 82639 | allow-none="1"> | |
| 81677 | 82640 | <doc xml:space="preserve" | |
| 81678 | 82641 | filename="glib/gspawn.c" | |
| 81679 | - | line="230">return location for file descriptor to write to child's stdin, or %NULL</doc> | |
| 82642 | + | line="231">return location for file descriptor to write to child's stdin, or %NULL</doc> | |
| 81680 | 82643 | <type name="gint" c:type="gint*"/> | |
| 81681 | 82644 | </parameter> | |
| 81682 | 82645 | <parameter name="stdout_pipe_out" | |
| @@ -81687,7 +82650,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81687 | 82650 | allow-none="1"> | |
| 81688 | 82651 | <doc xml:space="preserve" | |
| 81689 | 82652 | filename="glib/gspawn.c" | |
| 81690 | - | line="231">return location for file descriptor to read child's stdout, or %NULL</doc> | |
| 82653 | + | line="232">return location for file descriptor to read child's stdout, or %NULL</doc> | |
| 81691 | 82654 | <type name="gint" c:type="gint*"/> | |
| 81692 | 82655 | </parameter> | |
| 81693 | 82656 | <parameter name="stderr_pipe_out" | |
| @@ -81698,7 +82661,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81698 | 82661 | allow-none="1"> | |
| 81699 | 82662 | <doc xml:space="preserve" | |
| 81700 | 82663 | filename="glib/gspawn.c" | |
| 81701 | - | line="232">return location for file descriptor to read child's stderr, or %NULL</doc> | |
| 82664 | + | line="233">return location for file descriptor to read child's stderr, or %NULL</doc> | |
| 81702 | 82665 | <type name="gint" c:type="gint*"/> | |
| 81703 | 82666 | </parameter> | |
| 81704 | 82667 | </parameters> | |
| @@ -81711,7 +82674,7 @@ windows on the right screen, you may want to use #GdkAppLaunchContext, | |||
| 81711 | 82674 | throws="1"> | |
| 81712 | 82675 | <doc xml:space="preserve" | |
| 81713 | 82676 | filename="glib/gspawn.c" | |
| 81714 | - | line="707">An old name for g_spawn_check_wait_status(), deprecated because its | |
| 82677 | + | line="708">An old name for g_spawn_check_wait_status(), deprecated because its | |
| 81715 | 82678 | name is misleading. | |
| 81716 | 82679 | ||
| 81717 | 82680 | Despite the name of the function, @wait_status must be the wait status | |
| @@ -81724,7 +82687,7 @@ as passed to `exit()` or returned by g_subprocess_get_exit_status() or | |||
| 81724 | 82687 | <return-value transfer-ownership="none"> | |
| 81725 | 82688 | <doc xml:space="preserve" | |
| 81726 | 82689 | filename="glib/gspawn.c" | |
| 81727 | - | line="721">%TRUE if child exited successfully, %FALSE otherwise (and | |
| 82690 | + | line="722">%TRUE if child exited successfully, %FALSE otherwise (and | |
| 81728 | 82691 | @error will be set)</doc> | |
| 81729 | 82692 | <type name="gboolean" c:type="gboolean"/> | |
| 81730 | 82693 | </return-value> | |
| @@ -81732,7 +82695,7 @@ as passed to `exit()` or returned by g_subprocess_get_exit_status() or | |||
| 81732 | 82695 | <parameter name="wait_status" transfer-ownership="none"> | |
| 81733 | 82696 | <doc xml:space="preserve" | |
| 81734 | 82697 | filename="glib/gspawn.c" | |
| 81735 | - | line="709">A status as returned from g_spawn_sync()</doc> | |
| 82698 | + | line="710">A status as returned from g_spawn_sync()</doc> | |
| 81736 | 82699 | <type name="gint" c:type="gint"/> | |
| 81737 | 82700 | </parameter> | |
| 81738 | 82701 | </parameters> | |
| @@ -81743,7 +82706,7 @@ as passed to `exit()` or returned by g_subprocess_get_exit_status() or | |||
| 81743 | 82706 | throws="1"> | |
| 81744 | 82707 | <doc xml:space="preserve" | |
| 81745 | 82708 | filename="glib/gspawn.c" | |
| 81746 | - | line="650">Set @error if @wait_status indicates the child exited abnormally | |
| 82709 | + | line="651">Set @error if @wait_status indicates the child exited abnormally | |
| 81747 | 82710 | (e.g. with a nonzero exit code, or via a fatal signal). | |
| 81748 | 82711 | ||
| 81749 | 82712 | The g_spawn_sync() and g_child_watch_add() family of APIs return the | |
| @@ -81786,7 +82749,7 @@ functionality, although under a misleading name.</doc> | |||
| 81786 | 82749 | <return-value transfer-ownership="none"> | |
| 81787 | 82750 | <doc xml:space="preserve" | |
| 81788 | 82751 | filename="glib/gspawn.c" | |
| 81789 | - | line="695">%TRUE if child exited successfully, %FALSE otherwise (and | |
| 82752 | + | line="696">%TRUE if child exited successfully, %FALSE otherwise (and | |
| 81790 | 82753 | @error will be set)</doc> | |
| 81791 | 82754 | <type name="gboolean" c:type="gboolean"/> | |
| 81792 | 82755 | </return-value> | |
| @@ -81794,7 +82757,7 @@ functionality, although under a misleading name.</doc> | |||
| 81794 | 82757 | <parameter name="wait_status" transfer-ownership="none"> | |
| 81795 | 82758 | <doc xml:space="preserve" | |
| 81796 | 82759 | filename="glib/gspawn.c" | |
| 81797 | - | line="652">A platform-specific wait status as returned from g_spawn_sync()</doc> | |
| 82760 | + | line="653">A platform-specific wait status as returned from g_spawn_sync()</doc> | |
| 81798 | 82761 | <type name="gint" c:type="gint"/> | |
| 81799 | 82762 | </parameter> | |
| 81800 | 82763 | </parameters> | |
| @@ -81802,7 +82765,7 @@ functionality, although under a misleading name.</doc> | |||
| 81802 | 82765 | <function name="spawn_close_pid" c:identifier="g_spawn_close_pid"> | |
| 81803 | 82766 | <doc xml:space="preserve" | |
| 81804 | 82767 | filename="glib/gspawn.c" | |
| 81805 | - | line="735">On some platforms, notably Windows, the #GPid type represents a resource | |
| 82768 | + | line="736">On some platforms, notably Windows, the #GPid type represents a resource | |
| 81806 | 82769 | which must be closed to prevent resource leaking. g_spawn_close_pid() | |
| 81807 | 82770 | is provided for this purpose. It should be used on all platforms, even | |
| 81808 | 82771 | though it doesn't do anything under UNIX.</doc> | |
| @@ -81814,7 +82777,7 @@ though it doesn't do anything under UNIX.</doc> | |||
| 81814 | 82777 | <parameter name="pid" transfer-ownership="none"> | |
| 81815 | 82778 | <doc xml:space="preserve" | |
| 81816 | 82779 | filename="glib/gspawn.c" | |
| 81817 | - | line="737">The process reference to close</doc> | |
| 82780 | + | line="738">The process reference to close</doc> | |
| 81818 | 82781 | <type name="Pid" c:type="GPid"/> | |
| 81819 | 82782 | </parameter> | |
| 81820 | 82783 | </parameters> | |
| @@ -81824,7 +82787,7 @@ though it doesn't do anything under UNIX.</doc> | |||
| 81824 | 82787 | throws="1"> | |
| 81825 | 82788 | <doc xml:space="preserve" | |
| 81826 | 82789 | filename="glib/gspawn.c" | |
| 81827 | - | line="604">A simple version of g_spawn_async() that parses a command line with | |
| 82790 | + | line="605">A simple version of g_spawn_async() that parses a command line with | |
| 81828 | 82791 | g_shell_parse_argv() and passes it to g_spawn_async(). | |
| 81829 | 82792 | ||
| 81830 | 82793 | Runs a command line in the background. Unlike g_spawn_async(), the | |
| @@ -81838,14 +82801,14 @@ The same concerns on Windows apply as for g_spawn_command_line_sync().</doc> | |||
| 81838 | 82801 | <return-value transfer-ownership="none"> | |
| 81839 | 82802 | <doc xml:space="preserve" | |
| 81840 | 82803 | filename="glib/gspawn.c" | |
| 81841 | - | line="620">%TRUE on success, %FALSE if error is set</doc> | |
| 82804 | + | line="621">%TRUE on success, %FALSE if error is set</doc> | |
| 81842 | 82805 | <type name="gboolean" c:type="gboolean"/> | |
| 81843 | 82806 | </return-value> | |
| 81844 | 82807 | <parameters> | |
| 81845 | 82808 | <parameter name="command_line" transfer-ownership="none"> | |
| 81846 | 82809 | <doc xml:space="preserve" | |
| 81847 | 82810 | filename="glib/gspawn.c" | |
| 81848 | - | line="606">a command line</doc> | |
| 82811 | + | line="607">a command line</doc> | |
| 81849 | 82812 | <type name="filename" c:type="const gchar*"/> | |
| 81850 | 82813 | </parameter> | |
| 81851 | 82814 | </parameters> | |
| @@ -81855,7 +82818,7 @@ The same concerns on Windows apply as for g_spawn_command_line_sync().</doc> | |||
| 81855 | 82818 | throws="1"> | |
| 81856 | 82819 | <doc xml:space="preserve" | |
| 81857 | 82820 | filename="glib/gspawn.c" | |
| 81858 | - | line="531">A simple version of g_spawn_sync() with little-used parameters | |
| 82821 | + | line="532">A simple version of g_spawn_sync() with little-used parameters | |
| 81859 | 82822 | removed, taking a command line instead of an argument vector. | |
| 81860 | 82823 | ||
| 81861 | 82824 | See g_spawn_sync() for full details. | |
| @@ -81888,14 +82851,14 @@ separator. You need to enclose such paths with single quotes, like | |||
| 81888 | 82851 | <return-value transfer-ownership="none"> | |
| 81889 | 82852 | <doc xml:space="preserve" | |
| 81890 | 82853 | filename="glib/gspawn.c" | |
| 81891 | - | line="569">%TRUE on success, %FALSE if an error was set</doc> | |
| 82854 | + | line="570">%TRUE on success, %FALSE if an error was set</doc> | |
| 81892 | 82855 | <type name="gboolean" c:type="gboolean"/> | |
| 81893 | 82856 | </return-value> | |
| 81894 | 82857 | <parameters> | |
| 81895 | 82858 | <parameter name="command_line" transfer-ownership="none"> | |
| 81896 | 82859 | <doc xml:space="preserve" | |
| 81897 | 82860 | filename="glib/gspawn.c" | |
| 81898 | - | line="533">a command line</doc> | |
| 82861 | + | line="534">a command line</doc> | |
| 81899 | 82862 | <type name="filename" c:type="const gchar*"/> | |
| 81900 | 82863 | </parameter> | |
| 81901 | 82864 | <parameter name="standard_output" | |
| @@ -81906,7 +82869,7 @@ separator. You need to enclose such paths with single quotes, like | |||
| 81906 | 82869 | allow-none="1"> | |
| 81907 | 82870 | <doc xml:space="preserve" | |
| 81908 | 82871 | filename="glib/gspawn.c" | |
| 81909 | - | line="534">return location for child output</doc> | |
| 82872 | + | line="535">return location for child output</doc> | |
| 81910 | 82873 | <array c:type="gchar**"> | |
| 81911 | 82874 | <type name="guint8"/> | |
| 81912 | 82875 | </array> | |
| @@ -81919,7 +82882,7 @@ separator. You need to enclose such paths with single quotes, like | |||
| 81919 | 82882 | allow-none="1"> | |
| 81920 | 82883 | <doc xml:space="preserve" | |
| 81921 | 82884 | filename="glib/gspawn.c" | |
| 81922 | - | line="535">return location for child errors</doc> | |
| 82885 | + | line="536">return location for child errors</doc> | |
| 81923 | 82886 | <array c:type="gchar**"> | |
| 81924 | 82887 | <type name="guint8"/> | |
| 81925 | 82888 | </array> | |
| @@ -81932,7 +82895,7 @@ separator. You need to enclose such paths with single quotes, like | |||
| 81932 | 82895 | allow-none="1"> | |
| 81933 | 82896 | <doc xml:space="preserve" | |
| 81934 | 82897 | filename="glib/gspawn.c" | |
| 81935 | - | line="536">return location for child wait status, as returned by waitpid()</doc> | |
| 82898 | + | line="537">return location for child wait status, as returned by waitpid()</doc> | |
| 81936 | 82899 | <type name="gint" c:type="gint*"/> | |
| 81937 | 82900 | </parameter> | |
| 81938 | 82901 | </parameters> | |
| @@ -81951,7 +82914,7 @@ separator. You need to enclose such paths with single quotes, like | |||
| 81951 | 82914 | <function name="spawn_sync" c:identifier="g_spawn_sync" throws="1"> | |
| 81952 | 82915 | <doc xml:space="preserve" | |
| 81953 | 82916 | filename="glib/gspawn.c" | |
| 81954 | - | line="89">Executes a child synchronously (waits for the child to exit before returning). | |
| 82917 | + | line="90">Executes a child synchronously (waits for the child to exit before returning). | |
| 81955 | 82918 | ||
| 81956 | 82919 | All output from the child is stored in @standard_output and @standard_error, | |
| 81957 | 82920 | if those parameters are non-%NULL. Note that you must set the | |
| @@ -81978,7 +82941,7 @@ how these functions work on Windows.</doc> | |||
| 81978 | 82941 | <return-value transfer-ownership="none"> | |
| 81979 | 82942 | <doc xml:space="preserve" | |
| 81980 | 82943 | filename="glib/gspawn.c" | |
| 81981 | - | line="130">%TRUE on success, %FALSE if an error was set</doc> | |
| 82944 | + | line="131">%TRUE on success, %FALSE if an error was set</doc> | |
| 81982 | 82945 | <type name="gboolean" c:type="gboolean"/> | |
| 81983 | 82946 | </return-value> | |
| 81984 | 82947 | <parameters> | |
| @@ -81988,14 +82951,14 @@ how these functions work on Windows.</doc> | |||
| 81988 | 82951 | allow-none="1"> | |
| 81989 | 82952 | <doc xml:space="preserve" | |
| 81990 | 82953 | filename="glib/gspawn.c" | |
| 81991 | - | line="91">child's current working | |
| 82954 | + | line="92">child's current working | |
| 81992 | 82955 | directory, or %NULL to inherit parent's</doc> | |
| 81993 | 82956 | <type name="filename" c:type="const gchar*"/> | |
| 81994 | 82957 | </parameter> | |
| 81995 | 82958 | <parameter name="argv" transfer-ownership="none"> | |
| 81996 | 82959 | <doc xml:space="preserve" | |
| 81997 | 82960 | filename="glib/gspawn.c" | |
| 81998 | - | line="93"> | |
| 82961 | + | line="94"> | |
| 81999 | 82962 | child's argument vector, which must be non-empty and %NULL-terminated</doc> | |
| 82000 | 82963 | <array c:type="gchar**"> | |
| 82001 | 82964 | <type name="filename"/> | |
| @@ -82007,7 +82970,7 @@ how these functions work on Windows.</doc> | |||
| 82007 | 82970 | allow-none="1"> | |
| 82008 | 82971 | <doc xml:space="preserve" | |
| 82009 | 82972 | filename="glib/gspawn.c" | |
| 82010 | - | line="95"> | |
| 82973 | + | line="96"> | |
| 82011 | 82974 | child's environment, or %NULL to inherit parent's</doc> | |
| 82012 | 82975 | <array c:type="gchar**"> | |
| 82013 | 82976 | <type name="filename"/> | |
| @@ -82016,7 +82979,7 @@ how these functions work on Windows.</doc> | |||
| 82016 | 82979 | <parameter name="flags" transfer-ownership="none"> | |
| 82017 | 82980 | <doc xml:space="preserve" | |
| 82018 | 82981 | filename="glib/gspawn.c" | |
| 82019 | - | line="97">flags from #GSpawnFlags</doc> | |
| 82982 | + | line="98">flags from #GSpawnFlags</doc> | |
| 82020 | 82983 | <type name="SpawnFlags" c:type="GSpawnFlags"/> | |
| 82021 | 82984 | </parameter> | |
| 82022 | 82985 | <parameter name="child_setup" | |
| @@ -82027,7 +82990,7 @@ how these functions work on Windows.</doc> | |||
| 82027 | 82990 | closure="5"> | |
| 82028 | 82991 | <doc xml:space="preserve" | |
| 82029 | 82992 | filename="glib/gspawn.c" | |
| 82030 | - | line="98">function to run | |
| 82993 | + | line="99">function to run | |
| 82031 | 82994 | in the child just before `exec()`</doc> | |
| 82032 | 82995 | <type name="SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/> | |
| 82033 | 82996 | </parameter> | |
| @@ -82037,7 +83000,7 @@ how these functions work on Windows.</doc> | |||
| 82037 | 83000 | allow-none="1"> | |
| 82038 | 83001 | <doc xml:space="preserve" | |
| 82039 | 83002 | filename="glib/gspawn.c" | |
| 82040 | - | line="100">user data for @child_setup</doc> | |
| 83003 | + | line="101">user data for @child_setup</doc> | |
| 82041 | 83004 | <type name="gpointer" c:type="gpointer"/> | |
| 82042 | 83005 | </parameter> | |
| 82043 | 83006 | <parameter name="standard_output" | |
| @@ -82048,7 +83011,7 @@ how these functions work on Windows.</doc> | |||
| 82048 | 83011 | allow-none="1"> | |
| 82049 | 83012 | <doc xml:space="preserve" | |
| 82050 | 83013 | filename="glib/gspawn.c" | |
| 82051 | - | line="101">return location for child output, or %NULL</doc> | |
| 83014 | + | line="102">return location for child output, or %NULL</doc> | |
| 82052 | 83015 | <array c:type="gchar**"> | |
| 82053 | 83016 | <type name="guint8"/> | |
| 82054 | 83017 | </array> | |
| @@ -82061,7 +83024,7 @@ how these functions work on Windows.</doc> | |||
| 82061 | 83024 | allow-none="1"> | |
| 82062 | 83025 | <doc xml:space="preserve" | |
| 82063 | 83026 | filename="glib/gspawn.c" | |
| 82064 | - | line="102">return location for child error messages, or %NULL</doc> | |
| 83027 | + | line="103">return location for child error messages, or %NULL</doc> | |
| 82065 | 83028 | <array c:type="gchar**"> | |
| 82066 | 83029 | <type name="guint8"/> | |
| 82067 | 83030 | </array> | |
| @@ -82074,7 +83037,7 @@ how these functions work on Windows.</doc> | |||
| 82074 | 83037 | allow-none="1"> | |
| 82075 | 83038 | <doc xml:space="preserve" | |
| 82076 | 83039 | filename="glib/gspawn.c" | |
| 82077 | - | line="103">return location for child wait status, as returned by waitpid(), or %NULL</doc> | |
| 83040 | + | line="104">return location for child wait status, as returned by waitpid(), or %NULL</doc> | |
| 82078 | 83041 | <type name="gint" c:type="gint*"/> | |
| 82079 | 83042 | </parameter> | |
| 82080 | 83043 | </parameters> | |
| @@ -82085,7 +83048,7 @@ how these functions work on Windows.</doc> | |||
| 82085 | 83048 | introspectable="0"> | |
| 82086 | 83049 | <doc xml:space="preserve" | |
| 82087 | 83050 | filename="glib/gprintf.c" | |
| 82088 | - | line="95">An implementation of the standard `sprintf()` function which supports | |
| 83051 | + | line="96">An implementation of the standard `sprintf()` function which supports | |
| 82089 | 83052 | positional parameters, as specified in the Single Unix Specification. | |
| 82090 | 83053 | ||
| 82091 | 83054 | Note that it is usually better to use [func@GLib.snprintf], to avoid the | |
| @@ -82098,14 +83061,14 @@ See also [func@GLib.strdup_printf].</doc> | |||
| 82098 | 83061 | <return-value transfer-ownership="none"> | |
| 82099 | 83062 | <doc xml:space="preserve" | |
| 82100 | 83063 | filename="glib/gprintf.c" | |
| 82101 | - | line="114">the number of bytes printed</doc> | |
| 83064 | + | line="115">the number of bytes printed</doc> | |
| 82102 | 83065 | <type name="gint" c:type="gint"/> | |
| 82103 | 83066 | </return-value> | |
| 82104 | 83067 | <parameters> | |
| 82105 | 83068 | <parameter name="string" transfer-ownership="none"> | |
| 82106 | 83069 | <doc xml:space="preserve" | |
| 82107 | 83070 | filename="glib/gprintf.c" | |
| 82108 | - | line="97">A pointer to a memory buffer to contain the resulting string. It | |
| 83071 | + | line="98">A pointer to a memory buffer to contain the resulting string. It | |
| 82109 | 83072 | is up to the caller to ensure that the allocated buffer is large | |
| 82110 | 83073 | enough to hold the formatted result.</doc> | |
| 82111 | 83074 | <type name="utf8" c:type="gchar*"/> | |
| @@ -82113,14 +83076,14 @@ See also [func@GLib.strdup_printf].</doc> | |||
| 82113 | 83076 | <parameter name="format" transfer-ownership="none"> | |
| 82114 | 83077 | <doc xml:space="preserve" | |
| 82115 | 83078 | filename="glib/gprintf.c" | |
| 82116 | - | line="100">a standard `printf()` format string, but notice | |
| 83079 | + | line="101">a standard `printf()` format string, but notice | |
| 82117 | 83080 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 82118 | 83081 | <type name="utf8" c:type="const gchar*"/> | |
| 82119 | 83082 | </parameter> | |
| 82120 | 83083 | <parameter name="..." transfer-ownership="none"> | |
| 82121 | 83084 | <doc xml:space="preserve" | |
| 82122 | 83085 | filename="glib/gprintf.c" | |
| 82123 | - | line="102">the arguments to insert in the output</doc> | |
| 83086 | + | line="103">the arguments to insert in the output</doc> | |
| 82124 | 83087 | <varargs/> | |
| 82125 | 83088 | </parameter> | |
| 82126 | 83089 | </parameters> | |
| @@ -82128,7 +83091,7 @@ See also [func@GLib.strdup_printf].</doc> | |||
| 82128 | 83091 | <function name="stat" c:identifier="g_stat" version="2.6"> | |
| 82129 | 83092 | <doc xml:space="preserve" | |
| 82130 | 83093 | filename="glib/gstdio.c" | |
| 82131 | - | line="1292">A wrapper for the POSIX stat() function. The stat() function | |
| 83094 | + | line="1303">A wrapper for the POSIX stat() function. The stat() function | |
| 82132 | 83095 | returns information about a file. On Windows the stat() function in | |
| 82133 | 83096 | the C library checks only the FAT-style READONLY attribute and does | |
| 82134 | 83097 | not look at the ACL at all. Thus on Windows the protection bits in | |
| @@ -82152,7 +83115,7 @@ See your C library manual for more details about stat().</doc> | |||
| 82152 | 83115 | <return-value transfer-ownership="none"> | |
| 82153 | 83116 | <doc xml:space="preserve" | |
| 82154 | 83117 | filename="glib/gstdio.c" | |
| 82155 | - | line="1320">0 if the information was successfully retrieved, | |
| 83118 | + | line="1331">0 if the information was successfully retrieved, | |
| 82156 | 83119 | -1 if an error occurred</doc> | |
| 82157 | 83120 | <type name="gint" c:type="int"/> | |
| 82158 | 83121 | </return-value> | |
| @@ -82160,14 +83123,14 @@ See your C library manual for more details about stat().</doc> | |||
| 82160 | 83123 | <parameter name="filename" transfer-ownership="none"> | |
| 82161 | 83124 | <doc xml:space="preserve" | |
| 82162 | 83125 | filename="glib/gstdio.c" | |
| 82163 | - | line="1294">a pathname in the GLib file name encoding | |
| 83126 | + | line="1305">a pathname in the GLib file name encoding | |
| 82164 | 83127 | (UTF-8 on Windows)</doc> | |
| 82165 | 83128 | <type name="filename" c:type="const gchar*"/> | |
| 82166 | 83129 | </parameter> | |
| 82167 | 83130 | <parameter name="buf" transfer-ownership="none"> | |
| 82168 | 83131 | <doc xml:space="preserve" | |
| 82169 | 83132 | filename="glib/gstdio.c" | |
| 82170 | - | line="1296">a pointer to a stat struct, which will be filled with the file | |
| 83133 | + | line="1307">a pointer to a stat struct, which will be filled with the file | |
| 82171 | 83134 | information</doc> | |
| 82172 | 83135 | <type name="StatBuf" c:type="GStatBuf*"/> | |
| 82173 | 83136 | </parameter> | |
| @@ -82233,7 +83196,7 @@ See your C library manual for more details about stat().</doc> | |||
| 82233 | 83196 | introspectable="0"> | |
| 82234 | 83197 | <doc xml:space="preserve" | |
| 82235 | 83198 | filename="glib/gmain.h" | |
| 82236 | - | line="987">Sets @fd_ptr to `-1`, returning the value that was there before. | |
| 83199 | + | line="990">Sets @fd_ptr to `-1`, returning the value that was there before. | |
| 82237 | 83200 | ||
| 82238 | 83201 | Conceptually, this transfers the ownership of the file descriptor | |
| 82239 | 83202 | from the referenced variable to the caller of the function (i.e. | |
| @@ -82246,11 +83209,11 @@ On POSIX platforms, this function is async-signal safe | |||
| 82246 | 83209 | signal handler or a #GSpawnChildSetupFunc. | |
| 82247 | 83210 | ||
| 82248 | 83211 | This function preserves the value of `errno`.</doc> | |
| 82249 | - | <source-position filename="glib/gmain.h" line="1009"/> | |
| 83212 | + | <source-position filename="glib/gmain.h" line="1012"/> | |
| 82250 | 83213 | <return-value transfer-ownership="none"> | |
| 82251 | 83214 | <doc xml:space="preserve" | |
| 82252 | 83215 | filename="glib/gmain.h" | |
| 82253 | - | line="1005">the value that @fd_ptr previously had</doc> | |
| 83216 | + | line="1008">the value that @fd_ptr previously had</doc> | |
| 82254 | 83217 | <type name="gint" c:type="int"/> | |
| 82255 | 83218 | </return-value> | |
| 82256 | 83219 | <parameters> | |
| @@ -82260,7 +83223,7 @@ This function preserves the value of `errno`.</doc> | |||
| 82260 | 83223 | transfer-ownership="full"> | |
| 82261 | 83224 | <doc xml:space="preserve" | |
| 82262 | 83225 | filename="glib/gmain.h" | |
| 82263 | - | line="989">A pointer to a file descriptor</doc> | |
| 83226 | + | line="992">A pointer to a file descriptor</doc> | |
| 82264 | 83227 | <type name="gint" c:type="int*"/> | |
| 82265 | 83228 | </parameter> | |
| 82266 | 83229 | </parameters> | |
| @@ -82271,7 +83234,7 @@ This function preserves the value of `errno`.</doc> | |||
| 82271 | 83234 | introspectable="0"> | |
| 82272 | 83235 | <doc xml:space="preserve" | |
| 82273 | 83236 | filename="glib/gmain.h" | |
| 82274 | - | line="875">Sets @handle_pointer to `0`, returning the value that was there before. | |
| 83237 | + | line="878">Sets @handle_pointer to `0`, returning the value that was there before. | |
| 82275 | 83238 | ||
| 82276 | 83239 | Conceptually, this transfers the ownership of the handle ID from the | |
| 82277 | 83240 | referenced variable to the ‘caller’ of the macro (ie: ‘steals’ the | |
| @@ -82297,7 +83260,7 @@ While [func@GLib.clear_handle_id] can be used in many of the same situations | |||
| 82297 | 83260 | as `g_steal_handle_id()`, this is one situation where it cannot be used, as | |
| 82298 | 83261 | there is no way to pass the `GDBusConnection` to a | |
| 82299 | 83262 | [type@GLib.ClearHandleFunc].</doc> | |
| 82300 | - | <source-position filename="glib/gmain.h" line="909"/> | |
| 83263 | + | <source-position filename="glib/gmain.h" line="912"/> | |
| 82301 | 83264 | <return-value transfer-ownership="none"> | |
| 82302 | 83265 | <type name="guint" c:type="unsigned int"/> | |
| 82303 | 83266 | </return-value> | |
| @@ -82308,7 +83271,7 @@ there is no way to pass the `GDBusConnection` to a | |||
| 82308 | 83271 | transfer-ownership="full"> | |
| 82309 | 83272 | <doc xml:space="preserve" | |
| 82310 | 83273 | filename="glib/gmain.h" | |
| 82311 | - | line="877">a pointer to a handle ID</doc> | |
| 83274 | + | line="880">a pointer to a handle ID</doc> | |
| 82312 | 83275 | <type name="guint" c:type="unsigned int*"/> | |
| 82313 | 83276 | </parameter> | |
| 82314 | 83277 | </parameters> | |
| @@ -82383,7 +83346,7 @@ early error case and also in the case that %NULL was given for | |||
| 82383 | 83346 | <function name="stpcpy" c:identifier="g_stpcpy"> | |
| 82384 | 83347 | <doc xml:space="preserve" | |
| 82385 | 83348 | filename="glib/gstrfuncs.c" | |
| 82386 | - | line="451">Copies a nul-terminated string into the destination buffer, including | |
| 83349 | + | line="455">Copies a nul-terminated string into the destination buffer, including | |
| 82387 | 83350 | the trailing nul byte, and returns a pointer to the trailing nul byte | |
| 82388 | 83351 | in `dest`. The return value is useful for concatenating multiple | |
| 82389 | 83352 | strings without having to repeatedly scan for the end.</doc> | |
| @@ -82391,20 +83354,20 @@ strings without having to repeatedly scan for the end.</doc> | |||
| 82391 | 83354 | <return-value transfer-ownership="full"> | |
| 82392 | 83355 | <doc xml:space="preserve" | |
| 82393 | 83356 | filename="glib/gstrfuncs.c" | |
| 82394 | - | line="461">a pointer to the trailing nul byte in `dest`</doc> | |
| 83357 | + | line="465">a pointer to the trailing nul byte in `dest`</doc> | |
| 82395 | 83358 | <type name="utf8" c:type="gchar*"/> | |
| 82396 | 83359 | </return-value> | |
| 82397 | 83360 | <parameters> | |
| 82398 | 83361 | <parameter name="dest" transfer-ownership="none"> | |
| 82399 | 83362 | <doc xml:space="preserve" | |
| 82400 | 83363 | filename="glib/gstrfuncs.c" | |
| 82401 | - | line="453">destination buffer</doc> | |
| 83364 | + | line="457">destination buffer</doc> | |
| 82402 | 83365 | <type name="utf8" c:type="gchar*"/> | |
| 82403 | 83366 | </parameter> | |
| 82404 | 83367 | <parameter name="src" transfer-ownership="none"> | |
| 82405 | 83368 | <doc xml:space="preserve" | |
| 82406 | 83369 | filename="glib/gstrfuncs.c" | |
| 82407 | - | line="454">source string</doc> | |
| 83370 | + | line="458">source string</doc> | |
| 82408 | 83371 | <type name="utf8" c:type="const char*"/> | |
| 82409 | 83372 | </parameter> | |
| 82410 | 83373 | </parameters> | |
| @@ -82412,7 +83375,7 @@ strings without having to repeatedly scan for the end.</doc> | |||
| 82412 | 83375 | <function name="str_equal" c:identifier="g_str_equal"> | |
| 82413 | 83376 | <doc xml:space="preserve" | |
| 82414 | 83377 | filename="glib/ghash.c" | |
| 82415 | - | line="2421">Compares two strings for byte-by-byte equality and returns %TRUE | |
| 83378 | + | line="2424">Compares two strings for byte-by-byte equality and returns %TRUE | |
| 82416 | 83379 | if they are equal. It can be passed to g_hash_table_new() as the | |
| 82417 | 83380 | @key_equal_func parameter, when using non-%NULL strings as keys in a | |
| 82418 | 83381 | #GHashTable. | |
| @@ -82424,20 +83387,20 @@ comparison function, see g_strcmp0().</doc> | |||
| 82424 | 83387 | <return-value transfer-ownership="none"> | |
| 82425 | 83388 | <doc xml:space="preserve" | |
| 82426 | 83389 | filename="glib/ghash.c" | |
| 82427 | - | line="2435">%TRUE if the two keys match</doc> | |
| 83390 | + | line="2438">%TRUE if the two keys match</doc> | |
| 82428 | 83391 | <type name="gboolean" c:type="gboolean"/> | |
| 82429 | 83392 | </return-value> | |
| 82430 | 83393 | <parameters> | |
| 82431 | 83394 | <parameter name="v1" transfer-ownership="none"> | |
| 82432 | 83395 | <doc xml:space="preserve" | |
| 82433 | 83396 | filename="glib/ghash.c" | |
| 82434 | - | line="2423">a key</doc> | |
| 83397 | + | line="2426">a key</doc> | |
| 82435 | 83398 | <type name="gpointer" c:type="gconstpointer"/> | |
| 82436 | 83399 | </parameter> | |
| 82437 | 83400 | <parameter name="v2" transfer-ownership="none"> | |
| 82438 | 83401 | <doc xml:space="preserve" | |
| 82439 | 83402 | filename="glib/ghash.c" | |
| 82440 | - | line="2424">a key to compare with @v1</doc> | |
| 83403 | + | line="2427">a key to compare with @v1</doc> | |
| 82441 | 83404 | <type name="gpointer" c:type="gconstpointer"/> | |
| 82442 | 83405 | </parameter> | |
| 82443 | 83406 | </parameters> | |
| @@ -82447,25 +83410,25 @@ comparison function, see g_strcmp0().</doc> | |||
| 82447 | 83410 | version="2.2"> | |
| 82448 | 83411 | <doc xml:space="preserve" | |
| 82449 | 83412 | filename="glib/gstrfuncs.c" | |
| 82450 | - | line="2930">Looks whether the string @str begins with @prefix.</doc> | |
| 83413 | + | line="2934">Looks whether the string @str begins with @prefix.</doc> | |
| 82451 | 83414 | <source-position filename="glib/gstrfuncs.h" line="146"/> | |
| 82452 | 83415 | <return-value transfer-ownership="none"> | |
| 82453 | 83416 | <doc xml:space="preserve" | |
| 82454 | 83417 | filename="glib/gstrfuncs.c" | |
| 82455 | - | line="2937">true if @str begins with @prefix, false otherwise</doc> | |
| 83418 | + | line="2941">true if @str begins with @prefix, false otherwise</doc> | |
| 82456 | 83419 | <type name="gboolean" c:type="gboolean"/> | |
| 82457 | 83420 | </return-value> | |
| 82458 | 83421 | <parameters> | |
| 82459 | 83422 | <parameter name="str" transfer-ownership="none"> | |
| 82460 | 83423 | <doc xml:space="preserve" | |
| 82461 | 83424 | filename="glib/gstrfuncs.c" | |
| 82462 | - | line="2932">a string to look in</doc> | |
| 83425 | + | line="2936">a string to look in</doc> | |
| 82463 | 83426 | <type name="utf8" c:type="const gchar*"/> | |
| 82464 | 83427 | </parameter> | |
| 82465 | 83428 | <parameter name="prefix" transfer-ownership="none"> | |
| 82466 | 83429 | <doc xml:space="preserve" | |
| 82467 | 83430 | filename="glib/gstrfuncs.c" | |
| 82468 | - | line="2933">the prefix to look for</doc> | |
| 83431 | + | line="2937">the prefix to look for</doc> | |
| 82469 | 83432 | <type name="utf8" c:type="const gchar*"/> | |
| 82470 | 83433 | </parameter> | |
| 82471 | 83434 | </parameters> | |
| @@ -82475,25 +83438,25 @@ comparison function, see g_strcmp0().</doc> | |||
| 82475 | 83438 | version="2.2"> | |
| 82476 | 83439 | <doc xml:space="preserve" | |
| 82477 | 83440 | filename="glib/gstrfuncs.c" | |
| 82478 | - | line="2901">Looks whether a string ends with @suffix.</doc> | |
| 83441 | + | line="2905">Looks whether a string ends with @suffix.</doc> | |
| 82479 | 83442 | <source-position filename="glib/gstrfuncs.h" line="143"/> | |
| 82480 | 83443 | <return-value transfer-ownership="none"> | |
| 82481 | 83444 | <doc xml:space="preserve" | |
| 82482 | 83445 | filename="glib/gstrfuncs.c" | |
| 82483 | - | line="2908">true if @str ends with @suffix, false otherwise</doc> | |
| 83446 | + | line="2912">true if @str ends with @suffix, false otherwise</doc> | |
| 82484 | 83447 | <type name="gboolean" c:type="gboolean"/> | |
| 82485 | 83448 | </return-value> | |
| 82486 | 83449 | <parameters> | |
| 82487 | 83450 | <parameter name="str" transfer-ownership="none"> | |
| 82488 | 83451 | <doc xml:space="preserve" | |
| 82489 | 83452 | filename="glib/gstrfuncs.c" | |
| 82490 | - | line="2903">a string to look in</doc> | |
| 83453 | + | line="2907">a string to look in</doc> | |
| 82491 | 83454 | <type name="utf8" c:type="const gchar*"/> | |
| 82492 | 83455 | </parameter> | |
| 82493 | 83456 | <parameter name="suffix" transfer-ownership="none"> | |
| 82494 | 83457 | <doc xml:space="preserve" | |
| 82495 | 83458 | filename="glib/gstrfuncs.c" | |
| 82496 | - | line="2904">the suffix to look for</doc> | |
| 83459 | + | line="2908">the suffix to look for</doc> | |
| 82497 | 83460 | <type name="utf8" c:type="const gchar*"/> | |
| 82498 | 83461 | </parameter> | |
| 82499 | 83462 | </parameters> | |
| @@ -82501,7 +83464,7 @@ comparison function, see g_strcmp0().</doc> | |||
| 82501 | 83464 | <function name="str_hash" c:identifier="g_str_hash"> | |
| 82502 | 83465 | <doc xml:space="preserve" | |
| 82503 | 83466 | filename="glib/ghash.c" | |
| 82504 | - | line="2447">Converts a string to a hash value. | |
| 83467 | + | line="2450">Converts a string to a hash value. | |
| 82505 | 83468 | ||
| 82506 | 83469 | This function implements the widely used "djb" hash apparently | |
| 82507 | 83470 | posted by Daniel Bernstein to comp.lang.c some time ago. The 32 | |
| @@ -82519,14 +83482,14 @@ as 2.</doc> | |||
| 82519 | 83482 | <return-value transfer-ownership="none"> | |
| 82520 | 83483 | <doc xml:space="preserve" | |
| 82521 | 83484 | filename="glib/ghash.c" | |
| 82522 | - | line="2466">a hash value corresponding to the key</doc> | |
| 83485 | + | line="2469">a hash value corresponding to the key</doc> | |
| 82523 | 83486 | <type name="guint" c:type="guint"/> | |
| 82524 | 83487 | </return-value> | |
| 82525 | 83488 | <parameters> | |
| 82526 | 83489 | <parameter name="v" transfer-ownership="none"> | |
| 82527 | 83490 | <doc xml:space="preserve" | |
| 82528 | 83491 | filename="glib/ghash.c" | |
| 82529 | - | line="2449">a string key</doc> | |
| 83492 | + | line="2452">a string key</doc> | |
| 82530 | 83493 | <type name="gpointer" c:type="gconstpointer"/> | |
| 82531 | 83494 | </parameter> | |
| 82532 | 83495 | </parameters> | |
| @@ -82534,20 +83497,20 @@ as 2.</doc> | |||
| 82534 | 83497 | <function name="str_is_ascii" c:identifier="g_str_is_ascii" version="2.40"> | |
| 82535 | 83498 | <doc xml:space="preserve" | |
| 82536 | 83499 | filename="glib/gutf8.c" | |
| 82537 | - | line="1892">Determines if a string is pure ASCII. A string is pure ASCII if it | |
| 83500 | + | line="2289">Determines if a string is pure ASCII. A string is pure ASCII if it | |
| 82538 | 83501 | contains no bytes with the high bit set.</doc> | |
| 82539 | 83502 | <source-position filename="glib/gstrfuncs.h" line="265"/> | |
| 82540 | 83503 | <return-value transfer-ownership="none"> | |
| 82541 | 83504 | <doc xml:space="preserve" | |
| 82542 | 83505 | filename="glib/gutf8.c" | |
| 82543 | - | line="1899">true if @str is ASCII</doc> | |
| 83506 | + | line="2296">true if @str is ASCII</doc> | |
| 82544 | 83507 | <type name="gboolean" c:type="gboolean"/> | |
| 82545 | 83508 | </return-value> | |
| 82546 | 83509 | <parameters> | |
| 82547 | 83510 | <parameter name="str" transfer-ownership="none"> | |
| 82548 | 83511 | <doc xml:space="preserve" | |
| 82549 | 83512 | filename="glib/gutf8.c" | |
| 82550 | - | line="1894">a string</doc> | |
| 83513 | + | line="2291">a string</doc> | |
| 82551 | 83514 | <type name="utf8" c:type="const gchar*"/> | |
| 82552 | 83515 | </parameter> | |
| 82553 | 83516 | </parameters> | |
| @@ -82557,7 +83520,7 @@ contains no bytes with the high bit set.</doc> | |||
| 82557 | 83520 | version="2.40"> | |
| 82558 | 83521 | <doc xml:space="preserve" | |
| 82559 | 83522 | filename="glib/gstrfuncs.c" | |
| 82560 | - | line="3144">Checks if a search conducted for @search_term should match | |
| 83523 | + | line="3148">Checks if a search conducted for @search_term should match | |
| 82561 | 83524 | @potential_hit. | |
| 82562 | 83525 | ||
| 82563 | 83526 | This function calls [func@GLib.str_tokenize_and_fold] on both | |
| @@ -82583,26 +83546,26 @@ Baz’, but not ‘SFO’ (because no word has ‘fo’ as a prefix).</doc> | |||
| 82583 | 83546 | <return-value transfer-ownership="none"> | |
| 82584 | 83547 | <doc xml:space="preserve" | |
| 82585 | 83548 | filename="glib/gstrfuncs.c" | |
| 82586 | - | line="3173">true if @potential_hit is a hit</doc> | |
| 83549 | + | line="3177">true if @potential_hit is a hit</doc> | |
| 82587 | 83550 | <type name="gboolean" c:type="gboolean"/> | |
| 82588 | 83551 | </return-value> | |
| 82589 | 83552 | <parameters> | |
| 82590 | 83553 | <parameter name="search_term" transfer-ownership="none"> | |
| 82591 | 83554 | <doc xml:space="preserve" | |
| 82592 | 83555 | filename="glib/gstrfuncs.c" | |
| 82593 | - | line="3146">the search term from the user</doc> | |
| 83556 | + | line="3150">the search term from the user</doc> | |
| 82594 | 83557 | <type name="utf8" c:type="const gchar*"/> | |
| 82595 | 83558 | </parameter> | |
| 82596 | 83559 | <parameter name="potential_hit" transfer-ownership="none"> | |
| 82597 | 83560 | <doc xml:space="preserve" | |
| 82598 | 83561 | filename="glib/gstrfuncs.c" | |
| 82599 | - | line="3147">the text that may be a hit</doc> | |
| 83562 | + | line="3151">the text that may be a hit</doc> | |
| 82600 | 83563 | <type name="utf8" c:type="const gchar*"/> | |
| 82601 | 83564 | </parameter> | |
| 82602 | 83565 | <parameter name="accept_alternates" transfer-ownership="none"> | |
| 82603 | 83566 | <doc xml:space="preserve" | |
| 82604 | 83567 | filename="glib/gstrfuncs.c" | |
| 82605 | - | line="3148">if true, ASCII alternates are accepted</doc> | |
| 83568 | + | line="3152">if true, ASCII alternates are accepted</doc> | |
| 82606 | 83569 | <type name="gboolean" c:type="gboolean"/> | |
| 82607 | 83570 | </parameter> | |
| 82608 | 83571 | </parameters> | |
| @@ -82658,7 +83621,7 @@ to be done independently of the currently locale, specify `"C"` for | |||
| 82658 | 83621 | version="2.40"> | |
| 82659 | 83622 | <doc xml:space="preserve" | |
| 82660 | 83623 | filename="glib/gstrfuncs.c" | |
| 82661 | - | line="3058">Tokenizes @string and performs folding on each token. | |
| 83624 | + | line="3062">Tokenizes @string and performs folding on each token. | |
| 82662 | 83625 | ||
| 82663 | 83626 | A token is a non-empty sequence of alphanumeric characters in the | |
| 82664 | 83627 | source string, separated by non-alphanumeric characters. An | |
| @@ -82677,7 +83640,7 @@ known.</doc> | |||
| 82677 | 83640 | <return-value transfer-ownership="full"> | |
| 82678 | 83641 | <doc xml:space="preserve" | |
| 82679 | 83642 | filename="glib/gstrfuncs.c" | |
| 82680 | - | line="3082">the folded tokens</doc> | |
| 83643 | + | line="3086">the folded tokens</doc> | |
| 82681 | 83644 | <array c:type="gchar**"> | |
| 82682 | 83645 | <type name="utf8"/> | |
| 82683 | 83646 | </array> | |
| @@ -82686,7 +83649,7 @@ known.</doc> | |||
| 82686 | 83649 | <parameter name="string" transfer-ownership="none"> | |
| 82687 | 83650 | <doc xml:space="preserve" | |
| 82688 | 83651 | filename="glib/gstrfuncs.c" | |
| 82689 | - | line="3060">a string to tokenize</doc> | |
| 83652 | + | line="3064">a string to tokenize</doc> | |
| 82690 | 83653 | <type name="utf8" c:type="const gchar*"/> | |
| 82691 | 83654 | </parameter> | |
| 82692 | 83655 | <parameter name="translit_locale" | |
| @@ -82695,7 +83658,7 @@ known.</doc> | |||
| 82695 | 83658 | allow-none="1"> | |
| 82696 | 83659 | <doc xml:space="preserve" | |
| 82697 | 83660 | filename="glib/gstrfuncs.c" | |
| 82698 | - | line="3061">the language code (like 'de' or | |
| 83661 | + | line="3065">the language code (like 'de' or | |
| 82699 | 83662 | 'en_GB') from which @string originates</doc> | |
| 82700 | 83663 | <type name="utf8" c:type="const gchar*"/> | |
| 82701 | 83664 | </parameter> | |
| @@ -82707,7 +83670,7 @@ known.</doc> | |||
| 82707 | 83670 | allow-none="1"> | |
| 82708 | 83671 | <doc xml:space="preserve" | |
| 82709 | 83672 | filename="glib/gstrfuncs.c" | |
| 82710 | - | line="3063"> | |
| 83673 | + | line="3067"> | |
| 82711 | 83674 | a return location for ASCII alternates</doc> | |
| 82712 | 83675 | <array c:type="gchar***"> | |
| 82713 | 83676 | <type name="utf8" c:type="gchar**"/> | |
| @@ -82718,7 +83681,7 @@ known.</doc> | |||
| 82718 | 83681 | <function name="strcanon" c:identifier="g_strcanon"> | |
| 82719 | 83682 | <doc xml:space="preserve" | |
| 82720 | 83683 | filename="glib/gstrfuncs.c" | |
| 82721 | - | line="2050">For each character in @string, if the character is not in @valid_chars, | |
| 83684 | + | line="2054">For each character in @string, if the character is not in @valid_chars, | |
| 82722 | 83685 | replaces the character with @substitutor. | |
| 82723 | 83686 | ||
| 82724 | 83687 | Modifies @string in place, and return @string itself, not a copy. The | |
| @@ -82737,26 +83700,26 @@ g_free (reformatted); | |||
| 82737 | 83700 | <return-value transfer-ownership="full"> | |
| 82738 | 83701 | <doc xml:space="preserve" | |
| 82739 | 83702 | filename="glib/gstrfuncs.c" | |
| 82740 | - | line="2072">the modified @string</doc> | |
| 83703 | + | line="2076">the modified @string</doc> | |
| 82741 | 83704 | <type name="utf8" c:type="gchar*"/> | |
| 82742 | 83705 | </return-value> | |
| 82743 | 83706 | <parameters> | |
| 82744 | 83707 | <parameter name="string" transfer-ownership="none"> | |
| 82745 | 83708 | <doc xml:space="preserve" | |
| 82746 | 83709 | filename="glib/gstrfuncs.c" | |
| 82747 | - | line="2052">a nul-terminated array of bytes</doc> | |
| 83710 | + | line="2056">a nul-terminated array of bytes</doc> | |
| 82748 | 83711 | <type name="utf8" c:type="gchar*"/> | |
| 82749 | 83712 | </parameter> | |
| 82750 | 83713 | <parameter name="valid_chars" transfer-ownership="none"> | |
| 82751 | 83714 | <doc xml:space="preserve" | |
| 82752 | 83715 | filename="glib/gstrfuncs.c" | |
| 82753 | - | line="2053">bytes permitted in @string</doc> | |
| 83716 | + | line="2057">bytes permitted in @string</doc> | |
| 82754 | 83717 | <type name="utf8" c:type="const gchar*"/> | |
| 82755 | 83718 | </parameter> | |
| 82756 | 83719 | <parameter name="substitutor" transfer-ownership="none"> | |
| 82757 | 83720 | <doc xml:space="preserve" | |
| 82758 | 83721 | filename="glib/gstrfuncs.c" | |
| 82759 | - | line="2054">replacement character for disallowed bytes</doc> | |
| 83722 | + | line="2058">replacement character for disallowed bytes</doc> | |
| 82760 | 83723 | <type name="gchar" c:type="gchar"/> | |
| 82761 | 83724 | </parameter> | |
| 82762 | 83725 | </parameters> | |
| @@ -82767,7 +83730,7 @@ g_free (reformatted); | |||
| 82767 | 83730 | deprecated-version="2.2"> | |
| 82768 | 83731 | <doc xml:space="preserve" | |
| 82769 | 83732 | filename="glib/gstrfuncs.c" | |
| 82770 | - | line="1895">A case-insensitive string comparison, corresponding to the standard | |
| 83733 | + | line="1899">A case-insensitive string comparison, corresponding to the standard | |
| 82771 | 83734 | `strcasecmp()` function on platforms which support it.</doc> | |
| 82772 | 83735 | <doc-deprecated xml:space="preserve">See [func@GLib.strncasecmp] for a discussion of why this | |
| 82773 | 83736 | function is deprecated and how to replace it.</doc-deprecated> | |
| @@ -82775,7 +83738,7 @@ g_free (reformatted); | |||
| 82775 | 83738 | <return-value transfer-ownership="none"> | |
| 82776 | 83739 | <doc xml:space="preserve" | |
| 82777 | 83740 | filename="glib/gstrfuncs.c" | |
| 82778 | - | line="1903">0 if the strings match, a negative value if @s1 < @s2, | |
| 83741 | + | line="1907">0 if the strings match, a negative value if @s1 < @s2, | |
| 82779 | 83742 | or a positive value if @s1 > @s2</doc> | |
| 82780 | 83743 | <type name="gint" c:type="gint"/> | |
| 82781 | 83744 | </return-value> | |
| @@ -82783,13 +83746,13 @@ g_free (reformatted); | |||
| 82783 | 83746 | <parameter name="s1" transfer-ownership="none"> | |
| 82784 | 83747 | <doc xml:space="preserve" | |
| 82785 | 83748 | filename="glib/gstrfuncs.c" | |
| 82786 | - | line="1897">string to compare with @s2</doc> | |
| 83749 | + | line="1901">string to compare with @s2</doc> | |
| 82787 | 83750 | <type name="utf8" c:type="const gchar*"/> | |
| 82788 | 83751 | </parameter> | |
| 82789 | 83752 | <parameter name="s2" transfer-ownership="none"> | |
| 82790 | 83753 | <doc xml:space="preserve" | |
| 82791 | 83754 | filename="glib/gstrfuncs.c" | |
| 82792 | - | line="1898">string to compare with @s1</doc> | |
| 83755 | + | line="1902">string to compare with @s1</doc> | |
| 82793 | 83756 | <type name="utf8" c:type="const gchar*"/> | |
| 82794 | 83757 | </parameter> | |
| 82795 | 83758 | </parameters> | |
| @@ -82797,7 +83760,7 @@ g_free (reformatted); | |||
| 82797 | 83760 | <function name="strchomp" c:identifier="g_strchomp"> | |
| 82798 | 83761 | <doc xml:space="preserve" | |
| 82799 | 83762 | filename="glib/gstrfuncs.c" | |
| 82800 | - | line="2327">Removes trailing whitespace from a string. | |
| 83763 | + | line="2331">Removes trailing whitespace from a string. | |
| 82801 | 83764 | ||
| 82802 | 83765 | This function doesn't allocate or reallocate any memory; | |
| 82803 | 83766 | it modifies @string in place. Therefore, it cannot be used | |
| @@ -82810,14 +83773,14 @@ Also see [func@GLib.strchug] and [func@GLib.strstrip].</doc> | |||
| 82810 | 83773 | <return-value transfer-ownership="full"> | |
| 82811 | 83774 | <doc xml:space="preserve" | |
| 82812 | 83775 | filename="glib/gstrfuncs.c" | |
| 82813 | - | line="2341">the modified @string</doc> | |
| 83776 | + | line="2345">the modified @string</doc> | |
| 82814 | 83777 | <type name="utf8" c:type="gchar*"/> | |
| 82815 | 83778 | </return-value> | |
| 82816 | 83779 | <parameters> | |
| 82817 | 83780 | <parameter name="string" transfer-ownership="none"> | |
| 82818 | 83781 | <doc xml:space="preserve" | |
| 82819 | 83782 | filename="glib/gstrfuncs.c" | |
| 82820 | - | line="2329">a string to remove the trailing whitespace from</doc> | |
| 83783 | + | line="2333">a string to remove the trailing whitespace from</doc> | |
| 82821 | 83784 | <type name="utf8" c:type="gchar*"/> | |
| 82822 | 83785 | </parameter> | |
| 82823 | 83786 | </parameters> | |
| @@ -82825,7 +83788,7 @@ Also see [func@GLib.strchug] and [func@GLib.strstrip].</doc> | |||
| 82825 | 83788 | <function name="strchug" c:identifier="g_strchug"> | |
| 82826 | 83789 | <doc xml:space="preserve" | |
| 82827 | 83790 | filename="glib/gstrfuncs.c" | |
| 82828 | - | line="2295">Removes leading whitespace from a string, by moving the rest | |
| 83791 | + | line="2299">Removes leading whitespace from a string, by moving the rest | |
| 82829 | 83792 | of the characters forward. | |
| 82830 | 83793 | ||
| 82831 | 83794 | This function doesn't allocate or reallocate any memory; | |
| @@ -82839,14 +83802,14 @@ Also see [func@GLib.strchomp] and [func@GLib.strstrip].</doc> | |||
| 82839 | 83802 | <return-value transfer-ownership="full"> | |
| 82840 | 83803 | <doc xml:space="preserve" | |
| 82841 | 83804 | filename="glib/gstrfuncs.c" | |
| 82842 | - | line="2310">the modified @string</doc> | |
| 83805 | + | line="2314">the modified @string</doc> | |
| 82843 | 83806 | <type name="utf8" c:type="gchar*"/> | |
| 82844 | 83807 | </return-value> | |
| 82845 | 83808 | <parameters> | |
| 82846 | 83809 | <parameter name="string" transfer-ownership="none"> | |
| 82847 | 83810 | <doc xml:space="preserve" | |
| 82848 | 83811 | filename="glib/gstrfuncs.c" | |
| 82849 | - | line="2297">a string to remove the leading whitespace from</doc> | |
| 83812 | + | line="2301">a string to remove the leading whitespace from</doc> | |
| 82850 | 83813 | <type name="utf8" c:type="gchar*"/> | |
| 82851 | 83814 | </parameter> | |
| 82852 | 83815 | </parameters> | |
| @@ -82890,7 +83853,7 @@ Comparing two `NULL` pointers returns 0.</doc> | |||
| 82890 | 83853 | <function name="strcompress" c:identifier="g_strcompress"> | |
| 82891 | 83854 | <doc xml:space="preserve" | |
| 82892 | 83855 | filename="glib/gstrfuncs.c" | |
| 82893 | - | line="2093">Makes a copy of a string replacing C string-style escape | |
| 83856 | + | line="2097">Makes a copy of a string replacing C string-style escape | |
| 82894 | 83857 | sequences with their one byte equivalent: | |
| 82895 | 83858 | ||
| 82896 | 83859 | - `\b` → [U+0008 Backspace](https://en.wikipedia.org/wiki/Backspace) | |
| @@ -82908,7 +83871,7 @@ sequences with their one byte equivalent: | |||
| 82908 | 83871 | <return-value transfer-ownership="full"> | |
| 82909 | 83872 | <doc xml:space="preserve" | |
| 82910 | 83873 | filename="glib/gstrfuncs.c" | |
| 82911 | - | line="2112">a newly-allocated copy of @source with all escaped | |
| 83874 | + | line="2116">a newly-allocated copy of @source with all escaped | |
| 82912 | 83875 | character compressed</doc> | |
| 82913 | 83876 | <type name="utf8" c:type="gchar*"/> | |
| 82914 | 83877 | </return-value> | |
| @@ -82916,7 +83879,7 @@ sequences with their one byte equivalent: | |||
| 82916 | 83879 | <parameter name="source" transfer-ownership="none"> | |
| 82917 | 83880 | <doc xml:space="preserve" | |
| 82918 | 83881 | filename="glib/gstrfuncs.c" | |
| 82919 | - | line="2095">a string to compress</doc> | |
| 83882 | + | line="2099">a string to compress</doc> | |
| 82920 | 83883 | <type name="utf8" c:type="const gchar*"/> | |
| 82921 | 83884 | </parameter> | |
| 82922 | 83885 | </parameters> | |
| @@ -82924,7 +83887,7 @@ sequences with their one byte equivalent: | |||
| 82924 | 83887 | <function name="strconcat" c:identifier="g_strconcat" introspectable="0"> | |
| 82925 | 83888 | <doc xml:space="preserve" | |
| 82926 | 83889 | filename="glib/gstrfuncs.c" | |
| 82927 | - | line="547">Concatenates all of the given strings into one long string. | |
| 83890 | + | line="551">Concatenates all of the given strings into one long string. | |
| 82928 | 83891 | ||
| 82929 | 83892 | The variable argument list must end with `NULL`. If you forget the `NULL`, | |
| 82930 | 83893 | `g_strconcat()` will start appending random memory junk to your string. | |
| @@ -82936,20 +83899,20 @@ often requires the pieces to be reordered.</doc> | |||
| 82936 | 83899 | <return-value transfer-ownership="full"> | |
| 82937 | 83900 | <doc xml:space="preserve" | |
| 82938 | 83901 | filename="glib/gstrfuncs.c" | |
| 82939 | - | line="561">a newly-allocated string containing all the string arguments</doc> | |
| 83902 | + | line="565">a newly-allocated string containing all the string arguments</doc> | |
| 82940 | 83903 | <type name="utf8" c:type="gchar*"/> | |
| 82941 | 83904 | </return-value> | |
| 82942 | 83905 | <parameters> | |
| 82943 | 83906 | <parameter name="string1" transfer-ownership="none"> | |
| 82944 | 83907 | <doc xml:space="preserve" | |
| 82945 | 83908 | filename="glib/gstrfuncs.c" | |
| 82946 | - | line="549">the first string to add, which must not be `NULL`</doc> | |
| 83909 | + | line="553">the first string to add, which must not be `NULL`</doc> | |
| 82947 | 83910 | <type name="utf8" c:type="const gchar*"/> | |
| 82948 | 83911 | </parameter> | |
| 82949 | 83912 | <parameter name="..." transfer-ownership="none"> | |
| 82950 | 83913 | <doc xml:space="preserve" | |
| 82951 | 83914 | filename="glib/gstrfuncs.c" | |
| 82952 | - | line="550">a `NULL`-terminated list of strings to append to the string</doc> | |
| 83915 | + | line="554">a `NULL`-terminated list of strings to append to the string</doc> | |
| 82953 | 83916 | <varargs/> | |
| 82954 | 83917 | </parameter> | |
| 82955 | 83918 | </parameters> | |
| @@ -82957,7 +83920,7 @@ often requires the pieces to be reordered.</doc> | |||
| 82957 | 83920 | <function name="strdelimit" c:identifier="g_strdelimit"> | |
| 82958 | 83921 | <doc xml:space="preserve" | |
| 82959 | 83922 | filename="glib/gstrfuncs.c" | |
| 82960 | - | line="2002">Converts any delimiter characters in @string to @new_delimiter. | |
| 83923 | + | line="2006">Converts any delimiter characters in @string to @new_delimiter. | |
| 82961 | 83924 | ||
| 82962 | 83925 | Any characters in @string which are found in @delimiters are | |
| 82963 | 83926 | changed to the @new_delimiter character. Modifies @string in place, | |
| @@ -82978,14 +83941,14 @@ g_free (reformatted); | |||
| 82978 | 83941 | <return-value transfer-ownership="full"> | |
| 82979 | 83942 | <doc xml:space="preserve" | |
| 82980 | 83943 | filename="glib/gstrfuncs.c" | |
| 82981 | - | line="2027">the modified @string</doc> | |
| 83944 | + | line="2031">the modified @string</doc> | |
| 82982 | 83945 | <type name="utf8" c:type="gchar*"/> | |
| 82983 | 83946 | </return-value> | |
| 82984 | 83947 | <parameters> | |
| 82985 | 83948 | <parameter name="string" transfer-ownership="none"> | |
| 82986 | 83949 | <doc xml:space="preserve" | |
| 82987 | 83950 | filename="glib/gstrfuncs.c" | |
| 82988 | - | line="2004">the string to convert</doc> | |
| 83951 | + | line="2008">the string to convert</doc> | |
| 82989 | 83952 | <type name="utf8" c:type="gchar*"/> | |
| 82990 | 83953 | </parameter> | |
| 82991 | 83954 | <parameter name="delimiters" | |
| @@ -82994,14 +83957,14 @@ g_free (reformatted); | |||
| 82994 | 83957 | allow-none="1"> | |
| 82995 | 83958 | <doc xml:space="preserve" | |
| 82996 | 83959 | filename="glib/gstrfuncs.c" | |
| 82997 | - | line="2005">a string containing the current delimiters, or | |
| 83960 | + | line="2009">a string containing the current delimiters, or | |
| 82998 | 83961 | `NULL` to use the standard delimiters defined in [const@GLib.STR_DELIMITERS]</doc> | |
| 82999 | 83962 | <type name="utf8" c:type="const gchar*"/> | |
| 83000 | 83963 | </parameter> | |
| 83001 | 83964 | <parameter name="new_delimiter" transfer-ownership="none"> | |
| 83002 | 83965 | <doc xml:space="preserve" | |
| 83003 | 83966 | filename="glib/gstrfuncs.c" | |
| 83004 | - | line="2007">the new delimiter character</doc> | |
| 83967 | + | line="2011">the new delimiter character</doc> | |
| 83005 | 83968 | <type name="gchar" c:type="gchar"/> | |
| 83006 | 83969 | </parameter> | |
| 83007 | 83970 | </parameters> | |
| @@ -83012,7 +83975,7 @@ g_free (reformatted); | |||
| 83012 | 83975 | deprecated-version="2.2"> | |
| 83013 | 83976 | <doc xml:space="preserve" | |
| 83014 | 83977 | filename="glib/gstrfuncs.c" | |
| 83015 | - | line="1607">Converts a string to lower case.</doc> | |
| 83978 | + | line="1611">Converts a string to lower case.</doc> | |
| 83016 | 83979 | <doc-deprecated xml:space="preserve">This function is totally broken for the reasons discussed | |
| 83017 | 83980 | in the [func@GLib.strncasecmp] docs — use [func@GLib.ascii_strdown] or | |
| 83018 | 83981 | [func@GLib.utf8_strdown] instead.</doc-deprecated> | |
| @@ -83020,14 +83983,14 @@ g_free (reformatted); | |||
| 83020 | 83983 | <return-value transfer-ownership="full"> | |
| 83021 | 83984 | <doc xml:space="preserve" | |
| 83022 | 83985 | filename="glib/gstrfuncs.c" | |
| 83023 | - | line="1613">the string</doc> | |
| 83986 | + | line="1617">the string</doc> | |
| 83024 | 83987 | <type name="utf8" c:type="gchar*"/> | |
| 83025 | 83988 | </return-value> | |
| 83026 | 83989 | <parameters> | |
| 83027 | 83990 | <parameter name="string" transfer-ownership="none"> | |
| 83028 | 83991 | <doc xml:space="preserve" | |
| 83029 | 83992 | filename="glib/gstrfuncs.c" | |
| 83030 | - | line="1609">the string to convert</doc> | |
| 83993 | + | line="1613">the string to convert</doc> | |
| 83031 | 83994 | <type name="utf8" c:type="gchar*"/> | |
| 83032 | 83995 | </parameter> | |
| 83033 | 83996 | </parameters> | |
| @@ -83060,7 +84023,7 @@ g_free (reformatted); | |||
| 83060 | 84023 | introspectable="0"> | |
| 83061 | 84024 | <doc xml:space="preserve" | |
| 83062 | 84025 | filename="glib/gstrfuncs.c" | |
| 83063 | - | line="516">Similar to the standard C `sprintf()` function but safer, since it | |
| 84026 | + | line="520">Similar to the standard C `sprintf()` function but safer, since it | |
| 83064 | 84027 | calculates the maximum space required and allocates memory to hold | |
| 83065 | 84028 | the result. | |
| 83066 | 84029 | ||
| @@ -83071,7 +84034,7 @@ representation is available for the given character.</doc> | |||
| 83071 | 84034 | <return-value transfer-ownership="full" nullable="1"> | |
| 83072 | 84035 | <doc xml:space="preserve" | |
| 83073 | 84036 | filename="glib/gstrfuncs.c" | |
| 83074 | - | line="530">a newly-allocated string holding the | |
| 84037 | + | line="534">a newly-allocated string holding the | |
| 83075 | 84038 | result</doc> | |
| 83076 | 84039 | <type name="utf8" c:type="gchar*"/> | |
| 83077 | 84040 | </return-value> | |
| @@ -83079,14 +84042,14 @@ representation is available for the given character.</doc> | |||
| 83079 | 84042 | <parameter name="format" transfer-ownership="none"> | |
| 83080 | 84043 | <doc xml:space="preserve" | |
| 83081 | 84044 | filename="glib/gstrfuncs.c" | |
| 83082 | - | line="518">a standard `printf()` format string, but notice | |
| 84045 | + | line="522">a standard `printf()` format string, but notice | |
| 83083 | 84046 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 83084 | 84047 | <type name="utf8" c:type="const gchar*"/> | |
| 83085 | 84048 | </parameter> | |
| 83086 | 84049 | <parameter name="..." transfer-ownership="none"> | |
| 83087 | 84050 | <doc xml:space="preserve" | |
| 83088 | 84051 | filename="glib/gstrfuncs.c" | |
| 83089 | - | line="520">the parameters to insert into the format string</doc> | |
| 84052 | + | line="524">the parameters to insert into the format string</doc> | |
| 83090 | 84053 | <varargs/> | |
| 83091 | 84054 | </parameter> | |
| 83092 | 84055 | </parameters> | |
| @@ -83096,7 +84059,7 @@ representation is available for the given character.</doc> | |||
| 83096 | 84059 | introspectable="0"> | |
| 83097 | 84060 | <doc xml:space="preserve" | |
| 83098 | 84061 | filename="glib/gstrfuncs.c" | |
| 83099 | - | line="485">Similar to the standard C `vsprintf()` function but safer, since it | |
| 84062 | + | line="489">Similar to the standard C `vsprintf()` function but safer, since it | |
| 83100 | 84063 | calculates the maximum space required and allocates memory to hold | |
| 83101 | 84064 | the result. | |
| 83102 | 84065 | ||
| @@ -83110,7 +84073,7 @@ additionally returns the length of the allocated string.</doc> | |||
| 83110 | 84073 | <return-value transfer-ownership="full" nullable="1"> | |
| 83111 | 84074 | <doc xml:space="preserve" | |
| 83112 | 84075 | filename="glib/gstrfuncs.c" | |
| 83113 | - | line="502">a newly-allocated string holding the | |
| 84076 | + | line="506">a newly-allocated string holding the | |
| 83114 | 84077 | result</doc> | |
| 83115 | 84078 | <type name="utf8" c:type="gchar*"/> | |
| 83116 | 84079 | </return-value> | |
| @@ -83118,14 +84081,14 @@ additionally returns the length of the allocated string.</doc> | |||
| 83118 | 84081 | <parameter name="format" transfer-ownership="none"> | |
| 83119 | 84082 | <doc xml:space="preserve" | |
| 83120 | 84083 | filename="glib/gstrfuncs.c" | |
| 83121 | - | line="487">a standard `printf()` format string, but notice | |
| 84084 | + | line="491">a standard `printf()` format string, but notice | |
| 83122 | 84085 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 83123 | 84086 | <type name="utf8" c:type="const gchar*"/> | |
| 83124 | 84087 | </parameter> | |
| 83125 | 84088 | <parameter name="args" transfer-ownership="none"> | |
| 83126 | 84089 | <doc xml:space="preserve" | |
| 83127 | 84090 | filename="glib/gstrfuncs.c" | |
| 83128 | - | line="489">the list of parameters to insert into the format string</doc> | |
| 84091 | + | line="493">the list of parameters to insert into the format string</doc> | |
| 83129 | 84092 | <type name="va_list" c:type="va_list"/> | |
| 83130 | 84093 | </parameter> | |
| 83131 | 84094 | </parameters> | |
| @@ -83133,7 +84096,7 @@ additionally returns the length of the allocated string.</doc> | |||
| 83133 | 84096 | <function name="strdupv" c:identifier="g_strdupv"> | |
| 83134 | 84097 | <doc xml:space="preserve" | |
| 83135 | 84098 | filename="glib/gstrfuncs.c" | |
| 83136 | - | line="2565">Copies an array of strings. The copy is a deep copy; each string is also | |
| 84099 | + | line="2569">Copies an array of strings. The copy is a deep copy; each string is also | |
| 83137 | 84100 | copied. | |
| 83138 | 84101 | ||
| 83139 | 84102 | If called on a `NULL` value, `g_strdupv()` simply returns `NULL`.</doc> | |
| @@ -83141,7 +84104,7 @@ If called on a `NULL` value, `g_strdupv()` simply returns `NULL`.</doc> | |||
| 83141 | 84104 | <return-value transfer-ownership="full" nullable="1"> | |
| 83142 | 84105 | <doc xml:space="preserve" | |
| 83143 | 84106 | filename="glib/gstrfuncs.c" | |
| 83144 | - | line="2574">a | |
| 84107 | + | line="2578">a | |
| 83145 | 84108 | newly-allocated array of strings. Use [func@GLib.strfreev] to free it.</doc> | |
| 83146 | 84109 | <array c:type="gchar**"> | |
| 83147 | 84110 | <type name="utf8"/> | |
| @@ -83154,7 +84117,7 @@ If called on a `NULL` value, `g_strdupv()` simply returns `NULL`.</doc> | |||
| 83154 | 84117 | allow-none="1"> | |
| 83155 | 84118 | <doc xml:space="preserve" | |
| 83156 | 84119 | filename="glib/gstrfuncs.c" | |
| 83157 | - | line="2567">an array of strings to copy</doc> | |
| 84120 | + | line="2571">an array of strings to copy</doc> | |
| 83158 | 84121 | <array c:type="gchar**"> | |
| 83159 | 84122 | <type name="utf8" c:type="gchar*"/> | |
| 83160 | 84123 | </array> | |
| @@ -83164,7 +84127,7 @@ If called on a `NULL` value, `g_strdupv()` simply returns `NULL`.</doc> | |||
| 83164 | 84127 | <function name="strerror" c:identifier="g_strerror"> | |
| 83165 | 84128 | <doc xml:space="preserve" | |
| 83166 | 84129 | filename="glib/gstrfuncs.c" | |
| 83167 | - | line="1259">Returns a string corresponding to the given error code, e.g. "no | |
| 84130 | + | line="1263">Returns a string corresponding to the given error code, e.g. "no | |
| 83168 | 84131 | such process". | |
| 83169 | 84132 | ||
| 83170 | 84133 | Unlike `strerror()`, this always returns a string in | |
| @@ -83189,14 +84152,14 @@ g_strerror (saved_errno); | |||
| 83189 | 84152 | <return-value transfer-ownership="none"> | |
| 83190 | 84153 | <doc xml:space="preserve" | |
| 83191 | 84154 | filename="glib/gstrfuncs.c" | |
| 83192 | - | line="1285">the string describing the error code</doc> | |
| 84155 | + | line="1289">the string describing the error code</doc> | |
| 83193 | 84156 | <type name="utf8" c:type="const gchar*"/> | |
| 83194 | 84157 | </return-value> | |
| 83195 | 84158 | <parameters> | |
| 83196 | 84159 | <parameter name="errnum" transfer-ownership="none"> | |
| 83197 | 84160 | <doc xml:space="preserve" | |
| 83198 | 84161 | filename="glib/gstrfuncs.c" | |
| 83199 | - | line="1261">the system error number. See the standard C `errno` documentation</doc> | |
| 84162 | + | line="1265">the system error number. See the standard C `errno` documentation</doc> | |
| 83200 | 84163 | <type name="gint" c:type="gint"/> | |
| 83201 | 84164 | </parameter> | |
| 83202 | 84165 | </parameters> | |
| @@ -83204,7 +84167,7 @@ g_strerror (saved_errno); | |||
| 83204 | 84167 | <function name="strescape" c:identifier="g_strescape"> | |
| 83205 | 84168 | <doc xml:space="preserve" | |
| 83206 | 84169 | filename="glib/gstrfuncs.c" | |
| 83207 | - | line="2182">It replaces the following special characters in the string @source | |
| 84170 | + | line="2186">It replaces the following special characters in the string @source | |
| 83208 | 84171 | with their corresponding C escape sequence: | |
| 83209 | 84172 | ||
| 83210 | 84173 | | Symbol | Escape | | |
| @@ -83227,14 +84190,14 @@ Characters supplied in @exceptions are not escaped. | |||
| 83227 | 84190 | <return-value transfer-ownership="full"> | |
| 83228 | 84191 | <doc xml:space="preserve" | |
| 83229 | 84192 | filename="glib/gstrfuncs.c" | |
| 83230 | - | line="2207">a newly-allocated copy of @source with special characters escaped</doc> | |
| 84193 | + | line="2211">a newly-allocated copy of @source with special characters escaped</doc> | |
| 83231 | 84194 | <type name="utf8" c:type="gchar*"/> | |
| 83232 | 84195 | </return-value> | |
| 83233 | 84196 | <parameters> | |
| 83234 | 84197 | <parameter name="source" transfer-ownership="none"> | |
| 83235 | 84198 | <doc xml:space="preserve" | |
| 83236 | 84199 | filename="glib/gstrfuncs.c" | |
| 83237 | - | line="2184">a string to escape</doc> | |
| 84200 | + | line="2188">a string to escape</doc> | |
| 83238 | 84201 | <type name="utf8" c:type="const gchar*"/> | |
| 83239 | 84202 | </parameter> | |
| 83240 | 84203 | <parameter name="exceptions" | |
| @@ -83243,7 +84206,7 @@ Characters supplied in @exceptions are not escaped. | |||
| 83243 | 84206 | allow-none="1"> | |
| 83244 | 84207 | <doc xml:space="preserve" | |
| 83245 | 84208 | filename="glib/gstrfuncs.c" | |
| 83246 | - | line="2185">a string of characters not to escape in @source</doc> | |
| 84209 | + | line="2189">a string of characters not to escape in @source</doc> | |
| 83247 | 84210 | <type name="utf8" c:type="const gchar*"/> | |
| 83248 | 84211 | </parameter> | |
| 83249 | 84212 | </parameters> | |
| @@ -83251,7 +84214,7 @@ Characters supplied in @exceptions are not escaped. | |||
| 83251 | 84214 | <function name="strfreev" c:identifier="g_strfreev"> | |
| 83252 | 84215 | <doc xml:space="preserve" | |
| 83253 | 84216 | filename="glib/gstrfuncs.c" | |
| 83254 | - | line="2542">Frees an array of strings, as well as each string it contains. | |
| 84217 | + | line="2546">Frees an array of strings, as well as each string it contains. | |
| 83255 | 84218 | ||
| 83256 | 84219 | If @str_array is `NULL`, this function simply returns.</doc> | |
| 83257 | 84220 | <source-position filename="glib/gstrfuncs.h" line="367"/> | |
| @@ -83265,7 +84228,7 @@ If @str_array is `NULL`, this function simply returns.</doc> | |||
| 83265 | 84228 | allow-none="1"> | |
| 83266 | 84229 | <doc xml:space="preserve" | |
| 83267 | 84230 | filename="glib/gstrfuncs.c" | |
| 83268 | - | line="2544">an | |
| 84231 | + | line="2548">an | |
| 83269 | 84232 | array of strings to free</doc> | |
| 83270 | 84233 | <array c:type="gchar**"> | |
| 83271 | 84234 | <type name="utf8" c:type="gchar*"/> | |
| @@ -83306,13 +84269,13 @@ If @str_array is `NULL`, this function simply returns.</doc> | |||
| 83306 | 84269 | <function name="strjoin" c:identifier="g_strjoin" introspectable="0"> | |
| 83307 | 84270 | <doc xml:space="preserve" | |
| 83308 | 84271 | filename="glib/gstrfuncs.c" | |
| 83309 | - | line="2660">Joins a number of strings together to form one long string, with the | |
| 84272 | + | line="2664">Joins a number of strings together to form one long string, with the | |
| 83310 | 84273 | optional @separator inserted between each of them.</doc> | |
| 83311 | 84274 | <source-position filename="glib/gstrfuncs.h" line="301"/> | |
| 83312 | 84275 | <return-value transfer-ownership="full"> | |
| 83313 | 84276 | <doc xml:space="preserve" | |
| 83314 | 84277 | filename="glib/gstrfuncs.c" | |
| 83315 | - | line="2668">a newly-allocated string containing all of the strings joined | |
| 84278 | + | line="2672">a newly-allocated string containing all of the strings joined | |
| 83316 | 84279 | together, with @separator between them</doc> | |
| 83317 | 84280 | <type name="utf8" c:type="gchar*"/> | |
| 83318 | 84281 | </return-value> | |
| @@ -83323,13 +84286,13 @@ optional @separator inserted between each of them.</doc> | |||
| 83323 | 84286 | allow-none="1"> | |
| 83324 | 84287 | <doc xml:space="preserve" | |
| 83325 | 84288 | filename="glib/gstrfuncs.c" | |
| 83326 | - | line="2662">a string to insert between each of the strings</doc> | |
| 84289 | + | line="2666">a string to insert between each of the strings</doc> | |
| 83327 | 84290 | <type name="utf8" c:type="const gchar*"/> | |
| 83328 | 84291 | </parameter> | |
| 83329 | 84292 | <parameter name="..." transfer-ownership="none"> | |
| 83330 | 84293 | <doc xml:space="preserve" | |
| 83331 | 84294 | filename="glib/gstrfuncs.c" | |
| 83332 | - | line="2663">a `NULL`-terminated list of strings to join</doc> | |
| 84295 | + | line="2667">a `NULL`-terminated list of strings to join</doc> | |
| 83333 | 84296 | <varargs/> | |
| 83334 | 84297 | </parameter> | |
| 83335 | 84298 | </parameters> | |
| @@ -83337,7 +84300,7 @@ optional @separator inserted between each of them.</doc> | |||
| 83337 | 84300 | <function name="strjoinv" c:identifier="g_strjoinv"> | |
| 83338 | 84301 | <doc xml:space="preserve" | |
| 83339 | 84302 | filename="glib/gstrfuncs.c" | |
| 83340 | - | line="2605">Joins an array of strings together to form one long string, with the | |
| 84303 | + | line="2609">Joins an array of strings together to form one long string, with the | |
| 83341 | 84304 | optional @separator inserted between each of them. | |
| 83342 | 84305 | ||
| 83343 | 84306 | If @str_array has no items, the return value will be an | |
| @@ -83347,7 +84310,7 @@ appear in the resulting string.</doc> | |||
| 83347 | 84310 | <return-value transfer-ownership="full"> | |
| 83348 | 84311 | <doc xml:space="preserve" | |
| 83349 | 84312 | filename="glib/gstrfuncs.c" | |
| 83350 | - | line="2617">a newly-allocated string containing all of the strings joined | |
| 84313 | + | line="2621">a newly-allocated string containing all of the strings joined | |
| 83351 | 84314 | together, with @separator between them</doc> | |
| 83352 | 84315 | <type name="utf8" c:type="gchar*"/> | |
| 83353 | 84316 | </return-value> | |
| @@ -83358,13 +84321,13 @@ appear in the resulting string.</doc> | |||
| 83358 | 84321 | allow-none="1"> | |
| 83359 | 84322 | <doc xml:space="preserve" | |
| 83360 | 84323 | filename="glib/gstrfuncs.c" | |
| 83361 | - | line="2607">a string to insert between each of the strings</doc> | |
| 84324 | + | line="2611">a string to insert between each of the strings</doc> | |
| 83362 | 84325 | <type name="utf8" c:type="const gchar*"/> | |
| 83363 | 84326 | </parameter> | |
| 83364 | 84327 | <parameter name="str_array" transfer-ownership="none"> | |
| 83365 | 84328 | <doc xml:space="preserve" | |
| 83366 | 84329 | filename="glib/gstrfuncs.c" | |
| 83367 | - | line="2608">an array of strings to join</doc> | |
| 84330 | + | line="2612">an array of strings to join</doc> | |
| 83368 | 84331 | <array c:type="gchar**"> | |
| 83369 | 84332 | <type name="utf8" c:type="gchar*"/> | |
| 83370 | 84333 | </array> | |
| @@ -83374,7 +84337,7 @@ appear in the resulting string.</doc> | |||
| 83374 | 84337 | <function name="strlcat" c:identifier="g_strlcat"> | |
| 83375 | 84338 | <doc xml:space="preserve" | |
| 83376 | 84339 | filename="glib/gstrfuncs.c" | |
| 83377 | - | line="1483">Portability wrapper that calls `strlcat()` on systems which have it, | |
| 84340 | + | line="1487">Portability wrapper that calls `strlcat()` on systems which have it, | |
| 83378 | 84341 | and emulates it otherwise. Appends nul-terminated @src string to @dest, | |
| 83379 | 84342 | guaranteeing nul-termination for @dest. The total size of @dest won't | |
| 83380 | 84343 | exceed @dest_size. | |
| @@ -83391,7 +84354,7 @@ Caveat: this is supposedly a more secure alternative to `strcat()` or | |||
| 83391 | 84354 | <return-value transfer-ownership="none"> | |
| 83392 | 84355 | <doc xml:space="preserve" | |
| 83393 | 84356 | filename="glib/gstrfuncs.c" | |
| 83394 | - | line="1504">size of attempted result, which is `MIN (dest_size, strlen | |
| 84357 | + | line="1508">size of attempted result, which is `MIN (dest_size, strlen | |
| 83395 | 84358 | (original dest)) + strlen (src)`, so if @retval >= @dest_size, | |
| 83396 | 84359 | truncation occurred</doc> | |
| 83397 | 84360 | <type name="gsize" c:type="gsize"/> | |
| @@ -83400,19 +84363,19 @@ Caveat: this is supposedly a more secure alternative to `strcat()` or | |||
| 83400 | 84363 | <parameter name="dest" transfer-ownership="none"> | |
| 83401 | 84364 | <doc xml:space="preserve" | |
| 83402 | 84365 | filename="glib/gstrfuncs.c" | |
| 83403 | - | line="1485">destination buffer, already containing one nul-terminated string</doc> | |
| 84366 | + | line="1489">destination buffer, already containing one nul-terminated string</doc> | |
| 83404 | 84367 | <type name="utf8" c:type="gchar*"/> | |
| 83405 | 84368 | </parameter> | |
| 83406 | 84369 | <parameter name="src" transfer-ownership="none"> | |
| 83407 | 84370 | <doc xml:space="preserve" | |
| 83408 | 84371 | filename="glib/gstrfuncs.c" | |
| 83409 | - | line="1486">source buffer</doc> | |
| 84372 | + | line="1490">source buffer</doc> | |
| 83410 | 84373 | <type name="utf8" c:type="const gchar*"/> | |
| 83411 | 84374 | </parameter> | |
| 83412 | 84375 | <parameter name="dest_size" transfer-ownership="none"> | |
| 83413 | 84376 | <doc xml:space="preserve" | |
| 83414 | 84377 | filename="glib/gstrfuncs.c" | |
| 83415 | - | line="1487">length of @dest buffer in bytes (not length of existing string | |
| 84378 | + | line="1491">length of @dest buffer in bytes (not length of existing string | |
| 83416 | 84379 | inside @dest)</doc> | |
| 83417 | 84380 | <type name="gsize" c:type="gsize"/> | |
| 83418 | 84381 | </parameter> | |
| @@ -83421,7 +84384,7 @@ Caveat: this is supposedly a more secure alternative to `strcat()` or | |||
| 83421 | 84384 | <function name="strlcpy" c:identifier="g_strlcpy"> | |
| 83422 | 84385 | <doc xml:space="preserve" | |
| 83423 | 84386 | filename="glib/gstrfuncs.c" | |
| 83424 | - | line="1424">Portability wrapper that calls `strlcpy()` on systems which have it, | |
| 84387 | + | line="1428">Portability wrapper that calls `strlcpy()` on systems which have it, | |
| 83425 | 84388 | and emulates `strlcpy()` otherwise. Copies @src to @dest; @dest is | |
| 83426 | 84389 | guaranteed to be nul-terminated; @src must be nul-terminated; | |
| 83427 | 84390 | @dest_size is the buffer size, not the number of bytes to copy. | |
| @@ -83439,26 +84402,26 @@ idea.</doc> | |||
| 83439 | 84402 | <return-value transfer-ownership="none"> | |
| 83440 | 84403 | <doc xml:space="preserve" | |
| 83441 | 84404 | filename="glib/gstrfuncs.c" | |
| 83442 | - | line="1445">length of @src</doc> | |
| 84405 | + | line="1449">length of @src</doc> | |
| 83443 | 84406 | <type name="gsize" c:type="gsize"/> | |
| 83444 | 84407 | </return-value> | |
| 83445 | 84408 | <parameters> | |
| 83446 | 84409 | <parameter name="dest" transfer-ownership="none"> | |
| 83447 | 84410 | <doc xml:space="preserve" | |
| 83448 | 84411 | filename="glib/gstrfuncs.c" | |
| 83449 | - | line="1426">destination buffer</doc> | |
| 84412 | + | line="1430">destination buffer</doc> | |
| 83450 | 84413 | <type name="utf8" c:type="gchar*"/> | |
| 83451 | 84414 | </parameter> | |
| 83452 | 84415 | <parameter name="src" transfer-ownership="none"> | |
| 83453 | 84416 | <doc xml:space="preserve" | |
| 83454 | 84417 | filename="glib/gstrfuncs.c" | |
| 83455 | - | line="1427">source buffer</doc> | |
| 84418 | + | line="1431">source buffer</doc> | |
| 83456 | 84419 | <type name="utf8" c:type="const gchar*"/> | |
| 83457 | 84420 | </parameter> | |
| 83458 | 84421 | <parameter name="dest_size" transfer-ownership="none"> | |
| 83459 | 84422 | <doc xml:space="preserve" | |
| 83460 | 84423 | filename="glib/gstrfuncs.c" | |
| 83461 | - | line="1428">length of @dest in bytes</doc> | |
| 84424 | + | line="1432">length of @dest in bytes</doc> | |
| 83462 | 84425 | <type name="gsize" c:type="gsize"/> | |
| 83463 | 84426 | </parameter> | |
| 83464 | 84427 | </parameters> | |
| @@ -83469,7 +84432,7 @@ idea.</doc> | |||
| 83469 | 84432 | deprecated-version="2.2"> | |
| 83470 | 84433 | <doc xml:space="preserve" | |
| 83471 | 84434 | filename="glib/gstrfuncs.c" | |
| 83472 | - | line="1940">A case-insensitive string comparison, corresponding to the standard | |
| 84435 | + | line="1944">A case-insensitive string comparison, corresponding to the standard | |
| 83473 | 84436 | `strncasecmp()` function on platforms which support it. It is similar | |
| 83474 | 84437 | to [func@GLib.strcasecmp] except it only compares the first @n characters of | |
| 83475 | 84438 | the strings.</doc> | |
| @@ -83491,7 +84454,7 @@ the strings.</doc> | |||
| 83491 | 84454 | <return-value transfer-ownership="none"> | |
| 83492 | 84455 | <doc xml:space="preserve" | |
| 83493 | 84456 | filename="glib/gstrfuncs.c" | |
| 83494 | - | line="1951">0 if the strings match, a negative value if @s1 < @s2, | |
| 84457 | + | line="1955">0 if the strings match, a negative value if @s1 < @s2, | |
| 83495 | 84458 | or a positive value if @s1 > @s2</doc> | |
| 83496 | 84459 | <type name="gint" c:type="gint"/> | |
| 83497 | 84460 | </return-value> | |
| @@ -83499,19 +84462,19 @@ the strings.</doc> | |||
| 83499 | 84462 | <parameter name="s1" transfer-ownership="none"> | |
| 83500 | 84463 | <doc xml:space="preserve" | |
| 83501 | 84464 | filename="glib/gstrfuncs.c" | |
| 83502 | - | line="1942">string to compare with @s2</doc> | |
| 84465 | + | line="1946">string to compare with @s2</doc> | |
| 83503 | 84466 | <type name="utf8" c:type="const gchar*"/> | |
| 83504 | 84467 | </parameter> | |
| 83505 | 84468 | <parameter name="s2" transfer-ownership="none"> | |
| 83506 | 84469 | <doc xml:space="preserve" | |
| 83507 | 84470 | filename="glib/gstrfuncs.c" | |
| 83508 | - | line="1943">string to compare with @s1</doc> | |
| 84471 | + | line="1947">string to compare with @s1</doc> | |
| 83509 | 84472 | <type name="utf8" c:type="const gchar*"/> | |
| 83510 | 84473 | </parameter> | |
| 83511 | 84474 | <parameter name="n" transfer-ownership="none"> | |
| 83512 | 84475 | <doc xml:space="preserve" | |
| 83513 | 84476 | filename="glib/gstrfuncs.c" | |
| 83514 | - | line="1944">the maximum number of characters to compare</doc> | |
| 84477 | + | line="1948">the maximum number of characters to compare</doc> | |
| 83515 | 84478 | <type name="guint" c:type="guint"/> | |
| 83516 | 84479 | </parameter> | |
| 83517 | 84480 | </parameters> | |
| @@ -83555,25 +84518,25 @@ use [func@GLib.utf8_strncpy] instead.</doc> | |||
| 83555 | 84518 | <function name="strnfill" c:identifier="g_strnfill"> | |
| 83556 | 84519 | <doc xml:space="preserve" | |
| 83557 | 84520 | filename="glib/gstrfuncs.c" | |
| 83558 | - | line="429">Creates a new string @length bytes long filled with @fill_char.</doc> | |
| 84521 | + | line="431">Creates a new string @length bytes long filled with @fill_char.</doc> | |
| 83559 | 84522 | <source-position filename="glib/gstrfuncs.h" line="295"/> | |
| 83560 | 84523 | <return-value transfer-ownership="full"> | |
| 83561 | 84524 | <doc xml:space="preserve" | |
| 83562 | 84525 | filename="glib/gstrfuncs.c" | |
| 83563 | - | line="436">a newly-allocated string filled with @fill_char</doc> | |
| 84526 | + | line="438">a newly-allocated string filled with @fill_char</doc> | |
| 83564 | 84527 | <type name="utf8" c:type="gchar*"/> | |
| 83565 | 84528 | </return-value> | |
| 83566 | 84529 | <parameters> | |
| 83567 | 84530 | <parameter name="length" transfer-ownership="none"> | |
| 83568 | 84531 | <doc xml:space="preserve" | |
| 83569 | 84532 | filename="glib/gstrfuncs.c" | |
| 83570 | - | line="431">the length of the new string</doc> | |
| 84533 | + | line="433">the length of the new string</doc> | |
| 83571 | 84534 | <type name="gsize" c:type="gsize"/> | |
| 83572 | 84535 | </parameter> | |
| 83573 | 84536 | <parameter name="fill_char" transfer-ownership="none"> | |
| 83574 | 84537 | <doc xml:space="preserve" | |
| 83575 | 84538 | filename="glib/gstrfuncs.c" | |
| 83576 | - | line="432">the byte to fill the string with</doc> | |
| 84539 | + | line="434">the byte to fill the string with</doc> | |
| 83577 | 84540 | <type name="gchar" c:type="gchar"/> | |
| 83578 | 84541 | </parameter> | |
| 83579 | 84542 | </parameters> | |
| @@ -83581,7 +84544,7 @@ use [func@GLib.utf8_strncpy] instead.</doc> | |||
| 83581 | 84544 | <function name="strreverse" c:identifier="g_strreverse"> | |
| 83582 | 84545 | <doc xml:space="preserve" | |
| 83583 | 84546 | filename="glib/gstrfuncs.c" | |
| 83584 | - | line="1669">Reverses all of the bytes in a string. For example, | |
| 84547 | + | line="1673">Reverses all of the bytes in a string. For example, | |
| 83585 | 84548 | `g_strreverse ("abcdef")` will result in "fedcba". | |
| 83586 | 84549 | ||
| 83587 | 84550 | Note that `g_strreverse()` doesn't work on UTF-8 strings | |
| @@ -83591,14 +84554,14 @@ containing multibyte characters. For that purpose, use | |||
| 83591 | 84554 | <return-value transfer-ownership="full"> | |
| 83592 | 84555 | <doc xml:space="preserve" | |
| 83593 | 84556 | filename="glib/gstrfuncs.c" | |
| 83594 | - | line="1680">the @string, reversed in place</doc> | |
| 84557 | + | line="1684">the @string, reversed in place</doc> | |
| 83595 | 84558 | <type name="utf8" c:type="gchar*"/> | |
| 83596 | 84559 | </return-value> | |
| 83597 | 84560 | <parameters> | |
| 83598 | 84561 | <parameter name="string" transfer-ownership="none"> | |
| 83599 | 84562 | <doc xml:space="preserve" | |
| 83600 | 84563 | filename="glib/gstrfuncs.c" | |
| 83601 | - | line="1671">the string to reverse</doc> | |
| 84564 | + | line="1675">the string to reverse</doc> | |
| 83602 | 84565 | <type name="utf8" c:type="gchar*"/> | |
| 83603 | 84566 | </parameter> | |
| 83604 | 84567 | </parameters> | |
| @@ -83606,7 +84569,7 @@ containing multibyte characters. For that purpose, use | |||
| 83606 | 84569 | <function name="strrstr" c:identifier="g_strrstr"> | |
| 83607 | 84570 | <doc xml:space="preserve" | |
| 83608 | 84571 | filename="glib/gstrfuncs.c" | |
| 83609 | - | line="2790">Searches the string @haystack for the last occurrence | |
| 84572 | + | line="2794">Searches the string @haystack for the last occurrence | |
| 83610 | 84573 | of the string @needle. | |
| 83611 | 84574 | ||
| 83612 | 84575 | The fact that this function returns `gchar *` rather than `const gchar *` is | |
| @@ -83615,7 +84578,7 @@ a historical artifact.</doc> | |||
| 83615 | 84578 | <return-value transfer-ownership="none" nullable="1"> | |
| 83616 | 84579 | <doc xml:space="preserve" | |
| 83617 | 84580 | filename="glib/gstrfuncs.c" | |
| 83618 | - | line="2801">a pointer to the found occurrence, or | |
| 84581 | + | line="2805">a pointer to the found occurrence, or | |
| 83619 | 84582 | `NULL` if not found</doc> | |
| 83620 | 84583 | <type name="utf8" c:type="gchar*"/> | |
| 83621 | 84584 | </return-value> | |
| @@ -83623,13 +84586,13 @@ a historical artifact.</doc> | |||
| 83623 | 84586 | <parameter name="haystack" transfer-ownership="none"> | |
| 83624 | 84587 | <doc xml:space="preserve" | |
| 83625 | 84588 | filename="glib/gstrfuncs.c" | |
| 83626 | - | line="2792">a string to search in</doc> | |
| 84589 | + | line="2796">a string to search in</doc> | |
| 83627 | 84590 | <type name="utf8" c:type="const gchar*"/> | |
| 83628 | 84591 | </parameter> | |
| 83629 | 84592 | <parameter name="needle" transfer-ownership="none"> | |
| 83630 | 84593 | <doc xml:space="preserve" | |
| 83631 | 84594 | filename="glib/gstrfuncs.c" | |
| 83632 | - | line="2793">the string to search for</doc> | |
| 84595 | + | line="2797">the string to search for</doc> | |
| 83633 | 84596 | <type name="utf8" c:type="const gchar*"/> | |
| 83634 | 84597 | </parameter> | |
| 83635 | 84598 | </parameters> | |
| @@ -83637,7 +84600,7 @@ a historical artifact.</doc> | |||
| 83637 | 84600 | <function name="strrstr_len" c:identifier="g_strrstr_len"> | |
| 83638 | 84601 | <doc xml:space="preserve" | |
| 83639 | 84602 | filename="glib/gstrfuncs.c" | |
| 83640 | - | line="2842">Searches the string @haystack for the last occurrence | |
| 84603 | + | line="2846">Searches the string @haystack for the last occurrence | |
| 83641 | 84604 | of the string @needle, limiting the length of the search | |
| 83642 | 84605 | to @haystack_len. | |
| 83643 | 84606 | ||
| @@ -83647,7 +84610,7 @@ a historical artifact.</doc> | |||
| 83647 | 84610 | <return-value transfer-ownership="none" nullable="1"> | |
| 83648 | 84611 | <doc xml:space="preserve" | |
| 83649 | 84612 | filename="glib/gstrfuncs.c" | |
| 83650 | - | line="2856">a pointer to the found occurrence, or | |
| 84613 | + | line="2860">a pointer to the found occurrence, or | |
| 83651 | 84614 | `NULL` if not found</doc> | |
| 83652 | 84615 | <type name="utf8" c:type="gchar*"/> | |
| 83653 | 84616 | </return-value> | |
| @@ -83655,20 +84618,20 @@ a historical artifact.</doc> | |||
| 83655 | 84618 | <parameter name="haystack" transfer-ownership="none"> | |
| 83656 | 84619 | <doc xml:space="preserve" | |
| 83657 | 84620 | filename="glib/gstrfuncs.c" | |
| 83658 | - | line="2844">a string to search in</doc> | |
| 84621 | + | line="2848">a string to search in</doc> | |
| 83659 | 84622 | <type name="utf8" c:type="const gchar*"/> | |
| 83660 | 84623 | </parameter> | |
| 83661 | 84624 | <parameter name="haystack_len" transfer-ownership="none"> | |
| 83662 | 84625 | <doc xml:space="preserve" | |
| 83663 | 84626 | filename="glib/gstrfuncs.c" | |
| 83664 | - | line="2845">the maximum length of @haystack in bytes. A length of `-1` | |
| 84627 | + | line="2849">the maximum length of @haystack in bytes. A length of `-1` | |
| 83665 | 84628 | can be used to mean "search the entire string", like [func@GLib.strrstr]</doc> | |
| 83666 | 84629 | <type name="gssize" c:type="gssize"/> | |
| 83667 | 84630 | </parameter> | |
| 83668 | 84631 | <parameter name="needle" transfer-ownership="none"> | |
| 83669 | 84632 | <doc xml:space="preserve" | |
| 83670 | 84633 | filename="glib/gstrfuncs.c" | |
| 83671 | - | line="2847">the string to search for</doc> | |
| 84634 | + | line="2851">the string to search for</doc> | |
| 83672 | 84635 | <type name="utf8" c:type="const gchar*"/> | |
| 83673 | 84636 | </parameter> | |
| 83674 | 84637 | </parameters> | |
| @@ -83676,7 +84639,7 @@ a historical artifact.</doc> | |||
| 83676 | 84639 | <function name="strsignal" c:identifier="g_strsignal"> | |
| 83677 | 84640 | <doc xml:space="preserve" | |
| 83678 | 84641 | filename="glib/gstrfuncs.c" | |
| 83679 | - | line="1357">Returns a string describing the given signal, e.g. "Segmentation fault". | |
| 84642 | + | line="1361">Returns a string describing the given signal, e.g. "Segmentation fault". | |
| 83680 | 84643 | If the signal is unknown, it returns “unknown signal (<signum\>)”. | |
| 83681 | 84644 | ||
| 83682 | 84645 | You should use this function in preference to `strsignal()`, because it | |
| @@ -83686,14 +84649,14 @@ the `strsignal()` function.</doc> | |||
| 83686 | 84649 | <return-value transfer-ownership="none"> | |
| 83687 | 84650 | <doc xml:space="preserve" | |
| 83688 | 84651 | filename="glib/gstrfuncs.c" | |
| 83689 | - | line="1368">the string describing the signal</doc> | |
| 84652 | + | line="1372">the string describing the signal</doc> | |
| 83690 | 84653 | <type name="utf8" c:type="const gchar*"/> | |
| 83691 | 84654 | </return-value> | |
| 83692 | 84655 | <parameters> | |
| 83693 | 84656 | <parameter name="signum" transfer-ownership="none"> | |
| 83694 | 84657 | <doc xml:space="preserve" | |
| 83695 | 84658 | filename="glib/gstrfuncs.c" | |
| 83696 | - | line="1359">the signal number. See the `signal` documentation</doc> | |
| 84659 | + | line="1363">the signal number. See the `signal` documentation</doc> | |
| 83697 | 84660 | <type name="gint" c:type="gint"/> | |
| 83698 | 84661 | </parameter> | |
| 83699 | 84662 | </parameters> | |
| @@ -83701,7 +84664,7 @@ the `strsignal()` function.</doc> | |||
| 83701 | 84664 | <function name="strsplit" c:identifier="g_strsplit"> | |
| 83702 | 84665 | <doc xml:space="preserve" | |
| 83703 | 84666 | filename="glib/gstrfuncs.c" | |
| 83704 | - | line="2362">Splits a string into a maximum of @max_tokens pieces, using the given | |
| 84667 | + | line="2366">Splits a string into a maximum of @max_tokens pieces, using the given | |
| 83705 | 84668 | @delimiter. If @max_tokens is reached, the remainder of @string is | |
| 83706 | 84669 | appended to the last token. | |
| 83707 | 84670 | ||
| @@ -83718,7 +84681,7 @@ before calling `g_strsplit()`.</doc> | |||
| 83718 | 84681 | <return-value transfer-ownership="full"> | |
| 83719 | 84682 | <doc xml:space="preserve" | |
| 83720 | 84683 | filename="glib/gstrfuncs.c" | |
| 83721 | - | line="2385">a newly-allocated array of strings, freed with | |
| 84684 | + | line="2389">a newly-allocated array of strings, freed with | |
| 83722 | 84685 | [func@GLib.strfreev]</doc> | |
| 83723 | 84686 | <array c:type="gchar**"> | |
| 83724 | 84687 | <type name="utf8"/> | |
| @@ -83728,13 +84691,13 @@ before calling `g_strsplit()`.</doc> | |||
| 83728 | 84691 | <parameter name="string" transfer-ownership="none"> | |
| 83729 | 84692 | <doc xml:space="preserve" | |
| 83730 | 84693 | filename="glib/gstrfuncs.c" | |
| 83731 | - | line="2364">a string to split</doc> | |
| 84694 | + | line="2368">a string to split</doc> | |
| 83732 | 84695 | <type name="utf8" c:type="const gchar*"/> | |
| 83733 | 84696 | </parameter> | |
| 83734 | 84697 | <parameter name="delimiter" transfer-ownership="none"> | |
| 83735 | 84698 | <doc xml:space="preserve" | |
| 83736 | 84699 | filename="glib/gstrfuncs.c" | |
| 83737 | - | line="2365">a string which specifies the places at which to split | |
| 84700 | + | line="2369">a string which specifies the places at which to split | |
| 83738 | 84701 | the string. The delimiter is not included in any of the resulting | |
| 83739 | 84702 | strings, unless @max_tokens is reached.</doc> | |
| 83740 | 84703 | <type name="utf8" c:type="const gchar*"/> | |
| @@ -83742,7 +84705,7 @@ before calling `g_strsplit()`.</doc> | |||
| 83742 | 84705 | <parameter name="max_tokens" transfer-ownership="none"> | |
| 83743 | 84706 | <doc xml:space="preserve" | |
| 83744 | 84707 | filename="glib/gstrfuncs.c" | |
| 83745 | - | line="2368">the maximum number of pieces to split @string into | |
| 84708 | + | line="2372">the maximum number of pieces to split @string into | |
| 83746 | 84709 | If this is less than 1, the string is split completely</doc> | |
| 83747 | 84710 | <type name="gint" c:type="gint"/> | |
| 83748 | 84711 | </parameter> | |
| @@ -83751,7 +84714,7 @@ before calling `g_strsplit()`.</doc> | |||
| 83751 | 84714 | <function name="strsplit_set" c:identifier="g_strsplit_set" version="2.4"> | |
| 83752 | 84715 | <doc xml:space="preserve" | |
| 83753 | 84716 | filename="glib/gstrfuncs.c" | |
| 83754 | - | line="2435">Splits @string into a number of tokens not containing any of the characters | |
| 84717 | + | line="2439">Splits @string into a number of tokens not containing any of the characters | |
| 83755 | 84718 | in @delimiters. A token is the (possibly empty) longest string that does not | |
| 83756 | 84719 | contain any of the characters in @delimiters. If @max_tokens is reached, the | |
| 83757 | 84720 | remainder is appended to the last token. | |
| @@ -83775,7 +84738,7 @@ to delimit UTF-8 strings for anything but ASCII characters.</doc> | |||
| 83775 | 84738 | <return-value transfer-ownership="full"> | |
| 83776 | 84739 | <doc xml:space="preserve" | |
| 83777 | 84740 | filename="glib/gstrfuncs.c" | |
| 83778 | - | line="2464">a newly-allocated array of strings. Use | |
| 84741 | + | line="2468">a newly-allocated array of strings. Use | |
| 83779 | 84742 | [func@GLib.strfreev] to free it.</doc> | |
| 83780 | 84743 | <array c:type="gchar**"> | |
| 83781 | 84744 | <type name="utf8"/> | |
| @@ -83785,20 +84748,20 @@ to delimit UTF-8 strings for anything but ASCII characters.</doc> | |||
| 83785 | 84748 | <parameter name="string" transfer-ownership="none"> | |
| 83786 | 84749 | <doc xml:space="preserve" | |
| 83787 | 84750 | filename="glib/gstrfuncs.c" | |
| 83788 | - | line="2437">a string to split</doc> | |
| 84751 | + | line="2441">a string to split</doc> | |
| 83789 | 84752 | <type name="utf8" c:type="const gchar*"/> | |
| 83790 | 84753 | </parameter> | |
| 83791 | 84754 | <parameter name="delimiters" transfer-ownership="none"> | |
| 83792 | 84755 | <doc xml:space="preserve" | |
| 83793 | 84756 | filename="glib/gstrfuncs.c" | |
| 83794 | - | line="2438">a string containing characters that are used to split the | |
| 84757 | + | line="2442">a string containing characters that are used to split the | |
| 83795 | 84758 | string. Can be empty, which will result in no string splitting</doc> | |
| 83796 | 84759 | <type name="utf8" c:type="const gchar*"/> | |
| 83797 | 84760 | </parameter> | |
| 83798 | 84761 | <parameter name="max_tokens" transfer-ownership="none"> | |
| 83799 | 84762 | <doc xml:space="preserve" | |
| 83800 | 84763 | filename="glib/gstrfuncs.c" | |
| 83801 | - | line="2440">the maximum number of tokens to split @string into. | |
| 84764 | + | line="2444">the maximum number of tokens to split @string into. | |
| 83802 | 84765 | If this is less than 1, the string is split completely</doc> | |
| 83803 | 84766 | <type name="gint" c:type="gint"/> | |
| 83804 | 84767 | </parameter> | |
| @@ -83807,7 +84770,7 @@ to delimit UTF-8 strings for anything but ASCII characters.</doc> | |||
| 83807 | 84770 | <function name="strstr_len" c:identifier="g_strstr_len"> | |
| 83808 | 84771 | <doc xml:space="preserve" | |
| 83809 | 84772 | filename="glib/gstrfuncs.c" | |
| 83810 | - | line="2728">Searches the string @haystack for the first occurrence | |
| 84773 | + | line="2732">Searches the string @haystack for the first occurrence | |
| 83811 | 84774 | of the string @needle, limiting the length of the search | |
| 83812 | 84775 | to @haystack_len or a nul terminator byte (whichever is reached first). | |
| 83813 | 84776 | ||
| @@ -83820,7 +84783,7 @@ a historical artifact.</doc> | |||
| 83820 | 84783 | <return-value transfer-ownership="none" nullable="1"> | |
| 83821 | 84784 | <doc xml:space="preserve" | |
| 83822 | 84785 | filename="glib/gstrfuncs.c" | |
| 83823 | - | line="2745">a pointer to the found occurrence, or | |
| 84786 | + | line="2749">a pointer to the found occurrence, or | |
| 83824 | 84787 | `NULL` if not found</doc> | |
| 83825 | 84788 | <type name="utf8" c:type="gchar*"/> | |
| 83826 | 84789 | </return-value> | |
| @@ -83828,20 +84791,20 @@ a historical artifact.</doc> | |||
| 83828 | 84791 | <parameter name="haystack" transfer-ownership="none"> | |
| 83829 | 84792 | <doc xml:space="preserve" | |
| 83830 | 84793 | filename="glib/gstrfuncs.c" | |
| 83831 | - | line="2730">a string to search in</doc> | |
| 84794 | + | line="2734">a string to search in</doc> | |
| 83832 | 84795 | <type name="utf8" c:type="const gchar*"/> | |
| 83833 | 84796 | </parameter> | |
| 83834 | 84797 | <parameter name="haystack_len" transfer-ownership="none"> | |
| 83835 | 84798 | <doc xml:space="preserve" | |
| 83836 | 84799 | filename="glib/gstrfuncs.c" | |
| 83837 | - | line="2731">the maximum length of @haystack in bytes, or `-1` to | |
| 84800 | + | line="2735">the maximum length of @haystack in bytes, or `-1` to | |
| 83838 | 84801 | search it entirely</doc> | |
| 83839 | 84802 | <type name="gssize" c:type="gssize"/> | |
| 83840 | 84803 | </parameter> | |
| 83841 | 84804 | <parameter name="needle" transfer-ownership="none"> | |
| 83842 | 84805 | <doc xml:space="preserve" | |
| 83843 | 84806 | filename="glib/gstrfuncs.c" | |
| 83844 | - | line="2733">the string to search for</doc> | |
| 84807 | + | line="2737">the string to search for</doc> | |
| 83845 | 84808 | <type name="utf8" c:type="const gchar*"/> | |
| 83846 | 84809 | </parameter> | |
| 83847 | 84810 | </parameters> | |
| @@ -83866,7 +84829,7 @@ See [func@GLib.strchomp] and [func@GLib.strchug].</doc> | |||
| 83866 | 84829 | <function name="strtod" c:identifier="g_strtod"> | |
| 83867 | 84830 | <doc xml:space="preserve" | |
| 83868 | 84831 | filename="glib/gstrfuncs.c" | |
| 83869 | - | line="601">Converts a string to a floating point value. | |
| 84832 | + | line="605">Converts a string to a floating point value. | |
| 83870 | 84833 | ||
| 83871 | 84834 | It calls the standard `strtod()` function to handle the conversion, but | |
| 83872 | 84835 | if the string is not completely converted it attempts the conversion | |
| @@ -83882,14 +84845,14 @@ point in some locales, causing unexpected results.</doc> | |||
| 83882 | 84845 | <return-value transfer-ownership="none"> | |
| 83883 | 84846 | <doc xml:space="preserve" | |
| 83884 | 84847 | filename="glib/gstrfuncs.c" | |
| 83885 | - | line="620">the converted value</doc> | |
| 84848 | + | line="624">the converted value</doc> | |
| 83886 | 84849 | <type name="gdouble" c:type="gdouble"/> | |
| 83887 | 84850 | </return-value> | |
| 83888 | 84851 | <parameters> | |
| 83889 | 84852 | <parameter name="nptr" transfer-ownership="none"> | |
| 83890 | 84853 | <doc xml:space="preserve" | |
| 83891 | 84854 | filename="glib/gstrfuncs.c" | |
| 83892 | - | line="603">the string to convert to a numeric value</doc> | |
| 84855 | + | line="607">the string to convert to a numeric value</doc> | |
| 83893 | 84856 | <type name="utf8" c:type="const gchar*"/> | |
| 83894 | 84857 | </parameter> | |
| 83895 | 84858 | <parameter name="endptr" | |
| @@ -83900,7 +84863,7 @@ point in some locales, causing unexpected results.</doc> | |||
| 83900 | 84863 | allow-none="1"> | |
| 83901 | 84864 | <doc xml:space="preserve" | |
| 83902 | 84865 | filename="glib/gstrfuncs.c" | |
| 83903 | - | line="604">if non-`NULL`, it returns the | |
| 84866 | + | line="608">if non-`NULL`, it returns the | |
| 83904 | 84867 | character after the last character used in the conversion</doc> | |
| 83905 | 84868 | <type name="utf8" c:type="gchar**"/> | |
| 83906 | 84869 | </parameter> | |
| @@ -83912,7 +84875,7 @@ point in some locales, causing unexpected results.</doc> | |||
| 83912 | 84875 | deprecated-version="2.2"> | |
| 83913 | 84876 | <doc xml:space="preserve" | |
| 83914 | 84877 | filename="glib/gstrfuncs.c" | |
| 83915 | - | line="1638">Converts a string to upper case.</doc> | |
| 84878 | + | line="1642">Converts a string to upper case.</doc> | |
| 83916 | 84879 | <doc-deprecated xml:space="preserve">This function is totally broken for the reasons discussed | |
| 83917 | 84880 | in the [func@GLib.strncasecmp] docs — use [func@GLib.ascii_strup] or | |
| 83918 | 84881 | [func@GLib.utf8_strup] instead.</doc-deprecated> | |
| @@ -83920,14 +84883,14 @@ point in some locales, causing unexpected results.</doc> | |||
| 83920 | 84883 | <return-value transfer-ownership="full"> | |
| 83921 | 84884 | <doc xml:space="preserve" | |
| 83922 | 84885 | filename="glib/gstrfuncs.c" | |
| 83923 | - | line="1644">the string</doc> | |
| 84886 | + | line="1648">the string</doc> | |
| 83924 | 84887 | <type name="utf8" c:type="gchar*"/> | |
| 83925 | 84888 | </return-value> | |
| 83926 | 84889 | <parameters> | |
| 83927 | 84890 | <parameter name="string" transfer-ownership="none"> | |
| 83928 | 84891 | <doc xml:space="preserve" | |
| 83929 | 84892 | filename="glib/gstrfuncs.c" | |
| 83930 | - | line="1640">the string to convert</doc> | |
| 84893 | + | line="1644">the string to convert</doc> | |
| 83931 | 84894 | <type name="utf8" c:type="gchar*"/> | |
| 83932 | 84895 | </parameter> | |
| 83933 | 84896 | </parameters> | |
| @@ -83937,20 +84900,20 @@ point in some locales, causing unexpected results.</doc> | |||
| 83937 | 84900 | version="2.44"> | |
| 83938 | 84901 | <doc xml:space="preserve" | |
| 83939 | 84902 | filename="glib/gstrfuncs.c" | |
| 83940 | - | line="3221">Checks if an array of strings contains the string @str according to | |
| 84903 | + | line="3225">Checks if an array of strings contains the string @str according to | |
| 83941 | 84904 | [func@GLib.str_equal]. @strv must not be `NULL`.</doc> | |
| 83942 | 84905 | <source-position filename="glib/gstrfuncs.h" line="392"/> | |
| 83943 | 84906 | <return-value transfer-ownership="none"> | |
| 83944 | 84907 | <doc xml:space="preserve" | |
| 83945 | 84908 | filename="glib/gstrfuncs.c" | |
| 83946 | - | line="3229">true if @str is an element of @strv</doc> | |
| 84909 | + | line="3233">true if @str is an element of @strv</doc> | |
| 83947 | 84910 | <type name="gboolean" c:type="gboolean"/> | |
| 83948 | 84911 | </return-value> | |
| 83949 | 84912 | <parameters> | |
| 83950 | 84913 | <parameter name="strv" transfer-ownership="none"> | |
| 83951 | 84914 | <doc xml:space="preserve" | |
| 83952 | 84915 | filename="glib/gstrfuncs.c" | |
| 83953 | - | line="3223">an array of strings to search in</doc> | |
| 84916 | + | line="3227">an array of strings to search in</doc> | |
| 83954 | 84917 | <array c:type="const gchar* const*"> | |
| 83955 | 84918 | <type name="utf8" c:type="gchar*"/> | |
| 83956 | 84919 | </array> | |
| @@ -83958,7 +84921,7 @@ point in some locales, causing unexpected results.</doc> | |||
| 83958 | 84921 | <parameter name="str" transfer-ownership="none"> | |
| 83959 | 84922 | <doc xml:space="preserve" | |
| 83960 | 84923 | filename="glib/gstrfuncs.c" | |
| 83961 | - | line="3224">the string to search for</doc> | |
| 84924 | + | line="3228">the string to search for</doc> | |
| 83962 | 84925 | <type name="utf8" c:type="const gchar*"/> | |
| 83963 | 84926 | </parameter> | |
| 83964 | 84927 | </parameters> | |
| @@ -83966,7 +84929,7 @@ point in some locales, causing unexpected results.</doc> | |||
| 83966 | 84929 | <function name="strv_equal" c:identifier="g_strv_equal" version="2.60"> | |
| 83967 | 84930 | <doc xml:space="preserve" | |
| 83968 | 84931 | filename="glib/gstrfuncs.c" | |
| 83969 | - | line="3249">Checks if two arrays of strings contain exactly the same elements in | |
| 84932 | + | line="3253">Checks if two arrays of strings contain exactly the same elements in | |
| 83970 | 84933 | exactly the same order. | |
| 83971 | 84934 | ||
| 83972 | 84935 | Elements are compared using [func@GLib.str_equal]. To match independently | |
| @@ -83979,14 +84942,14 @@ Two empty arrays are considered equal. Neither @strv1 nor @strv2 may be | |||
| 83979 | 84942 | <return-value transfer-ownership="none"> | |
| 83980 | 84943 | <doc xml:space="preserve" | |
| 83981 | 84944 | filename="glib/gstrfuncs.c" | |
| 83982 | - | line="3264">true if @strv1 and @strv2 are equal</doc> | |
| 84945 | + | line="3268">true if @strv1 and @strv2 are equal</doc> | |
| 83983 | 84946 | <type name="gboolean" c:type="gboolean"/> | |
| 83984 | 84947 | </return-value> | |
| 83985 | 84948 | <parameters> | |
| 83986 | 84949 | <parameter name="strv1" transfer-ownership="none"> | |
| 83987 | 84950 | <doc xml:space="preserve" | |
| 83988 | 84951 | filename="glib/gstrfuncs.c" | |
| 83989 | - | line="3251">an array of strings to compare to @strv2</doc> | |
| 84952 | + | line="3255">an array of strings to compare to @strv2</doc> | |
| 83990 | 84953 | <array c:type="const gchar* const*"> | |
| 83991 | 84954 | <type name="utf8" c:type="gchar*"/> | |
| 83992 | 84955 | </array> | |
| @@ -83994,7 +84957,7 @@ Two empty arrays are considered equal. Neither @strv1 nor @strv2 may be | |||
| 83994 | 84957 | <parameter name="strv2" transfer-ownership="none"> | |
| 83995 | 84958 | <doc xml:space="preserve" | |
| 83996 | 84959 | filename="glib/gstrfuncs.c" | |
| 83997 | - | line="3252">an array of strings to compare to @strv1</doc> | |
| 84960 | + | line="3256">an array of strings to compare to @strv1</doc> | |
| 83998 | 84961 | <array c:type="const gchar* const*"> | |
| 83999 | 84962 | <type name="utf8" c:type="gchar*"/> | |
| 84000 | 84963 | </array> | |
| @@ -84010,19 +84973,19 @@ Two empty arrays are considered equal. Neither @strv1 nor @strv2 may be | |||
| 84010 | 84973 | <function name="strv_length" c:identifier="g_strv_length" version="2.6"> | |
| 84011 | 84974 | <doc xml:space="preserve" | |
| 84012 | 84975 | filename="glib/gstrfuncs.c" | |
| 84013 | - | line="2950">Returns the length of an array of strings. @str_array must not be `NULL`.</doc> | |
| 84976 | + | line="2954">Returns the length of an array of strings. @str_array must not be `NULL`.</doc> | |
| 84014 | 84977 | <source-position filename="glib/gstrfuncs.h" line="371"/> | |
| 84015 | 84978 | <return-value transfer-ownership="none"> | |
| 84016 | 84979 | <doc xml:space="preserve" | |
| 84017 | 84980 | filename="glib/gstrfuncs.c" | |
| 84018 | - | line="2956">length of @str_array</doc> | |
| 84981 | + | line="2960">length of @str_array</doc> | |
| 84019 | 84982 | <type name="guint" c:type="guint"/> | |
| 84020 | 84983 | </return-value> | |
| 84021 | 84984 | <parameters> | |
| 84022 | 84985 | <parameter name="str_array" transfer-ownership="none"> | |
| 84023 | 84986 | <doc xml:space="preserve" | |
| 84024 | 84987 | filename="glib/gstrfuncs.c" | |
| 84025 | - | line="2952">an array of strings</doc> | |
| 84988 | + | line="2956">an array of strings</doc> | |
| 84026 | 84989 | <array c:type="gchar**"> | |
| 84027 | 84990 | <type name="utf8" c:type="gchar*"/> | |
| 84028 | 84991 | </array> | |
| @@ -84135,7 +85098,7 @@ and it is recommended to do so even if it isn’t.</doc> | |||
| 84135 | 85098 | filename="glib/gtestutils.c" | |
| 84136 | 85099 | line="2868">Creates a new test case. | |
| 84137 | 85100 | ||
| 84138 | - | In constract to [func@GLib.test_add_data_func], this function | |
| 85101 | + | In contrast to [func@GLib.test_add_data_func], this function | |
| 84139 | 85102 | is freeing @test_data after the test run is complete.</doc> | |
| 84140 | 85103 | <source-position filename="glib/gtestutils.h" line="408"/> | |
| 84141 | 85104 | <return-value transfer-ownership="none"> | |
| @@ -84251,7 +85214,7 @@ it is recommended to do so even if it isn’t.</doc> | |||
| 84251 | 85214 | introspectable="0"> | |
| 84252 | 85215 | <doc xml:space="preserve" | |
| 84253 | 85216 | filename="glib/gmessages.c" | |
| 84254 | - | line="3227">Asserts that all messages previously indicated via | |
| 85217 | + | line="3313">Asserts that all messages previously indicated via | |
| 84255 | 85218 | [func@GLib.test_expect_message] have been seen and suppressed. | |
| 84256 | 85219 | ||
| 84257 | 85220 | This API may only be used with the old logging API ([func@GLib.log] without | |
| @@ -84515,7 +85478,7 @@ crash collection infrastructure such as systemd-coredump or abrt.</doc> | |||
| 84515 | 85478 | version="2.34"> | |
| 84516 | 85479 | <doc xml:space="preserve" | |
| 84517 | 85480 | filename="glib/gmessages.c" | |
| 84518 | - | line="3141">Indicates that a message with the given @log_domain and @log_level, | |
| 85481 | + | line="3227">Indicates that a message with the given @log_domain and @log_level, | |
| 84519 | 85482 | with text matching @pattern, is expected to be logged. | |
| 84520 | 85483 | ||
| 84521 | 85484 | When this message is logged, it will not be printed, and the test case will | |
| @@ -84561,19 +85524,19 @@ expected via [func@GLib.test_expect_message] then they will be ignored.</doc> | |||
| 84561 | 85524 | allow-none="1"> | |
| 84562 | 85525 | <doc xml:space="preserve" | |
| 84563 | 85526 | filename="glib/gmessages.c" | |
| 84564 | - | line="3143">the log domain of the message</doc> | |
| 85527 | + | line="3229">the log domain of the message</doc> | |
| 84565 | 85528 | <type name="utf8" c:type="const gchar*"/> | |
| 84566 | 85529 | </parameter> | |
| 84567 | 85530 | <parameter name="log_level" transfer-ownership="none"> | |
| 84568 | 85531 | <doc xml:space="preserve" | |
| 84569 | 85532 | filename="glib/gmessages.c" | |
| 84570 | - | line="3144">the log level of the message</doc> | |
| 85533 | + | line="3230">the log level of the message</doc> | |
| 84571 | 85534 | <type name="LogLevelFlags" c:type="GLogLevelFlags"/> | |
| 84572 | 85535 | </parameter> | |
| 84573 | 85536 | <parameter name="pattern" transfer-ownership="none"> | |
| 84574 | 85537 | <doc xml:space="preserve" | |
| 84575 | 85538 | filename="glib/gmessages.c" | |
| 84576 | - | line="3145">a glob-style pattern (see [type@GLib.PatternSpec])</doc> | |
| 85539 | + | line="3231">a glob-style pattern (see [type@GLib.PatternSpec])</doc> | |
| 84577 | 85540 | <type name="utf8" c:type="const gchar*"/> | |
| 84578 | 85541 | </parameter> | |
| 84579 | 85542 | </parameters> | |
| @@ -84925,7 +85888,7 @@ when compiled with `G_DISABLE_ASSERT`. Ensure your tests are compiled without | |||
| 84925 | 85888 | introspectable="0"> | |
| 84926 | 85889 | <doc xml:space="preserve" | |
| 84927 | 85890 | filename="glib/gmessages.c" | |
| 84928 | - | line="814">Installs a non-error fatal log handler which can be | |
| 85891 | + | line="867">Installs a non-error fatal log handler which can be | |
| 84929 | 85892 | used to decide whether log messages which are counted | |
| 84930 | 85893 | as fatal abort the program. | |
| 84931 | 85894 | ||
| @@ -84954,7 +85917,7 @@ writer function using [func@GLib.log_set_writer_func].See | |||
| 84954 | 85917 | <parameter name="log_func" transfer-ownership="none" closure="1"> | |
| 84955 | 85918 | <doc xml:space="preserve" | |
| 84956 | 85919 | filename="glib/gmessages.c" | |
| 84957 | - | line="816">the log handler function.</doc> | |
| 85920 | + | line="869">the log handler function.</doc> | |
| 84958 | 85921 | <type name="TestLogFatalFunc" c:type="GTestLogFatalFunc"/> | |
| 84959 | 85922 | </parameter> | |
| 84960 | 85923 | <parameter name="user_data" | |
| @@ -84963,7 +85926,7 @@ writer function using [func@GLib.log_set_writer_func].See | |||
| 84963 | 85926 | allow-none="1"> | |
| 84964 | 85927 | <doc xml:space="preserve" | |
| 84965 | 85928 | filename="glib/gmessages.c" | |
| 84966 | - | line="817">data passed to the log handler.</doc> | |
| 85929 | + | line="870">data passed to the log handler.</doc> | |
| 84967 | 85930 | <type name="gpointer" c:type="gpointer"/> | |
| 84968 | 85931 | </parameter> | |
| 84969 | 85932 | </parameters> | |
| @@ -85929,7 +86892,7 @@ abort with an error message. | |||
| 85929 | 86892 | } | |
| 85930 | 86893 | ||
| 85931 | 86894 | // Reruns this same test in a subprocess | |
| 85932 | - | g_autoptr(GStrv) envp = g_get_environ (); | |
| 86895 | + | g_auto(GStrv) envp = g_get_environ (); | |
| 85933 | 86896 | envp = g_environ_setenv (g_steal_pointer (&envp), "USER", "charlie", TRUE); | |
| 85934 | 86897 | g_test_trap_subprocess_with_envp (NULL, envp, 0, G_TEST_SUBPROCESS_DEFAULT); | |
| 85935 | 86898 | g_test_trap_assert_passed (); | |
| @@ -86312,7 +87275,7 @@ anymore and the @vtable parameter is ignored and you should pass %NULL. | |||
| 86312 | 87275 | version="2.10"> | |
| 86313 | 87276 | <doc xml:space="preserve" | |
| 86314 | 87277 | filename="glib/gthreadpool.c" | |
| 86315 | - | line="1191">This function will return the maximum @interval that a | |
| 87278 | + | line="1203">This function will return the maximum @interval that a | |
| 86316 | 87279 | thread will wait in the thread pool for new tasks before | |
| 86317 | 87280 | being stopped. | |
| 86318 | 87281 | ||
| @@ -86322,7 +87285,7 @@ pool for new work are not stopped.</doc> | |||
| 86322 | 87285 | <return-value transfer-ownership="none"> | |
| 86323 | 87286 | <doc xml:space="preserve" | |
| 86324 | 87287 | filename="glib/gthreadpool.c" | |
| 86325 | - | line="1201">the maximum @interval (milliseconds) to wait | |
| 87288 | + | line="1213">the maximum @interval (milliseconds) to wait | |
| 86326 | 87289 | for new tasks in the thread pool before stopping the | |
| 86327 | 87290 | thread</doc> | |
| 86328 | 87291 | <type name="guint" c:type="guint"/> | |
| @@ -86333,12 +87296,12 @@ pool for new work are not stopped.</doc> | |||
| 86333 | 87296 | moved-to="ThreadPool.get_max_unused_threads"> | |
| 86334 | 87297 | <doc xml:space="preserve" | |
| 86335 | 87298 | filename="glib/gthreadpool.c" | |
| 86336 | - | line="1028">Returns the maximal allowed number of unused threads.</doc> | |
| 87299 | + | line="1040">Returns the maximal allowed number of unused threads.</doc> | |
| 86337 | 87300 | <source-position filename="glib/gthreadpool.h" line="93"/> | |
| 86338 | 87301 | <return-value transfer-ownership="none"> | |
| 86339 | 87302 | <doc xml:space="preserve" | |
| 86340 | 87303 | filename="glib/gthreadpool.c" | |
| 86341 | - | line="1033">the maximal number of unused threads</doc> | |
| 87304 | + | line="1045">the maximal number of unused threads</doc> | |
| 86342 | 87305 | <type name="gint" c:type="gint"/> | |
| 86343 | 87306 | </return-value> | |
| 86344 | 87307 | </function> | |
| @@ -86347,12 +87310,12 @@ pool for new work are not stopped.</doc> | |||
| 86347 | 87310 | moved-to="ThreadPool.get_num_unused_threads"> | |
| 86348 | 87311 | <doc xml:space="preserve" | |
| 86349 | 87312 | filename="glib/gthreadpool.c" | |
| 86350 | - | line="1041">Returns the number of currently unused threads.</doc> | |
| 87313 | + | line="1053">Returns the number of currently unused threads.</doc> | |
| 86351 | 87314 | <source-position filename="glib/gthreadpool.h" line="95"/> | |
| 86352 | 87315 | <return-value transfer-ownership="none"> | |
| 86353 | 87316 | <doc xml:space="preserve" | |
| 86354 | 87317 | filename="glib/gthreadpool.c" | |
| 86355 | - | line="1046">the number of currently unused threads</doc> | |
| 87318 | + | line="1058">the number of currently unused threads</doc> | |
| 86356 | 87319 | <type name="guint" c:type="guint"/> | |
| 86357 | 87320 | </return-value> | |
| 86358 | 87321 | </function> | |
| @@ -86362,7 +87325,7 @@ pool for new work are not stopped.</doc> | |||
| 86362 | 87325 | version="2.10"> | |
| 86363 | 87326 | <doc xml:space="preserve" | |
| 86364 | 87327 | filename="glib/gthreadpool.c" | |
| 86365 | - | line="1150">This function will set the maximum @interval that a thread | |
| 87328 | + | line="1162">This function will set the maximum @interval that a thread | |
| 86366 | 87329 | waiting in the pool for new tasks can be idle for before | |
| 86367 | 87330 | being stopped. This function is similar to calling | |
| 86368 | 87331 | g_thread_pool_stop_unused_threads() on a regular timeout, | |
| @@ -86379,7 +87342,7 @@ The default value is 15000 (15 seconds).</doc> | |||
| 86379 | 87342 | <parameter name="interval" transfer-ownership="none"> | |
| 86380 | 87343 | <doc xml:space="preserve" | |
| 86381 | 87344 | filename="glib/gthreadpool.c" | |
| 86382 | - | line="1152">the maximum @interval (in milliseconds) | |
| 87345 | + | line="1164">the maximum @interval (in milliseconds) | |
| 86383 | 87346 | a thread can be idle</doc> | |
| 86384 | 87347 | <type name="guint" c:type="guint"/> | |
| 86385 | 87348 | </parameter> | |
| @@ -86390,7 +87353,7 @@ The default value is 15000 (15 seconds).</doc> | |||
| 86390 | 87353 | moved-to="ThreadPool.set_max_unused_threads"> | |
| 86391 | 87354 | <doc xml:space="preserve" | |
| 86392 | 87355 | filename="glib/gthreadpool.c" | |
| 86393 | - | line="989">Sets the maximal number of unused threads to @max_threads. | |
| 87356 | + | line="1001">Sets the maximal number of unused threads to @max_threads. | |
| 86394 | 87357 | If @max_threads is -1, no limit is imposed on the number | |
| 86395 | 87358 | of unused threads. | |
| 86396 | 87359 | ||
| @@ -86403,7 +87366,7 @@ The default value is 8 since GLib 2.84. Previously the default value was 2.</doc | |||
| 86403 | 87366 | <parameter name="max_threads" transfer-ownership="none"> | |
| 86404 | 87367 | <doc xml:space="preserve" | |
| 86405 | 87368 | filename="glib/gthreadpool.c" | |
| 86406 | - | line="991">maximal number of unused threads</doc> | |
| 87369 | + | line="1003">maximal number of unused threads</doc> | |
| 86407 | 87370 | <type name="gint" c:type="gint"/> | |
| 86408 | 87371 | </parameter> | |
| 86409 | 87372 | </parameters> | |
| @@ -86413,7 +87376,7 @@ The default value is 8 since GLib 2.84. Previously the default value was 2.</doc | |||
| 86413 | 87376 | moved-to="ThreadPool.stop_unused_threads"> | |
| 86414 | 87377 | <doc xml:space="preserve" | |
| 86415 | 87378 | filename="glib/gthreadpool.c" | |
| 86416 | - | line="1054">Stops all currently unused threads. This does not change the | |
| 87379 | + | line="1066">Stops all currently unused threads. This does not change the | |
| 86417 | 87380 | maximal number of unused threads. This function can be used to | |
| 86418 | 87381 | regularly stop all unused threads e.g. from g_timeout_add().</doc> | |
| 86419 | 87382 | <source-position filename="glib/gthreadpool.h" line="97"/> | |
| @@ -86527,11 +87490,11 @@ g_date_time_unref (dt); | |||
| 86527 | 87490 | introspectable="0"> | |
| 86528 | 87491 | <doc xml:space="preserve" | |
| 86529 | 87492 | filename="glib/gmain.c" | |
| 86530 | - | line="5264">Sets a function to be called at regular intervals, with the default | |
| 87493 | + | line="5452">Sets a function to be called at regular intervals, with the default | |
| 86531 | 87494 | priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 86532 | 87495 | ||
| 86533 | 87496 | The given @function is called repeatedly until it returns | |
| 86534 | - | [const@GLib.SOURCE_REMOVE] or %FALSE, at which point the timeout is | |
| 87497 | + | [const@GLib.SOURCE_REMOVE], at which point the timeout is | |
| 86535 | 87498 | automatically destroyed and the function will not be called again. The first | |
| 86536 | 87499 | call to the function will be at the end of the first @interval. | |
| 86537 | 87500 | ||
| @@ -86539,12 +87502,12 @@ Note that timeout functions may be delayed, due to the processing of other | |||
| 86539 | 87502 | event sources. Thus they should not be relied on for precise timing. | |
| 86540 | 87503 | After each call to the timeout function, the time of the next | |
| 86541 | 87504 | timeout is recalculated based on the current time and the given interval | |
| 86542 | - | (it does not try to 'catch up' time lost in delays). | |
| 87505 | + | (it does not try to ‘catch up’ time lost in delays). | |
| 86543 | 87506 | ||
| 86544 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 87507 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 86545 | 87508 | on how to handle the return value and memory management of @data. | |
| 86546 | 87509 | ||
| 86547 | - | If you want to have a timer in the "seconds" range and do not care | |
| 87510 | + | If you want to have a timer in the ‘seconds’ range and do not care | |
| 86548 | 87511 | about the exact time of the first call of the timer, use the | |
| 86549 | 87512 | [func@GLib.timeout_add_seconds] function; this function allows for more | |
| 86550 | 87513 | optimizations and more efficient system power usage. | |
| @@ -86560,25 +87523,24 @@ It is safe to call this function from any thread. | |||
| 86560 | 87523 | ||
| 86561 | 87524 | The interval given is in terms of monotonic time, not wall clock | |
| 86562 | 87525 | time. See [func@GLib.get_monotonic_time].</doc> | |
| 86563 | - | <source-position filename="glib/gmain.h" line="931"/> | |
| 87526 | + | <source-position filename="glib/gmain.h" line="934"/> | |
| 86564 | 87527 | <return-value transfer-ownership="none"> | |
| 86565 | 87528 | <doc xml:space="preserve" | |
| 86566 | 87529 | filename="glib/gmain.c" | |
| 86567 | - | line="5305">the ID (greater than 0) of the event source.</doc> | |
| 87530 | + | line="5492">the ID (greater than 0) of the event source</doc> | |
| 86568 | 87531 | <type name="guint" c:type="guint"/> | |
| 86569 | 87532 | </return-value> | |
| 86570 | 87533 | <parameters> | |
| 86571 | 87534 | <parameter name="interval" transfer-ownership="none"> | |
| 86572 | 87535 | <doc xml:space="preserve" | |
| 86573 | 87536 | filename="glib/gmain.c" | |
| 86574 | - | line="5266">the time between calls to the function, in milliseconds | |
| 86575 | - | (1/1000ths of a second)</doc> | |
| 87537 | + | line="5454">the time between calls to the function, in milliseconds</doc> | |
| 86576 | 87538 | <type name="guint" c:type="guint"/> | |
| 86577 | 87539 | </parameter> | |
| 86578 | 87540 | <parameter name="function" transfer-ownership="none" closure="2"> | |
| 86579 | 87541 | <doc xml:space="preserve" | |
| 86580 | 87542 | filename="glib/gmain.c" | |
| 86581 | - | line="5268">function to call</doc> | |
| 87543 | + | line="5455">function to call</doc> | |
| 86582 | 87544 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 86583 | 87545 | </parameter> | |
| 86584 | 87546 | <parameter name="data" | |
| @@ -86587,7 +87549,7 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86587 | 87549 | allow-none="1"> | |
| 86588 | 87550 | <doc xml:space="preserve" | |
| 86589 | 87551 | filename="glib/gmain.c" | |
| 86590 | - | line="5269">data to pass to @function</doc> | |
| 87552 | + | line="5456">data to pass to @function</doc> | |
| 86591 | 87553 | <type name="gpointer" c:type="gpointer"/> | |
| 86592 | 87554 | </parameter> | |
| 86593 | 87555 | </parameters> | |
| @@ -86597,9 +87559,12 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86597 | 87559 | shadows="timeout_add"> | |
| 86598 | 87560 | <doc xml:space="preserve" | |
| 86599 | 87561 | filename="glib/gmain.c" | |
| 86600 | - | line="5215">Sets a function to be called at regular intervals, with the given | |
| 86601 | - | priority. The function is called repeatedly until it returns | |
| 86602 | - | %FALSE, at which point the timeout is automatically destroyed and | |
| 87562 | + | line="5401">Sets a function to be called at regular intervals, with the given | |
| 87563 | + | priority. | |
| 87564 | + | ||
| 87565 | + | The function is called repeatedly until it returns | |
| 87566 | + | [const@GLib.SOURCE_REMOVE], at which point the timeout is automatically | |
| 87567 | + | destroyed and | |
| 86603 | 87568 | the function will not be called again. The @notify function is | |
| 86604 | 87569 | called when the timeout is destroyed. The first call to the | |
| 86605 | 87570 | function will be at the end of the first @interval. | |
| @@ -86608,9 +87573,9 @@ Note that timeout functions may be delayed, due to the processing of other | |||
| 86608 | 87573 | event sources. Thus they should not be relied on for precise timing. | |
| 86609 | 87574 | After each call to the timeout function, the time of the next | |
| 86610 | 87575 | timeout is recalculated based on the current time and the given interval | |
| 86611 | - | (it does not try to 'catch up' time lost in delays). | |
| 87576 | + | (it does not try to ‘catch up’ time lost in delays). | |
| 86612 | 87577 | ||
| 86613 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 87578 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 86614 | 87579 | on how to handle the return value and memory management of @data. | |
| 86615 | 87580 | ||
| 86616 | 87581 | This internally creates a main loop source using | |
| @@ -86622,27 +87587,26 @@ context. | |||
| 86622 | 87587 | ||
| 86623 | 87588 | The interval given is in terms of monotonic time, not wall clock time. | |
| 86624 | 87589 | See [func@GLib.get_monotonic_time].</doc> | |
| 86625 | - | <source-position filename="glib/gmain.h" line="925"/> | |
| 87590 | + | <source-position filename="glib/gmain.h" line="928"/> | |
| 86626 | 87591 | <return-value transfer-ownership="none"> | |
| 86627 | 87592 | <doc xml:space="preserve" | |
| 86628 | 87593 | filename="glib/gmain.c" | |
| 86629 | - | line="5252">the ID (greater than 0) of the event source.</doc> | |
| 87594 | + | line="5440">the ID (greater than 0) of the event source</doc> | |
| 86630 | 87595 | <type name="guint" c:type="guint"/> | |
| 86631 | 87596 | </return-value> | |
| 86632 | 87597 | <parameters> | |
| 86633 | 87598 | <parameter name="priority" transfer-ownership="none"> | |
| 86634 | 87599 | <doc xml:space="preserve" | |
| 86635 | 87600 | filename="glib/gmain.c" | |
| 86636 | - | line="5217">the priority of the timeout source. Typically this will be in | |
| 87601 | + | line="5403">the priority of the timeout source; typically this will be in | |
| 86637 | 87602 | the range between [const@GLib.PRIORITY_DEFAULT] and | |
| 86638 | - | [const@GLib.PRIORITY_HIGH].</doc> | |
| 87603 | + | [const@GLib.PRIORITY_HIGH]</doc> | |
| 86639 | 87604 | <type name="gint" c:type="gint"/> | |
| 86640 | 87605 | </parameter> | |
| 86641 | 87606 | <parameter name="interval" transfer-ownership="none"> | |
| 86642 | 87607 | <doc xml:space="preserve" | |
| 86643 | 87608 | filename="glib/gmain.c" | |
| 86644 | - | line="5220">the time between calls to the function, in milliseconds | |
| 86645 | - | (1/1000ths of a second)</doc> | |
| 87609 | + | line="5406">the time between calls to the function, in milliseconds</doc> | |
| 86646 | 87610 | <type name="guint" c:type="guint"/> | |
| 86647 | 87611 | </parameter> | |
| 86648 | 87612 | <parameter name="function" | |
| @@ -86652,7 +87616,7 @@ See [func@GLib.get_monotonic_time].</doc> | |||
| 86652 | 87616 | destroy="4"> | |
| 86653 | 87617 | <doc xml:space="preserve" | |
| 86654 | 87618 | filename="glib/gmain.c" | |
| 86655 | - | line="5222">function to call</doc> | |
| 87619 | + | line="5407">function to call</doc> | |
| 86656 | 87620 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 86657 | 87621 | </parameter> | |
| 86658 | 87622 | <parameter name="data" | |
| @@ -86661,7 +87625,7 @@ See [func@GLib.get_monotonic_time].</doc> | |||
| 86661 | 87625 | allow-none="1"> | |
| 86662 | 87626 | <doc xml:space="preserve" | |
| 86663 | 87627 | filename="glib/gmain.c" | |
| 86664 | - | line="5223">data to pass to @function</doc> | |
| 87628 | + | line="5408">data to pass to @function</doc> | |
| 86665 | 87629 | <type name="gpointer" c:type="gpointer"/> | |
| 86666 | 87630 | </parameter> | |
| 86667 | 87631 | <parameter name="notify" | |
| @@ -86671,7 +87635,7 @@ See [func@GLib.get_monotonic_time].</doc> | |||
| 86671 | 87635 | scope="async"> | |
| 86672 | 87636 | <doc xml:space="preserve" | |
| 86673 | 87637 | filename="glib/gmain.c" | |
| 86674 | - | line="5224">function to call when the timeout is removed, or %NULL</doc> | |
| 87638 | + | line="5409">function to call when the timeout is removed</doc> | |
| 86675 | 87639 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 86676 | 87640 | </parameter> | |
| 86677 | 87641 | </parameters> | |
| @@ -86682,32 +87646,31 @@ See [func@GLib.get_monotonic_time].</doc> | |||
| 86682 | 87646 | introspectable="0"> | |
| 86683 | 87647 | <doc xml:space="preserve" | |
| 86684 | 87648 | filename="glib/gmain.c" | |
| 86685 | - | line="5316">Sets a function to be called after @interval milliseconds have elapsed, | |
| 87649 | + | line="5503">Sets a function to be called after @interval milliseconds have elapsed, | |
| 86686 | 87650 | with the default priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 86687 | 87651 | ||
| 86688 | 87652 | The given @function is called once and then the source will be automatically | |
| 86689 | 87653 | removed from the main context. | |
| 86690 | 87654 | ||
| 86691 | 87655 | This function otherwise behaves like [func@GLib.timeout_add].</doc> | |
| 86692 | - | <source-position filename="glib/gmain.h" line="935"/> | |
| 87656 | + | <source-position filename="glib/gmain.h" line="938"/> | |
| 86693 | 87657 | <return-value transfer-ownership="none"> | |
| 86694 | 87658 | <doc xml:space="preserve" | |
| 86695 | 87659 | filename="glib/gmain.c" | |
| 86696 | - | line="5331">the ID (greater than 0) of the event source</doc> | |
| 87660 | + | line="5517">the ID (greater than 0) of the event source</doc> | |
| 86697 | 87661 | <type name="guint" c:type="guint"/> | |
| 86698 | 87662 | </return-value> | |
| 86699 | 87663 | <parameters> | |
| 86700 | 87664 | <parameter name="interval" transfer-ownership="none"> | |
| 86701 | 87665 | <doc xml:space="preserve" | |
| 86702 | 87666 | filename="glib/gmain.c" | |
| 86703 | - | line="5318">the time after which the function will be called, in | |
| 86704 | - | milliseconds (1/1000ths of a second)</doc> | |
| 87667 | + | line="5505">the time after which the function will be called, in milliseconds</doc> | |
| 86705 | 87668 | <type name="guint" c:type="guint"/> | |
| 86706 | 87669 | </parameter> | |
| 86707 | 87670 | <parameter name="function" transfer-ownership="none" closure="2"> | |
| 86708 | 87671 | <doc xml:space="preserve" | |
| 86709 | 87672 | filename="glib/gmain.c" | |
| 86710 | - | line="5320">function to call</doc> | |
| 87673 | + | line="5506">function to call</doc> | |
| 86711 | 87674 | <type name="SourceOnceFunc" c:type="GSourceOnceFunc"/> | |
| 86712 | 87675 | </parameter> | |
| 86713 | 87676 | <parameter name="data" | |
| @@ -86716,7 +87679,7 @@ This function otherwise behaves like [func@GLib.timeout_add].</doc> | |||
| 86716 | 87679 | allow-none="1"> | |
| 86717 | 87680 | <doc xml:space="preserve" | |
| 86718 | 87681 | filename="glib/gmain.c" | |
| 86719 | - | line="5321">data to pass to @function</doc> | |
| 87682 | + | line="5507">data to pass to @function</doc> | |
| 86720 | 87683 | <type name="gpointer" c:type="gpointer"/> | |
| 86721 | 87684 | </parameter> | |
| 86722 | 87685 | </parameters> | |
| @@ -86728,11 +87691,11 @@ This function otherwise behaves like [func@GLib.timeout_add].</doc> | |||
| 86728 | 87691 | introspectable="0"> | |
| 86729 | 87692 | <doc xml:space="preserve" | |
| 86730 | 87693 | filename="glib/gmain.c" | |
| 86731 | - | line="5408">Sets a function to be called at regular intervals with the default | |
| 87694 | + | line="5592">Sets a function to be called at regular intervals with the default | |
| 86732 | 87695 | priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 86733 | 87696 | ||
| 86734 | - | The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE] | |
| 86735 | - | or %FALSE, at which point the timeout is automatically destroyed | |
| 87697 | + | The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE], | |
| 87698 | + | at which point the timeout is automatically destroyed | |
| 86736 | 87699 | and the function will not be called again. | |
| 86737 | 87700 | ||
| 86738 | 87701 | This internally creates a main loop source using | |
| @@ -86746,29 +87709,29 @@ Note that the first call of the timer may not be precise for timeouts | |||
| 86746 | 87709 | of one second. If you need finer precision and have such a timeout, | |
| 86747 | 87710 | you may want to use [func@GLib.timeout_add] instead. | |
| 86748 | 87711 | ||
| 86749 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 87712 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 86750 | 87713 | on how to handle the return value and memory management of @data. | |
| 86751 | 87714 | ||
| 86752 | 87715 | The interval given is in terms of monotonic time, not wall clock | |
| 86753 | 87716 | time. See [func@GLib.get_monotonic_time].</doc> | |
| 86754 | - | <source-position filename="glib/gmain.h" line="945"/> | |
| 87717 | + | <source-position filename="glib/gmain.h" line="948"/> | |
| 86755 | 87718 | <return-value transfer-ownership="none"> | |
| 86756 | 87719 | <doc xml:space="preserve" | |
| 86757 | 87720 | filename="glib/gmain.c" | |
| 86758 | - | line="5438">the ID (greater than 0) of the event source.</doc> | |
| 87721 | + | line="5622">the ID (greater than 0) of the event source</doc> | |
| 86759 | 87722 | <type name="guint" c:type="guint"/> | |
| 86760 | 87723 | </return-value> | |
| 86761 | 87724 | <parameters> | |
| 86762 | 87725 | <parameter name="interval" transfer-ownership="none"> | |
| 86763 | 87726 | <doc xml:space="preserve" | |
| 86764 | 87727 | filename="glib/gmain.c" | |
| 86765 | - | line="5410">the time between calls to the function, in seconds</doc> | |
| 87728 | + | line="5594">the time between calls to the function, in seconds</doc> | |
| 86766 | 87729 | <type name="guint" c:type="guint"/> | |
| 86767 | 87730 | </parameter> | |
| 86768 | 87731 | <parameter name="function" transfer-ownership="none" closure="2"> | |
| 86769 | 87732 | <doc xml:space="preserve" | |
| 86770 | 87733 | filename="glib/gmain.c" | |
| 86771 | - | line="5411">function to call</doc> | |
| 87734 | + | line="5595">function to call</doc> | |
| 86772 | 87735 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 86773 | 87736 | </parameter> | |
| 86774 | 87737 | <parameter name="data" | |
| @@ -86777,7 +87740,7 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86777 | 87740 | allow-none="1"> | |
| 86778 | 87741 | <doc xml:space="preserve" | |
| 86779 | 87742 | filename="glib/gmain.c" | |
| 86780 | - | line="5412">data to pass to @function</doc> | |
| 87743 | + | line="5596">data to pass to @function</doc> | |
| 86781 | 87744 | <type name="gpointer" c:type="gpointer"/> | |
| 86782 | 87745 | </parameter> | |
| 86783 | 87746 | </parameters> | |
| @@ -86788,17 +87751,17 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86788 | 87751 | version="2.14"> | |
| 86789 | 87752 | <doc xml:space="preserve" | |
| 86790 | 87753 | filename="glib/gmain.c" | |
| 86791 | - | line="5343">Sets a function to be called at regular intervals, with @priority. | |
| 87754 | + | line="5528">Sets a function to be called at regular intervals, with @priority. | |
| 86792 | 87755 | ||
| 86793 | - | The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE] | |
| 86794 | - | or %FALSE, at which point the timeout is automatically destroyed and | |
| 87756 | + | The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE], | |
| 87757 | + | at which point the timeout is automatically destroyed and | |
| 86795 | 87758 | the function will not be called again. | |
| 86796 | 87759 | ||
| 86797 | 87760 | Unlike [func@GLib.timeout_add], this function operates at whole second | |
| 86798 | 87761 | granularity. The initial starting point of the timer is determined by the | |
| 86799 | 87762 | implementation and the implementation is expected to group multiple timers | |
| 86800 | - | together so that they fire all at the same time. To allow this grouping, the | |
| 86801 | - | @interval to the first timer is rounded and can deviate up to one second | |
| 87763 | + | together so that they fire all at the same time. To allow this grouping, | |
| 87764 | + | the @interval to the first timer is rounded and can deviate up to one second | |
| 86802 | 87765 | from the specified interval. Subsequent timer iterations will generally run | |
| 86803 | 87766 | at the specified interval. | |
| 86804 | 87767 | ||
| @@ -86807,7 +87770,7 @@ event sources. Thus they should not be relied on for precise timing. | |||
| 86807 | 87770 | After each call to the timeout function, the time of the next | |
| 86808 | 87771 | timeout is recalculated based on the current time and the given @interval | |
| 86809 | 87772 | ||
| 86810 | - | See [mainloop memory management](main-loop.html#memory-management-of-sources) for details | |
| 87773 | + | See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 86811 | 87774 | on how to handle the return value and memory management of @data. | |
| 86812 | 87775 | ||
| 86813 | 87776 | If you want timing more precise than whole seconds, use | |
| @@ -86815,7 +87778,7 @@ If you want timing more precise than whole seconds, use | |||
| 86815 | 87778 | ||
| 86816 | 87779 | The grouping of timers to fire at the same time results in a more power | |
| 86817 | 87780 | and CPU efficient behavior so if your timer is in multiples of seconds | |
| 86818 | - | and you don't require the first timer exactly one second from now, the | |
| 87781 | + | and you don’t require the first timer exactly one second from now, the | |
| 86819 | 87782 | use of [func@GLib.timeout_add_seconds] is preferred over | |
| 86820 | 87783 | [func@GLib.timeout_add]. | |
| 86821 | 87784 | ||
| @@ -86828,26 +87791,26 @@ It is safe to call this function from any thread. | |||
| 86828 | 87791 | ||
| 86829 | 87792 | The interval given is in terms of monotonic time, not wall clock | |
| 86830 | 87793 | time. See [func@GLib.get_monotonic_time].</doc> | |
| 86831 | - | <source-position filename="glib/gmain.h" line="939"/> | |
| 87794 | + | <source-position filename="glib/gmain.h" line="942"/> | |
| 86832 | 87795 | <return-value transfer-ownership="none"> | |
| 86833 | 87796 | <doc xml:space="preserve" | |
| 86834 | 87797 | filename="glib/gmain.c" | |
| 86835 | - | line="5394">the ID (greater than 0) of the event source.</doc> | |
| 87798 | + | line="5579">the ID (greater than 0) of the event source</doc> | |
| 86836 | 87799 | <type name="guint" c:type="guint"/> | |
| 86837 | 87800 | </return-value> | |
| 86838 | 87801 | <parameters> | |
| 86839 | 87802 | <parameter name="priority" transfer-ownership="none"> | |
| 86840 | 87803 | <doc xml:space="preserve" | |
| 86841 | 87804 | filename="glib/gmain.c" | |
| 86842 | - | line="5345">the priority of the timeout source. Typically this will be in | |
| 87805 | + | line="5530">the priority of the timeout source; typically this will be in | |
| 86843 | 87806 | the range between [const@GLib.PRIORITY_DEFAULT] and | |
| 86844 | - | [const@GLib.PRIORITY_HIGH].</doc> | |
| 87807 | + | [const@GLib.PRIORITY_HIGH]</doc> | |
| 86845 | 87808 | <type name="gint" c:type="gint"/> | |
| 86846 | 87809 | </parameter> | |
| 86847 | 87810 | <parameter name="interval" transfer-ownership="none"> | |
| 86848 | 87811 | <doc xml:space="preserve" | |
| 86849 | 87812 | filename="glib/gmain.c" | |
| 86850 | - | line="5348">the time between calls to the function, in seconds</doc> | |
| 87813 | + | line="5533">the time between calls to the function, in seconds</doc> | |
| 86851 | 87814 | <type name="guint" c:type="guint"/> | |
| 86852 | 87815 | </parameter> | |
| 86853 | 87816 | <parameter name="function" | |
| @@ -86857,7 +87820,7 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86857 | 87820 | destroy="4"> | |
| 86858 | 87821 | <doc xml:space="preserve" | |
| 86859 | 87822 | filename="glib/gmain.c" | |
| 86860 | - | line="5349">function to call</doc> | |
| 87823 | + | line="5534">function to call</doc> | |
| 86861 | 87824 | <type name="SourceFunc" c:type="GSourceFunc"/> | |
| 86862 | 87825 | </parameter> | |
| 86863 | 87826 | <parameter name="data" | |
| @@ -86866,7 +87829,7 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86866 | 87829 | allow-none="1"> | |
| 86867 | 87830 | <doc xml:space="preserve" | |
| 86868 | 87831 | filename="glib/gmain.c" | |
| 86869 | - | line="5350">data to pass to @function</doc> | |
| 87832 | + | line="5535">data to pass to @function</doc> | |
| 86870 | 87833 | <type name="gpointer" c:type="gpointer"/> | |
| 86871 | 87834 | </parameter> | |
| 86872 | 87835 | <parameter name="notify" | |
| @@ -86876,7 +87839,7 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86876 | 87839 | scope="async"> | |
| 86877 | 87840 | <doc xml:space="preserve" | |
| 86878 | 87841 | filename="glib/gmain.c" | |
| 86879 | - | line="5351">function to call when the timeout is removed, or %NULL</doc> | |
| 87842 | + | line="5536">function to call when the timeout is removed</doc> | |
| 86880 | 87843 | <type name="DestroyNotify" c:type="GDestroyNotify"/> | |
| 86881 | 87844 | </parameter> | |
| 86882 | 87845 | </parameters> | |
| @@ -86887,26 +87850,26 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86887 | 87850 | introspectable="0"> | |
| 86888 | 87851 | <doc xml:space="preserve" | |
| 86889 | 87852 | filename="glib/gmain.c" | |
| 86890 | - | line="5452">This function behaves like [func@GLib.timeout_add_once] but with a range in | |
| 87853 | + | line="5635">This function behaves like [func@GLib.timeout_add_once] but with a range in | |
| 86891 | 87854 | seconds.</doc> | |
| 86892 | - | <source-position filename="glib/gmain.h" line="949"/> | |
| 87855 | + | <source-position filename="glib/gmain.h" line="952"/> | |
| 86893 | 87856 | <return-value transfer-ownership="none"> | |
| 86894 | 87857 | <doc xml:space="preserve" | |
| 86895 | 87858 | filename="glib/gmain.c" | |
| 86896 | - | line="5461">the ID (greater than 0) of the event source</doc> | |
| 87859 | + | line="5644">the ID (greater than 0) of the event source</doc> | |
| 86897 | 87860 | <type name="guint" c:type="guint"/> | |
| 86898 | 87861 | </return-value> | |
| 86899 | 87862 | <parameters> | |
| 86900 | 87863 | <parameter name="interval" transfer-ownership="none"> | |
| 86901 | 87864 | <doc xml:space="preserve" | |
| 86902 | 87865 | filename="glib/gmain.c" | |
| 86903 | - | line="5454">the time after which the function will be called, in seconds</doc> | |
| 87866 | + | line="5637">the time after which the function will be called, in seconds</doc> | |
| 86904 | 87867 | <type name="guint" c:type="guint"/> | |
| 86905 | 87868 | </parameter> | |
| 86906 | 87869 | <parameter name="function" transfer-ownership="none" closure="2"> | |
| 86907 | 87870 | <doc xml:space="preserve" | |
| 86908 | 87871 | filename="glib/gmain.c" | |
| 86909 | - | line="5455">function to call</doc> | |
| 87872 | + | line="5638">function to call</doc> | |
| 86910 | 87873 | <type name="SourceOnceFunc" c:type="GSourceOnceFunc"/> | |
| 86911 | 87874 | </parameter> | |
| 86912 | 87875 | <parameter name="data" | |
| @@ -86915,7 +87878,7 @@ seconds.</doc> | |||
| 86915 | 87878 | allow-none="1"> | |
| 86916 | 87879 | <doc xml:space="preserve" | |
| 86917 | 87880 | filename="glib/gmain.c" | |
| 86918 | - | line="5456">data to pass to @function</doc> | |
| 87881 | + | line="5639">data to pass to @function</doc> | |
| 86919 | 87882 | <type name="gpointer" c:type="gpointer"/> | |
| 86920 | 87883 | </parameter> | |
| 86921 | 87884 | </parameters> | |
| @@ -86923,7 +87886,7 @@ seconds.</doc> | |||
| 86923 | 87886 | <function name="timeout_source_new" c:identifier="g_timeout_source_new"> | |
| 86924 | 87887 | <doc xml:space="preserve" | |
| 86925 | 87888 | filename="glib/gmain.c" | |
| 86926 | - | line="5139">Creates a new timeout source. | |
| 87889 | + | line="5326">Creates a new timeout source. | |
| 86927 | 87890 | ||
| 86928 | 87891 | The source will not initially be associated with any [struct@GLib.MainContext] | |
| 86929 | 87892 | and must be added to one with [method@GLib.Source.attach] before it will be | |
| @@ -86931,18 +87894,18 @@ executed. | |||
| 86931 | 87894 | ||
| 86932 | 87895 | The interval given is in terms of monotonic time, not wall clock | |
| 86933 | 87896 | time. See [func@GLib.get_monotonic_time].</doc> | |
| 86934 | - | <source-position filename="glib/gmain.h" line="817"/> | |
| 87897 | + | <source-position filename="glib/gmain.h" line="820"/> | |
| 86935 | 87898 | <return-value transfer-ownership="full"> | |
| 86936 | 87899 | <doc xml:space="preserve" | |
| 86937 | 87900 | filename="glib/gmain.c" | |
| 86938 | - | line="5152">the newly-created timeout source</doc> | |
| 87901 | + | line="5339">the newly-created timeout source</doc> | |
| 86939 | 87902 | <type name="Source" c:type="GSource*"/> | |
| 86940 | 87903 | </return-value> | |
| 86941 | 87904 | <parameters> | |
| 86942 | 87905 | <parameter name="interval" transfer-ownership="none"> | |
| 86943 | 87906 | <doc xml:space="preserve" | |
| 86944 | 87907 | filename="glib/gmain.c" | |
| 86945 | - | line="5141">the timeout interval in milliseconds.</doc> | |
| 87908 | + | line="5328">the timeout interval in milliseconds</doc> | |
| 86946 | 87909 | <type name="guint" c:type="guint"/> | |
| 86947 | 87910 | </parameter> | |
| 86948 | 87911 | </parameters> | |
| @@ -86952,7 +87915,7 @@ time. See [func@GLib.get_monotonic_time].</doc> | |||
| 86952 | 87915 | version="2.14"> | |
| 86953 | 87916 | <doc xml:space="preserve" | |
| 86954 | 87917 | filename="glib/gmain.c" | |
| 86955 | - | line="5160">Creates a new timeout source. | |
| 87918 | + | line="5347">Creates a new timeout source. | |
| 86956 | 87919 | ||
| 86957 | 87920 | The source will not initially be associated with any | |
| 86958 | 87921 | [struct@GLib.MainContext] and must be added to one with | |
| @@ -86963,18 +87926,18 @@ in seconds. | |||
| 86963 | 87926 | ||
| 86964 | 87927 | The interval given is in terms of monotonic time, not wall clock time. | |
| 86965 | 87928 | See [func@GLib.get_monotonic_time].</doc> | |
| 86966 | - | <source-position filename="glib/gmain.h" line="819"/> | |
| 87929 | + | <source-position filename="glib/gmain.h" line="822"/> | |
| 86967 | 87930 | <return-value transfer-ownership="full"> | |
| 86968 | 87931 | <doc xml:space="preserve" | |
| 86969 | 87932 | filename="glib/gmain.c" | |
| 86970 | - | line="5176">the newly-created timeout source</doc> | |
| 87933 | + | line="5363">the newly-created timeout source</doc> | |
| 86971 | 87934 | <type name="Source" c:type="GSource*"/> | |
| 86972 | 87935 | </return-value> | |
| 86973 | 87936 | <parameters> | |
| 86974 | 87937 | <parameter name="interval" transfer-ownership="none"> | |
| 86975 | 87938 | <doc xml:space="preserve" | |
| 86976 | 87939 | filename="glib/gmain.c" | |
| 86977 | - | line="5162">the timeout interval in seconds</doc> | |
| 87940 | + | line="5349">the timeout interval in seconds</doc> | |
| 86978 | 87941 | <type name="guint" c:type="guint"/> | |
| 86979 | 87942 | </parameter> | |
| 86980 | 87943 | </parameters> | |
| @@ -87346,14 +88309,14 @@ The function returns %NULL if an overflow occurs.</doc> | |||
| 87346 | 88309 | <function name="ucs4_to_utf16" c:identifier="g_ucs4_to_utf16" throws="1"> | |
| 87347 | 88310 | <doc xml:space="preserve" | |
| 87348 | 88311 | filename="glib/gutf8.c" | |
| 87349 | - | line="1484">Convert a string from UCS-4 to UTF-16. | |
| 88312 | + | line="1486">Convert a string from UCS-4 to UTF-16. | |
| 87350 | 88313 | ||
| 87351 | 88314 | A nul character (U+0000) will be added to the result after the converted text.</doc> | |
| 87352 | 88315 | <source-position filename="glib/gunicode.h" line="909"/> | |
| 87353 | 88316 | <return-value transfer-ownership="full"> | |
| 87354 | 88317 | <doc xml:space="preserve" | |
| 87355 | 88318 | filename="glib/gutf8.c" | |
| 87356 | - | line="1503">a pointer to a newly allocated UTF-16 string. | |
| 88319 | + | line="1505">a pointer to a newly allocated UTF-16 string. | |
| 87357 | 88320 | This value must be freed with [func@GLib.free].</doc> | |
| 87358 | 88321 | <type name="guint16" c:type="gunichar2*"/> | |
| 87359 | 88322 | </return-value> | |
| @@ -87361,7 +88324,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 87361 | 88324 | <parameter name="str" transfer-ownership="none"> | |
| 87362 | 88325 | <doc xml:space="preserve" | |
| 87363 | 88326 | filename="glib/gutf8.c" | |
| 87364 | - | line="1486">a UCS-4 encoded string</doc> | |
| 88327 | + | line="1488">a UCS-4 encoded string</doc> | |
| 87365 | 88328 | <array length="1" zero-terminated="0" c:type="const gunichar*"> | |
| 87366 | 88329 | <type name="gunichar"/> | |
| 87367 | 88330 | </array> | |
| @@ -87369,7 +88332,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 87369 | 88332 | <parameter name="len" transfer-ownership="none"> | |
| 87370 | 88333 | <doc xml:space="preserve" | |
| 87371 | 88334 | filename="glib/gutf8.c" | |
| 87372 | - | line="1487">the maximum length (number of characters) of @str to use. | |
| 88335 | + | line="1489">the maximum length (number of characters) of @str to use. | |
| 87373 | 88336 | If @len is negative, then the string is nul-terminated.</doc> | |
| 87374 | 88337 | <type name="glong" c:type="glong"/> | |
| 87375 | 88338 | </parameter> | |
| @@ -87381,7 +88344,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 87381 | 88344 | allow-none="1"> | |
| 87382 | 88345 | <doc xml:space="preserve" | |
| 87383 | 88346 | filename="glib/gutf8.c" | |
| 87384 | - | line="1489">location to store number of | |
| 88347 | + | line="1491">location to store number of | |
| 87385 | 88348 | bytes read, or `NULL`. If an error occurs then the index of the invalid | |
| 87386 | 88349 | input is stored here.</doc> | |
| 87387 | 88350 | <type name="glong" c:type="glong*"/> | |
| @@ -87394,7 +88357,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 87394 | 88357 | allow-none="1"> | |
| 87395 | 88358 | <doc xml:space="preserve" | |
| 87396 | 88359 | filename="glib/gutf8.c" | |
| 87397 | - | line="1492">location to store number | |
| 88360 | + | line="1494">location to store number | |
| 87398 | 88361 | of `gunichar2` written, or `NULL`. The value stored here does not include | |
| 87399 | 88362 | the trailing nul.</doc> | |
| 87400 | 88363 | <type name="glong" c:type="glong*"/> | |
| @@ -87404,7 +88367,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 87404 | 88367 | <function name="ucs4_to_utf8" c:identifier="g_ucs4_to_utf8" throws="1"> | |
| 87405 | 88368 | <doc xml:space="preserve" | |
| 87406 | 88369 | filename="glib/gutf8.c" | |
| 87407 | - | line="997">Convert a string from a 32-bit fixed width representation as UCS-4. | |
| 88370 | + | line="999">Convert a string from a 32-bit fixed width representation as UCS-4. | |
| 87408 | 88371 | to UTF-8. | |
| 87409 | 88372 | ||
| 87410 | 88373 | The result will be terminated with a nul byte.</doc> | |
| @@ -87412,7 +88375,7 @@ The result will be terminated with a nul byte.</doc> | |||
| 87412 | 88375 | <return-value transfer-ownership="full"> | |
| 87413 | 88376 | <doc xml:space="preserve" | |
| 87414 | 88377 | filename="glib/gutf8.c" | |
| 87415 | - | line="1016">a pointer to a newly allocated UTF-8 string. | |
| 88378 | + | line="1018">a pointer to a newly allocated UTF-8 string. | |
| 87416 | 88379 | This value must be freed with [func@GLib.free]. If an error occurs, | |
| 87417 | 88380 | @items_read will be set to the position of the first invalid input | |
| 87418 | 88381 | character.</doc> | |
| @@ -87422,7 +88385,7 @@ The result will be terminated with a nul byte.</doc> | |||
| 87422 | 88385 | <parameter name="str" transfer-ownership="none"> | |
| 87423 | 88386 | <doc xml:space="preserve" | |
| 87424 | 88387 | filename="glib/gutf8.c" | |
| 87425 | - | line="999">a UCS-4 encoded string</doc> | |
| 88388 | + | line="1001">a UCS-4 encoded string</doc> | |
| 87426 | 88389 | <array length="1" zero-terminated="0" c:type="const gunichar*"> | |
| 87427 | 88390 | <type name="gunichar"/> | |
| 87428 | 88391 | </array> | |
| @@ -87430,7 +88393,7 @@ The result will be terminated with a nul byte.</doc> | |||
| 87430 | 88393 | <parameter name="len" transfer-ownership="none"> | |
| 87431 | 88394 | <doc xml:space="preserve" | |
| 87432 | 88395 | filename="glib/gutf8.c" | |
| 87433 | - | line="1000">the maximum length (number of characters) of @str to use. | |
| 88396 | + | line="1002">the maximum length (number of characters) of @str to use. | |
| 87434 | 88397 | If @len is negative, then the string is nul-terminated.</doc> | |
| 87435 | 88398 | <type name="glong" c:type="glong"/> | |
| 87436 | 88399 | </parameter> | |
| @@ -87442,7 +88405,7 @@ The result will be terminated with a nul byte.</doc> | |||
| 87442 | 88405 | allow-none="1"> | |
| 87443 | 88406 | <doc xml:space="preserve" | |
| 87444 | 88407 | filename="glib/gutf8.c" | |
| 87445 | - | line="1002">location to store number of | |
| 88408 | + | line="1004">location to store number of | |
| 87446 | 88409 | characters read, or `NULL`.</doc> | |
| 87447 | 88410 | <type name="glong" c:type="glong*"/> | |
| 87448 | 88411 | </parameter> | |
| @@ -87454,7 +88417,7 @@ The result will be terminated with a nul byte.</doc> | |||
| 87454 | 88417 | allow-none="1"> | |
| 87455 | 88418 | <doc xml:space="preserve" | |
| 87456 | 88419 | filename="glib/gutf8.c" | |
| 87457 | - | line="1004">location to store number | |
| 88420 | + | line="1006">location to store number | |
| 87458 | 88421 | of bytes written or `NULL`. The value here stored does not include the | |
| 87459 | 88422 | trailing nul byte.</doc> | |
| 87460 | 88423 | <type name="glong" c:type="glong*"/> | |
| @@ -88304,19 +89267,19 @@ terminals support zero-width rendering of zero-width marks.</doc> | |||
| 88304 | 89267 | <function name="unichar_to_utf8" c:identifier="g_unichar_to_utf8"> | |
| 88305 | 89268 | <doc xml:space="preserve" | |
| 88306 | 89269 | filename="glib/gutf8.c" | |
| 88307 | - | line="534">Converts a single character to UTF-8.</doc> | |
| 89270 | + | line="536">Converts a single character to UTF-8.</doc> | |
| 88308 | 89271 | <source-position filename="glib/gunicode.h" line="922"/> | |
| 88309 | 89272 | <return-value transfer-ownership="none"> | |
| 88310 | 89273 | <doc xml:space="preserve" | |
| 88311 | 89274 | filename="glib/gutf8.c" | |
| 88312 | - | line="543">number of bytes written</doc> | |
| 89275 | + | line="545">number of bytes written</doc> | |
| 88313 | 89276 | <type name="gint" c:type="gint"/> | |
| 88314 | 89277 | </return-value> | |
| 88315 | 89278 | <parameters> | |
| 88316 | 89279 | <parameter name="c" transfer-ownership="none"> | |
| 88317 | 89280 | <doc xml:space="preserve" | |
| 88318 | 89281 | filename="glib/gutf8.c" | |
| 88319 | - | line="536">a Unicode character code</doc> | |
| 89282 | + | line="538">a Unicode character code</doc> | |
| 88320 | 89283 | <type name="gunichar" c:type="gunichar"/> | |
| 88321 | 89284 | </parameter> | |
| 88322 | 89285 | <parameter name="outbuf" | |
| @@ -88327,7 +89290,7 @@ terminals support zero-width rendering of zero-width marks.</doc> | |||
| 88327 | 89290 | allow-none="1"> | |
| 88328 | 89291 | <doc xml:space="preserve" | |
| 88329 | 89292 | filename="glib/gutf8.c" | |
| 88330 | - | line="537">output buffer, must have at | |
| 89293 | + | line="539">output buffer, must have at | |
| 88331 | 89294 | least 6 bytes of space. If `NULL`, the length will be computed and | |
| 88332 | 89295 | returned and nothing will be written to @outbuf.</doc> | |
| 88333 | 89296 | <type name="utf8" c:type="gchar*"/> | |
| @@ -88423,7 +89386,7 @@ terminals support zero-width rendering of zero-width marks.</doc> | |||
| 88423 | 89386 | <function name="unichar_validate" c:identifier="g_unichar_validate"> | |
| 88424 | 89387 | <doc xml:space="preserve" | |
| 88425 | 89388 | filename="glib/gutf8.c" | |
| 88426 | - | line="1911">Checks whether @ch is a valid Unicode character. | |
| 89389 | + | line="2308">Checks whether @ch is a valid Unicode character. | |
| 88427 | 89390 | ||
| 88428 | 89391 | Some possible integer values of @ch will not be valid. U+0000 is considered a | |
| 88429 | 89392 | valid character, though it’s normally a string terminator.</doc> | |
| @@ -88431,14 +89394,14 @@ valid character, though it’s normally a string terminator.</doc> | |||
| 88431 | 89394 | <return-value transfer-ownership="none"> | |
| 88432 | 89395 | <doc xml:space="preserve" | |
| 88433 | 89396 | filename="glib/gutf8.c" | |
| 88434 | - | line="1920">`TRUE` if @ch is a valid Unicode character</doc> | |
| 89397 | + | line="2317">`TRUE` if @ch is a valid Unicode character</doc> | |
| 88435 | 89398 | <type name="gboolean" c:type="gboolean"/> | |
| 88436 | 89399 | </return-value> | |
| 88437 | 89400 | <parameters> | |
| 88438 | 89401 | <parameter name="ch" transfer-ownership="none"> | |
| 88439 | 89402 | <doc xml:space="preserve" | |
| 88440 | 89403 | filename="glib/gutf8.c" | |
| 88441 | - | line="1913">a Unicode character</doc> | |
| 89404 | + | line="2310">a Unicode character</doc> | |
| 88442 | 89405 | <type name="gunichar" c:type="gunichar"/> | |
| 88443 | 89406 | </parameter> | |
| 88444 | 89407 | </parameters> | |
| @@ -89011,7 +89974,7 @@ executed.</doc> | |||
| 89011 | 89974 | <function name="unlink" c:identifier="g_unlink" version="2.6"> | |
| 89012 | 89975 | <doc xml:space="preserve" | |
| 89013 | 89976 | filename="glib/gstdio.c" | |
| 89014 | - | line="1400">A wrapper for the POSIX unlink() function. The unlink() function | |
| 89977 | + | line="1411">A wrapper for the POSIX unlink() function. The unlink() function | |
| 89015 | 89978 | deletes a name from the filesystem. If this was the last link to the | |
| 89016 | 89979 | file and no processes have it opened, the diskspace occupied by the | |
| 89017 | 89980 | file is freed. | |
| @@ -89023,7 +89986,7 @@ are open to some process, or mapped into memory.</doc> | |||
| 89023 | 89986 | <return-value transfer-ownership="none"> | |
| 89024 | 89987 | <doc xml:space="preserve" | |
| 89025 | 89988 | filename="glib/gstdio.c" | |
| 89026 | - | line="1414">0 if the name was successfully deleted, -1 if an error | |
| 89989 | + | line="1425">0 if the name was successfully deleted, -1 if an error | |
| 89027 | 89990 | occurred</doc> | |
| 89028 | 89991 | <type name="gint" c:type="int"/> | |
| 89029 | 89992 | </return-value> | |
| @@ -89031,7 +89994,7 @@ are open to some process, or mapped into memory.</doc> | |||
| 89031 | 89994 | <parameter name="filename" transfer-ownership="none"> | |
| 89032 | 89995 | <doc xml:space="preserve" | |
| 89033 | 89996 | filename="glib/gstdio.c" | |
| 89034 | - | line="1402">a pathname in the GLib file name encoding | |
| 89997 | + | line="1413">a pathname in the GLib file name encoding | |
| 89035 | 89998 | (UTF-8 on Windows)</doc> | |
| 89036 | 89999 | <type name="filename" c:type="const gchar*"/> | |
| 89037 | 90000 | </parameter> | |
| @@ -90383,14 +91346,14 @@ length of the sleep.</doc> | |||
| 90383 | 91346 | <function name="utf16_to_ucs4" c:identifier="g_utf16_to_ucs4" throws="1"> | |
| 90384 | 91347 | <doc xml:space="preserve" | |
| 90385 | 91348 | filename="glib/gutf8.c" | |
| 90386 | - | line="1229">Convert a string from UTF-16 to UCS-4. | |
| 91349 | + | line="1231">Convert a string from UTF-16 to UCS-4. | |
| 90387 | 91350 | ||
| 90388 | 91351 | The result will be nul-terminated.</doc> | |
| 90389 | 91352 | <source-position filename="glib/gunicode.h" line="897"/> | |
| 90390 | 91353 | <return-value transfer-ownership="full"> | |
| 90391 | 91354 | <doc xml:space="preserve" | |
| 90392 | 91355 | filename="glib/gutf8.c" | |
| 90393 | - | line="1249">a pointer to a newly allocated UCS-4 string. | |
| 91356 | + | line="1251">a pointer to a newly allocated UCS-4 string. | |
| 90394 | 91357 | This value must be freed with [func@GLib.free].</doc> | |
| 90395 | 91358 | <type name="gunichar" c:type="gunichar*"/> | |
| 90396 | 91359 | </return-value> | |
| @@ -90398,7 +91361,7 @@ The result will be nul-terminated.</doc> | |||
| 90398 | 91361 | <parameter name="str" transfer-ownership="none"> | |
| 90399 | 91362 | <doc xml:space="preserve" | |
| 90400 | 91363 | filename="glib/gutf8.c" | |
| 90401 | - | line="1231">a UTF-16 encoded string</doc> | |
| 91364 | + | line="1233">a UTF-16 encoded string</doc> | |
| 90402 | 91365 | <array length="1" zero-terminated="0" c:type="const gunichar2*"> | |
| 90403 | 91366 | <type name="guint16"/> | |
| 90404 | 91367 | </array> | |
| @@ -90406,7 +91369,7 @@ The result will be nul-terminated.</doc> | |||
| 90406 | 91369 | <parameter name="len" transfer-ownership="none"> | |
| 90407 | 91370 | <doc xml:space="preserve" | |
| 90408 | 91371 | filename="glib/gutf8.c" | |
| 90409 | - | line="1232">the maximum length (number of #gunichar2) of @str to use. | |
| 91372 | + | line="1234">the maximum length (number of #gunichar2) of @str to use. | |
| 90410 | 91373 | If @len is negative, then the string is nul-terminated.</doc> | |
| 90411 | 91374 | <type name="glong" c:type="glong"/> | |
| 90412 | 91375 | </parameter> | |
| @@ -90418,7 +91381,7 @@ The result will be nul-terminated.</doc> | |||
| 90418 | 91381 | allow-none="1"> | |
| 90419 | 91382 | <doc xml:space="preserve" | |
| 90420 | 91383 | filename="glib/gutf8.c" | |
| 90421 | - | line="1234">location to store number of words read, or | |
| 91384 | + | line="1236">location to store number of words read, or | |
| 90422 | 91385 | `NULL`. If `NULL`, then [error@GLib.ConvertError.PARTIAL_INPUT] will be | |
| 90423 | 91386 | returned in case @str contains a trailing partial character. If | |
| 90424 | 91387 | an error occurs then the index of the invalid input is stored here.</doc> | |
| @@ -90432,7 +91395,7 @@ The result will be nul-terminated.</doc> | |||
| 90432 | 91395 | allow-none="1"> | |
| 90433 | 91396 | <doc xml:space="preserve" | |
| 90434 | 91397 | filename="glib/gutf8.c" | |
| 90435 | - | line="1238">location to store number | |
| 91398 | + | line="1240">location to store number | |
| 90436 | 91399 | of characters written, or `NULL`. The value stored here does not include | |
| 90437 | 91400 | the trailing nul character.</doc> | |
| 90438 | 91401 | <type name="glong" c:type="glong*"/> | |
| @@ -90442,7 +91405,7 @@ The result will be nul-terminated.</doc> | |||
| 90442 | 91405 | <function name="utf16_to_utf8" c:identifier="g_utf16_to_utf8" throws="1"> | |
| 90443 | 91406 | <doc xml:space="preserve" | |
| 90444 | 91407 | filename="glib/gutf8.c" | |
| 90445 | - | line="1073">Convert a string from UTF-16 to UTF-8. | |
| 91408 | + | line="1075">Convert a string from UTF-16 to UTF-8. | |
| 90446 | 91409 | ||
| 90447 | 91410 | The result will be terminated with a nul byte. | |
| 90448 | 91411 | ||
| @@ -90460,7 +91423,7 @@ unpaired surrogates or partial character sequences.</doc> | |||
| 90460 | 91423 | <return-value transfer-ownership="full"> | |
| 90461 | 91424 | <doc xml:space="preserve" | |
| 90462 | 91425 | filename="glib/gutf8.c" | |
| 90463 | - | line="1105">a pointer to a newly allocated UTF-8 string. | |
| 91426 | + | line="1107">a pointer to a newly allocated UTF-8 string. | |
| 90464 | 91427 | This value must be freed with [func@GLib.free].</doc> | |
| 90465 | 91428 | <type name="utf8" c:type="gchar*"/> | |
| 90466 | 91429 | </return-value> | |
| @@ -90468,7 +91431,7 @@ unpaired surrogates or partial character sequences.</doc> | |||
| 90468 | 91431 | <parameter name="str" transfer-ownership="none"> | |
| 90469 | 91432 | <doc xml:space="preserve" | |
| 90470 | 91433 | filename="glib/gutf8.c" | |
| 90471 | - | line="1075">a UTF-16 encoded string</doc> | |
| 91434 | + | line="1077">a UTF-16 encoded string</doc> | |
| 90472 | 91435 | <array length="1" zero-terminated="0" c:type="const gunichar2*"> | |
| 90473 | 91436 | <type name="guint16"/> | |
| 90474 | 91437 | </array> | |
| @@ -90476,7 +91439,7 @@ unpaired surrogates or partial character sequences.</doc> | |||
| 90476 | 91439 | <parameter name="len" transfer-ownership="none"> | |
| 90477 | 91440 | <doc xml:space="preserve" | |
| 90478 | 91441 | filename="glib/gutf8.c" | |
| 90479 | - | line="1076">the maximum length (number of #gunichar2) of @str to use. | |
| 91442 | + | line="1078">the maximum length (number of #gunichar2) of @str to use. | |
| 90480 | 91443 | If @len is negative, then the string is nul-terminated.</doc> | |
| 90481 | 91444 | <type name="glong" c:type="glong"/> | |
| 90482 | 91445 | </parameter> | |
| @@ -90488,7 +91451,7 @@ unpaired surrogates or partial character sequences.</doc> | |||
| 90488 | 91451 | allow-none="1"> | |
| 90489 | 91452 | <doc xml:space="preserve" | |
| 90490 | 91453 | filename="glib/gutf8.c" | |
| 90491 | - | line="1078">location to store number of words read, or | |
| 91454 | + | line="1080">location to store number of words read, or | |
| 90492 | 91455 | `NULL`. If `NULL`, then [error@GLib.ConvertError.PARTIAL_INPUT] will | |
| 90493 | 91456 | be returned in case @str contains a trailing partial character. If | |
| 90494 | 91457 | an error occurs then the index of the invalid input is stored here. | |
| @@ -90503,7 +91466,7 @@ unpaired surrogates or partial character sequences.</doc> | |||
| 90503 | 91466 | allow-none="1"> | |
| 90504 | 91467 | <doc xml:space="preserve" | |
| 90505 | 91468 | filename="glib/gutf8.c" | |
| 90506 | - | line="1083">location to store number | |
| 91469 | + | line="1085">location to store number | |
| 90507 | 91470 | of bytes written, or `NULL`. The value stored here does not include the | |
| 90508 | 91471 | trailing nul byte. It’s guaranteed to be non-negative.</doc> | |
| 90509 | 91472 | <type name="glong" c:type="glong*"/> | |
| @@ -90670,7 +91633,7 @@ used only for comparisons.</doc> | |||
| 90670 | 91633 | <function name="utf8_find_next_char" c:identifier="g_utf8_find_next_char"> | |
| 90671 | 91634 | <doc xml:space="preserve" | |
| 90672 | 91635 | filename="glib/gutf8.c" | |
| 90673 | - | line="156">Finds the start of the next UTF-8 character in the string after @p. | |
| 91636 | + | line="158">Finds the start of the next UTF-8 character in the string after @p. | |
| 90674 | 91637 | ||
| 90675 | 91638 | @p does not have to be at the beginning of a UTF-8 character. No check | |
| 90676 | 91639 | is made to see if the character found is actually valid other than | |
| @@ -90684,7 +91647,7 @@ is reached.</doc> | |||
| 90684 | 91647 | <return-value transfer-ownership="none" nullable="1"> | |
| 90685 | 91648 | <doc xml:space="preserve" | |
| 90686 | 91649 | filename="glib/gutf8.c" | |
| 90687 | - | line="173">a pointer to the found character or `NULL` if @end is | |
| 91650 | + | line="175">a pointer to the found character or `NULL` if @end is | |
| 90688 | 91651 | set and is reached</doc> | |
| 90689 | 91652 | <type name="utf8" c:type="gchar*"/> | |
| 90690 | 91653 | </return-value> | |
| @@ -90692,7 +91655,7 @@ is reached.</doc> | |||
| 90692 | 91655 | <parameter name="p" transfer-ownership="none"> | |
| 90693 | 91656 | <doc xml:space="preserve" | |
| 90694 | 91657 | filename="glib/gutf8.c" | |
| 90695 | - | line="158">a pointer to a position within a UTF-8 encoded string</doc> | |
| 91658 | + | line="160">a pointer to a position within a UTF-8 encoded string</doc> | |
| 90696 | 91659 | <type name="utf8" c:type="const gchar*"/> | |
| 90697 | 91660 | </parameter> | |
| 90698 | 91661 | <parameter name="end" | |
| @@ -90701,7 +91664,7 @@ is reached.</doc> | |||
| 90701 | 91664 | allow-none="1"> | |
| 90702 | 91665 | <doc xml:space="preserve" | |
| 90703 | 91666 | filename="glib/gutf8.c" | |
| 90704 | - | line="159">a pointer to the byte following the end of the string, | |
| 91667 | + | line="161">a pointer to the byte following the end of the string, | |
| 90705 | 91668 | or `NULL` to indicate that the string is nul-terminated</doc> | |
| 90706 | 91669 | <type name="utf8" c:type="const gchar*"/> | |
| 90707 | 91670 | </parameter> | |
| @@ -90710,7 +91673,7 @@ is reached.</doc> | |||
| 90710 | 91673 | <function name="utf8_find_prev_char" c:identifier="g_utf8_find_prev_char"> | |
| 90711 | 91674 | <doc xml:space="preserve" | |
| 90712 | 91675 | filename="glib/gutf8.c" | |
| 90713 | - | line="128">Given a position @p with a UTF-8 encoded string @str, find the start | |
| 91676 | + | line="130">Given a position @p with a UTF-8 encoded string @str, find the start | |
| 90714 | 91677 | of the previous UTF-8 character starting before @p. Returns `NULL` if no | |
| 90715 | 91678 | UTF-8 characters are present in @str before @p. | |
| 90716 | 91679 | ||
| @@ -90721,20 +91684,20 @@ it starts with an appropriate byte.</doc> | |||
| 90721 | 91684 | <return-value transfer-ownership="none" nullable="1"> | |
| 90722 | 91685 | <doc xml:space="preserve" | |
| 90723 | 91686 | filename="glib/gutf8.c" | |
| 90724 | - | line="141">a pointer to the found character</doc> | |
| 91687 | + | line="143">a pointer to the found character</doc> | |
| 90725 | 91688 | <type name="utf8" c:type="gchar*"/> | |
| 90726 | 91689 | </return-value> | |
| 90727 | 91690 | <parameters> | |
| 90728 | 91691 | <parameter name="str" transfer-ownership="none"> | |
| 90729 | 91692 | <doc xml:space="preserve" | |
| 90730 | 91693 | filename="glib/gutf8.c" | |
| 90731 | - | line="130">pointer to the beginning of a UTF-8 encoded string</doc> | |
| 91694 | + | line="132">pointer to the beginning of a UTF-8 encoded string</doc> | |
| 90732 | 91695 | <type name="utf8" c:type="const gchar*"/> | |
| 90733 | 91696 | </parameter> | |
| 90734 | 91697 | <parameter name="p" transfer-ownership="none"> | |
| 90735 | 91698 | <doc xml:space="preserve" | |
| 90736 | 91699 | filename="glib/gutf8.c" | |
| 90737 | - | line="131">pointer to some position within @str</doc> | |
| 91700 | + | line="133">pointer to some position within @str</doc> | |
| 90738 | 91701 | <type name="utf8" c:type="const gchar*"/> | |
| 90739 | 91702 | </parameter> | |
| 90740 | 91703 | </parameters> | |
| @@ -90742,7 +91705,7 @@ it starts with an appropriate byte.</doc> | |||
| 90742 | 91705 | <function name="utf8_get_char" c:identifier="g_utf8_get_char"> | |
| 90743 | 91706 | <doc xml:space="preserve" | |
| 90744 | 91707 | filename="glib/gutf8.c" | |
| 90745 | - | line="319">Converts a sequence of bytes encoded as UTF-8 to a Unicode character. | |
| 91708 | + | line="321">Converts a sequence of bytes encoded as UTF-8 to a Unicode character. | |
| 90746 | 91709 | ||
| 90747 | 91710 | If @p does not point to a valid UTF-8 encoded character, results | |
| 90748 | 91711 | are undefined. If you are not sure that the bytes are complete | |
| @@ -90752,14 +91715,14 @@ instead.</doc> | |||
| 90752 | 91715 | <return-value transfer-ownership="none"> | |
| 90753 | 91716 | <doc xml:space="preserve" | |
| 90754 | 91717 | filename="glib/gutf8.c" | |
| 90755 | - | line="330">the resulting character</doc> | |
| 91718 | + | line="332">the resulting character</doc> | |
| 90756 | 91719 | <type name="gunichar" c:type="gunichar"/> | |
| 90757 | 91720 | </return-value> | |
| 90758 | 91721 | <parameters> | |
| 90759 | 91722 | <parameter name="p" transfer-ownership="none"> | |
| 90760 | 91723 | <doc xml:space="preserve" | |
| 90761 | 91724 | filename="glib/gutf8.c" | |
| 90762 | - | line="321">a pointer to Unicode character encoded as UTF-8</doc> | |
| 91725 | + | line="323">a pointer to Unicode character encoded as UTF-8</doc> | |
| 90763 | 91726 | <type name="utf8" c:type="const gchar*"/> | |
| 90764 | 91727 | </parameter> | |
| 90765 | 91728 | </parameters> | |
| @@ -90768,7 +91731,7 @@ instead.</doc> | |||
| 90768 | 91731 | c:identifier="g_utf8_get_char_validated"> | |
| 90769 | 91732 | <doc xml:space="preserve" | |
| 90770 | 91733 | filename="glib/gutf8.c" | |
| 90771 | - | line="746">Convert a sequence of bytes encoded as UTF-8 to a Unicode character. | |
| 91734 | + | line="748">Convert a sequence of bytes encoded as UTF-8 to a Unicode character. | |
| 90772 | 91735 | ||
| 90773 | 91736 | This function checks for incomplete characters, for invalid characters | |
| 90774 | 91737 | such as characters that are out of the range of Unicode, and for | |
| @@ -90781,7 +91744,7 @@ sequence are nul.</doc> | |||
| 90781 | 91744 | <return-value transfer-ownership="none"> | |
| 90782 | 91745 | <doc xml:space="preserve" | |
| 90783 | 91746 | filename="glib/gutf8.c" | |
| 90784 | - | line="761">the resulting character. If @p points to a partial | |
| 91747 | + | line="763">the resulting character. If @p points to a partial | |
| 90785 | 91748 | sequence at the end of a string that could begin a valid | |
| 90786 | 91749 | character (or if @max_len is zero), returns `(gunichar)-2`; | |
| 90787 | 91750 | otherwise, if @p does not point to a valid UTF-8 encoded | |
| @@ -90792,13 +91755,13 @@ sequence are nul.</doc> | |||
| 90792 | 91755 | <parameter name="p" transfer-ownership="none"> | |
| 90793 | 91756 | <doc xml:space="preserve" | |
| 90794 | 91757 | filename="glib/gutf8.c" | |
| 90795 | - | line="748">a pointer to Unicode character encoded as UTF-8</doc> | |
| 91758 | + | line="750">a pointer to Unicode character encoded as UTF-8</doc> | |
| 90796 | 91759 | <type name="utf8" c:type="const gchar*"/> | |
| 90797 | 91760 | </parameter> | |
| 90798 | 91761 | <parameter name="max_len" transfer-ownership="none"> | |
| 90799 | 91762 | <doc xml:space="preserve" | |
| 90800 | 91763 | filename="glib/gutf8.c" | |
| 90801 | - | line="749">the maximum number of bytes to read, or `-1` if @p is nul-terminated</doc> | |
| 91764 | + | line="751">the maximum number of bytes to read, or `-1` if @p is nul-terminated</doc> | |
| 90802 | 91765 | <type name="gssize" c:type="gssize"/> | |
| 90803 | 91766 | </parameter> | |
| 90804 | 91767 | </parameters> | |
| @@ -90808,7 +91771,7 @@ sequence are nul.</doc> | |||
| 90808 | 91771 | version="2.52"> | |
| 90809 | 91772 | <doc xml:space="preserve" | |
| 90810 | 91773 | filename="glib/gutf8.c" | |
| 90811 | - | line="1979">If the provided string is valid UTF-8, return a copy of it. If not, | |
| 91774 | + | line="2376">If the provided string is valid UTF-8, return a copy of it. If not, | |
| 90812 | 91775 | return a copy in which bytes that could not be interpreted as valid Unicode | |
| 90813 | 91776 | are replaced with the Unicode replacement character (U+FFFD). | |
| 90814 | 91777 | ||
| @@ -90821,20 +91784,20 @@ readable as-is.</doc> | |||
| 90821 | 91784 | <return-value transfer-ownership="full"> | |
| 90822 | 91785 | <doc xml:space="preserve" | |
| 90823 | 91786 | filename="glib/gutf8.c" | |
| 90824 | - | line="1995">a valid UTF-8 string whose content resembles @str</doc> | |
| 91787 | + | line="2392">a valid UTF-8 string whose content resembles @str</doc> | |
| 90825 | 91788 | <type name="utf8" c:type="gchar*"/> | |
| 90826 | 91789 | </return-value> | |
| 90827 | 91790 | <parameters> | |
| 90828 | 91791 | <parameter name="str" transfer-ownership="none"> | |
| 90829 | 91792 | <doc xml:space="preserve" | |
| 90830 | 91793 | filename="glib/gutf8.c" | |
| 90831 | - | line="1981">string to coerce into UTF-8</doc> | |
| 91794 | + | line="2378">string to coerce into UTF-8</doc> | |
| 90832 | 91795 | <type name="utf8" c:type="const gchar*"/> | |
| 90833 | 91796 | </parameter> | |
| 90834 | 91797 | <parameter name="len" transfer-ownership="none"> | |
| 90835 | 91798 | <doc xml:space="preserve" | |
| 90836 | 91799 | filename="glib/gutf8.c" | |
| 90837 | - | line="1982">the maximum length of @str to use, in bytes. If @len is negative, | |
| 91800 | + | line="2379">the maximum length of @str to use, in bytes. If @len is negative, | |
| 90838 | 91801 | then the string is nul-terminated.</doc> | |
| 90839 | 91802 | <type name="gssize" c:type="gssize"/> | |
| 90840 | 91803 | </parameter> | |
| @@ -90927,7 +91890,7 @@ less capable Unicode handling.</doc> | |||
| 90927 | 91890 | c:identifier="g_utf8_offset_to_pointer"> | |
| 90928 | 91891 | <doc xml:space="preserve" | |
| 90929 | 91892 | filename="glib/gutf8.c" | |
| 90930 | - | line="347">Converts from an integer character offset to a pointer to a position | |
| 91893 | + | line="349">Converts from an integer character offset to a pointer to a position | |
| 90931 | 91894 | within the string. | |
| 90932 | 91895 | ||
| 90933 | 91896 | Since 2.10, this function allows to pass a negative @offset to | |
| @@ -90944,20 +91907,20 @@ text rendering and therefore has to be as fast as possible.</doc> | |||
| 90944 | 91907 | <return-value transfer-ownership="none"> | |
| 90945 | 91908 | <doc xml:space="preserve" | |
| 90946 | 91909 | filename="glib/gutf8.c" | |
| 90947 | - | line="366">the resulting pointer</doc> | |
| 91910 | + | line="368">the resulting pointer</doc> | |
| 90948 | 91911 | <type name="utf8" c:type="gchar*"/> | |
| 90949 | 91912 | </return-value> | |
| 90950 | 91913 | <parameters> | |
| 90951 | 91914 | <parameter name="str" transfer-ownership="none"> | |
| 90952 | 91915 | <doc xml:space="preserve" | |
| 90953 | 91916 | filename="glib/gutf8.c" | |
| 90954 | - | line="349">a UTF-8 encoded string</doc> | |
| 91917 | + | line="351">a UTF-8 encoded string</doc> | |
| 90955 | 91918 | <type name="utf8" c:type="const gchar*"/> | |
| 90956 | 91919 | </parameter> | |
| 90957 | 91920 | <parameter name="offset" transfer-ownership="none"> | |
| 90958 | 91921 | <doc xml:space="preserve" | |
| 90959 | 91922 | filename="glib/gutf8.c" | |
| 90960 | - | line="350">a character offset within @str</doc> | |
| 91923 | + | line="352">a character offset within @str</doc> | |
| 90961 | 91924 | <type name="glong" c:type="glong"/> | |
| 90962 | 91925 | </parameter> | |
| 90963 | 91926 | </parameters> | |
| @@ -90966,7 +91929,7 @@ text rendering and therefore has to be as fast as possible.</doc> | |||
| 90966 | 91929 | c:identifier="g_utf8_pointer_to_offset"> | |
| 90967 | 91930 | <doc xml:space="preserve" | |
| 90968 | 91931 | filename="glib/gutf8.c" | |
| 90969 | - | line="399">Converts from a pointer to position within a string to an integer | |
| 91932 | + | line="401">Converts from a pointer to position within a string to an integer | |
| 90970 | 91933 | character offset. | |
| 90971 | 91934 | ||
| 90972 | 91935 | Since 2.10, this function allows @pos to be before @str, and returns | |
| @@ -90975,20 +91938,20 @@ a negative offset in this case.</doc> | |||
| 90975 | 91938 | <return-value transfer-ownership="none"> | |
| 90976 | 91939 | <doc xml:space="preserve" | |
| 90977 | 91940 | filename="glib/gutf8.c" | |
| 90978 | - | line="410">the resulting character offset</doc> | |
| 91941 | + | line="412">the resulting character offset</doc> | |
| 90979 | 91942 | <type name="glong" c:type="glong"/> | |
| 90980 | 91943 | </return-value> | |
| 90981 | 91944 | <parameters> | |
| 90982 | 91945 | <parameter name="str" transfer-ownership="none"> | |
| 90983 | 91946 | <doc xml:space="preserve" | |
| 90984 | 91947 | filename="glib/gutf8.c" | |
| 90985 | - | line="401">a UTF-8 encoded string</doc> | |
| 91948 | + | line="403">a UTF-8 encoded string</doc> | |
| 90986 | 91949 | <type name="utf8" c:type="const gchar*"/> | |
| 90987 | 91950 | </parameter> | |
| 90988 | 91951 | <parameter name="pos" transfer-ownership="none"> | |
| 90989 | 91952 | <doc xml:space="preserve" | |
| 90990 | 91953 | filename="glib/gutf8.c" | |
| 90991 | - | line="402">a pointer to a position within @str</doc> | |
| 91954 | + | line="404">a pointer to a position within @str</doc> | |
| 90992 | 91955 | <type name="utf8" c:type="const gchar*"/> | |
| 90993 | 91956 | </parameter> | |
| 90994 | 91957 | </parameters> | |
| @@ -90996,7 +91959,7 @@ a negative offset in this case.</doc> | |||
| 90996 | 91959 | <function name="utf8_prev_char" c:identifier="g_utf8_prev_char"> | |
| 90997 | 91960 | <doc xml:space="preserve" | |
| 90998 | 91961 | filename="glib/gutf8.c" | |
| 90999 | - | line="194">Finds the previous UTF-8 character in the string before @p. | |
| 91962 | + | line="196">Finds the previous UTF-8 character in the string before @p. | |
| 91000 | 91963 | ||
| 91001 | 91964 | @p does not have to be at the beginning of a UTF-8 character. No check | |
| 91002 | 91965 | is made to see if the character found is actually valid other than | |
| @@ -91007,14 +91970,14 @@ instead.</doc> | |||
| 91007 | 91970 | <return-value transfer-ownership="none"> | |
| 91008 | 91971 | <doc xml:space="preserve" | |
| 91009 | 91972 | filename="glib/gutf8.c" | |
| 91010 | - | line="206">a pointer to the found character</doc> | |
| 91973 | + | line="208">a pointer to the found character</doc> | |
| 91011 | 91974 | <type name="utf8" c:type="gchar*"/> | |
| 91012 | 91975 | </return-value> | |
| 91013 | 91976 | <parameters> | |
| 91014 | 91977 | <parameter name="p" transfer-ownership="none"> | |
| 91015 | 91978 | <doc xml:space="preserve" | |
| 91016 | 91979 | filename="glib/gutf8.c" | |
| 91017 | - | line="196">a pointer to a position within a UTF-8 encoded string</doc> | |
| 91980 | + | line="198">a pointer to a position within a UTF-8 encoded string</doc> | |
| 91018 | 91981 | <type name="utf8" c:type="const gchar*"/> | |
| 91019 | 91982 | </parameter> | |
| 91020 | 91983 | </parameters> | |
| @@ -91022,7 +91985,7 @@ instead.</doc> | |||
| 91022 | 91985 | <function name="utf8_strchr" c:identifier="g_utf8_strchr"> | |
| 91023 | 91986 | <doc xml:space="preserve" | |
| 91024 | 91987 | filename="glib/gutf8.c" | |
| 91025 | - | line="598">Finds the leftmost occurrence of the given Unicode character | |
| 91988 | + | line="600">Finds the leftmost occurrence of the given Unicode character | |
| 91026 | 91989 | in a UTF-8 encoded string, while limiting the search to @len bytes. | |
| 91027 | 91990 | ||
| 91028 | 91991 | If @len is `-1`, allow unbounded search.</doc> | |
| @@ -91030,7 +91993,7 @@ If @len is `-1`, allow unbounded search.</doc> | |||
| 91030 | 91993 | <return-value transfer-ownership="none" nullable="1"> | |
| 91031 | 91994 | <doc xml:space="preserve" | |
| 91032 | 91995 | filename="glib/gutf8.c" | |
| 91033 | - | line="609">`NULL` if the string does not contain | |
| 91996 | + | line="611">`NULL` if the string does not contain | |
| 91034 | 91997 | the character, otherwise, a pointer to the start of the leftmost occurrence | |
| 91035 | 91998 | of the character in the string.</doc> | |
| 91036 | 91999 | <type name="utf8" c:type="gchar*"/> | |
| @@ -91039,19 +92002,19 @@ If @len is `-1`, allow unbounded search.</doc> | |||
| 91039 | 92002 | <parameter name="p" transfer-ownership="none"> | |
| 91040 | 92003 | <doc xml:space="preserve" | |
| 91041 | 92004 | filename="glib/gutf8.c" | |
| 91042 | - | line="600">a nul-terminated UTF-8 encoded string</doc> | |
| 92005 | + | line="602">a nul-terminated UTF-8 encoded string</doc> | |
| 91043 | 92006 | <type name="utf8" c:type="const gchar*"/> | |
| 91044 | 92007 | </parameter> | |
| 91045 | 92008 | <parameter name="len" transfer-ownership="none"> | |
| 91046 | 92009 | <doc xml:space="preserve" | |
| 91047 | 92010 | filename="glib/gutf8.c" | |
| 91048 | - | line="601">the maximum length of @p</doc> | |
| 92011 | + | line="603">the maximum length of @p</doc> | |
| 91049 | 92012 | <type name="gssize" c:type="gssize"/> | |
| 91050 | 92013 | </parameter> | |
| 91051 | 92014 | <parameter name="c" transfer-ownership="none"> | |
| 91052 | 92015 | <doc xml:space="preserve" | |
| 91053 | 92016 | filename="glib/gutf8.c" | |
| 91054 | - | line="602">a Unicode character</doc> | |
| 92017 | + | line="604">a Unicode character</doc> | |
| 91055 | 92018 | <type name="gunichar" c:type="gunichar"/> | |
| 91056 | 92019 | </parameter> | |
| 91057 | 92020 | </parameters> | |
| @@ -91089,27 +92052,27 @@ characters in the string changing.</doc> | |||
| 91089 | 92052 | <function name="utf8_strlen" c:identifier="g_utf8_strlen"> | |
| 91090 | 92053 | <doc xml:space="preserve" | |
| 91091 | 92054 | filename="glib/gutf8.c" | |
| 91092 | - | line="219">Computes the length of the string in characters, not including | |
| 92055 | + | line="221">Computes the length of the string in characters, not including | |
| 91093 | 92056 | the terminating nul character. If the @max’th byte falls in the | |
| 91094 | 92057 | middle of a character, the last (partial) character is not counted.</doc> | |
| 91095 | 92058 | <source-position filename="glib/gunicode.h" line="849"/> | |
| 91096 | 92059 | <return-value transfer-ownership="none"> | |
| 91097 | 92060 | <doc xml:space="preserve" | |
| 91098 | 92061 | filename="glib/gutf8.c" | |
| 91099 | - | line="232">the length of the string in characters</doc> | |
| 92062 | + | line="234">the length of the string in characters</doc> | |
| 91100 | 92063 | <type name="glong" c:type="glong"/> | |
| 91101 | 92064 | </return-value> | |
| 91102 | 92065 | <parameters> | |
| 91103 | 92066 | <parameter name="p" transfer-ownership="none"> | |
| 91104 | 92067 | <doc xml:space="preserve" | |
| 91105 | 92068 | filename="glib/gutf8.c" | |
| 91106 | - | line="221">pointer to the start of a UTF-8 encoded string</doc> | |
| 92069 | + | line="223">pointer to the start of a UTF-8 encoded string</doc> | |
| 91107 | 92070 | <type name="utf8" c:type="const gchar*"/> | |
| 91108 | 92071 | </parameter> | |
| 91109 | 92072 | <parameter name="max" transfer-ownership="none"> | |
| 91110 | 92073 | <doc xml:space="preserve" | |
| 91111 | 92074 | filename="glib/gutf8.c" | |
| 91112 | - | line="222">the maximum number of bytes to examine. If @max | |
| 92075 | + | line="224">the maximum number of bytes to examine. If @max | |
| 91113 | 92076 | is less than 0, then the string is assumed to be | |
| 91114 | 92077 | nul-terminated. If @max is 0, @p will not be examined and | |
| 91115 | 92078 | may be `NULL`. If @max is greater than 0, up to @max | |
| @@ -91121,7 +92084,7 @@ middle of a character, the last (partial) character is not counted.</doc> | |||
| 91121 | 92084 | <function name="utf8_strncpy" c:identifier="g_utf8_strncpy"> | |
| 91122 | 92085 | <doc xml:space="preserve" | |
| 91123 | 92086 | filename="glib/gutf8.c" | |
| 91124 | - | line="432">Like the standard C [`strncpy()`](man:strncpy) function, but copies a given | |
| 92087 | + | line="434">Like the standard C [`strncpy()`](man:strncpy) function, but copies a given | |
| 91125 | 92088 | number of characters instead of a given number of bytes. | |
| 91126 | 92089 | ||
| 91127 | 92090 | The @src string must be valid UTF-8 encoded text. (Use | |
| @@ -91134,26 +92097,26 @@ largest possible UTF-8 characters</doc> | |||
| 91134 | 92097 | <return-value transfer-ownership="none"> | |
| 91135 | 92098 | <doc xml:space="preserve" | |
| 91136 | 92099 | filename="glib/gutf8.c" | |
| 91137 | - | line="448">@dest</doc> | |
| 92100 | + | line="450">@dest</doc> | |
| 91138 | 92101 | <type name="utf8" c:type="gchar*"/> | |
| 91139 | 92102 | </return-value> | |
| 91140 | 92103 | <parameters> | |
| 91141 | 92104 | <parameter name="dest" transfer-ownership="none"> | |
| 91142 | 92105 | <doc xml:space="preserve" | |
| 91143 | 92106 | filename="glib/gutf8.c" | |
| 91144 | - | line="434">buffer to fill with characters from @src</doc> | |
| 92107 | + | line="436">buffer to fill with characters from @src</doc> | |
| 91145 | 92108 | <type name="utf8" c:type="gchar*"/> | |
| 91146 | 92109 | </parameter> | |
| 91147 | 92110 | <parameter name="src" transfer-ownership="none"> | |
| 91148 | 92111 | <doc xml:space="preserve" | |
| 91149 | 92112 | filename="glib/gutf8.c" | |
| 91150 | - | line="435">UTF-8 encoded string</doc> | |
| 92113 | + | line="437">UTF-8 encoded string</doc> | |
| 91151 | 92114 | <type name="utf8" c:type="const gchar*"/> | |
| 91152 | 92115 | </parameter> | |
| 91153 | 92116 | <parameter name="n" transfer-ownership="none"> | |
| 91154 | 92117 | <doc xml:space="preserve" | |
| 91155 | 92118 | filename="glib/gutf8.c" | |
| 91156 | - | line="436">character count</doc> | |
| 92119 | + | line="438">character count</doc> | |
| 91157 | 92120 | <type name="gsize" c:type="gsize"/> | |
| 91158 | 92121 | </parameter> | |
| 91159 | 92122 | </parameters> | |
| @@ -91161,7 +92124,7 @@ largest possible UTF-8 characters</doc> | |||
| 91161 | 92124 | <function name="utf8_strrchr" c:identifier="g_utf8_strrchr"> | |
| 91162 | 92125 | <doc xml:space="preserve" | |
| 91163 | 92126 | filename="glib/gutf8.c" | |
| 91164 | - | line="627">Find the rightmost occurrence of the given Unicode character | |
| 92127 | + | line="629">Find the rightmost occurrence of the given Unicode character | |
| 91165 | 92128 | in a UTF-8 encoded string, while limiting the search to @len bytes. | |
| 91166 | 92129 | ||
| 91167 | 92130 | If @len is `-1`, allow unbounded search.</doc> | |
| @@ -91169,7 +92132,7 @@ If @len is `-1`, allow unbounded search.</doc> | |||
| 91169 | 92132 | <return-value transfer-ownership="none" nullable="1"> | |
| 91170 | 92133 | <doc xml:space="preserve" | |
| 91171 | 92134 | filename="glib/gutf8.c" | |
| 91172 | - | line="638">`NULL` if the string does not contain | |
| 92135 | + | line="640">`NULL` if the string does not contain | |
| 91173 | 92136 | the character, otherwise, a pointer to the start of the rightmost | |
| 91174 | 92137 | occurrence of the character in the string.</doc> | |
| 91175 | 92138 | <type name="utf8" c:type="gchar*"/> | |
| @@ -91178,19 +92141,19 @@ If @len is `-1`, allow unbounded search.</doc> | |||
| 91178 | 92141 | <parameter name="p" transfer-ownership="none"> | |
| 91179 | 92142 | <doc xml:space="preserve" | |
| 91180 | 92143 | filename="glib/gutf8.c" | |
| 91181 | - | line="629">a nul-terminated UTF-8 encoded string</doc> | |
| 92144 | + | line="631">a nul-terminated UTF-8 encoded string</doc> | |
| 91182 | 92145 | <type name="utf8" c:type="const gchar*"/> | |
| 91183 | 92146 | </parameter> | |
| 91184 | 92147 | <parameter name="len" transfer-ownership="none"> | |
| 91185 | 92148 | <doc xml:space="preserve" | |
| 91186 | 92149 | filename="glib/gutf8.c" | |
| 91187 | - | line="630">the maximum length of @p</doc> | |
| 92150 | + | line="632">the maximum length of @p</doc> | |
| 91188 | 92151 | <type name="gssize" c:type="gssize"/> | |
| 91189 | 92152 | </parameter> | |
| 91190 | 92153 | <parameter name="c" transfer-ownership="none"> | |
| 91191 | 92154 | <doc xml:space="preserve" | |
| 91192 | 92155 | filename="glib/gutf8.c" | |
| 91193 | - | line="631">a Unicode character</doc> | |
| 92156 | + | line="633">a Unicode character</doc> | |
| 91194 | 92157 | <type name="gunichar" c:type="gunichar"/> | |
| 91195 | 92158 | </parameter> | |
| 91196 | 92159 | </parameters> | |
| @@ -91200,7 +92163,7 @@ If @len is `-1`, allow unbounded search.</doc> | |||
| 91200 | 92163 | version="2.2"> | |
| 91201 | 92164 | <doc xml:space="preserve" | |
| 91202 | 92165 | filename="glib/gutf8.c" | |
| 91203 | - | line="1928">Reverses a UTF-8 string. | |
| 92166 | + | line="2325">Reverses a UTF-8 string. | |
| 91204 | 92167 | ||
| 91205 | 92168 | @str must be valid UTF-8 encoded text. (Use [func@GLib.utf8_validate] on all | |
| 91206 | 92169 | text before trying to use UTF-8 utility functions with it.) | |
| @@ -91218,20 +92181,20 @@ no longer needed.</doc> | |||
| 91218 | 92181 | <return-value transfer-ownership="full"> | |
| 91219 | 92182 | <doc xml:space="preserve" | |
| 91220 | 92183 | filename="glib/gutf8.c" | |
| 91221 | - | line="1949">a newly-allocated string which is the reverse of @str</doc> | |
| 92184 | + | line="2346">a newly-allocated string which is the reverse of @str</doc> | |
| 91222 | 92185 | <type name="utf8" c:type="gchar*"/> | |
| 91223 | 92186 | </return-value> | |
| 91224 | 92187 | <parameters> | |
| 91225 | 92188 | <parameter name="str" transfer-ownership="none"> | |
| 91226 | 92189 | <doc xml:space="preserve" | |
| 91227 | 92190 | filename="glib/gutf8.c" | |
| 91228 | - | line="1930">a UTF-8 encoded string</doc> | |
| 92191 | + | line="2327">a UTF-8 encoded string</doc> | |
| 91229 | 92192 | <type name="utf8" c:type="const gchar*"/> | |
| 91230 | 92193 | </parameter> | |
| 91231 | 92194 | <parameter name="len" transfer-ownership="none"> | |
| 91232 | 92195 | <doc xml:space="preserve" | |
| 91233 | 92196 | filename="glib/gutf8.c" | |
| 91234 | - | line="1931">the maximum length of @str to use, in bytes. If @len is negative, | |
| 92197 | + | line="2328">the maximum length of @str to use, in bytes. If @len is negative, | |
| 91235 | 92198 | then the string is nul-terminated.</doc> | |
| 91236 | 92199 | <type name="gssize" c:type="gssize"/> | |
| 91237 | 92200 | </parameter> | |
| @@ -91273,7 +92236,7 @@ German ess-zet will be changed to SS.)</doc> | |||
| 91273 | 92236 | version="2.30"> | |
| 91274 | 92237 | <doc xml:space="preserve" | |
| 91275 | 92238 | filename="glib/gutf8.c" | |
| 91276 | - | line="273">Copies a substring out of a UTF-8 encoded string. | |
| 92239 | + | line="275">Copies a substring out of a UTF-8 encoded string. | |
| 91277 | 92240 | The substring will contain @end_pos - @start_pos characters. | |
| 91278 | 92241 | ||
| 91279 | 92242 | Since GLib 2.72, `-1` can be passed to @end_pos to indicate the | |
| @@ -91282,7 +92245,7 @@ end of the string.</doc> | |||
| 91282 | 92245 | <return-value transfer-ownership="full"> | |
| 91283 | 92246 | <doc xml:space="preserve" | |
| 91284 | 92247 | filename="glib/gutf8.c" | |
| 91285 | - | line="286">a newly allocated copy of the requested | |
| 92248 | + | line="288">a newly allocated copy of the requested | |
| 91286 | 92249 | substring. Free with [func@GLib.free] when no longer needed.</doc> | |
| 91287 | 92250 | <type name="utf8" c:type="gchar*"/> | |
| 91288 | 92251 | </return-value> | |
| @@ -91290,19 +92253,19 @@ end of the string.</doc> | |||
| 91290 | 92253 | <parameter name="str" transfer-ownership="none"> | |
| 91291 | 92254 | <doc xml:space="preserve" | |
| 91292 | 92255 | filename="glib/gutf8.c" | |
| 91293 | - | line="275">a UTF-8 encoded string</doc> | |
| 92256 | + | line="277">a UTF-8 encoded string</doc> | |
| 91294 | 92257 | <type name="utf8" c:type="const gchar*"/> | |
| 91295 | 92258 | </parameter> | |
| 91296 | 92259 | <parameter name="start_pos" transfer-ownership="none"> | |
| 91297 | 92260 | <doc xml:space="preserve" | |
| 91298 | 92261 | filename="glib/gutf8.c" | |
| 91299 | - | line="276">a character offset within @str</doc> | |
| 92262 | + | line="278">a character offset within @str</doc> | |
| 91300 | 92263 | <type name="glong" c:type="glong"/> | |
| 91301 | 92264 | </parameter> | |
| 91302 | 92265 | <parameter name="end_pos" transfer-ownership="none"> | |
| 91303 | 92266 | <doc xml:space="preserve" | |
| 91304 | 92267 | filename="glib/gutf8.c" | |
| 91305 | - | line="277">another character offset within @str, | |
| 92268 | + | line="279">another character offset within @str, | |
| 91306 | 92269 | or `-1` to indicate the end of the string</doc> | |
| 91307 | 92270 | <type name="glong" c:type="glong"/> | |
| 91308 | 92271 | </parameter> | |
| @@ -91311,7 +92274,7 @@ end of the string.</doc> | |||
| 91311 | 92274 | <function name="utf8_to_ucs4" c:identifier="g_utf8_to_ucs4" throws="1"> | |
| 91312 | 92275 | <doc xml:space="preserve" | |
| 91313 | 92276 | filename="glib/gutf8.c" | |
| 91314 | - | line="911">Convert a string from UTF-8 to a 32-bit fixed width representation as UCS-4. | |
| 92277 | + | line="913">Convert a string from UTF-8 to a 32-bit fixed width representation as UCS-4. | |
| 91315 | 92278 | ||
| 91316 | 92279 | A trailing nul character (U+0000) will be added to the string after the | |
| 91317 | 92280 | converted text.</doc> | |
| @@ -91319,7 +92282,7 @@ converted text.</doc> | |||
| 91319 | 92282 | <return-value transfer-ownership="full"> | |
| 91320 | 92283 | <doc xml:space="preserve" | |
| 91321 | 92284 | filename="glib/gutf8.c" | |
| 91322 | - | line="934">a pointer to a newly allocated UCS-4 string. | |
| 92285 | + | line="936">a pointer to a newly allocated UCS-4 string. | |
| 91323 | 92286 | This value must be freed with [func@GLib.free].</doc> | |
| 91324 | 92287 | <type name="gunichar" c:type="gunichar*"/> | |
| 91325 | 92288 | </return-value> | |
| @@ -91327,13 +92290,13 @@ converted text.</doc> | |||
| 91327 | 92290 | <parameter name="str" transfer-ownership="none"> | |
| 91328 | 92291 | <doc xml:space="preserve" | |
| 91329 | 92292 | filename="glib/gutf8.c" | |
| 91330 | - | line="913">a UTF-8 encoded string</doc> | |
| 92293 | + | line="915">a UTF-8 encoded string</doc> | |
| 91331 | 92294 | <type name="utf8" c:type="const gchar*"/> | |
| 91332 | 92295 | </parameter> | |
| 91333 | 92296 | <parameter name="len" transfer-ownership="none"> | |
| 91334 | 92297 | <doc xml:space="preserve" | |
| 91335 | 92298 | filename="glib/gutf8.c" | |
| 91336 | - | line="914">the maximum length of @str to use, in bytes. If @len is negative, | |
| 92299 | + | line="916">the maximum length of @str to use, in bytes. If @len is negative, | |
| 91337 | 92300 | then the string is nul-terminated.</doc> | |
| 91338 | 92301 | <type name="glong" c:type="glong"/> | |
| 91339 | 92302 | </parameter> | |
| @@ -91345,7 +92308,7 @@ converted text.</doc> | |||
| 91345 | 92308 | allow-none="1"> | |
| 91346 | 92309 | <doc xml:space="preserve" | |
| 91347 | 92310 | filename="glib/gutf8.c" | |
| 91348 | - | line="916">location to store number of | |
| 92311 | + | line="918">location to store number of | |
| 91349 | 92312 | bytes read, or `NULL`. | |
| 91350 | 92313 | If `NULL`, then %G_CONVERT_ERROR_PARTIAL_INPUT will be | |
| 91351 | 92314 | returned in case @str contains a trailing partial | |
| @@ -91361,7 +92324,7 @@ converted text.</doc> | |||
| 91361 | 92324 | allow-none="1"> | |
| 91362 | 92325 | <doc xml:space="preserve" | |
| 91363 | 92326 | filename="glib/gutf8.c" | |
| 91364 | - | line="922">location to store number | |
| 92327 | + | line="924">location to store number | |
| 91365 | 92328 | of characters written or `NULL`. The value here stored does not include | |
| 91366 | 92329 | the trailing nul character.</doc> | |
| 91367 | 92330 | <type name="glong" c:type="glong*"/> | |
| @@ -91371,7 +92334,7 @@ converted text.</doc> | |||
| 91371 | 92334 | <function name="utf8_to_ucs4_fast" c:identifier="g_utf8_to_ucs4_fast"> | |
| 91372 | 92335 | <doc xml:space="preserve" | |
| 91373 | 92336 | filename="glib/gutf8.c" | |
| 91374 | - | line="793">Convert a string from UTF-8 to a 32-bit fixed width | |
| 92337 | + | line="795">Convert a string from UTF-8 to a 32-bit fixed width | |
| 91375 | 92338 | representation as UCS-4, assuming valid UTF-8 input. | |
| 91376 | 92339 | ||
| 91377 | 92340 | This function is roughly twice as fast as [func@GLib.utf8_to_ucs4] | |
| @@ -91381,7 +92344,7 @@ will be added to the string after the converted text.</doc> | |||
| 91381 | 92344 | <return-value transfer-ownership="full"> | |
| 91382 | 92345 | <doc xml:space="preserve" | |
| 91383 | 92346 | filename="glib/gutf8.c" | |
| 91384 | - | line="808">a pointer to a newly allocated UCS-4 string. | |
| 92347 | + | line="810">a pointer to a newly allocated UCS-4 string. | |
| 91385 | 92348 | This value must be freed with [func@GLib.free].</doc> | |
| 91386 | 92349 | <type name="gunichar" c:type="gunichar*"/> | |
| 91387 | 92350 | </return-value> | |
| @@ -91389,13 +92352,13 @@ will be added to the string after the converted text.</doc> | |||
| 91389 | 92352 | <parameter name="str" transfer-ownership="none"> | |
| 91390 | 92353 | <doc xml:space="preserve" | |
| 91391 | 92354 | filename="glib/gutf8.c" | |
| 91392 | - | line="795">a UTF-8 encoded string</doc> | |
| 92355 | + | line="797">a UTF-8 encoded string</doc> | |
| 91393 | 92356 | <type name="utf8" c:type="const gchar*"/> | |
| 91394 | 92357 | </parameter> | |
| 91395 | 92358 | <parameter name="len" transfer-ownership="none"> | |
| 91396 | 92359 | <doc xml:space="preserve" | |
| 91397 | 92360 | filename="glib/gutf8.c" | |
| 91398 | - | line="796">the maximum length of @str to use, in bytes. If @len is negative, | |
| 92361 | + | line="798">the maximum length of @str to use, in bytes. If @len is negative, | |
| 91399 | 92362 | then the string is nul-terminated.</doc> | |
| 91400 | 92363 | <type name="glong" c:type="glong"/> | |
| 91401 | 92364 | </parameter> | |
| @@ -91407,7 +92370,7 @@ will be added to the string after the converted text.</doc> | |||
| 91407 | 92370 | allow-none="1"> | |
| 91408 | 92371 | <doc xml:space="preserve" | |
| 91409 | 92372 | filename="glib/gutf8.c" | |
| 91410 | - | line="798">location to store the | |
| 92373 | + | line="800">location to store the | |
| 91411 | 92374 | number of characters in the result, or `NULL`.</doc> | |
| 91412 | 92375 | <type name="glong" c:type="glong*"/> | |
| 91413 | 92376 | </parameter> | |
| @@ -91416,14 +92379,14 @@ will be added to the string after the converted text.</doc> | |||
| 91416 | 92379 | <function name="utf8_to_utf16" c:identifier="g_utf8_to_utf16" throws="1"> | |
| 91417 | 92380 | <doc xml:space="preserve" | |
| 91418 | 92381 | filename="glib/gutf8.c" | |
| 91419 | - | line="1367">Convert a string from UTF-8 to UTF-16. | |
| 92382 | + | line="1369">Convert a string from UTF-8 to UTF-16. | |
| 91420 | 92383 | ||
| 91421 | 92384 | A nul character (U+0000) will be added to the result after the converted text.</doc> | |
| 91422 | 92385 | <source-position filename="glib/gunicode.h" line="881"/> | |
| 91423 | 92386 | <return-value transfer-ownership="full"> | |
| 91424 | 92387 | <doc xml:space="preserve" | |
| 91425 | 92388 | filename="glib/gutf8.c" | |
| 91426 | - | line="1387">a pointer to a newly allocated UTF-16 string. | |
| 92389 | + | line="1389">a pointer to a newly allocated UTF-16 string. | |
| 91427 | 92390 | This value must be freed with [func@GLib.free].</doc> | |
| 91428 | 92391 | <type name="guint16" c:type="gunichar2*"/> | |
| 91429 | 92392 | </return-value> | |
| @@ -91431,13 +92394,13 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 91431 | 92394 | <parameter name="str" transfer-ownership="none"> | |
| 91432 | 92395 | <doc xml:space="preserve" | |
| 91433 | 92396 | filename="glib/gutf8.c" | |
| 91434 | - | line="1369">a UTF-8 encoded string</doc> | |
| 92397 | + | line="1371">a UTF-8 encoded string</doc> | |
| 91435 | 92398 | <type name="utf8" c:type="const gchar*"/> | |
| 91436 | 92399 | </parameter> | |
| 91437 | 92400 | <parameter name="len" transfer-ownership="none"> | |
| 91438 | 92401 | <doc xml:space="preserve" | |
| 91439 | 92402 | filename="glib/gutf8.c" | |
| 91440 | - | line="1370">the maximum length (number of bytes) of @str to use. | |
| 92403 | + | line="1372">the maximum length (number of bytes) of @str to use. | |
| 91441 | 92404 | If @len is negative, then the string is nul-terminated.</doc> | |
| 91442 | 92405 | <type name="glong" c:type="glong"/> | |
| 91443 | 92406 | </parameter> | |
| @@ -91449,7 +92412,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 91449 | 92412 | allow-none="1"> | |
| 91450 | 92413 | <doc xml:space="preserve" | |
| 91451 | 92414 | filename="glib/gutf8.c" | |
| 91452 | - | line="1372">location to store number of bytes read, or | |
| 92415 | + | line="1374">location to store number of bytes read, or | |
| 91453 | 92416 | `NULL`. If `NULL`, then [error@GLib.ConvertError.PARTIAL_INPUT] will | |
| 91454 | 92417 | be returned in case @str contains a trailing partial character. If | |
| 91455 | 92418 | an error occurs then the index of the invalid input is stored here.</doc> | |
| @@ -91463,7 +92426,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 91463 | 92426 | allow-none="1"> | |
| 91464 | 92427 | <doc xml:space="preserve" | |
| 91465 | 92428 | filename="glib/gutf8.c" | |
| 91466 | - | line="1376">location to store number | |
| 92429 | + | line="1378">location to store number | |
| 91467 | 92430 | of `gunichar2` written, or `NULL`. The value stored here does not include | |
| 91468 | 92431 | the trailing nul.</doc> | |
| 91469 | 92432 | <type name="glong" c:type="glong*"/> | |
| @@ -91475,7 +92438,7 @@ A nul character (U+0000) will be added to the result after the converted text.</ | |||
| 91475 | 92438 | version="2.78"> | |
| 91476 | 92439 | <doc xml:space="preserve" | |
| 91477 | 92440 | filename="glib/gutf8.c" | |
| 91478 | - | line="466">Cuts off the middle of the string, preserving half of @truncate_length | |
| 92441 | + | line="468">Cuts off the middle of the string, preserving half of @truncate_length | |
| 91479 | 92442 | characters at the beginning and half at the end. | |
| 91480 | 92443 | ||
| 91481 | 92444 | If @string is already short enough, this returns a copy of @string. | |
| @@ -91484,20 +92447,20 @@ If @truncate_length is `0`, an empty string is returned.</doc> | |||
| 91484 | 92447 | <return-value transfer-ownership="full"> | |
| 91485 | 92448 | <doc xml:space="preserve" | |
| 91486 | 92449 | filename="glib/gutf8.c" | |
| 91487 | - | line="477">a newly-allocated copy of @string ellipsized in the middle</doc> | |
| 92450 | + | line="479">a newly-allocated copy of @string ellipsized in the middle</doc> | |
| 91488 | 92451 | <type name="utf8" c:type="gchar*"/> | |
| 91489 | 92452 | </return-value> | |
| 91490 | 92453 | <parameters> | |
| 91491 | 92454 | <parameter name="string" transfer-ownership="none"> | |
| 91492 | 92455 | <doc xml:space="preserve" | |
| 91493 | 92456 | filename="glib/gutf8.c" | |
| 91494 | - | line="468">a nul-terminated UTF-8 encoded string</doc> | |
| 92457 | + | line="470">a nul-terminated UTF-8 encoded string</doc> | |
| 91495 | 92458 | <type name="utf8" c:type="const gchar*"/> | |
| 91496 | 92459 | </parameter> | |
| 91497 | 92460 | <parameter name="truncate_length" transfer-ownership="none"> | |
| 91498 | 92461 | <doc xml:space="preserve" | |
| 91499 | 92462 | filename="glib/gutf8.c" | |
| 91500 | - | line="469">the new size of @string, in characters, including the ellipsis character</doc> | |
| 92463 | + | line="471">the new size of @string, in characters, including the ellipsis character</doc> | |
| 91501 | 92464 | <type name="gsize" c:type="gsize"/> | |
| 91502 | 92465 | </parameter> | |
| 91503 | 92466 | </parameters> | |
| @@ -91505,7 +92468,7 @@ If @truncate_length is `0`, an empty string is returned.</doc> | |||
| 91505 | 92468 | <function name="utf8_validate" c:identifier="g_utf8_validate"> | |
| 91506 | 92469 | <doc xml:space="preserve" | |
| 91507 | 92470 | filename="glib/gutf8.c" | |
| 91508 | - | line="1828">Validates UTF-8 encoded text. | |
| 92471 | + | line="2225">Validates UTF-8 encoded text. | |
| 91509 | 92472 | ||
| 91510 | 92473 | @str is the text to validate; if @str is nul-terminated, then @max_len can be | |
| 91511 | 92474 | `-1`, otherwise @max_len should be the number of bytes to validate. | |
| @@ -91526,14 +92489,14 @@ doing anything else with it.</doc> | |||
| 91526 | 92489 | <return-value transfer-ownership="none"> | |
| 91527 | 92490 | <doc xml:space="preserve" | |
| 91528 | 92491 | filename="glib/gutf8.c" | |
| 91529 | - | line="1852">`TRUE` if the text was valid UTF-8</doc> | |
| 92492 | + | line="2249">`TRUE` if the text was valid UTF-8</doc> | |
| 91530 | 92493 | <type name="gboolean" c:type="gboolean"/> | |
| 91531 | 92494 | </return-value> | |
| 91532 | 92495 | <parameters> | |
| 91533 | 92496 | <parameter name="str" transfer-ownership="none"> | |
| 91534 | 92497 | <doc xml:space="preserve" | |
| 91535 | 92498 | filename="glib/gutf8.c" | |
| 91536 | - | line="1830">a pointer to character data</doc> | |
| 92499 | + | line="2227">a pointer to character data</doc> | |
| 91537 | 92500 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 91538 | 92501 | <type name="guint8"/> | |
| 91539 | 92502 | </array> | |
| @@ -91541,7 +92504,7 @@ doing anything else with it.</doc> | |||
| 91541 | 92504 | <parameter name="max_len" transfer-ownership="none"> | |
| 91542 | 92505 | <doc xml:space="preserve" | |
| 91543 | 92506 | filename="glib/gutf8.c" | |
| 91544 | - | line="1831">max bytes to validate, or `-1` to go until nul</doc> | |
| 92507 | + | line="2228">max bytes to validate, or `-1` to go until nul</doc> | |
| 91545 | 92508 | <type name="gssize" c:type="gssize"/> | |
| 91546 | 92509 | </parameter> | |
| 91547 | 92510 | <parameter name="end" | |
| @@ -91552,8 +92515,10 @@ doing anything else with it.</doc> | |||
| 91552 | 92515 | allow-none="1"> | |
| 91553 | 92516 | <doc xml:space="preserve" | |
| 91554 | 92517 | filename="glib/gutf8.c" | |
| 91555 | - | line="1832">return location for end of valid data</doc> | |
| 91556 | - | <type name="utf8" c:type="const gchar**"/> | |
| 92518 | + | line="2229">return location for end of valid data</doc> | |
| 92519 | + | <array c:type="const gchar**"> | |
| 92520 | + | <type name="guint8"/> | |
| 92521 | + | </array> | |
| 91557 | 92522 | </parameter> | |
| 91558 | 92523 | </parameters> | |
| 91559 | 92524 | </function> | |
| @@ -91562,7 +92527,7 @@ doing anything else with it.</doc> | |||
| 91562 | 92527 | version="2.60"> | |
| 91563 | 92528 | <doc xml:space="preserve" | |
| 91564 | 92529 | filename="glib/gutf8.c" | |
| 91565 | - | line="1864">Validates UTF-8 encoded text. | |
| 92530 | + | line="2261">Validates UTF-8 encoded text. | |
| 91566 | 92531 | ||
| 91567 | 92532 | As with [func@GLib.utf8_validate], but @max_len must be set, and hence this | |
| 91568 | 92533 | function will always return `FALSE` if any of the bytes of @str are nul.</doc> | |
| @@ -91570,14 +92535,14 @@ function will always return `FALSE` if any of the bytes of @str are nul.</doc> | |||
| 91570 | 92535 | <return-value transfer-ownership="none"> | |
| 91571 | 92536 | <doc xml:space="preserve" | |
| 91572 | 92537 | filename="glib/gutf8.c" | |
| 91573 | - | line="1875">`TRUE` if the text was valid UTF-8</doc> | |
| 92538 | + | line="2272">`TRUE` if the text was valid UTF-8</doc> | |
| 91574 | 92539 | <type name="gboolean" c:type="gboolean"/> | |
| 91575 | 92540 | </return-value> | |
| 91576 | 92541 | <parameters> | |
| 91577 | 92542 | <parameter name="str" transfer-ownership="none"> | |
| 91578 | 92543 | <doc xml:space="preserve" | |
| 91579 | 92544 | filename="glib/gutf8.c" | |
| 91580 | - | line="1866">a pointer to character data</doc> | |
| 92545 | + | line="2263">a pointer to character data</doc> | |
| 91581 | 92546 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 91582 | 92547 | <type name="guint8"/> | |
| 91583 | 92548 | </array> | |
| @@ -91585,7 +92550,7 @@ function will always return `FALSE` if any of the bytes of @str are nul.</doc> | |||
| 91585 | 92550 | <parameter name="max_len" transfer-ownership="none"> | |
| 91586 | 92551 | <doc xml:space="preserve" | |
| 91587 | 92552 | filename="glib/gutf8.c" | |
| 91588 | - | line="1867">max bytes to validate</doc> | |
| 92553 | + | line="2264">max bytes to validate</doc> | |
| 91589 | 92554 | <type name="gsize" c:type="gsize"/> | |
| 91590 | 92555 | </parameter> | |
| 91591 | 92556 | <parameter name="end" | |
| @@ -91596,15 +92561,17 @@ function will always return `FALSE` if any of the bytes of @str are nul.</doc> | |||
| 91596 | 92561 | allow-none="1"> | |
| 91597 | 92562 | <doc xml:space="preserve" | |
| 91598 | 92563 | filename="glib/gutf8.c" | |
| 91599 | - | line="1868">return location for end of valid data</doc> | |
| 91600 | - | <type name="utf8" c:type="const gchar**"/> | |
| 92564 | + | line="2265">return location for end of valid data</doc> | |
| 92565 | + | <array c:type="const gchar**"> | |
| 92566 | + | <type name="guint8"/> | |
| 92567 | + | </array> | |
| 91601 | 92568 | </parameter> | |
| 91602 | 92569 | </parameters> | |
| 91603 | 92570 | </function> | |
| 91604 | 92571 | <function name="utime" c:identifier="g_utime" version="2.18"> | |
| 91605 | 92572 | <doc xml:space="preserve" | |
| 91606 | 92573 | filename="glib/gstdio.c" | |
| 91607 | - | line="1704">A wrapper for the POSIX utime() function. The utime() function | |
| 92574 | + | line="1725">A wrapper for the POSIX utime() function. The utime() function | |
| 91608 | 92575 | sets the access and modification timestamps of a file. | |
| 91609 | 92576 | ||
| 91610 | 92577 | See your C library manual for more details about how utime() works | |
| @@ -91613,14 +92580,14 @@ on your system.</doc> | |||
| 91613 | 92580 | <return-value transfer-ownership="none"> | |
| 91614 | 92581 | <doc xml:space="preserve" | |
| 91615 | 92582 | filename="glib/gstdio.c" | |
| 91616 | - | line="1716">0 if the operation was successful, -1 if an error occurred</doc> | |
| 92583 | + | line="1737">0 if the operation was successful, -1 if an error occurred</doc> | |
| 91617 | 92584 | <type name="gint" c:type="int"/> | |
| 91618 | 92585 | </return-value> | |
| 91619 | 92586 | <parameters> | |
| 91620 | 92587 | <parameter name="filename" transfer-ownership="none"> | |
| 91621 | 92588 | <doc xml:space="preserve" | |
| 91622 | 92589 | filename="glib/gstdio.c" | |
| 91623 | - | line="1706">a pathname in the GLib file name encoding | |
| 92590 | + | line="1727">a pathname in the GLib file name encoding | |
| 91624 | 92591 | (UTF-8 on Windows)</doc> | |
| 91625 | 92592 | <type name="filename" c:type="const gchar*"/> | |
| 91626 | 92593 | </parameter> | |
| @@ -91630,7 +92597,7 @@ on your system.</doc> | |||
| 91630 | 92597 | allow-none="1"> | |
| 91631 | 92598 | <doc xml:space="preserve" | |
| 91632 | 92599 | filename="glib/gstdio.c" | |
| 91633 | - | line="1708">a pointer to a struct utimbuf.</doc> | |
| 92600 | + | line="1729">a pointer to a struct utimbuf.</doc> | |
| 91634 | 92601 | <type name="gpointer" c:type="utimbuf*"/> | |
| 91635 | 92602 | </parameter> | |
| 91636 | 92603 | </parameters> | |
| @@ -92020,7 +92987,7 @@ see [func@GLib.VariantType.string_is_valid].</doc> | |||
| 92020 | 92987 | introspectable="0"> | |
| 92021 | 92988 | <doc xml:space="preserve" | |
| 92022 | 92989 | filename="glib/gprintf.c" | |
| 92023 | - | line="298">An implementation of the GNU `vasprintf()` function which supports | |
| 92990 | + | line="299">An implementation of the GNU `vasprintf()` function which supports | |
| 92024 | 92991 | positional parameters, as specified in the Single Unix Specification. | |
| 92025 | 92992 | This function is similar to [func@GLib.vsprintf], except that it allocates a | |
| 92026 | 92993 | string to hold the output, instead of putting the output in a buffer | |
| @@ -92035,7 +93002,7 @@ multibyte representation is available for the given character. | |||
| 92035 | 93002 | <return-value transfer-ownership="none"> | |
| 92036 | 93003 | <doc xml:space="preserve" | |
| 92037 | 93004 | filename="glib/gprintf.c" | |
| 92038 | - | line="319">the number of bytes printed, or -1 on failure</doc> | |
| 93005 | + | line="320">the number of bytes printed, or -1 on failure</doc> | |
| 92039 | 93006 | <type name="gint" c:type="gint"/> | |
| 92040 | 93007 | </return-value> | |
| 92041 | 93008 | <parameters> | |
| @@ -92045,7 +93012,7 @@ multibyte representation is available for the given character. | |||
| 92045 | 93012 | transfer-ownership="full"> | |
| 92046 | 93013 | <doc xml:space="preserve" | |
| 92047 | 93014 | filename="glib/gprintf.c" | |
| 92048 | - | line="300">the return location for the | |
| 93015 | + | line="301">the return location for the | |
| 92049 | 93016 | newly-allocated string, which will be `NULL` if (and only if) | |
| 92050 | 93017 | this function fails</doc> | |
| 92051 | 93018 | <type name="utf8" c:type="gchar**"/> | |
| @@ -92053,14 +93020,14 @@ multibyte representation is available for the given character. | |||
| 92053 | 93020 | <parameter name="format" transfer-ownership="none"> | |
| 92054 | 93021 | <doc xml:space="preserve" | |
| 92055 | 93022 | filename="glib/gprintf.c" | |
| 92056 | - | line="303">a standard `printf()` format string, but notice | |
| 93023 | + | line="304">a standard `printf()` format string, but notice | |
| 92057 | 93024 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 92058 | 93025 | <type name="utf8" c:type="const gchar*"/> | |
| 92059 | 93026 | </parameter> | |
| 92060 | 93027 | <parameter name="args" transfer-ownership="none"> | |
| 92061 | 93028 | <doc xml:space="preserve" | |
| 92062 | 93029 | filename="glib/gprintf.c" | |
| 92063 | - | line="305">the list of arguments to insert in the output</doc> | |
| 93030 | + | line="306">the list of arguments to insert in the output</doc> | |
| 92064 | 93031 | <type name="va_list" c:type="va_list"/> | |
| 92065 | 93032 | </parameter> | |
| 92066 | 93033 | </parameters> | |
| @@ -92071,7 +93038,7 @@ multibyte representation is available for the given character. | |||
| 92071 | 93038 | introspectable="0"> | |
| 92072 | 93039 | <doc xml:space="preserve" | |
| 92073 | 93040 | filename="glib/gprintf.c" | |
| 92074 | - | line="203">An implementation of the standard `fprintf()` function which supports | |
| 93041 | + | line="204">An implementation of the standard `fprintf()` function which supports | |
| 92075 | 93042 | positional parameters, as specified in the Single Unix Specification. | |
| 92076 | 93043 | ||
| 92077 | 93044 | `glib/gprintf.h` must be explicitly included in order to use this function.</doc> | |
| @@ -92079,27 +93046,27 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 92079 | 93046 | <return-value transfer-ownership="none"> | |
| 92080 | 93047 | <doc xml:space="preserve" | |
| 92081 | 93048 | filename="glib/gprintf.c" | |
| 92082 | - | line="215">the number of bytes printed</doc> | |
| 93049 | + | line="216">the number of bytes printed</doc> | |
| 92083 | 93050 | <type name="gint" c:type="gint"/> | |
| 92084 | 93051 | </return-value> | |
| 92085 | 93052 | <parameters> | |
| 92086 | 93053 | <parameter name="file" transfer-ownership="none"> | |
| 92087 | 93054 | <doc xml:space="preserve" | |
| 92088 | 93055 | filename="glib/gprintf.c" | |
| 92089 | - | line="205">the stream to write to</doc> | |
| 93056 | + | line="206">the stream to write to</doc> | |
| 92090 | 93057 | <type name="gpointer" c:type="FILE*"/> | |
| 92091 | 93058 | </parameter> | |
| 92092 | 93059 | <parameter name="format" transfer-ownership="none"> | |
| 92093 | 93060 | <doc xml:space="preserve" | |
| 92094 | 93061 | filename="glib/gprintf.c" | |
| 92095 | - | line="206">a standard `printf()` format string, but notice | |
| 93062 | + | line="207">a standard `printf()` format string, but notice | |
| 92096 | 93063 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 92097 | 93064 | <type name="utf8" c:type="const gchar*"/> | |
| 92098 | 93065 | </parameter> | |
| 92099 | 93066 | <parameter name="args" transfer-ownership="none"> | |
| 92100 | 93067 | <doc xml:space="preserve" | |
| 92101 | 93068 | filename="glib/gprintf.c" | |
| 92102 | - | line="208">the list of arguments to insert in the output</doc> | |
| 93069 | + | line="209">the list of arguments to insert in the output</doc> | |
| 92103 | 93070 | <type name="va_list" c:type="va_list"/> | |
| 92104 | 93071 | </parameter> | |
| 92105 | 93072 | </parameters> | |
| @@ -92110,7 +93077,7 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 92110 | 93077 | introspectable="0"> | |
| 92111 | 93078 | <doc xml:space="preserve" | |
| 92112 | 93079 | filename="glib/gprintf.c" | |
| 92113 | - | line="179">An implementation of the standard `vprintf()` function which supports | |
| 93080 | + | line="180">An implementation of the standard `vprintf()` function which supports | |
| 92114 | 93081 | positional parameters, as specified in the Single Unix Specification. | |
| 92115 | 93082 | ||
| 92116 | 93083 | `glib/gprintf.h` must be explicitly included in order to use this function.</doc> | |
| @@ -92118,21 +93085,21 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 92118 | 93085 | <return-value transfer-ownership="none"> | |
| 92119 | 93086 | <doc xml:space="preserve" | |
| 92120 | 93087 | filename="glib/gprintf.c" | |
| 92121 | - | line="190">the number of bytes printed</doc> | |
| 93088 | + | line="191">the number of bytes printed</doc> | |
| 92122 | 93089 | <type name="gint" c:type="gint"/> | |
| 92123 | 93090 | </return-value> | |
| 92124 | 93091 | <parameters> | |
| 92125 | 93092 | <parameter name="format" transfer-ownership="none"> | |
| 92126 | 93093 | <doc xml:space="preserve" | |
| 92127 | 93094 | filename="glib/gprintf.c" | |
| 92128 | - | line="181">a standard `printf()` format string, but notice | |
| 93095 | + | line="182">a standard `printf()` format string, but notice | |
| 92129 | 93096 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 92130 | 93097 | <type name="utf8" c:type="const gchar*"/> | |
| 92131 | 93098 | </parameter> | |
| 92132 | 93099 | <parameter name="args" transfer-ownership="none"> | |
| 92133 | 93100 | <doc xml:space="preserve" | |
| 92134 | 93101 | filename="glib/gprintf.c" | |
| 92135 | - | line="183">the list of arguments to insert in the output</doc> | |
| 93102 | + | line="184">the list of arguments to insert in the output</doc> | |
| 92136 | 93103 | <type name="va_list" c:type="va_list"/> | |
| 92137 | 93104 | </parameter> | |
| 92138 | 93105 | </parameters> | |
| @@ -92140,7 +93107,7 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 92140 | 93107 | <function name="vsnprintf" c:identifier="g_vsnprintf" introspectable="0"> | |
| 92141 | 93108 | <doc xml:space="preserve" | |
| 92142 | 93109 | filename="glib/gprintf.c" | |
| 92143 | - | line="256">A safer form of the standard `vsprintf()` function. The output is guaranteed | |
| 93110 | + | line="257">A safer form of the standard `vsprintf()` function. The output is guaranteed | |
| 92144 | 93111 | to not exceed @n characters (including the terminating nul character), so | |
| 92145 | 93112 | it is easy to ensure that a buffer overflow cannot occur. | |
| 92146 | 93113 | ||
| @@ -92161,7 +93128,7 @@ the Single Unix Specification.</doc> | |||
| 92161 | 93128 | <return-value transfer-ownership="none"> | |
| 92162 | 93129 | <doc xml:space="preserve" | |
| 92163 | 93130 | filename="glib/gprintf.c" | |
| 92164 | - | line="283">the number of bytes which would be produced if the buffer | |
| 93131 | + | line="284">the number of bytes which would be produced if the buffer | |
| 92165 | 93132 | was large enough</doc> | |
| 92166 | 93133 | <type name="gint" c:type="gint"/> | |
| 92167 | 93134 | </return-value> | |
| @@ -92169,27 +93136,27 @@ the Single Unix Specification.</doc> | |||
| 92169 | 93136 | <parameter name="string" transfer-ownership="none"> | |
| 92170 | 93137 | <doc xml:space="preserve" | |
| 92171 | 93138 | filename="glib/gprintf.c" | |
| 92172 | - | line="258">the buffer to hold the output</doc> | |
| 93139 | + | line="259">the buffer to hold the output</doc> | |
| 92173 | 93140 | <type name="utf8" c:type="gchar*"/> | |
| 92174 | 93141 | </parameter> | |
| 92175 | 93142 | <parameter name="n" transfer-ownership="none"> | |
| 92176 | 93143 | <doc xml:space="preserve" | |
| 92177 | 93144 | filename="glib/gprintf.c" | |
| 92178 | - | line="259">the maximum number of bytes to produce (including the | |
| 93145 | + | line="260">the maximum number of bytes to produce (including the | |
| 92179 | 93146 | terminating nul character)</doc> | |
| 92180 | 93147 | <type name="gulong" c:type="gulong"/> | |
| 92181 | 93148 | </parameter> | |
| 92182 | 93149 | <parameter name="format" transfer-ownership="none"> | |
| 92183 | 93150 | <doc xml:space="preserve" | |
| 92184 | 93151 | filename="glib/gprintf.c" | |
| 92185 | - | line="261">a standard `printf()` format string, but notice | |
| 93152 | + | line="262">a standard `printf()` format string, but notice | |
| 92186 | 93153 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 92187 | 93154 | <type name="utf8" c:type="const gchar*"/> | |
| 92188 | 93155 | </parameter> | |
| 92189 | 93156 | <parameter name="args" transfer-ownership="none"> | |
| 92190 | 93157 | <doc xml:space="preserve" | |
| 92191 | 93158 | filename="glib/gprintf.c" | |
| 92192 | - | line="263">the list of arguments to insert in the output</doc> | |
| 93159 | + | line="264">the list of arguments to insert in the output</doc> | |
| 92193 | 93160 | <type name="va_list" c:type="va_list"/> | |
| 92194 | 93161 | </parameter> | |
| 92195 | 93162 | </parameters> | |
| @@ -92200,7 +93167,7 @@ the Single Unix Specification.</doc> | |||
| 92200 | 93167 | introspectable="0"> | |
| 92201 | 93168 | <doc xml:space="preserve" | |
| 92202 | 93169 | filename="glib/gprintf.c" | |
| 92203 | - | line="229">An implementation of the standard `vsprintf()` function which supports | |
| 93170 | + | line="230">An implementation of the standard `vsprintf()` function which supports | |
| 92204 | 93171 | positional parameters, as specified in the Single Unix Specification. | |
| 92205 | 93172 | ||
| 92206 | 93173 | `glib/gprintf.h` must be explicitly included in order to use this function.</doc> | |
| @@ -92208,27 +93175,27 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 92208 | 93175 | <return-value transfer-ownership="none"> | |
| 92209 | 93176 | <doc xml:space="preserve" | |
| 92210 | 93177 | filename="glib/gprintf.c" | |
| 92211 | - | line="241">the number of bytes printed</doc> | |
| 93178 | + | line="242">the number of bytes printed</doc> | |
| 92212 | 93179 | <type name="gint" c:type="gint"/> | |
| 92213 | 93180 | </return-value> | |
| 92214 | 93181 | <parameters> | |
| 92215 | 93182 | <parameter name="string" transfer-ownership="none"> | |
| 92216 | 93183 | <doc xml:space="preserve" | |
| 92217 | 93184 | filename="glib/gprintf.c" | |
| 92218 | - | line="231">the buffer to hold the output</doc> | |
| 93185 | + | line="232">the buffer to hold the output</doc> | |
| 92219 | 93186 | <type name="utf8" c:type="gchar*"/> | |
| 92220 | 93187 | </parameter> | |
| 92221 | 93188 | <parameter name="format" transfer-ownership="none"> | |
| 92222 | 93189 | <doc xml:space="preserve" | |
| 92223 | 93190 | filename="glib/gprintf.c" | |
| 92224 | - | line="232">a standard `printf()` format string, but notice | |
| 93191 | + | line="233">a standard `printf()` format string, but notice | |
| 92225 | 93192 | [string precision pitfalls](string-utils.html#string-precision-pitfalls)</doc> | |
| 92226 | 93193 | <type name="utf8" c:type="const gchar*"/> | |
| 92227 | 93194 | </parameter> | |
| 92228 | 93195 | <parameter name="args" transfer-ownership="none"> | |
| 92229 | 93196 | <doc xml:space="preserve" | |
| 92230 | 93197 | filename="glib/gprintf.c" | |
| 92231 | - | line="234">the list of arguments to insert in the output</doc> | |
| 93198 | + | line="235">the list of arguments to insert in the output</doc> | |
| 92232 | 93199 | <type name="va_list" c:type="va_list"/> | |
| 92233 | 93200 | </parameter> | |
| 92234 | 93201 | </parameters> | |
| @@ -92239,16 +93206,16 @@ positional parameters, as specified in the Single Unix Specification. | |||
| 92239 | 93206 | introspectable="0"> | |
| 92240 | 93207 | <doc xml:space="preserve" | |
| 92241 | 93208 | filename="glib/gmessages.h" | |
| 92242 | - | line="549">Logs a warning if the expression is not true. | |
| 93209 | + | line="552">Logs a warning if the expression is not true. | |
| 92243 | 93210 | ||
| 92244 | 93211 | Unlike g_return_if_fail(), the expression is always evaluated, even if | |
| 92245 | 93212 | checks and assertions are disabled.</doc> | |
| 92246 | - | <source-position filename="glib/gmessages.h" line="560"/> | |
| 93213 | + | <source-position filename="glib/gmessages.h" line="563"/> | |
| 92247 | 93214 | <parameters> | |
| 92248 | 93215 | <parameter name="expr"> | |
| 92249 | 93216 | <doc xml:space="preserve" | |
| 92250 | 93217 | filename="glib/gmessages.h" | |
| 92251 | - | line="551">the expression to check</doc> | |
| 93218 | + | line="554">the expression to check</doc> | |
| 92252 | 93219 | </parameter> | |
| 92253 | 93220 | </parameters> | |
| 92254 | 93221 | </function-macro> | |
| @@ -92258,17 +93225,17 @@ checks and assertions are disabled.</doc> | |||
| 92258 | 93225 | introspectable="0"> | |
| 92259 | 93226 | <doc xml:space="preserve" | |
| 92260 | 93227 | filename="glib/gmessages.h" | |
| 92261 | - | line="537">Logs a warning.</doc> | |
| 92262 | - | <source-position filename="glib/gmessages.h" line="544"/> | |
| 93228 | + | line="540">Logs a warning.</doc> | |
| 93229 | + | <source-position filename="glib/gmessages.h" line="547"/> | |
| 92263 | 93230 | </function-macro> | |
| 92264 | 93231 | <function name="warn_message" | |
| 92265 | 93232 | c:identifier="g_warn_message" | |
| 92266 | 93233 | introspectable="0"> | |
| 92267 | 93234 | <doc xml:space="preserve" | |
| 92268 | 93235 | filename="glib/gmessages.c" | |
| 92269 | - | line="3083">Internal function used to print messages from the public [func@GLib.warn_if_reached] | |
| 93236 | + | line="3169">Internal function used to print messages from the public [func@GLib.warn_if_reached] | |
| 92270 | 93237 | and [func@GLib.warn_if_fail] macros.</doc> | |
| 92271 | - | <source-position filename="glib/gmessages.h" line="297"/> | |
| 93238 | + | <source-position filename="glib/gmessages.h" line="300"/> | |
| 92272 | 93239 | <return-value transfer-ownership="none"> | |
| 92273 | 93240 | <type name="none" c:type="void"/> | |
| 92274 | 93241 | </return-value> | |
| @@ -92279,25 +93246,25 @@ and [func@GLib.warn_if_fail] macros.</doc> | |||
| 92279 | 93246 | allow-none="1"> | |
| 92280 | 93247 | <doc xml:space="preserve" | |
| 92281 | 93248 | filename="glib/gmessages.c" | |
| 92282 | - | line="3085">log domain</doc> | |
| 93249 | + | line="3171">log domain</doc> | |
| 92283 | 93250 | <type name="utf8" c:type="const char*"/> | |
| 92284 | 93251 | </parameter> | |
| 92285 | 93252 | <parameter name="file" transfer-ownership="none"> | |
| 92286 | 93253 | <doc xml:space="preserve" | |
| 92287 | 93254 | filename="glib/gmessages.c" | |
| 92288 | - | line="3086">file containing the warning</doc> | |
| 93255 | + | line="3172">file containing the warning</doc> | |
| 92289 | 93256 | <type name="utf8" c:type="const char*"/> | |
| 92290 | 93257 | </parameter> | |
| 92291 | 93258 | <parameter name="line" transfer-ownership="none"> | |
| 92292 | 93259 | <doc xml:space="preserve" | |
| 92293 | 93260 | filename="glib/gmessages.c" | |
| 92294 | - | line="3087">line number of the warning</doc> | |
| 93261 | + | line="3173">line number of the warning</doc> | |
| 92295 | 93262 | <type name="gint" c:type="int"/> | |
| 92296 | 93263 | </parameter> | |
| 92297 | 93264 | <parameter name="func" transfer-ownership="none"> | |
| 92298 | 93265 | <doc xml:space="preserve" | |
| 92299 | 93266 | filename="glib/gmessages.c" | |
| 92300 | - | line="3088">function containing the warning</doc> | |
| 93267 | + | line="3174">function containing the warning</doc> | |
| 92301 | 93268 | <type name="utf8" c:type="const char*"/> | |
| 92302 | 93269 | </parameter> | |
| 92303 | 93270 | <parameter name="warnexpr" | |
| @@ -92306,7 +93273,7 @@ and [func@GLib.warn_if_fail] macros.</doc> | |||
| 92306 | 93273 | allow-none="1"> | |
| 92307 | 93274 | <doc xml:space="preserve" | |
| 92308 | 93275 | filename="glib/gmessages.c" | |
| 92309 | - | line="3089">expression which failed</doc> | |
| 93276 | + | line="3175">expression which failed</doc> | |
| 92310 | 93277 | <type name="utf8" c:type="const char*"/> | |
| 92311 | 93278 | </parameter> | |
| 92312 | 93279 | </parameters> | |
| @@ -92314,7 +93281,7 @@ and [func@GLib.warn_if_fail] macros.</doc> | |||
| 92314 | 93281 | <function-macro name="warning" c:identifier="g_warning" introspectable="0"> | |
| 92315 | 93282 | <doc xml:space="preserve" | |
| 92316 | 93283 | filename="glib/gmessages.c" | |
| 92317 | - | line="197">A convenience function/macro to log a warning message. | |
| 93284 | + | line="196">A convenience function/macro to log a warning message. | |
| 92318 | 93285 | ||
| 92319 | 93286 | The message should typically *not* be translated to the user’s language. | |
| 92320 | 93287 | ||
| @@ -92334,7 +93301,7 @@ parameters) then you should use [flags@GLib.LogLevelFlags.LEVEL_CRITICAL] instea | |||
| 92334 | 93301 | ||
| 92335 | 93302 | You can make warnings fatal at runtime by setting the `G_DEBUG` | |
| 92336 | 93303 | environment variable (see | |
| 92337 | - | [Running GLib Applications](glib-running.html)): | |
| 93304 | + | [Running GLib Applications](running.html)): | |
| 92338 | 93305 | ||
| 92339 | 93306 | ``` | |
| 92340 | 93307 | G_DEBUG=fatal-warnings gdb ./my-program | |
| @@ -92350,12 +93317,12 @@ need not be entered manually. | |||
| 92350 | 93317 | If structured logging is enabled, this will use [func@GLib.log_structured]; | |
| 92351 | 93318 | otherwise it will use [func@GLib.log]. See | |
| 92352 | 93319 | [Using Structured Logging](logging.html#using-structured-logging).</doc> | |
| 92353 | - | <source-position filename="glib/gmessages.h" line="337"/> | |
| 93320 | + | <source-position filename="glib/gmessages.h" line="340"/> | |
| 92354 | 93321 | <parameters> | |
| 92355 | 93322 | <parameter name="..."> | |
| 92356 | 93323 | <doc xml:space="preserve" | |
| 92357 | 93324 | filename="glib/gmessages.c" | |
| 92358 | - | line="199">format string, followed by parameters to insert into the format string | |
| 93325 | + | line="198">format string, followed by parameters to insert into the format string | |
| 92359 | 93326 | (as with `printf()`)</doc> | |
| 92360 | 93327 | </parameter> | |
| 92361 | 93328 | </parameters> | |
| @@ -92366,19 +93333,19 @@ otherwise it will use [func@GLib.log]. See | |||
| 92366 | 93333 | introspectable="0"> | |
| 92367 | 93334 | <doc xml:space="preserve" | |
| 92368 | 93335 | filename="glib/gmessages.h" | |
| 92369 | - | line="481">Logs a warning only once. | |
| 93336 | + | line="484">Logs a warning only once. | |
| 92370 | 93337 | ||
| 92371 | 93338 | g_warning_once() calls g_warning() with the passed message the first time | |
| 92372 | 93339 | the statement is executed; subsequent times it is a no-op. | |
| 92373 | 93340 | ||
| 92374 | 93341 | Note! On platforms where the compiler doesn't support variadic macros, the | |
| 92375 | 93342 | warning is printed each time instead of only once.</doc> | |
| 92376 | - | <source-position filename="glib/gmessages.h" line="497"/> | |
| 93343 | + | <source-position filename="glib/gmessages.h" line="500"/> | |
| 92377 | 93344 | <parameters> | |
| 92378 | 93345 | <parameter name="..."> | |
| 92379 | 93346 | <doc xml:space="preserve" | |
| 92380 | 93347 | filename="glib/gmessages.h" | |
| 92381 | - | line="483">format string, followed by parameters to insert | |
| 93348 | + | line="486">format string, followed by parameters to insert | |
| 92382 | 93349 | into the format string (as with printf())</doc> | |
| 92383 | 93350 | </parameter> | |
| 92384 | 93351 | </parameters> | |
M internal/gir/spec/GModule-2.0.gir +85 -43
| @@ -5,10 +5,12 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GLib" version="2.0"/> | |
| 10 | 11 | <package name="gmodule-2.0"/> | |
| 11 | 12 | <c:include name="gmodule.h"/> | |
| 13 | + | <doc:format name="gi-docgen"/> | |
| 12 | 14 | <namespace name="GModule" | |
| 13 | 15 | version="2.0" | |
| 14 | 16 | shared-library="libgmodule-2.0.so.0" | |
| @@ -284,6 +286,15 @@ and/or use gtk-doc annotations. --> | |||
| 284 | 286 | </parameter> | |
| 285 | 287 | </parameters> | |
| 286 | 288 | </function-macro> | |
| 289 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_86_FOR" | |
| 290 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR" | |
| 291 | + | introspectable="0"> | |
| 292 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1062"/> | |
| 293 | + | <parameters> | |
| 294 | + | <parameter name="f"> | |
| 295 | + | </parameter> | |
| 296 | + | </parameters> | |
| 297 | + | </function-macro> | |
| 287 | 298 | <function-macro name="DEPRECATED_FOR" | |
| 288 | 299 | c:identifier="GMODULE_DEPRECATED_FOR" | |
| 289 | 300 | introspectable="0"> | |
| @@ -563,6 +574,15 @@ and/or use gtk-doc annotations. --> | |||
| 563 | 574 | </parameter> | |
| 564 | 575 | </parameters> | |
| 565 | 576 | </function-macro> | |
| 577 | + | <function-macro name="DEPRECATED_IN_2_86_FOR" | |
| 578 | + | c:identifier="GMODULE_DEPRECATED_IN_2_86_FOR" | |
| 579 | + | introspectable="0"> | |
| 580 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1058"/> | |
| 581 | + | <parameters> | |
| 582 | + | <parameter name="f"> | |
| 583 | + | </parameter> | |
| 584 | + | </parameters> | |
| 585 | + | </function-macro> | |
| 566 | 586 | <function-macro name="DEPRECATED_MACRO_IN_2_26_FOR" | |
| 567 | 587 | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_26_FOR" | |
| 568 | 588 | introspectable="0"> | |
| @@ -833,6 +853,15 @@ and/or use gtk-doc annotations. --> | |||
| 833 | 853 | </parameter> | |
| 834 | 854 | </parameters> | |
| 835 | 855 | </function-macro> | |
| 856 | + | <function-macro name="DEPRECATED_MACRO_IN_2_86_FOR" | |
| 857 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_86_FOR" | |
| 858 | + | introspectable="0"> | |
| 859 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1060"/> | |
| 860 | + | <parameters> | |
| 861 | + | <parameter name="f"> | |
| 862 | + | </parameter> | |
| 863 | + | </parameters> | |
| 864 | + | </function-macro> | |
| 836 | 865 | <function-macro name="DEPRECATED_TYPE_IN_2_26_FOR" | |
| 837 | 866 | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_26_FOR" | |
| 838 | 867 | introspectable="0"> | |
| @@ -1103,6 +1132,15 @@ and/or use gtk-doc annotations. --> | |||
| 1103 | 1132 | </parameter> | |
| 1104 | 1133 | </parameters> | |
| 1105 | 1134 | </function-macro> | |
| 1135 | + | <function-macro name="DEPRECATED_TYPE_IN_2_86_FOR" | |
| 1136 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_86_FOR" | |
| 1137 | + | introspectable="0"> | |
| 1138 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1064"/> | |
| 1139 | + | <parameters> | |
| 1140 | + | <parameter name="f"> | |
| 1141 | + | </parameter> | |
| 1142 | + | </parameters> | |
| 1143 | + | </function-macro> | |
| 1106 | 1144 | <constant name="MODULE_IMPL_AR" value="7" c:type="G_MODULE_IMPL_AR"> | |
| 1107 | 1145 | <source-position filename="gmodule/gmoduleconf.h" line="31"/> | |
| 1108 | 1146 | <type name="gint" c:type="gint"/> | |
| @@ -1124,24 +1162,28 @@ and/or use gtk-doc annotations. --> | |||
| 1124 | 1162 | filename="gmodule/gmodule.c" | |
| 1125 | 1163 | line="56">The #GModule struct is an opaque data structure to represent a | |
| 1126 | 1164 | [dynamically-loaded module](modules.html#dynamic-loading-of-modules). | |
| 1127 | - | It should only be accessed via the following functions.</doc> | |
| 1165 | + | It should only be accessed via the following functions. | |
| 1166 | + | ||
| 1167 | + | To ensure correct lock ordering, these functions must not be called from | |
| 1168 | + | global constructors (for example, those using GCC’s | |
| 1169 | + | `__attribute__((constructor))` attribute).</doc> | |
| 1128 | 1170 | <source-position filename="gmodule/gmodule.h" line="70"/> | |
| 1129 | 1171 | <method name="close" c:identifier="g_module_close"> | |
| 1130 | 1172 | <doc xml:space="preserve" | |
| 1131 | 1173 | filename="gmodule/gmodule.c" | |
| 1132 | - | line="711">Closes a module.</doc> | |
| 1174 | + | line="715">Closes a module.</doc> | |
| 1133 | 1175 | <source-position filename="gmodule/gmodule.h" line="110"/> | |
| 1134 | 1176 | <return-value transfer-ownership="none"> | |
| 1135 | 1177 | <doc xml:space="preserve" | |
| 1136 | 1178 | filename="gmodule/gmodule.c" | |
| 1137 | - | line="717">%TRUE on success</doc> | |
| 1179 | + | line="721">%TRUE on success</doc> | |
| 1138 | 1180 | <type name="gboolean" c:type="gboolean"/> | |
| 1139 | 1181 | </return-value> | |
| 1140 | 1182 | <parameters> | |
| 1141 | 1183 | <instance-parameter name="module" transfer-ownership="none"> | |
| 1142 | 1184 | <doc xml:space="preserve" | |
| 1143 | 1185 | filename="gmodule/gmodule.c" | |
| 1144 | - | line="713">a #GModule to close</doc> | |
| 1186 | + | line="717">a #GModule to close</doc> | |
| 1145 | 1187 | <type name="Module" c:type="GModule*"/> | |
| 1146 | 1188 | </instance-parameter> | |
| 1147 | 1189 | </parameters> | |
| @@ -1149,7 +1191,7 @@ It should only be accessed via the following functions.</doc> | |||
| 1149 | 1191 | <method name="make_resident" c:identifier="g_module_make_resident"> | |
| 1150 | 1192 | <doc xml:space="preserve" | |
| 1151 | 1193 | filename="gmodule/gmodule.c" | |
| 1152 | - | line="772">Ensures that a module will never be unloaded. | |
| 1194 | + | line="776">Ensures that a module will never be unloaded. | |
| 1153 | 1195 | Any future g_module_close() calls on the module will be ignored.</doc> | |
| 1154 | 1196 | <source-position filename="gmodule/gmodule.h" line="114"/> | |
| 1155 | 1197 | <return-value transfer-ownership="none"> | |
| @@ -1159,7 +1201,7 @@ Any future g_module_close() calls on the module will be ignored.</doc> | |||
| 1159 | 1201 | <instance-parameter name="module" transfer-ownership="none"> | |
| 1160 | 1202 | <doc xml:space="preserve" | |
| 1161 | 1203 | filename="gmodule/gmodule.c" | |
| 1162 | - | line="774">a #GModule to make permanently resident</doc> | |
| 1204 | + | line="778">a #GModule to make permanently resident</doc> | |
| 1163 | 1205 | <type name="Module" c:type="GModule*"/> | |
| 1164 | 1206 | </instance-parameter> | |
| 1165 | 1207 | </parameters> | |
| @@ -1167,21 +1209,21 @@ Any future g_module_close() calls on the module will be ignored.</doc> | |||
| 1167 | 1209 | <method name="name" c:identifier="g_module_name"> | |
| 1168 | 1210 | <doc xml:space="preserve" | |
| 1169 | 1211 | filename="gmodule/gmodule.c" | |
| 1170 | - | line="855">Returns the filename that the module was opened with. | |
| 1212 | + | line="859">Returns the filename that the module was opened with. | |
| 1171 | 1213 | ||
| 1172 | 1214 | If @module refers to the application itself, "main" is returned.</doc> | |
| 1173 | 1215 | <source-position filename="gmodule/gmodule.h" line="128"/> | |
| 1174 | 1216 | <return-value transfer-ownership="none"> | |
| 1175 | 1217 | <doc xml:space="preserve" | |
| 1176 | 1218 | filename="gmodule/gmodule.c" | |
| 1177 | - | line="863">the filename of the module</doc> | |
| 1219 | + | line="867">the filename of the module</doc> | |
| 1178 | 1220 | <type name="utf8" c:type="const gchar*"/> | |
| 1179 | 1221 | </return-value> | |
| 1180 | 1222 | <parameters> | |
| 1181 | 1223 | <instance-parameter name="module" transfer-ownership="none"> | |
| 1182 | 1224 | <doc xml:space="preserve" | |
| 1183 | 1225 | filename="gmodule/gmodule.c" | |
| 1184 | - | line="857">a #GModule</doc> | |
| 1226 | + | line="861">a #GModule</doc> | |
| 1185 | 1227 | <type name="Module" c:type="GModule*"/> | |
| 1186 | 1228 | </instance-parameter> | |
| 1187 | 1229 | </parameters> | |
| @@ -1189,26 +1231,26 @@ If @module refers to the application itself, "main" is returned.</doc> | |||
| 1189 | 1231 | <method name="symbol" c:identifier="g_module_symbol"> | |
| 1190 | 1232 | <doc xml:space="preserve" | |
| 1191 | 1233 | filename="gmodule/gmodule.c" | |
| 1192 | - | line="800">Gets a symbol pointer from a module, such as one exported | |
| 1234 | + | line="804">Gets a symbol pointer from a module, such as one exported | |
| 1193 | 1235 | by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |
| 1194 | 1236 | <source-position filename="gmodule/gmodule.h" line="122"/> | |
| 1195 | 1237 | <return-value transfer-ownership="none"> | |
| 1196 | 1238 | <doc xml:space="preserve" | |
| 1197 | 1239 | filename="gmodule/gmodule.c" | |
| 1198 | - | line="809">%TRUE on success</doc> | |
| 1240 | + | line="813">%TRUE on success</doc> | |
| 1199 | 1241 | <type name="gboolean" c:type="gboolean"/> | |
| 1200 | 1242 | </return-value> | |
| 1201 | 1243 | <parameters> | |
| 1202 | 1244 | <instance-parameter name="module" transfer-ownership="none"> | |
| 1203 | 1245 | <doc xml:space="preserve" | |
| 1204 | 1246 | filename="gmodule/gmodule.c" | |
| 1205 | - | line="802">a #GModule</doc> | |
| 1247 | + | line="806">a #GModule</doc> | |
| 1206 | 1248 | <type name="Module" c:type="GModule*"/> | |
| 1207 | 1249 | </instance-parameter> | |
| 1208 | 1250 | <parameter name="symbol_name" transfer-ownership="none"> | |
| 1209 | 1251 | <doc xml:space="preserve" | |
| 1210 | 1252 | filename="gmodule/gmodule.c" | |
| 1211 | - | line="803">the name of the symbol to find</doc> | |
| 1253 | + | line="807">the name of the symbol to find</doc> | |
| 1212 | 1254 | <type name="utf8" c:type="const gchar*"/> | |
| 1213 | 1255 | </parameter> | |
| 1214 | 1256 | <parameter name="symbol" | |
| @@ -1218,7 +1260,7 @@ by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |||
| 1218 | 1260 | nullable="1"> | |
| 1219 | 1261 | <doc xml:space="preserve" | |
| 1220 | 1262 | filename="gmodule/gmodule.c" | |
| 1221 | - | line="804">returns the pointer to the symbol value</doc> | |
| 1263 | + | line="808">returns the pointer to the symbol value</doc> | |
| 1222 | 1264 | <type name="gpointer" c:type="gpointer*"/> | |
| 1223 | 1265 | </parameter> | |
| 1224 | 1266 | </parameters> | |
| @@ -1229,7 +1271,7 @@ by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |||
| 1229 | 1271 | deprecated-version="2.76"> | |
| 1230 | 1272 | <doc xml:space="preserve" | |
| 1231 | 1273 | filename="gmodule/gmodule.c" | |
| 1232 | - | line="876">A portable way to build the filename of a module. The platform-specific | |
| 1274 | + | line="880">A portable way to build the filename of a module. The platform-specific | |
| 1233 | 1275 | prefix and suffix are added to the filename, if needed, and the result | |
| 1234 | 1276 | is added to the directory, using the correct separator character. | |
| 1235 | 1277 | ||
| @@ -1248,7 +1290,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1248 | 1290 | <return-value transfer-ownership="full"> | |
| 1249 | 1291 | <doc xml:space="preserve" | |
| 1250 | 1292 | filename="gmodule/gmodule.c" | |
| 1251 | - | line="897">the complete path of the module, including the standard library | |
| 1293 | + | line="901">the complete path of the module, including the standard library | |
| 1252 | 1294 | prefix and suffix. This should be freed when no longer needed</doc> | |
| 1253 | 1295 | <type name="utf8" c:type="gchar*"/> | |
| 1254 | 1296 | </return-value> | |
| @@ -1259,7 +1301,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1259 | 1301 | allow-none="1"> | |
| 1260 | 1302 | <doc xml:space="preserve" | |
| 1261 | 1303 | filename="gmodule/gmodule.c" | |
| 1262 | - | line="878">the directory where the module is. This can be | |
| 1304 | + | line="882">the directory where the module is. This can be | |
| 1263 | 1305 | %NULL or the empty string to indicate that the standard platform-specific | |
| 1264 | 1306 | directories will be used, though that is not recommended</doc> | |
| 1265 | 1307 | <type name="utf8" c:type="const gchar*"/> | |
| @@ -1267,7 +1309,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1267 | 1309 | <parameter name="module_name" transfer-ownership="none"> | |
| 1268 | 1310 | <doc xml:space="preserve" | |
| 1269 | 1311 | filename="gmodule/gmodule.c" | |
| 1270 | - | line="881">the name of the module</doc> | |
| 1312 | + | line="885">the name of the module</doc> | |
| 1271 | 1313 | <type name="utf8" c:type="const gchar*"/> | |
| 1272 | 1314 | </parameter> | |
| 1273 | 1315 | </parameters> | |
| @@ -1275,12 +1317,12 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1275 | 1317 | <function name="error" c:identifier="g_module_error"> | |
| 1276 | 1318 | <doc xml:space="preserve" | |
| 1277 | 1319 | filename="gmodule/gmodule.c" | |
| 1278 | - | line="787">Gets a string describing the last module error.</doc> | |
| 1320 | + | line="791">Gets a string describing the last module error.</doc> | |
| 1279 | 1321 | <source-position filename="gmodule/gmodule.h" line="118"/> | |
| 1280 | 1322 | <return-value transfer-ownership="none"> | |
| 1281 | 1323 | <doc xml:space="preserve" | |
| 1282 | 1324 | filename="gmodule/gmodule.c" | |
| 1283 | - | line="792">a string describing the last module error</doc> | |
| 1325 | + | line="796">a string describing the last module error</doc> | |
| 1284 | 1326 | <type name="utf8" c:type="const gchar*"/> | |
| 1285 | 1327 | </return-value> | |
| 1286 | 1328 | </function> | |
| @@ -1292,12 +1334,12 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1292 | 1334 | <function name="open" c:identifier="g_module_open" introspectable="0"> | |
| 1293 | 1335 | <doc xml:space="preserve" | |
| 1294 | 1336 | filename="gmodule/gmodule.c" | |
| 1295 | - | line="693">A thin wrapper function around g_module_open_full()</doc> | |
| 1337 | + | line="697">A thin wrapper function around g_module_open_full()</doc> | |
| 1296 | 1338 | <source-position filename="gmodule/gmodule.h" line="100"/> | |
| 1297 | 1339 | <return-value> | |
| 1298 | 1340 | <doc xml:space="preserve" | |
| 1299 | 1341 | filename="gmodule/gmodule.c" | |
| 1300 | - | line="702">a #GModule on success, or %NULL on failure</doc> | |
| 1342 | + | line="706">a #GModule on success, or %NULL on failure</doc> | |
| 1301 | 1343 | <type name="Module" c:type="GModule*"/> | |
| 1302 | 1344 | </return-value> | |
| 1303 | 1345 | <parameters> | |
| @@ -1307,14 +1349,14 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1307 | 1349 | allow-none="1"> | |
| 1308 | 1350 | <doc xml:space="preserve" | |
| 1309 | 1351 | filename="gmodule/gmodule.c" | |
| 1310 | - | line="695">the name or path to the file containing the module, | |
| 1352 | + | line="699">the name or path to the file containing the module, | |
| 1311 | 1353 | or %NULL to obtain a #GModule representing the main program itself</doc> | |
| 1312 | 1354 | <type name="utf8" c:type="const gchar*"/> | |
| 1313 | 1355 | </parameter> | |
| 1314 | 1356 | <parameter name="flags" transfer-ownership="none"> | |
| 1315 | 1357 | <doc xml:space="preserve" | |
| 1316 | 1358 | filename="gmodule/gmodule.c" | |
| 1317 | - | line="697">the flags used for opening the module. This can be the | |
| 1359 | + | line="701">the flags used for opening the module. This can be the | |
| 1318 | 1360 | logical OR of any of the #GModuleFlags.</doc> | |
| 1319 | 1361 | <type name="ModuleFlags" c:type="GModuleFlags"/> | |
| 1320 | 1362 | </parameter> | |
| @@ -1327,7 +1369,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1327 | 1369 | throws="1"> | |
| 1328 | 1370 | <doc xml:space="preserve" | |
| 1329 | 1371 | filename="gmodule/gmodule.c" | |
| 1330 | - | line="429">Opens a module. If the module has already been opened, its reference count | |
| 1372 | + | line="433">Opens a module. If the module has already been opened, its reference count | |
| 1331 | 1373 | is incremented. If not, the module is searched using @file_name. | |
| 1332 | 1374 | ||
| 1333 | 1375 | Since 2.76, the search order/behavior is as follows: | |
| @@ -1354,7 +1396,7 @@ of @file_name.</doc> | |||
| 1354 | 1396 | <return-value> | |
| 1355 | 1397 | <doc xml:space="preserve" | |
| 1356 | 1398 | filename="gmodule/gmodule.c" | |
| 1357 | - | line="461">a #GModule on success, or %NULL on failure</doc> | |
| 1399 | + | line="465">a #GModule on success, or %NULL on failure</doc> | |
| 1358 | 1400 | <type name="Module" c:type="GModule*"/> | |
| 1359 | 1401 | </return-value> | |
| 1360 | 1402 | <parameters> | |
| @@ -1364,14 +1406,14 @@ of @file_name.</doc> | |||
| 1364 | 1406 | allow-none="1"> | |
| 1365 | 1407 | <doc xml:space="preserve" | |
| 1366 | 1408 | filename="gmodule/gmodule.c" | |
| 1367 | - | line="431">the name or path to the file containing the module, | |
| 1409 | + | line="435">the name or path to the file containing the module, | |
| 1368 | 1410 | or %NULL to obtain a #GModule representing the main program itself</doc> | |
| 1369 | 1411 | <type name="utf8" c:type="const gchar*"/> | |
| 1370 | 1412 | </parameter> | |
| 1371 | 1413 | <parameter name="flags" transfer-ownership="none"> | |
| 1372 | 1414 | <doc xml:space="preserve" | |
| 1373 | 1415 | filename="gmodule/gmodule.c" | |
| 1374 | - | line="433">the flags used for opening the module. This can be the | |
| 1416 | + | line="437">the flags used for opening the module. This can be the | |
| 1375 | 1417 | logical OR of any of the #GModuleFlags</doc> | |
| 1376 | 1418 | <type name="ModuleFlags" c:type="GModuleFlags"/> | |
| 1377 | 1419 | </parameter> | |
| @@ -1380,12 +1422,12 @@ of @file_name.</doc> | |||
| 1380 | 1422 | <function name="supported" c:identifier="g_module_supported"> | |
| 1381 | 1423 | <doc xml:space="preserve" | |
| 1382 | 1424 | filename="gmodule/gmodule.c" | |
| 1383 | - | line="289">Checks if modules are supported on the current platform.</doc> | |
| 1425 | + | line="293">Checks if modules are supported on the current platform.</doc> | |
| 1384 | 1426 | <source-position filename="gmodule/gmodule.h" line="96"/> | |
| 1385 | 1427 | <return-value transfer-ownership="none"> | |
| 1386 | 1428 | <doc xml:space="preserve" | |
| 1387 | 1429 | filename="gmodule/gmodule.c" | |
| 1388 | - | line="294">%TRUE if modules are supported</doc> | |
| 1430 | + | line="298">%TRUE if modules are supported</doc> | |
| 1389 | 1431 | <type name="gboolean" c:type="gboolean"/> | |
| 1390 | 1432 | </return-value> | |
| 1391 | 1433 | </function> | |
| @@ -1393,7 +1435,7 @@ of @file_name.</doc> | |||
| 1393 | 1435 | <callback name="ModuleCheckInit" c:type="GModuleCheckInit"> | |
| 1394 | 1436 | <doc xml:space="preserve" | |
| 1395 | 1437 | filename="gmodule/gmodule.c" | |
| 1396 | - | line="64">Specifies the type of the module initialization function. | |
| 1438 | + | line="68">Specifies the type of the module initialization function. | |
| 1397 | 1439 | If a module contains a function named g_module_check_init() it is called | |
| 1398 | 1440 | automatically when the module is loaded. It is passed the #GModule structure | |
| 1399 | 1441 | and should return %NULL on success or a string describing the initialization | |
| @@ -1402,14 +1444,14 @@ error.</doc> | |||
| 1402 | 1444 | <return-value transfer-ownership="none"> | |
| 1403 | 1445 | <doc xml:space="preserve" | |
| 1404 | 1446 | filename="gmodule/gmodule.c" | |
| 1405 | - | line="74">%NULL on success, or a string describing the initialization error</doc> | |
| 1447 | + | line="78">%NULL on success, or a string describing the initialization error</doc> | |
| 1406 | 1448 | <type name="utf8" c:type="const gchar*"/> | |
| 1407 | 1449 | </return-value> | |
| 1408 | 1450 | <parameters> | |
| 1409 | 1451 | <parameter name="module" transfer-ownership="none"> | |
| 1410 | 1452 | <doc xml:space="preserve" | |
| 1411 | 1453 | filename="gmodule/gmodule.c" | |
| 1412 | - | line="66">the #GModule corresponding to the module which has just been loaded</doc> | |
| 1454 | + | line="70">the #GModule corresponding to the module which has just been loaded</doc> | |
| 1413 | 1455 | <type name="Module" c:type="GModule*"/> | |
| 1414 | 1456 | </parameter> | |
| 1415 | 1457 | </parameters> | |
| @@ -1465,7 +1507,7 @@ Note that these flags are not supported on all platforms.</doc> | |||
| 1465 | 1507 | <callback name="ModuleUnload" c:type="GModuleUnload"> | |
| 1466 | 1508 | <doc xml:space="preserve" | |
| 1467 | 1509 | filename="gmodule/gmodule.c" | |
| 1468 | - | line="77">Specifies the type of the module function called when it is unloaded. | |
| 1510 | + | line="81">Specifies the type of the module function called when it is unloaded. | |
| 1469 | 1511 | If a module contains a function named g_module_unload() it is called | |
| 1470 | 1512 | automatically when the module is unloaded. | |
| 1471 | 1513 | It is passed the #GModule structure.</doc> | |
| @@ -1477,7 +1519,7 @@ It is passed the #GModule structure.</doc> | |||
| 1477 | 1519 | <parameter name="module" transfer-ownership="none"> | |
| 1478 | 1520 | <doc xml:space="preserve" | |
| 1479 | 1521 | filename="gmodule/gmodule.c" | |
| 1480 | - | line="79">the #GModule about to be unloaded</doc> | |
| 1522 | + | line="83">the #GModule about to be unloaded</doc> | |
| 1481 | 1523 | <type name="Module" c:type="GModule*"/> | |
| 1482 | 1524 | </parameter> | |
| 1483 | 1525 | </parameters> | |
| @@ -1511,7 +1553,7 @@ It is passed the #GModule structure.</doc> | |||
| 1511 | 1553 | deprecated-version="2.76"> | |
| 1512 | 1554 | <doc xml:space="preserve" | |
| 1513 | 1555 | filename="gmodule/gmodule.c" | |
| 1514 | - | line="876">A portable way to build the filename of a module. The platform-specific | |
| 1556 | + | line="880">A portable way to build the filename of a module. The platform-specific | |
| 1515 | 1557 | prefix and suffix are added to the filename, if needed, and the result | |
| 1516 | 1558 | is added to the directory, using the correct separator character. | |
| 1517 | 1559 | ||
| @@ -1530,7 +1572,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1530 | 1572 | <return-value transfer-ownership="full"> | |
| 1531 | 1573 | <doc xml:space="preserve" | |
| 1532 | 1574 | filename="gmodule/gmodule.c" | |
| 1533 | - | line="897">the complete path of the module, including the standard library | |
| 1575 | + | line="901">the complete path of the module, including the standard library | |
| 1534 | 1576 | prefix and suffix. This should be freed when no longer needed</doc> | |
| 1535 | 1577 | <type name="utf8" c:type="gchar*"/> | |
| 1536 | 1578 | </return-value> | |
| @@ -1541,7 +1583,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1541 | 1583 | allow-none="1"> | |
| 1542 | 1584 | <doc xml:space="preserve" | |
| 1543 | 1585 | filename="gmodule/gmodule.c" | |
| 1544 | - | line="878">the directory where the module is. This can be | |
| 1586 | + | line="882">the directory where the module is. This can be | |
| 1545 | 1587 | %NULL or the empty string to indicate that the standard platform-specific | |
| 1546 | 1588 | directories will be used, though that is not recommended</doc> | |
| 1547 | 1589 | <type name="utf8" c:type="const gchar*"/> | |
| @@ -1549,7 +1591,7 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1549 | 1591 | <parameter name="module_name" transfer-ownership="none"> | |
| 1550 | 1592 | <doc xml:space="preserve" | |
| 1551 | 1593 | filename="gmodule/gmodule.c" | |
| 1552 | - | line="881">the name of the module</doc> | |
| 1594 | + | line="885">the name of the module</doc> | |
| 1553 | 1595 | <type name="utf8" c:type="const gchar*"/> | |
| 1554 | 1596 | </parameter> | |
| 1555 | 1597 | </parameters> | |
| @@ -1559,12 +1601,12 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1559 | 1601 | moved-to="Module.error"> | |
| 1560 | 1602 | <doc xml:space="preserve" | |
| 1561 | 1603 | filename="gmodule/gmodule.c" | |
| 1562 | - | line="787">Gets a string describing the last module error.</doc> | |
| 1604 | + | line="791">Gets a string describing the last module error.</doc> | |
| 1563 | 1605 | <source-position filename="gmodule/gmodule.h" line="118"/> | |
| 1564 | 1606 | <return-value transfer-ownership="none"> | |
| 1565 | 1607 | <doc xml:space="preserve" | |
| 1566 | 1608 | filename="gmodule/gmodule.c" | |
| 1567 | - | line="792">a string describing the last module error</doc> | |
| 1609 | + | line="796">a string describing the last module error</doc> | |
| 1568 | 1610 | <type name="utf8" c:type="const gchar*"/> | |
| 1569 | 1611 | </return-value> | |
| 1570 | 1612 | </function> | |
| @@ -1580,12 +1622,12 @@ basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecate | |||
| 1580 | 1622 | moved-to="Module.supported"> | |
| 1581 | 1623 | <doc xml:space="preserve" | |
| 1582 | 1624 | filename="gmodule/gmodule.c" | |
| 1583 | - | line="289">Checks if modules are supported on the current platform.</doc> | |
| 1625 | + | line="293">Checks if modules are supported on the current platform.</doc> | |
| 1584 | 1626 | <source-position filename="gmodule/gmodule.h" line="96"/> | |
| 1585 | 1627 | <return-value transfer-ownership="none"> | |
| 1586 | 1628 | <doc xml:space="preserve" | |
| 1587 | 1629 | filename="gmodule/gmodule.c" | |
| 1588 | - | line="294">%TRUE if modules are supported</doc> | |
| 1630 | + | line="298">%TRUE if modules are supported</doc> | |
| 1589 | 1631 | <type name="gboolean" c:type="gboolean"/> | |
| 1590 | 1632 | </return-value> | |
| 1591 | 1633 | </function> | |
M internal/gir/spec/GObject-2.0.gir +1366 -1287 large diff (2653 lines changed): collapsed
M internal/gir/spec/Gdk-4.0.gir +2452 -1233 large diff (3685 lines changed): collapsed
M internal/gir/spec/GdkPixbuf-2.0.gir +538 -507
| @@ -59,7 +59,7 @@ Currently only RGB is supported.</doc> | |||
| 59 | 59 | c:identifier="GDK_IS_PIXBUF_ANIMATION_CLASS" | |
| 60 | 60 | introspectable="0"> | |
| 61 | 61 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 62 | - | line="138"/> | |
| 62 | + | line="135"/> | |
| 63 | 63 | <parameters> | |
| 64 | 64 | <parameter name="klass"> | |
| 65 | 65 | </parameter> | |
| @@ -78,7 +78,7 @@ Currently only RGB is supported.</doc> | |||
| 78 | 78 | c:identifier="GDK_IS_PIXBUF_ANIMATION_ITER_CLASS" | |
| 79 | 79 | introspectable="0"> | |
| 80 | 80 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 81 | - | line="186"/> | |
| 81 | + | line="183"/> | |
| 82 | 82 | <parameters> | |
| 83 | 83 | <parameter name="klass"> | |
| 84 | 84 | </parameter> | |
| @@ -102,6 +102,16 @@ Currently only RGB is supported.</doc> | |||
| 102 | 102 | </parameter> | |
| 103 | 103 | </parameters> | |
| 104 | 104 | </function-macro> | |
| 105 | + | <function-macro name="IS_PIXBUF_NON_ANIM" | |
| 106 | + | c:identifier="GDK_IS_PIXBUF_NON_ANIM" | |
| 107 | + | introspectable="0"> | |
| 108 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 109 | + | line="210"/> | |
| 110 | + | <parameters> | |
| 111 | + | <parameter name="object"> | |
| 112 | + | </parameter> | |
| 113 | + | </parameters> | |
| 114 | + | </function-macro> | |
| 105 | 115 | <function-macro name="IS_PIXBUF_SIMPLE_ANIM" | |
| 106 | 116 | c:identifier="GDK_IS_PIXBUF_SIMPLE_ANIM" | |
| 107 | 117 | introspectable="0"> | |
| @@ -211,7 +221,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 211 | 221 | c:identifier="GDK_PIXBUF_ANIMATION_CLASS" | |
| 212 | 222 | introspectable="0"> | |
| 213 | 223 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 214 | - | line="137"/> | |
| 224 | + | line="134"/> | |
| 215 | 225 | <parameters> | |
| 216 | 226 | <parameter name="klass"> | |
| 217 | 227 | </parameter> | |
| @@ -221,7 +231,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 221 | 231 | c:identifier="GDK_PIXBUF_ANIMATION_GET_CLASS" | |
| 222 | 232 | introspectable="0"> | |
| 223 | 233 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 224 | - | line="139"/> | |
| 234 | + | line="136"/> | |
| 225 | 235 | <parameters> | |
| 226 | 236 | <parameter name="obj"> | |
| 227 | 237 | </parameter> | |
| @@ -240,7 +250,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 240 | 250 | c:identifier="GDK_PIXBUF_ANIMATION_ITER_CLASS" | |
| 241 | 251 | introspectable="0"> | |
| 242 | 252 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 243 | - | line="185"/> | |
| 253 | + | line="182"/> | |
| 244 | 254 | <parameters> | |
| 245 | 255 | <parameter name="klass"> | |
| 246 | 256 | </parameter> | |
| @@ -250,7 +260,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 250 | 260 | c:identifier="GDK_PIXBUF_ANIMATION_ITER_GET_CLASS" | |
| 251 | 261 | introspectable="0"> | |
| 252 | 262 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 253 | - | line="187"/> | |
| 263 | + | line="184"/> | |
| 254 | 264 | <parameters> | |
| 255 | 265 | <parameter name="obj"> | |
| 256 | 266 | </parameter> | |
| @@ -285,7 +295,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 285 | 295 | <function-macro name="PIXBUF_DEPRECATED_IN_2_0_FOR" | |
| 286 | 296 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_0_FOR" | |
| 287 | 297 | introspectable="0"> | |
| 288 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="343"/> | |
| 298 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="353"/> | |
| 289 | 299 | <parameters> | |
| 290 | 300 | <parameter name="f"> | |
| 291 | 301 | </parameter> | |
| @@ -294,7 +304,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 294 | 304 | <function-macro name="PIXBUF_DEPRECATED_IN_2_10_FOR" | |
| 295 | 305 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_10_FOR" | |
| 296 | 306 | introspectable="0"> | |
| 297 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="433"/> | |
| 307 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="443"/> | |
| 298 | 308 | <parameters> | |
| 299 | 309 | <parameter name="f"> | |
| 300 | 310 | </parameter> | |
| @@ -303,7 +313,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 303 | 313 | <function-macro name="PIXBUF_DEPRECATED_IN_2_12_FOR" | |
| 304 | 314 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_12_FOR" | |
| 305 | 315 | introspectable="0"> | |
| 306 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="451"/> | |
| 316 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="461"/> | |
| 307 | 317 | <parameters> | |
| 308 | 318 | <parameter name="f"> | |
| 309 | 319 | </parameter> | |
| @@ -312,7 +322,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 312 | 322 | <function-macro name="PIXBUF_DEPRECATED_IN_2_14_FOR" | |
| 313 | 323 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_14_FOR" | |
| 314 | 324 | introspectable="0"> | |
| 315 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="469"/> | |
| 325 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="479"/> | |
| 316 | 326 | <parameters> | |
| 317 | 327 | <parameter name="f"> | |
| 318 | 328 | </parameter> | |
| @@ -321,7 +331,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 321 | 331 | <function-macro name="PIXBUF_DEPRECATED_IN_2_16_FOR" | |
| 322 | 332 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_16_FOR" | |
| 323 | 333 | introspectable="0"> | |
| 324 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="487"/> | |
| 334 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="497"/> | |
| 325 | 335 | <parameters> | |
| 326 | 336 | <parameter name="f"> | |
| 327 | 337 | </parameter> | |
| @@ -330,7 +340,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 330 | 340 | <function-macro name="PIXBUF_DEPRECATED_IN_2_18_FOR" | |
| 331 | 341 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_18_FOR" | |
| 332 | 342 | introspectable="0"> | |
| 333 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="505"/> | |
| 343 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="515"/> | |
| 334 | 344 | <parameters> | |
| 335 | 345 | <parameter name="f"> | |
| 336 | 346 | </parameter> | |
| @@ -339,7 +349,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 339 | 349 | <function-macro name="PIXBUF_DEPRECATED_IN_2_20_FOR" | |
| 340 | 350 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_20_FOR" | |
| 341 | 351 | introspectable="0"> | |
| 342 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="523"/> | |
| 352 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="533"/> | |
| 343 | 353 | <parameters> | |
| 344 | 354 | <parameter name="f"> | |
| 345 | 355 | </parameter> | |
| @@ -348,7 +358,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 348 | 358 | <function-macro name="PIXBUF_DEPRECATED_IN_2_22_FOR" | |
| 349 | 359 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_22_FOR" | |
| 350 | 360 | introspectable="0"> | |
| 351 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="541"/> | |
| 361 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="551"/> | |
| 352 | 362 | <parameters> | |
| 353 | 363 | <parameter name="f"> | |
| 354 | 364 | </parameter> | |
| @@ -357,7 +367,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 357 | 367 | <function-macro name="PIXBUF_DEPRECATED_IN_2_24_FOR" | |
| 358 | 368 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_24_FOR" | |
| 359 | 369 | introspectable="0"> | |
| 360 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="559"/> | |
| 370 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="569"/> | |
| 361 | 371 | <parameters> | |
| 362 | 372 | <parameter name="f"> | |
| 363 | 373 | </parameter> | |
| @@ -366,7 +376,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 366 | 376 | <function-macro name="PIXBUF_DEPRECATED_IN_2_26_FOR" | |
| 367 | 377 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_26_FOR" | |
| 368 | 378 | introspectable="0"> | |
| 369 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="577"/> | |
| 379 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="587"/> | |
| 370 | 380 | <parameters> | |
| 371 | 381 | <parameter name="f"> | |
| 372 | 382 | </parameter> | |
| @@ -375,7 +385,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 375 | 385 | <function-macro name="PIXBUF_DEPRECATED_IN_2_28_FOR" | |
| 376 | 386 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_28_FOR" | |
| 377 | 387 | introspectable="0"> | |
| 378 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="595"/> | |
| 388 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="605"/> | |
| 379 | 389 | <parameters> | |
| 380 | 390 | <parameter name="f"> | |
| 381 | 391 | </parameter> | |
| @@ -384,7 +394,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 384 | 394 | <function-macro name="PIXBUF_DEPRECATED_IN_2_2_FOR" | |
| 385 | 395 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_2_FOR" | |
| 386 | 396 | introspectable="0"> | |
| 387 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="361"/> | |
| 397 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="371"/> | |
| 388 | 398 | <parameters> | |
| 389 | 399 | <parameter name="f"> | |
| 390 | 400 | </parameter> | |
| @@ -393,7 +403,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 393 | 403 | <function-macro name="PIXBUF_DEPRECATED_IN_2_30_FOR" | |
| 394 | 404 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_30_FOR" | |
| 395 | 405 | introspectable="0"> | |
| 396 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="613"/> | |
| 406 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="623"/> | |
| 397 | 407 | <parameters> | |
| 398 | 408 | <parameter name="f"> | |
| 399 | 409 | </parameter> | |
| @@ -402,7 +412,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 402 | 412 | <function-macro name="PIXBUF_DEPRECATED_IN_2_32_FOR" | |
| 403 | 413 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_32_FOR" | |
| 404 | 414 | introspectable="0"> | |
| 405 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="631"/> | |
| 415 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="641"/> | |
| 406 | 416 | <parameters> | |
| 407 | 417 | <parameter name="f"> | |
| 408 | 418 | </parameter> | |
| @@ -411,7 +421,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 411 | 421 | <function-macro name="PIXBUF_DEPRECATED_IN_2_34_FOR" | |
| 412 | 422 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_34_FOR" | |
| 413 | 423 | introspectable="0"> | |
| 414 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="649"/> | |
| 424 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="659"/> | |
| 415 | 425 | <parameters> | |
| 416 | 426 | <parameter name="f"> | |
| 417 | 427 | </parameter> | |
| @@ -420,7 +430,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 420 | 430 | <function-macro name="PIXBUF_DEPRECATED_IN_2_36_FOR" | |
| 421 | 431 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_36_FOR" | |
| 422 | 432 | introspectable="0"> | |
| 423 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="667"/> | |
| 433 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="677"/> | |
| 424 | 434 | <parameters> | |
| 425 | 435 | <parameter name="f"> | |
| 426 | 436 | </parameter> | |
| @@ -429,7 +439,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 429 | 439 | <function-macro name="PIXBUF_DEPRECATED_IN_2_38_FOR" | |
| 430 | 440 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_38_FOR" | |
| 431 | 441 | introspectable="0"> | |
| 432 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="685"/> | |
| 442 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="695"/> | |
| 433 | 443 | <parameters> | |
| 434 | 444 | <parameter name="f"> | |
| 435 | 445 | </parameter> | |
| @@ -438,7 +448,16 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 438 | 448 | <function-macro name="PIXBUF_DEPRECATED_IN_2_40_FOR" | |
| 439 | 449 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_40_FOR" | |
| 440 | 450 | introspectable="0"> | |
| 441 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="703"/> | |
| 451 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="713"/> | |
| 452 | + | <parameters> | |
| 453 | + | <parameter name="f"> | |
| 454 | + | </parameter> | |
| 455 | + | </parameters> | |
| 456 | + | </function-macro> | |
| 457 | + | <function-macro name="PIXBUF_DEPRECATED_IN_2_44_FOR" | |
| 458 | + | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_44_FOR" | |
| 459 | + | introspectable="0"> | |
| 460 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="731"/> | |
| 442 | 461 | <parameters> | |
| 443 | 462 | <parameter name="f"> | |
| 444 | 463 | </parameter> | |
| @@ -447,7 +466,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 447 | 466 | <function-macro name="PIXBUF_DEPRECATED_IN_2_4_FOR" | |
| 448 | 467 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_4_FOR" | |
| 449 | 468 | introspectable="0"> | |
| 450 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="379"/> | |
| 469 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="389"/> | |
| 451 | 470 | <parameters> | |
| 452 | 471 | <parameter name="f"> | |
| 453 | 472 | </parameter> | |
| @@ -456,7 +475,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 456 | 475 | <function-macro name="PIXBUF_DEPRECATED_IN_2_6_FOR" | |
| 457 | 476 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_6_FOR" | |
| 458 | 477 | introspectable="0"> | |
| 459 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="397"/> | |
| 478 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="407"/> | |
| 460 | 479 | <parameters> | |
| 461 | 480 | <parameter name="f"> | |
| 462 | 481 | </parameter> | |
| @@ -465,7 +484,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 465 | 484 | <function-macro name="PIXBUF_DEPRECATED_IN_2_8_FOR" | |
| 466 | 485 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_8_FOR" | |
| 467 | 486 | introspectable="0"> | |
| 468 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="415"/> | |
| 487 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="425"/> | |
| 469 | 488 | <parameters> | |
| 470 | 489 | <parameter name="f"> | |
| 471 | 490 | </parameter> | |
| @@ -506,7 +525,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 506 | 525 | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="37"/> | |
| 507 | 526 | <type name="gint" c:type="gint"/> | |
| 508 | 527 | </constant> | |
| 509 | - | <constant name="PIXBUF_MICRO" value="12" c:type="GDK_PIXBUF_MICRO"> | |
| 528 | + | <constant name="PIXBUF_MICRO" value="3" c:type="GDK_PIXBUF_MICRO"> | |
| 510 | 529 | <doc xml:space="preserve" | |
| 511 | 530 | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 512 | 531 | line="22">Micro version of gdk-pixbuf library, that is the "2" in | |
| @@ -514,7 +533,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 514 | 533 | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="39"/> | |
| 515 | 534 | <type name="gint" c:type="gint"/> | |
| 516 | 535 | </constant> | |
| 517 | - | <constant name="PIXBUF_MINOR" value="42" c:type="GDK_PIXBUF_MINOR"> | |
| 536 | + | <constant name="PIXBUF_MINOR" value="44" c:type="GDK_PIXBUF_MINOR"> | |
| 518 | 537 | <doc xml:space="preserve" | |
| 519 | 538 | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 520 | 539 | line="16">Minor version of gdk-pixbuf library, that is the "8" in | |
| @@ -522,6 +541,16 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 522 | 541 | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="38"/> | |
| 523 | 542 | <type name="gint" c:type="gint"/> | |
| 524 | 543 | </constant> | |
| 544 | + | <function-macro name="PIXBUF_NON_ANIM" | |
| 545 | + | c:identifier="GDK_PIXBUF_NON_ANIM" | |
| 546 | + | introspectable="0"> | |
| 547 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 548 | + | line="209"/> | |
| 549 | + | <parameters> | |
| 550 | + | <parameter name="object"> | |
| 551 | + | </parameter> | |
| 552 | + | </parameters> | |
| 553 | + | </function-macro> | |
| 525 | 554 | <function-macro name="PIXBUF_SIMPLE_ANIM" | |
| 526 | 555 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM" | |
| 527 | 556 | introspectable="0"> | |
| @@ -552,9 +581,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 552 | 581 | </parameter> | |
| 553 | 582 | </parameters> | |
| 554 | 583 | </function-macro> | |
| 555 | - | <constant name="PIXBUF_VERSION" | |
| 556 | - | value="2.42.12" | |
| 557 | - | c:type="GDK_PIXBUF_VERSION"> | |
| 584 | + | <constant name="PIXBUF_VERSION" value="2.44.3" c:type="GDK_PIXBUF_VERSION"> | |
| 558 | 585 | <doc xml:space="preserve" | |
| 559 | 586 | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 560 | 587 | line="28">Contains the full version of GdkPixbuf as a string. | |
| @@ -600,9 +627,6 @@ wrapping it with `gdk_pixbuf_new_from_data()`. The `gdk_pixbuf_new()` | |||
| 600 | 627 | function will compute an optimal rowstride so that rendering can be | |
| 601 | 628 | performed with an efficient algorithm. | |
| 602 | 629 | ||
| 603 | - | As a special case, you can use the [`ctor@GdkPixbuf.Pixbuf.new_from_xpm_data`] | |
| 604 | - | function to create a pixbuf from inline XPM image data. | |
| 605 | - | ||
| 606 | 630 | You can also copy an existing pixbuf with the [method@Pixbuf.copy] | |
| 607 | 631 | function. This is not the same as just acquiring a reference to | |
| 608 | 632 | the old pixbuf instance: the copy function will actually duplicate | |
| @@ -718,7 +742,7 @@ If the allocation of the buffer failed, this function will return `NULL`. | |||
| 718 | 742 | ||
| 719 | 743 | The buffer has an optimal rowstride. Note that the buffer is not cleared; | |
| 720 | 744 | you will have to fill it completely yourself.</doc> | |
| 721 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="206"/> | |
| 745 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="204"/> | |
| 722 | 746 | <return-value transfer-ownership="full" nullable="1"> | |
| 723 | 747 | <doc xml:space="preserve" | |
| 724 | 748 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -763,60 +787,60 @@ you will have to fill it completely yourself.</doc> | |||
| 763 | 787 | version="2.32"> | |
| 764 | 788 | <doc xml:space="preserve" | |
| 765 | 789 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 766 | - | line="94">Creates a new #GdkPixbuf out of in-memory readonly image data. | |
| 790 | + | line="96">Creates a new #GdkPixbuf out of in-memory readonly image data. | |
| 767 | 791 | ||
| 768 | 792 | Currently only RGB images with 8 bits per sample are supported. | |
| 769 | 793 | ||
| 770 | 794 | This is the `GBytes` variant of gdk_pixbuf_new_from_data(), useful | |
| 771 | 795 | for language bindings.</doc> | |
| 772 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="286"/> | |
| 796 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="284"/> | |
| 773 | 797 | <return-value transfer-ownership="full"> | |
| 774 | 798 | <doc xml:space="preserve" | |
| 775 | 799 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 776 | - | line="111">A newly-created pixbuf</doc> | |
| 800 | + | line="113">A newly-created pixbuf</doc> | |
| 777 | 801 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 778 | 802 | </return-value> | |
| 779 | 803 | <parameters> | |
| 780 | 804 | <parameter name="data" transfer-ownership="none"> | |
| 781 | 805 | <doc xml:space="preserve" | |
| 782 | 806 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 783 | - | line="96">Image data in 8-bit/sample packed format inside a #GBytes</doc> | |
| 807 | + | line="98">Image data in 8-bit/sample packed format inside a #GBytes</doc> | |
| 784 | 808 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 785 | 809 | </parameter> | |
| 786 | 810 | <parameter name="colorspace" transfer-ownership="none"> | |
| 787 | 811 | <doc xml:space="preserve" | |
| 788 | 812 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 789 | - | line="97">Colorspace for the image data</doc> | |
| 813 | + | line="99">Colorspace for the image data</doc> | |
| 790 | 814 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 791 | 815 | </parameter> | |
| 792 | 816 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 793 | 817 | <doc xml:space="preserve" | |
| 794 | 818 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 795 | - | line="98">Whether the data has an opacity channel</doc> | |
| 819 | + | line="100">Whether the data has an opacity channel</doc> | |
| 796 | 820 | <type name="gboolean" c:type="gboolean"/> | |
| 797 | 821 | </parameter> | |
| 798 | 822 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 799 | 823 | <doc xml:space="preserve" | |
| 800 | 824 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 801 | - | line="99">Number of bits per sample</doc> | |
| 825 | + | line="101">Number of bits per sample</doc> | |
| 802 | 826 | <type name="gint" c:type="int"/> | |
| 803 | 827 | </parameter> | |
| 804 | 828 | <parameter name="width" transfer-ownership="none"> | |
| 805 | 829 | <doc xml:space="preserve" | |
| 806 | 830 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 807 | - | line="100">Width of the image in pixels, must be > 0</doc> | |
| 831 | + | line="102">Width of the image in pixels, must be > 0</doc> | |
| 808 | 832 | <type name="gint" c:type="int"/> | |
| 809 | 833 | </parameter> | |
| 810 | 834 | <parameter name="height" transfer-ownership="none"> | |
| 811 | 835 | <doc xml:space="preserve" | |
| 812 | 836 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 813 | - | line="101">Height of the image in pixels, must be > 0</doc> | |
| 837 | + | line="103">Height of the image in pixels, must be > 0</doc> | |
| 814 | 838 | <type name="gint" c:type="int"/> | |
| 815 | 839 | </parameter> | |
| 816 | 840 | <parameter name="rowstride" transfer-ownership="none"> | |
| 817 | 841 | <doc xml:space="preserve" | |
| 818 | 842 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 819 | - | line="102">Distance in bytes between row starts</doc> | |
| 843 | + | line="104">Distance in bytes between row starts</doc> | |
| 820 | 844 | <type name="gint" c:type="int"/> | |
| 821 | 845 | </parameter> | |
| 822 | 846 | </parameters> | |
| @@ -836,11 +860,11 @@ finalized, your destroy notification function will be called, and | |||
| 836 | 860 | it is its responsibility to free the pixel array. | |
| 837 | 861 | ||
| 838 | 862 | See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |
| 839 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="276"/> | |
| 863 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="274"/> | |
| 840 | 864 | <return-value transfer-ownership="full"> | |
| 841 | 865 | <doc xml:space="preserve" | |
| 842 | 866 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 843 | - | line="54">A newly-created pixbuf</doc> | |
| 867 | + | line="56">A newly-created pixbuf</doc> | |
| 844 | 868 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 845 | 869 | </return-value> | |
| 846 | 870 | <parameters> | |
| @@ -896,8 +920,9 @@ See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |||
| 896 | 920 | closure="8"> | |
| 897 | 921 | <doc xml:space="preserve" | |
| 898 | 922 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 899 | - | line="38">Function used to free the data when the pixbuf's reference count | |
| 900 | - | drops to zero, or %NULL if the data should not be freed</doc> | |
| 923 | + | line="38">Function | |
| 924 | + | used to free the data when the pixbuf's reference count | |
| 925 | + | drops to zero, or `NULL` if the data should not be freed</doc> | |
| 901 | 926 | <type name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"/> | |
| 902 | 927 | </parameter> | |
| 903 | 928 | <parameter name="destroy_fn_data" | |
| @@ -906,7 +931,8 @@ drops to zero, or %NULL if the data should not be freed</doc> | |||
| 906 | 931 | allow-none="1"> | |
| 907 | 932 | <doc xml:space="preserve" | |
| 908 | 933 | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 909 | - | line="40">Closure data to pass to the destroy notification function</doc> | |
| 934 | + | line="41">Closure data to pass to the destroy | |
| 935 | + | notification function</doc> | |
| 910 | 936 | <type name="gpointer" c:type="gpointer"/> | |
| 911 | 937 | </parameter> | |
| 912 | 938 | </parameters> | |
| @@ -916,7 +942,7 @@ drops to zero, or %NULL if the data should not be freed</doc> | |||
| 916 | 942 | throws="1"> | |
| 917 | 943 | <doc xml:space="preserve" | |
| 918 | 944 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 919 | - | line="1089">Creates a new pixbuf by loading an image from a file. | |
| 945 | + | line="1176">Creates a new pixbuf by loading an image from a file. | |
| 920 | 946 | ||
| 921 | 947 | The file format is detected automatically. | |
| 922 | 948 | ||
| @@ -928,18 +954,18 @@ If `NULL` is returned, then @error will be set. Possible errors are: | |||
| 928 | 954 | - the image buffer contains invalid data | |
| 929 | 955 | ||
| 930 | 956 | The error domains are `GDK_PIXBUF_ERROR` and `G_FILE_ERROR`.</doc> | |
| 931 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="252"/> | |
| 957 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="250"/> | |
| 932 | 958 | <return-value transfer-ownership="full" nullable="1"> | |
| 933 | 959 | <doc xml:space="preserve" | |
| 934 | 960 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 935 | - | line="1108">A newly-created pixbuf</doc> | |
| 961 | + | line="1195">A newly-created pixbuf</doc> | |
| 936 | 962 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 937 | 963 | </return-value> | |
| 938 | 964 | <parameters> | |
| 939 | 965 | <parameter name="filename" transfer-ownership="none"> | |
| 940 | 966 | <doc xml:space="preserve" | |
| 941 | 967 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 942 | - | line="1091">Name of file to load, in the GLib file | |
| 968 | + | line="1178">Name of file to load, in the GLib file | |
| 943 | 969 | name encoding</doc> | |
| 944 | 970 | <type name="filename" c:type="const char*"/> | |
| 945 | 971 | </parameter> | |
| @@ -951,7 +977,7 @@ The error domains are `GDK_PIXBUF_ERROR` and `G_FILE_ERROR`.</doc> | |||
| 951 | 977 | throws="1"> | |
| 952 | 978 | <doc xml:space="preserve" | |
| 953 | 979 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 954 | - | line="1337">Creates a new pixbuf by loading an image from a file. | |
| 980 | + | line="1424">Creates a new pixbuf by loading an image from a file. | |
| 955 | 981 | ||
| 956 | 982 | The file format is detected automatically. | |
| 957 | 983 | ||
| @@ -973,37 +999,37 @@ the image to be scaled to the exact given width. When not preserving | |||
| 973 | 999 | aspect ratio, a `width` or `height` of -1 means to not scale the image | |
| 974 | 1000 | at all in that dimension. Negative values for `width` and `height` are | |
| 975 | 1001 | allowed since 2.8.</doc> | |
| 976 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="260"/> | |
| 1002 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="258"/> | |
| 977 | 1003 | <return-value transfer-ownership="full" nullable="1"> | |
| 978 | 1004 | <doc xml:space="preserve" | |
| 979 | 1005 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 980 | - | line="1369">A newly-created pixbuf</doc> | |
| 1006 | + | line="1456">A newly-created pixbuf</doc> | |
| 981 | 1007 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 982 | 1008 | </return-value> | |
| 983 | 1009 | <parameters> | |
| 984 | 1010 | <parameter name="filename" transfer-ownership="none"> | |
| 985 | 1011 | <doc xml:space="preserve" | |
| 986 | 1012 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 987 | - | line="1339">Name of file to load, in the GLib file | |
| 1013 | + | line="1426">Name of file to load, in the GLib file | |
| 988 | 1014 | name encoding</doc> | |
| 989 | 1015 | <type name="filename" c:type="const char*"/> | |
| 990 | 1016 | </parameter> | |
| 991 | 1017 | <parameter name="width" transfer-ownership="none"> | |
| 992 | 1018 | <doc xml:space="preserve" | |
| 993 | 1019 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 994 | - | line="1341">The width the image should have or -1 to not constrain the width</doc> | |
| 1020 | + | line="1428">The width the image should have or -1 to not constrain the width</doc> | |
| 995 | 1021 | <type name="gint" c:type="int"/> | |
| 996 | 1022 | </parameter> | |
| 997 | 1023 | <parameter name="height" transfer-ownership="none"> | |
| 998 | 1024 | <doc xml:space="preserve" | |
| 999 | 1025 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1000 | - | line="1342">The height the image should have or -1 to not constrain the height</doc> | |
| 1026 | + | line="1429">The height the image should have or -1 to not constrain the height</doc> | |
| 1001 | 1027 | <type name="gint" c:type="int"/> | |
| 1002 | 1028 | </parameter> | |
| 1003 | 1029 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1004 | 1030 | <doc xml:space="preserve" | |
| 1005 | 1031 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1006 | - | line="1343">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1032 | + | line="1430">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1007 | 1033 | <type name="gboolean" c:type="gboolean"/> | |
| 1008 | 1034 | </parameter> | |
| 1009 | 1035 | </parameters> | |
| @@ -1014,7 +1040,7 @@ allowed since 2.8.</doc> | |||
| 1014 | 1040 | throws="1"> | |
| 1015 | 1041 | <doc xml:space="preserve" | |
| 1016 | 1042 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1017 | - | line="1210">Creates a new pixbuf by loading an image from a file. | |
| 1043 | + | line="1297">Creates a new pixbuf by loading an image from a file. | |
| 1018 | 1044 | ||
| 1019 | 1045 | The file format is detected automatically. | |
| 1020 | 1046 | ||
| @@ -1032,31 +1058,31 @@ the image's aspect ratio. Note that the returned pixbuf may be smaller | |||
| 1032 | 1058 | than `width` x `height`, if the aspect ratio requires it. To load | |
| 1033 | 1059 | and image at the requested size, regardless of aspect ratio, use | |
| 1034 | 1060 | [ctor@GdkPixbuf.Pixbuf.new_from_file_at_scale].</doc> | |
| 1035 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="255"/> | |
| 1061 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="253"/> | |
| 1036 | 1062 | <return-value transfer-ownership="full" nullable="1"> | |
| 1037 | 1063 | <doc xml:space="preserve" | |
| 1038 | 1064 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1039 | - | line="1237">A newly-created pixbuf</doc> | |
| 1065 | + | line="1324">A newly-created pixbuf</doc> | |
| 1040 | 1066 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1041 | 1067 | </return-value> | |
| 1042 | 1068 | <parameters> | |
| 1043 | 1069 | <parameter name="filename" transfer-ownership="none"> | |
| 1044 | 1070 | <doc xml:space="preserve" | |
| 1045 | 1071 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1046 | - | line="1212">Name of file to load, in the GLib file | |
| 1072 | + | line="1299">Name of file to load, in the GLib file | |
| 1047 | 1073 | name encoding</doc> | |
| 1048 | 1074 | <type name="filename" c:type="const char*"/> | |
| 1049 | 1075 | </parameter> | |
| 1050 | 1076 | <parameter name="width" transfer-ownership="none"> | |
| 1051 | 1077 | <doc xml:space="preserve" | |
| 1052 | 1078 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1053 | - | line="1214">The width the image should have or -1 to not constrain the width</doc> | |
| 1079 | + | line="1301">The width the image should have or -1 to not constrain the width</doc> | |
| 1054 | 1080 | <type name="gint" c:type="int"/> | |
| 1055 | 1081 | </parameter> | |
| 1056 | 1082 | <parameter name="height" transfer-ownership="none"> | |
| 1057 | 1083 | <doc xml:space="preserve" | |
| 1058 | 1084 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1059 | - | line="1215">The height the image should have or -1 to not constrain the height</doc> | |
| 1085 | + | line="1302">The height the image should have or -1 to not constrain the height</doc> | |
| 1060 | 1086 | <type name="gint" c:type="int"/> | |
| 1061 | 1087 | </parameter> | |
| 1062 | 1088 | </parameters> | |
| @@ -1102,7 +1128,7 @@ For non-const inline data, you could get out of memory. For untrusted | |||
| 1102 | 1128 | inline data located at runtime, you could have corrupt inline data in | |
| 1103 | 1129 | addition.</doc> | |
| 1104 | 1130 | <doc-deprecated xml:space="preserve">Use `GResource` instead.</doc-deprecated> | |
| 1105 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="298"/> | |
| 1131 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="295"/> | |
| 1106 | 1132 | <return-value transfer-ownership="full"> | |
| 1107 | 1133 | <doc xml:space="preserve" | |
| 1108 | 1134 | filename="gdk-pixbuf/gdk-pixdata.c" | |
| @@ -1141,22 +1167,22 @@ addition.</doc> | |||
| 1141 | 1167 | throws="1"> | |
| 1142 | 1168 | <doc xml:space="preserve" | |
| 1143 | 1169 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1144 | - | line="1793">Creates a new pixbuf by loading an image from an resource. | |
| 1170 | + | line="1883">Creates a new pixbuf by loading an image from an resource. | |
| 1145 | 1171 | ||
| 1146 | 1172 | The file format is detected automatically. If `NULL` is returned, then | |
| 1147 | 1173 | @error will be set.</doc> | |
| 1148 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="266"/> | |
| 1174 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="264"/> | |
| 1149 | 1175 | <return-value transfer-ownership="full" nullable="1"> | |
| 1150 | 1176 | <doc xml:space="preserve" | |
| 1151 | 1177 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1152 | - | line="1803">A newly-created pixbuf</doc> | |
| 1178 | + | line="1893">A newly-created pixbuf</doc> | |
| 1153 | 1179 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1154 | 1180 | </return-value> | |
| 1155 | 1181 | <parameters> | |
| 1156 | 1182 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1157 | 1183 | <doc xml:space="preserve" | |
| 1158 | 1184 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1159 | - | line="1795">the path of the resource file</doc> | |
| 1185 | + | line="1885">the path of the resource file</doc> | |
| 1160 | 1186 | <type name="utf8" c:type="const char*"/> | |
| 1161 | 1187 | </parameter> | |
| 1162 | 1188 | </parameters> | |
| @@ -1167,7 +1193,7 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 1167 | 1193 | throws="1"> | |
| 1168 | 1194 | <doc xml:space="preserve" | |
| 1169 | 1195 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1170 | - | line="1827">Creates a new pixbuf by loading an image from an resource. | |
| 1196 | + | line="1917">Creates a new pixbuf by loading an image from an resource. | |
| 1171 | 1197 | ||
| 1172 | 1198 | The file format is detected automatically. If `NULL` is returned, then | |
| 1173 | 1199 | @error will be set. | |
| @@ -1180,36 +1206,36 @@ exact given width. When not preserving aspect ratio, a @width or | |||
| 1180 | 1206 | @height of -1 means to not scale the image at all in that dimension. | |
| 1181 | 1207 | ||
| 1182 | 1208 | The stream is not closed.</doc> | |
| 1183 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="269"/> | |
| 1209 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="267"/> | |
| 1184 | 1210 | <return-value transfer-ownership="full" nullable="1"> | |
| 1185 | 1211 | <doc xml:space="preserve" | |
| 1186 | 1212 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1187 | - | line="1849">A newly-created pixbuf</doc> | |
| 1213 | + | line="1939">A newly-created pixbuf</doc> | |
| 1188 | 1214 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1189 | 1215 | </return-value> | |
| 1190 | 1216 | <parameters> | |
| 1191 | 1217 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1192 | 1218 | <doc xml:space="preserve" | |
| 1193 | 1219 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1194 | - | line="1829">the path of the resource file</doc> | |
| 1220 | + | line="1919">the path of the resource file</doc> | |
| 1195 | 1221 | <type name="utf8" c:type="const char*"/> | |
| 1196 | 1222 | </parameter> | |
| 1197 | 1223 | <parameter name="width" transfer-ownership="none"> | |
| 1198 | 1224 | <doc xml:space="preserve" | |
| 1199 | 1225 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1200 | - | line="1830">The width the image should have or -1 to not constrain the width</doc> | |
| 1226 | + | line="1920">The width the image should have or -1 to not constrain the width</doc> | |
| 1201 | 1227 | <type name="gint" c:type="int"/> | |
| 1202 | 1228 | </parameter> | |
| 1203 | 1229 | <parameter name="height" transfer-ownership="none"> | |
| 1204 | 1230 | <doc xml:space="preserve" | |
| 1205 | 1231 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1206 | - | line="1831">The height the image should have or -1 to not constrain the height</doc> | |
| 1232 | + | line="1921">The height the image should have or -1 to not constrain the height</doc> | |
| 1207 | 1233 | <type name="gint" c:type="int"/> | |
| 1208 | 1234 | </parameter> | |
| 1209 | 1235 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1210 | 1236 | <doc xml:space="preserve" | |
| 1211 | 1237 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1212 | - | line="1832">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1238 | + | line="1922">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1213 | 1239 | <type name="gboolean" c:type="gboolean"/> | |
| 1214 | 1240 | </parameter> | |
| 1215 | 1241 | </parameters> | |
| @@ -1220,7 +1246,7 @@ The stream is not closed.</doc> | |||
| 1220 | 1246 | throws="1"> | |
| 1221 | 1247 | <doc xml:space="preserve" | |
| 1222 | 1248 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1223 | - | line="1717">Creates a new pixbuf by loading an image from an input stream. | |
| 1249 | + | line="1804">Creates a new pixbuf by loading an image from an input stream. | |
| 1224 | 1250 | ||
| 1225 | 1251 | The file format is detected automatically. | |
| 1226 | 1252 | ||
| @@ -1232,18 +1258,18 @@ returned. Other possible errors are in the `GDK_PIXBUF_ERROR` and | |||
| 1232 | 1258 | `G_IO_ERROR` domains. | |
| 1233 | 1259 | ||
| 1234 | 1260 | The stream is not closed.</doc> | |
| 1235 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="409"/> | |
| 1261 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="404"/> | |
| 1236 | 1262 | <return-value transfer-ownership="full" nullable="1"> | |
| 1237 | 1263 | <doc xml:space="preserve" | |
| 1238 | 1264 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1239 | - | line="1736">A newly-created pixbuf</doc> | |
| 1265 | + | line="1823">A newly-created pixbuf</doc> | |
| 1240 | 1266 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1241 | 1267 | </return-value> | |
| 1242 | 1268 | <parameters> | |
| 1243 | 1269 | <parameter name="stream" transfer-ownership="none"> | |
| 1244 | 1270 | <doc xml:space="preserve" | |
| 1245 | 1271 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1246 | - | line="1719">a `GInputStream` to load the pixbuf from</doc> | |
| 1272 | + | line="1806">a `GInputStream` to load the pixbuf from</doc> | |
| 1247 | 1273 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1248 | 1274 | </parameter> | |
| 1249 | 1275 | <parameter name="cancellable" | |
| @@ -1252,7 +1278,7 @@ The stream is not closed.</doc> | |||
| 1252 | 1278 | allow-none="1"> | |
| 1253 | 1279 | <doc xml:space="preserve" | |
| 1254 | 1280 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1255 | - | line="1720">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1281 | + | line="1807">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1256 | 1282 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1257 | 1283 | </parameter> | |
| 1258 | 1284 | </parameters> | |
| @@ -1263,7 +1289,7 @@ The stream is not closed.</doc> | |||
| 1263 | 1289 | throws="1"> | |
| 1264 | 1290 | <doc xml:space="preserve" | |
| 1265 | 1291 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1266 | - | line="1543">Creates a new pixbuf by loading an image from an input stream. | |
| 1292 | + | line="1630">Creates a new pixbuf by loading an image from an input stream. | |
| 1267 | 1293 | ||
| 1268 | 1294 | The file format is detected automatically. If `NULL` is returned, then | |
| 1269 | 1295 | @error will be set. The @cancellable can be used to abort the operation | |
| @@ -1284,36 +1310,36 @@ When not preserving aspect ratio, a `width` or `height` of -1 means to not | |||
| 1284 | 1310 | scale the image at all in that dimension. | |
| 1285 | 1311 | ||
| 1286 | 1312 | The stream is not closed.</doc> | |
| 1287 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="424"/> | |
| 1313 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="419"/> | |
| 1288 | 1314 | <return-value transfer-ownership="full" nullable="1"> | |
| 1289 | 1315 | <doc xml:space="preserve" | |
| 1290 | 1316 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1291 | - | line="1574">A newly-created pixbuf</doc> | |
| 1317 | + | line="1661">A newly-created pixbuf</doc> | |
| 1292 | 1318 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1293 | 1319 | </return-value> | |
| 1294 | 1320 | <parameters> | |
| 1295 | 1321 | <parameter name="stream" transfer-ownership="none"> | |
| 1296 | 1322 | <doc xml:space="preserve" | |
| 1297 | 1323 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1298 | - | line="1545">a `GInputStream` to load the pixbuf from</doc> | |
| 1324 | + | line="1632">a `GInputStream` to load the pixbuf from</doc> | |
| 1299 | 1325 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1300 | 1326 | </parameter> | |
| 1301 | 1327 | <parameter name="width" transfer-ownership="none"> | |
| 1302 | 1328 | <doc xml:space="preserve" | |
| 1303 | 1329 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1304 | - | line="1546">The width the image should have or -1 to not constrain the width</doc> | |
| 1330 | + | line="1633">The width the image should have or -1 to not constrain the width</doc> | |
| 1305 | 1331 | <type name="gint" c:type="gint"/> | |
| 1306 | 1332 | </parameter> | |
| 1307 | 1333 | <parameter name="height" transfer-ownership="none"> | |
| 1308 | 1334 | <doc xml:space="preserve" | |
| 1309 | 1335 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1310 | - | line="1547">The height the image should have or -1 to not constrain the height</doc> | |
| 1336 | + | line="1634">The height the image should have or -1 to not constrain the height</doc> | |
| 1311 | 1337 | <type name="gint" c:type="gint"/> | |
| 1312 | 1338 | </parameter> | |
| 1313 | 1339 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1314 | 1340 | <doc xml:space="preserve" | |
| 1315 | 1341 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1316 | - | line="1548">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1342 | + | line="1635">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1317 | 1343 | <type name="gboolean" c:type="gboolean"/> | |
| 1318 | 1344 | </parameter> | |
| 1319 | 1345 | <parameter name="cancellable" | |
| @@ -1322,7 +1348,7 @@ The stream is not closed.</doc> | |||
| 1322 | 1348 | allow-none="1"> | |
| 1323 | 1349 | <doc xml:space="preserve" | |
| 1324 | 1350 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1325 | - | line="1549">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1351 | + | line="1636">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1326 | 1352 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1327 | 1353 | </parameter> | |
| 1328 | 1354 | </parameters> | |
| @@ -1333,44 +1359,49 @@ The stream is not closed.</doc> | |||
| 1333 | 1359 | throws="1"> | |
| 1334 | 1360 | <doc xml:space="preserve" | |
| 1335 | 1361 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1336 | - | line="1914">Finishes an asynchronous pixbuf creation operation started with | |
| 1362 | + | line="2004">Finishes an asynchronous pixbuf creation operation started with | |
| 1337 | 1363 | gdk_pixbuf_new_from_stream_async().</doc> | |
| 1338 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="420"/> | |
| 1364 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="415"/> | |
| 1339 | 1365 | <return-value transfer-ownership="full" nullable="1"> | |
| 1340 | 1366 | <doc xml:space="preserve" | |
| 1341 | 1367 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1342 | - | line="1922">the newly created pixbuf</doc> | |
| 1368 | + | line="2012">the newly created pixbuf</doc> | |
| 1343 | 1369 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1344 | 1370 | </return-value> | |
| 1345 | 1371 | <parameters> | |
| 1346 | 1372 | <parameter name="async_result" transfer-ownership="none"> | |
| 1347 | 1373 | <doc xml:space="preserve" | |
| 1348 | 1374 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1349 | - | line="1916">a `GAsyncResult`</doc> | |
| 1375 | + | line="2006">a `GAsyncResult`</doc> | |
| 1350 | 1376 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1351 | 1377 | </parameter> | |
| 1352 | 1378 | </parameters> | |
| 1353 | 1379 | </constructor> | |
| 1354 | 1380 | <constructor name="new_from_xpm_data" | |
| 1355 | - | c:identifier="gdk_pixbuf_new_from_xpm_data"> | |
| 1381 | + | c:identifier="gdk_pixbuf_new_from_xpm_data" | |
| 1382 | + | deprecated="1" | |
| 1383 | + | deprecated-version="2.44"> | |
| 1356 | 1384 | <doc xml:space="preserve" | |
| 1357 | 1385 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1358 | - | line="2148">Creates a new pixbuf by parsing XPM data in memory. | |
| 1386 | + | line="2238">Creates a new pixbuf by parsing XPM data in memory. | |
| 1359 | 1387 | ||
| 1360 | 1388 | This data is commonly the result of including an XPM file into a | |
| 1361 | 1389 | program's C source.</doc> | |
| 1362 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="294"/> | |
| 1390 | + | <doc-deprecated xml:space="preserve">Use [ctor@GdkPixbuf.Pixbuf.new_from_stream] with | |
| 1391 | + | a [class@Gio.MemoryInputStream], making sure to handle errors in | |
| 1392 | + | case the XPM format loader is not available</doc-deprecated> | |
| 1393 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="292"/> | |
| 1363 | 1394 | <return-value transfer-ownership="full" nullable="1"> | |
| 1364 | 1395 | <doc xml:space="preserve" | |
| 1365 | 1396 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1366 | - | line="2157">A newly-created pixbuf</doc> | |
| 1397 | + | line="2247">A newly-created pixbuf</doc> | |
| 1367 | 1398 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1368 | 1399 | </return-value> | |
| 1369 | 1400 | <parameters> | |
| 1370 | 1401 | <parameter name="data" transfer-ownership="none"> | |
| 1371 | 1402 | <doc xml:space="preserve" | |
| 1372 | 1403 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1373 | - | line="2150">Pointer to inline XPM data.</doc> | |
| 1404 | + | line="2240">Pointer to inline XPM data.</doc> | |
| 1374 | 1405 | <array c:type="const char**"> | |
| 1375 | 1406 | <type name="utf8" c:type="char*"/> | |
| 1376 | 1407 | </array> | |
| @@ -1387,7 +1418,7 @@ have. | |||
| 1387 | 1418 | ||
| 1388 | 1419 | This function is useful for front-ends and backends that want to check | |
| 1389 | 1420 | image values without needing to create a `GdkPixbuf`.</doc> | |
| 1390 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="210"/> | |
| 1421 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="208"/> | |
| 1391 | 1422 | <return-value transfer-ownership="none"> | |
| 1392 | 1423 | <doc xml:space="preserve" | |
| 1393 | 1424 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -1433,12 +1464,12 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1433 | 1464 | glib:async-func="get_file_info_async"> | |
| 1434 | 1465 | <doc xml:space="preserve" | |
| 1435 | 1466 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1436 | - | line="1964">Parses an image file far enough to determine its format and size.</doc> | |
| 1467 | + | line="2054">Parses an image file far enough to determine its format and size.</doc> | |
| 1437 | 1468 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="77"/> | |
| 1438 | 1469 | <return-value transfer-ownership="none" nullable="1"> | |
| 1439 | 1470 | <doc xml:space="preserve" | |
| 1440 | 1471 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1441 | - | line="1972">A `GdkPixbufFormat` describing | |
| 1472 | + | line="2062">A `GdkPixbufFormat` describing | |
| 1442 | 1473 | the image format of the file</doc> | |
| 1443 | 1474 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 1444 | 1475 | </return-value> | |
| @@ -1446,7 +1477,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1446 | 1477 | <parameter name="filename" transfer-ownership="none"> | |
| 1447 | 1478 | <doc xml:space="preserve" | |
| 1448 | 1479 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1449 | - | line="1966">The name of the file to identify.</doc> | |
| 1480 | + | line="2056">The name of the file to identify.</doc> | |
| 1450 | 1481 | <type name="filename" c:type="const gchar*"/> | |
| 1451 | 1482 | </parameter> | |
| 1452 | 1483 | <parameter name="width" | |
| @@ -1457,7 +1488,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1457 | 1488 | allow-none="1"> | |
| 1458 | 1489 | <doc xml:space="preserve" | |
| 1459 | 1490 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1460 | - | line="1967">Return location for the width of the image</doc> | |
| 1491 | + | line="2057">Return location for the width of the image</doc> | |
| 1461 | 1492 | <type name="gint" c:type="gint*"/> | |
| 1462 | 1493 | </parameter> | |
| 1463 | 1494 | <parameter name="height" | |
| @@ -1468,7 +1499,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1468 | 1499 | allow-none="1"> | |
| 1469 | 1500 | <doc xml:space="preserve" | |
| 1470 | 1501 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1471 | - | line="1968">Return location for the height of the image</doc> | |
| 1502 | + | line="2058">Return location for the height of the image</doc> | |
| 1472 | 1503 | <type name="gint" c:type="gint*"/> | |
| 1473 | 1504 | </parameter> | |
| 1474 | 1505 | </parameters> | |
| @@ -1480,7 +1511,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1480 | 1511 | glib:sync-func="get_file_info"> | |
| 1481 | 1512 | <doc xml:space="preserve" | |
| 1482 | 1513 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1483 | - | line="2062">Asynchronously parses an image file far enough to determine its | |
| 1514 | + | line="2152">Asynchronously parses an image file far enough to determine its | |
| 1484 | 1515 | format and size. | |
| 1485 | 1516 | ||
| 1486 | 1517 | For more details see gdk_pixbuf_get_file_info(), which is the synchronous | |
| @@ -1497,7 +1528,7 @@ get the result of the operation.</doc> | |||
| 1497 | 1528 | <parameter name="filename" transfer-ownership="none"> | |
| 1498 | 1529 | <doc xml:space="preserve" | |
| 1499 | 1530 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1500 | - | line="2064">The name of the file to identify</doc> | |
| 1531 | + | line="2154">The name of the file to identify</doc> | |
| 1501 | 1532 | <type name="filename" c:type="const gchar*"/> | |
| 1502 | 1533 | </parameter> | |
| 1503 | 1534 | <parameter name="cancellable" | |
| @@ -1506,7 +1537,7 @@ get the result of the operation.</doc> | |||
| 1506 | 1537 | allow-none="1"> | |
| 1507 | 1538 | <doc xml:space="preserve" | |
| 1508 | 1539 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1509 | - | line="2065">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1540 | + | line="2155">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1510 | 1541 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1511 | 1542 | </parameter> | |
| 1512 | 1543 | <parameter name="callback" | |
| @@ -1517,7 +1548,7 @@ get the result of the operation.</doc> | |||
| 1517 | 1548 | closure="3"> | |
| 1518 | 1549 | <doc xml:space="preserve" | |
| 1519 | 1550 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1520 | - | line="2066">a `GAsyncReadyCallback` to call when the file info is available</doc> | |
| 1551 | + | line="2156">a `GAsyncReadyCallback` to call when the file info is available</doc> | |
| 1521 | 1552 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1522 | 1553 | </parameter> | |
| 1523 | 1554 | <parameter name="user_data" | |
| @@ -1526,7 +1557,7 @@ get the result of the operation.</doc> | |||
| 1526 | 1557 | allow-none="1"> | |
| 1527 | 1558 | <doc xml:space="preserve" | |
| 1528 | 1559 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1529 | - | line="2067">the data to pass to the callback function</doc> | |
| 1560 | + | line="2157">the data to pass to the callback function</doc> | |
| 1530 | 1561 | <type name="gpointer" c:type="gpointer"/> | |
| 1531 | 1562 | </parameter> | |
| 1532 | 1563 | </parameters> | |
| @@ -1537,13 +1568,13 @@ get the result of the operation.</doc> | |||
| 1537 | 1568 | throws="1"> | |
| 1538 | 1569 | <doc xml:space="preserve" | |
| 1539 | 1570 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1540 | - | line="2105">Finishes an asynchronous pixbuf parsing operation started with | |
| 1571 | + | line="2195">Finishes an asynchronous pixbuf parsing operation started with | |
| 1541 | 1572 | gdk_pixbuf_get_file_info_async().</doc> | |
| 1542 | 1573 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="86"/> | |
| 1543 | 1574 | <return-value transfer-ownership="none" nullable="1"> | |
| 1544 | 1575 | <doc xml:space="preserve" | |
| 1545 | 1576 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1546 | - | line="2115">A `GdkPixbufFormat` describing the | |
| 1577 | + | line="2205">A `GdkPixbufFormat` describing the | |
| 1547 | 1578 | image format of the file</doc> | |
| 1548 | 1579 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 1549 | 1580 | </return-value> | |
| @@ -1551,7 +1582,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1551 | 1582 | <parameter name="async_result" transfer-ownership="none"> | |
| 1552 | 1583 | <doc xml:space="preserve" | |
| 1553 | 1584 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1554 | - | line="2107">a `GAsyncResult`</doc> | |
| 1585 | + | line="2197">a `GAsyncResult`</doc> | |
| 1555 | 1586 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1556 | 1587 | </parameter> | |
| 1557 | 1588 | <parameter name="width" | |
| @@ -1560,7 +1591,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1560 | 1591 | transfer-ownership="full"> | |
| 1561 | 1592 | <doc xml:space="preserve" | |
| 1562 | 1593 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1563 | - | line="2108">Return location for the width of the image, or `NULL`</doc> | |
| 1594 | + | line="2198">Return location for the width of the image, or `NULL`</doc> | |
| 1564 | 1595 | <type name="gint" c:type="gint*"/> | |
| 1565 | 1596 | </parameter> | |
| 1566 | 1597 | <parameter name="height" | |
| @@ -1569,7 +1600,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1569 | 1600 | transfer-ownership="full"> | |
| 1570 | 1601 | <doc xml:space="preserve" | |
| 1571 | 1602 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1572 | - | line="2109">Return location for the height of the image, or `NULL`</doc> | |
| 1603 | + | line="2199">Return location for the height of the image, or `NULL`</doc> | |
| 1573 | 1604 | <type name="gint" c:type="gint*"/> | |
| 1574 | 1605 | </parameter> | |
| 1575 | 1606 | </parameters> | |
| @@ -1579,13 +1610,13 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1579 | 1610 | version="2.2"> | |
| 1580 | 1611 | <doc xml:space="preserve" | |
| 1581 | 1612 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1582 | - | line="3426">Obtains the available information about the image formats supported | |
| 1613 | + | line="3520">Obtains the available information about the image formats supported | |
| 1583 | 1614 | by GdkPixbuf.</doc> | |
| 1584 | 1615 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="52"/> | |
| 1585 | 1616 | <return-value transfer-ownership="container"> | |
| 1586 | 1617 | <doc xml:space="preserve" | |
| 1587 | 1618 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1588 | - | line="3432">A list of | |
| 1619 | + | line="3526">A list of | |
| 1589 | 1620 | support image formats.</doc> | |
| 1590 | 1621 | <type name="GLib.SList" c:type="GSList*"> | |
| 1591 | 1622 | <type name="PixbufFormat"/> | |
| @@ -1598,7 +1629,7 @@ by GdkPixbuf.</doc> | |||
| 1598 | 1629 | throws="1"> | |
| 1599 | 1630 | <doc xml:space="preserve" | |
| 1600 | 1631 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1601 | - | line="561">Initalizes the gdk-pixbuf loader modules referenced by the `loaders.cache` | |
| 1632 | + | line="563">Initalizes the gdk-pixbuf loader modules referenced by the `loaders.cache` | |
| 1602 | 1633 | file present inside that directory. | |
| 1603 | 1634 | ||
| 1604 | 1635 | This is to be used by applications that want to ship certain loaders | |
| @@ -1619,7 +1650,7 @@ provided modules.</doc> | |||
| 1619 | 1650 | <parameter name="path" transfer-ownership="none"> | |
| 1620 | 1651 | <doc xml:space="preserve" | |
| 1621 | 1652 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1622 | - | line="563">Path to directory where the `loaders.cache` is installed</doc> | |
| 1653 | + | line="565">Path to directory where the `loaders.cache` is installed</doc> | |
| 1623 | 1654 | <type name="utf8" c:type="const char*"/> | |
| 1624 | 1655 | </parameter> | |
| 1625 | 1656 | </parameters> | |
| @@ -1627,10 +1658,10 @@ provided modules.</doc> | |||
| 1627 | 1658 | <function name="new_from_stream_async" | |
| 1628 | 1659 | c:identifier="gdk_pixbuf_new_from_stream_async" | |
| 1629 | 1660 | version="2.24" | |
| 1630 | - | glib:finish-func="new_from_stream_finish"> | |
| 1661 | + | glib:finish-func="gdk_pixbuf_new_from_stream_finish"> | |
| 1631 | 1662 | <doc xml:space="preserve" | |
| 1632 | 1663 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1633 | - | line="1872">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1664 | + | line="1962">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1634 | 1665 | ||
| 1635 | 1666 | For more details see gdk_pixbuf_new_from_stream(), which is the synchronous | |
| 1636 | 1667 | version of this function. | |
| @@ -1638,7 +1669,7 @@ version of this function. | |||
| 1638 | 1669 | When the operation is finished, @callback will be called in the main thread. | |
| 1639 | 1670 | You can then call gdk_pixbuf_new_from_stream_finish() to get the result of | |
| 1640 | 1671 | the operation.</doc> | |
| 1641 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="414"/> | |
| 1672 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="409"/> | |
| 1642 | 1673 | <return-value transfer-ownership="none"> | |
| 1643 | 1674 | <type name="none" c:type="void"/> | |
| 1644 | 1675 | </return-value> | |
| @@ -1646,7 +1677,7 @@ the operation.</doc> | |||
| 1646 | 1677 | <parameter name="stream" transfer-ownership="none"> | |
| 1647 | 1678 | <doc xml:space="preserve" | |
| 1648 | 1679 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1649 | - | line="1874">a `GInputStream` from which to load the pixbuf</doc> | |
| 1680 | + | line="1964">a `GInputStream` from which to load the pixbuf</doc> | |
| 1650 | 1681 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1651 | 1682 | </parameter> | |
| 1652 | 1683 | <parameter name="cancellable" | |
| @@ -1655,7 +1686,7 @@ the operation.</doc> | |||
| 1655 | 1686 | allow-none="1"> | |
| 1656 | 1687 | <doc xml:space="preserve" | |
| 1657 | 1688 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1658 | - | line="1875">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1689 | + | line="1965">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1659 | 1690 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1660 | 1691 | </parameter> | |
| 1661 | 1692 | <parameter name="callback" | |
| @@ -1666,7 +1697,7 @@ the operation.</doc> | |||
| 1666 | 1697 | closure="3"> | |
| 1667 | 1698 | <doc xml:space="preserve" | |
| 1668 | 1699 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1669 | - | line="1876">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1700 | + | line="1966">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1670 | 1701 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1671 | 1702 | </parameter> | |
| 1672 | 1703 | <parameter name="user_data" | |
| @@ -1675,24 +1706,25 @@ the operation.</doc> | |||
| 1675 | 1706 | allow-none="1"> | |
| 1676 | 1707 | <doc xml:space="preserve" | |
| 1677 | 1708 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1678 | - | line="1877">the data to pass to the callback function</doc> | |
| 1709 | + | line="1967">the data to pass to the callback function</doc> | |
| 1679 | 1710 | <type name="gpointer" c:type="gpointer"/> | |
| 1680 | 1711 | </parameter> | |
| 1681 | 1712 | </parameters> | |
| 1682 | 1713 | </function> | |
| 1683 | 1714 | <function name="new_from_stream_at_scale_async" | |
| 1684 | 1715 | c:identifier="gdk_pixbuf_new_from_stream_at_scale_async" | |
| 1685 | - | version="2.24"> | |
| 1716 | + | version="2.24" | |
| 1717 | + | glib:finish-func="gdk_pixbuf_new_from_stream_finish"> | |
| 1686 | 1718 | <doc xml:space="preserve" | |
| 1687 | 1719 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1688 | - | line="1655">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1720 | + | line="1742">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1689 | 1721 | ||
| 1690 | 1722 | For more details see gdk_pixbuf_new_from_stream_at_scale(), which is the synchronous | |
| 1691 | 1723 | version of this function. | |
| 1692 | 1724 | ||
| 1693 | 1725 | When the operation is finished, @callback will be called in the main thread. | |
| 1694 | 1726 | You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the operation.</doc> | |
| 1695 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="432"/> | |
| 1727 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="427"/> | |
| 1696 | 1728 | <return-value transfer-ownership="none"> | |
| 1697 | 1729 | <type name="none" c:type="void"/> | |
| 1698 | 1730 | </return-value> | |
| @@ -1700,25 +1732,25 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1700 | 1732 | <parameter name="stream" transfer-ownership="none"> | |
| 1701 | 1733 | <doc xml:space="preserve" | |
| 1702 | 1734 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1703 | - | line="1657">a `GInputStream` from which to load the pixbuf</doc> | |
| 1735 | + | line="1744">a `GInputStream` from which to load the pixbuf</doc> | |
| 1704 | 1736 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1705 | 1737 | </parameter> | |
| 1706 | 1738 | <parameter name="width" transfer-ownership="none"> | |
| 1707 | 1739 | <doc xml:space="preserve" | |
| 1708 | 1740 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1709 | - | line="1658">the width the image should have or -1 to not constrain the width</doc> | |
| 1741 | + | line="1745">the width the image should have or -1 to not constrain the width</doc> | |
| 1710 | 1742 | <type name="gint" c:type="gint"/> | |
| 1711 | 1743 | </parameter> | |
| 1712 | 1744 | <parameter name="height" transfer-ownership="none"> | |
| 1713 | 1745 | <doc xml:space="preserve" | |
| 1714 | 1746 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1715 | - | line="1659">the height the image should have or -1 to not constrain the height</doc> | |
| 1747 | + | line="1746">the height the image should have or -1 to not constrain the height</doc> | |
| 1716 | 1748 | <type name="gint" c:type="gint"/> | |
| 1717 | 1749 | </parameter> | |
| 1718 | 1750 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1719 | 1751 | <doc xml:space="preserve" | |
| 1720 | 1752 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1721 | - | line="1660">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1753 | + | line="1747">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1722 | 1754 | <type name="gboolean" c:type="gboolean"/> | |
| 1723 | 1755 | </parameter> | |
| 1724 | 1756 | <parameter name="cancellable" | |
| @@ -1727,7 +1759,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1727 | 1759 | allow-none="1"> | |
| 1728 | 1760 | <doc xml:space="preserve" | |
| 1729 | 1761 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1730 | - | line="1661">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1762 | + | line="1748">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1731 | 1763 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1732 | 1764 | </parameter> | |
| 1733 | 1765 | <parameter name="callback" | |
| @@ -1738,7 +1770,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1738 | 1770 | closure="6"> | |
| 1739 | 1771 | <doc xml:space="preserve" | |
| 1740 | 1772 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1741 | - | line="1662">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1773 | + | line="1749">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1742 | 1774 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1743 | 1775 | </parameter> | |
| 1744 | 1776 | <parameter name="user_data" | |
| @@ -1747,7 +1779,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1747 | 1779 | allow-none="1"> | |
| 1748 | 1780 | <doc xml:space="preserve" | |
| 1749 | 1781 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1750 | - | line="1663">the data to pass to the callback function</doc> | |
| 1782 | + | line="1750">the data to pass to the callback function</doc> | |
| 1751 | 1783 | <type name="gpointer" c:type="gpointer"/> | |
| 1752 | 1784 | </parameter> | |
| 1753 | 1785 | </parameters> | |
| @@ -1758,20 +1790,20 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1758 | 1790 | throws="1"> | |
| 1759 | 1791 | <doc xml:space="preserve" | |
| 1760 | 1792 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1761 | - | line="3199">Finishes an asynchronous pixbuf save operation started with | |
| 1793 | + | line="3293">Finishes an asynchronous pixbuf save operation started with | |
| 1762 | 1794 | gdk_pixbuf_save_to_stream_async().</doc> | |
| 1763 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="458"/> | |
| 1795 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="453"/> | |
| 1764 | 1796 | <return-value transfer-ownership="none"> | |
| 1765 | 1797 | <doc xml:space="preserve" | |
| 1766 | 1798 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1767 | - | line="3207">`TRUE` if the pixbuf was saved successfully, `FALSE` if an error was set.</doc> | |
| 1799 | + | line="3301">`TRUE` if the pixbuf was saved successfully, `FALSE` if an error was set.</doc> | |
| 1768 | 1800 | <type name="gboolean" c:type="gboolean"/> | |
| 1769 | 1801 | </return-value> | |
| 1770 | 1802 | <parameters> | |
| 1771 | 1803 | <parameter name="async_result" transfer-ownership="none"> | |
| 1772 | 1804 | <doc xml:space="preserve" | |
| 1773 | 1805 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1774 | - | line="3201">a `GAsyncResult`</doc> | |
| 1806 | + | line="3295">a `GAsyncResult`</doc> | |
| 1775 | 1807 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1776 | 1808 | </parameter> | |
| 1777 | 1809 | </parameters> | |
| @@ -1792,7 +1824,7 @@ pixels will become fully transparent. | |||
| 1792 | 1824 | ||
| 1793 | 1825 | If `substitute_color` is `FALSE`, then the (`r`, `g`, `b`) arguments | |
| 1794 | 1826 | will be ignored.</doc> | |
| 1795 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="482"/> | |
| 1827 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="477"/> | |
| 1796 | 1828 | <return-value transfer-ownership="full" nullable="1"> | |
| 1797 | 1829 | <doc xml:space="preserve" | |
| 1798 | 1830 | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| @@ -1847,7 +1879,7 @@ transforms performed by libtiff). | |||
| 1847 | 1879 | ||
| 1848 | 1880 | If an orientation option/tag is present, the appropriate transform | |
| 1849 | 1881 | will be performed so that the pixbuf is oriented correctly.</doc> | |
| 1850 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="502"/> | |
| 1882 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="497"/> | |
| 1851 | 1883 | <return-value transfer-ownership="full" nullable="1"> | |
| 1852 | 1884 | <doc xml:space="preserve" | |
| 1853 | 1885 | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| @@ -2158,7 +2190,7 @@ and `color2`.</doc> | |||
| 2158 | 2190 | ||
| 2159 | 2191 | Note that this does not copy the options set on the original `GdkPixbuf`, | |
| 2160 | 2192 | use gdk_pixbuf_copy_options() for this.</doc> | |
| 2161 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="218"/> | |
| 2193 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="216"/> | |
| 2162 | 2194 | <return-value transfer-ownership="full" nullable="1"> | |
| 2163 | 2195 | <doc xml:space="preserve" | |
| 2164 | 2196 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2184,7 +2216,7 @@ Conversion of pixbuf formats is done automatically. | |||
| 2184 | 2216 | If the source rectangle overlaps the destination rectangle on the | |
| 2185 | 2217 | same pixbuf, it will be overwritten during the copy operation. | |
| 2186 | 2218 | Therefore, you can not use this function to scroll a pixbuf.</doc> | |
| 2187 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="487"/> | |
| 2219 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="482"/> | |
| 2188 | 2220 | <return-value transfer-ownership="none"> | |
| 2189 | 2221 | <type name="none" c:type="void"/> | |
| 2190 | 2222 | </return-value> | |
| @@ -2250,7 +2282,7 @@ Therefore, you can not use this function to scroll a pixbuf.</doc> | |||
| 2250 | 2282 | This is useful to keep original metadata after having manipulated | |
| 2251 | 2283 | a file. However be careful to remove metadata which you've already | |
| 2252 | 2284 | applied, such as the "orientation" option after rotating the image.</doc> | |
| 2253 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="518"/> | |
| 2285 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="513"/> | |
| 2254 | 2286 | <return-value transfer-ownership="none"> | |
| 2255 | 2287 | <doc xml:space="preserve" | |
| 2256 | 2288 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2280,7 +2312,7 @@ the pixbuf's pixel format. | |||
| 2280 | 2312 | ||
| 2281 | 2313 | The alpha component will be ignored if the pixbuf doesn't have an alpha | |
| 2282 | 2314 | channel.</doc> | |
| 2283 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="306"/> | |
| 2315 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="301"/> | |
| 2284 | 2316 | <return-value transfer-ownership="none"> | |
| 2285 | 2317 | <type name="none" c:type="void"/> | |
| 2286 | 2318 | </return-value> | |
| @@ -2334,7 +2366,7 @@ result in a new pixbuf.</doc> | |||
| 2334 | 2366 | <doc xml:space="preserve" | |
| 2335 | 2367 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2336 | 2368 | line="795">Queries the number of bits per color sample in a pixbuf.</doc> | |
| 2337 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="180"/> | |
| 2369 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="178"/> | |
| 2338 | 2370 | <return-value transfer-ownership="none"> | |
| 2339 | 2371 | <doc xml:space="preserve" | |
| 2340 | 2372 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2356,7 +2388,7 @@ result in a new pixbuf.</doc> | |||
| 2356 | 2388 | <doc xml:space="preserve" | |
| 2357 | 2389 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2358 | 2390 | line="1008">Returns the length of the pixel data, in bytes.</doc> | |
| 2359 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="190"/> | |
| 2391 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="188"/> | |
| 2360 | 2392 | <return-value transfer-ownership="none"> | |
| 2361 | 2393 | <doc xml:space="preserve" | |
| 2362 | 2394 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2378,7 +2410,7 @@ result in a new pixbuf.</doc> | |||
| 2378 | 2410 | <doc xml:space="preserve" | |
| 2379 | 2411 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2380 | 2412 | line="747">Queries the color space of a pixbuf.</doc> | |
| 2381 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="174"/> | |
| 2413 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="172"/> | |
| 2382 | 2414 | <return-value transfer-ownership="none"> | |
| 2383 | 2415 | <doc xml:space="preserve" | |
| 2384 | 2416 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2400,7 +2432,7 @@ result in a new pixbuf.</doc> | |||
| 2400 | 2432 | <doc xml:space="preserve" | |
| 2401 | 2433 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2402 | 2434 | line="779">Queries whether a pixbuf has an alpha channel (opacity information).</doc> | |
| 2403 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="178"/> | |
| 2435 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="176"/> | |
| 2404 | 2436 | <return-value transfer-ownership="none"> | |
| 2405 | 2437 | <doc xml:space="preserve" | |
| 2406 | 2438 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2422,7 +2454,7 @@ result in a new pixbuf.</doc> | |||
| 2422 | 2454 | <doc xml:space="preserve" | |
| 2423 | 2455 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2424 | 2456 | line="975">Queries the height of a pixbuf.</doc> | |
| 2425 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="186"/> | |
| 2457 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="184"/> | |
| 2426 | 2458 | <return-value transfer-ownership="none"> | |
| 2427 | 2459 | <doc xml:space="preserve" | |
| 2428 | 2460 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2444,7 +2476,7 @@ result in a new pixbuf.</doc> | |||
| 2444 | 2476 | <doc xml:space="preserve" | |
| 2445 | 2477 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2446 | 2478 | line="763">Queries the number of channels of a pixbuf.</doc> | |
| 2447 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="176"/> | |
| 2479 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="174"/> | |
| 2448 | 2480 | <return-value transfer-ownership="none"> | |
| 2449 | 2481 | <doc xml:space="preserve" | |
| 2450 | 2482 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2478,7 +2510,7 @@ Since 2.32 the JPEG and PNG loaders set "x-dpi" and "y-dpi" if the file | |||
| 2478 | 2510 | contains image density information in dots per inch. | |
| 2479 | 2511 | Since 2.36.6, the JPEG loader sets the "comment" option with the comment | |
| 2480 | 2512 | EXIF tag.</doc> | |
| 2481 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="510"/> | |
| 2513 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="505"/> | |
| 2482 | 2514 | <return-value transfer-ownership="none" nullable="1"> | |
| 2483 | 2515 | <doc xml:space="preserve" | |
| 2484 | 2516 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2508,7 +2540,7 @@ EXIF tag.</doc> | |||
| 2508 | 2540 | line="1156">Returns a `GHashTable` with a list of all the options that may have been | |
| 2509 | 2541 | attached to the `pixbuf` when it was loaded, or that may have been | |
| 2510 | 2542 | attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |
| 2511 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="516"/> | |
| 2543 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="511"/> | |
| 2512 | 2544 | <return-value transfer-ownership="container"> | |
| 2513 | 2545 | <doc xml:space="preserve" | |
| 2514 | 2546 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2541,7 +2573,7 @@ pixbuf was created from read-only data. | |||
| 2541 | 2573 | ||
| 2542 | 2574 | Please see the section on [image data](class.Pixbuf.html#image-data) for information | |
| 2543 | 2575 | about how the pixel data is stored in memory.</doc> | |
| 2544 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="182"/> | |
| 2576 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="180"/> | |
| 2545 | 2577 | <return-value transfer-ownership="none"> | |
| 2546 | 2578 | <doc xml:space="preserve" | |
| 2547 | 2579 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2572,7 +2604,7 @@ pixbuf was created from read-only data. | |||
| 2572 | 2604 | ||
| 2573 | 2605 | Please see the section on [image data](class.Pixbuf.html#image-data) for information | |
| 2574 | 2606 | about how the pixel data is stored in memory.</doc> | |
| 2575 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="193"/> | |
| 2607 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="191"/> | |
| 2576 | 2608 | <return-value transfer-ownership="none"> | |
| 2577 | 2609 | <doc xml:space="preserve" | |
| 2578 | 2610 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2607,7 +2639,7 @@ pixel data.</doc> | |||
| 2607 | 2639 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2608 | 2640 | line="991">Queries the rowstride of a pixbuf, which is the number of bytes between | |
| 2609 | 2641 | the start of a row and the start of the next row.</doc> | |
| 2610 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="188"/> | |
| 2642 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="186"/> | |
| 2611 | 2643 | <return-value transfer-ownership="none"> | |
| 2612 | 2644 | <doc xml:space="preserve" | |
| 2613 | 2645 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2629,7 +2661,7 @@ the start of a row and the start of the next row.</doc> | |||
| 2629 | 2661 | <doc xml:space="preserve" | |
| 2630 | 2662 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2631 | 2663 | line="959">Queries the width of a pixbuf.</doc> | |
| 2632 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="184"/> | |
| 2664 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="182"/> | |
| 2633 | 2665 | <return-value transfer-ownership="none"> | |
| 2634 | 2666 | <doc xml:space="preserve" | |
| 2635 | 2667 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2657,7 +2689,7 @@ pixbuf is finalized. | |||
| 2657 | 2689 | ||
| 2658 | 2690 | Note that if `src_pixbuf` is read-only, this function will force it | |
| 2659 | 2691 | to be mutable.</doc> | |
| 2660 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="222"/> | |
| 2692 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="220"/> | |
| 2661 | 2693 | <return-value transfer-ownership="full"> | |
| 2662 | 2694 | <doc xml:space="preserve" | |
| 2663 | 2695 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2707,7 +2739,7 @@ must not be modified. | |||
| 2707 | 2739 | ||
| 2708 | 2740 | This function allows skipping the implicit copy that must be made | |
| 2709 | 2741 | if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |
| 2710 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="199"/> | |
| 2742 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="197"/> | |
| 2711 | 2743 | <return-value transfer-ownership="full"> | |
| 2712 | 2744 | <doc xml:space="preserve" | |
| 2713 | 2745 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2735,7 +2767,7 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2735 | 2767 | ||
| 2736 | 2768 | This function allows skipping the implicit copy that must be made | |
| 2737 | 2769 | if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |
| 2738 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="197"/> | |
| 2770 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="195"/> | |
| 2739 | 2771 | <return-value transfer-ownership="none"> | |
| 2740 | 2772 | <doc xml:space="preserve" | |
| 2741 | 2773 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2760,7 +2792,7 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2760 | 2792 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2761 | 2793 | line="414">Adds a reference to a pixbuf.</doc> | |
| 2762 | 2794 | <doc-deprecated xml:space="preserve">Use g_object_ref().</doc-deprecated> | |
| 2763 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="166"/> | |
| 2795 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="165"/> | |
| 2764 | 2796 | <return-value> | |
| 2765 | 2797 | <doc xml:space="preserve" | |
| 2766 | 2798 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2782,7 +2814,7 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2782 | 2814 | <doc xml:space="preserve" | |
| 2783 | 2815 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2784 | 2816 | line="1191">Removes the key/value pair option attached to a `GdkPixbuf`.</doc> | |
| 2785 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="513"/> | |
| 2817 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="508"/> | |
| 2786 | 2818 | <return-value transfer-ownership="none"> | |
| 2787 | 2819 | <doc xml:space="preserve" | |
| 2788 | 2820 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -2854,7 +2886,7 @@ saturation is reduced (the image turns toward grayscale); if greater than | |||
| 2854 | 2886 | ||
| 2855 | 2887 | If `pixelate` is `TRUE`, then pixels are faded in a checkerboard pattern to | |
| 2856 | 2888 | create a pixelated image.</doc> | |
| 2857 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="495"/> | |
| 2889 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="490"/> | |
| 2858 | 2890 | <return-value transfer-ownership="none"> | |
| 2859 | 2891 | <type name="none" c:type="void"/> | |
| 2860 | 2892 | </return-value> | |
| @@ -2888,7 +2920,7 @@ create a pixelated image.</doc> | |||
| 2888 | 2920 | <method name="save" c:identifier="gdk_pixbuf_save" introspectable="0"> | |
| 2889 | 2921 | <doc xml:space="preserve" | |
| 2890 | 2922 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2891 | - | line="2416">Saves pixbuf to a file in format @type. By default, "jpeg", "png", "ico" | |
| 2923 | + | line="2510">Saves pixbuf to a file in format @type. By default, "jpeg", "png", "ico" | |
| 2892 | 2924 | and "bmp" are possible file formats to save in, but more formats may be | |
| 2893 | 2925 | installed. The list of all writable formats can be determined in the | |
| 2894 | 2926 | following way: | |
| @@ -2959,30 +2991,30 @@ TIFF images recognize: | |||
| 2959 | 2991 | ICO images can be saved in depth 16, 24, or 32, by using the "depth" | |
| 2960 | 2992 | parameter. When the ICO saver is given "x_hot" and "y_hot" parameters, | |
| 2961 | 2993 | it produces a CUR instead of an ICO.</doc> | |
| 2962 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="319"/> | |
| 2994 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="314"/> | |
| 2963 | 2995 | <return-value transfer-ownership="none"> | |
| 2964 | 2996 | <doc xml:space="preserve" | |
| 2965 | 2997 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2966 | - | line="2496">`TRUE` on success, and `FALSE` otherwise</doc> | |
| 2998 | + | line="2590">`TRUE` on success, and `FALSE` otherwise</doc> | |
| 2967 | 2999 | <type name="gboolean" c:type="gboolean"/> | |
| 2968 | 3000 | </return-value> | |
| 2969 | 3001 | <parameters> | |
| 2970 | 3002 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2971 | 3003 | <doc xml:space="preserve" | |
| 2972 | 3004 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2973 | - | line="2418">a `GdkPixbuf`.</doc> | |
| 3005 | + | line="2512">a `GdkPixbuf`.</doc> | |
| 2974 | 3006 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2975 | 3007 | </instance-parameter> | |
| 2976 | 3008 | <parameter name="filename" transfer-ownership="none"> | |
| 2977 | 3009 | <doc xml:space="preserve" | |
| 2978 | 3010 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2979 | - | line="2419">name of file to save.</doc> | |
| 3011 | + | line="2513">name of file to save.</doc> | |
| 2980 | 3012 | <type name="filename" c:type="const char*"/> | |
| 2981 | 3013 | </parameter> | |
| 2982 | 3014 | <parameter name="type" transfer-ownership="none"> | |
| 2983 | 3015 | <doc xml:space="preserve" | |
| 2984 | 3016 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2985 | - | line="2420">name of file format.</doc> | |
| 3017 | + | line="2514">name of file format.</doc> | |
| 2986 | 3018 | <type name="utf8" c:type="const char*"/> | |
| 2987 | 3019 | </parameter> | |
| 2988 | 3020 | <parameter name="error" | |
| @@ -2991,13 +3023,13 @@ it produces a CUR instead of an ICO.</doc> | |||
| 2991 | 3023 | allow-none="1"> | |
| 2992 | 3024 | <doc xml:space="preserve" | |
| 2993 | 3025 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2994 | - | line="2421">return location for error</doc> | |
| 3026 | + | line="2515">return location for error</doc> | |
| 2995 | 3027 | <type name="GLib.Error" c:type="GError**"/> | |
| 2996 | 3028 | </parameter> | |
| 2997 | 3029 | <parameter name="..." transfer-ownership="none"> | |
| 2998 | 3030 | <doc xml:space="preserve" | |
| 2999 | 3031 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3000 | - | line="2422">list of key-value save options, followed by `NULL`</doc> | |
| 3032 | + | line="2516">list of key-value save options, followed by `NULL`</doc> | |
| 3001 | 3033 | <varargs/> | |
| 3002 | 3034 | </parameter> | |
| 3003 | 3035 | </parameters> | |
| @@ -3008,7 +3040,7 @@ it produces a CUR instead of an ICO.</doc> | |||
| 3008 | 3040 | introspectable="0"> | |
| 3009 | 3041 | <doc xml:space="preserve" | |
| 3010 | 3042 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3011 | - | line="2753">Saves pixbuf to a new buffer in format `type`, which is currently "jpeg", | |
| 3043 | + | line="2847">Saves pixbuf to a new buffer in format `type`, which is currently "jpeg", | |
| 3012 | 3044 | "png", "tiff", "ico" or "bmp". | |
| 3013 | 3045 | ||
| 3014 | 3046 | This is a convenience function that uses `gdk_pixbuf_save_to_callback()` | |
| @@ -3022,18 +3054,18 @@ If @error is set, `FALSE` will be returned and @buffer will be set to | |||
| 3022 | 3054 | domain. | |
| 3023 | 3055 | ||
| 3024 | 3056 | See `gdk_pixbuf_save()` for more details.</doc> | |
| 3025 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="392"/> | |
| 3057 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="387"/> | |
| 3026 | 3058 | <return-value transfer-ownership="none"> | |
| 3027 | 3059 | <doc xml:space="preserve" | |
| 3028 | 3060 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3029 | - | line="2778">whether an error was set</doc> | |
| 3061 | + | line="2872">whether an error was set</doc> | |
| 3030 | 3062 | <type name="gboolean" c:type="gboolean"/> | |
| 3031 | 3063 | </return-value> | |
| 3032 | 3064 | <parameters> | |
| 3033 | 3065 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3034 | 3066 | <doc xml:space="preserve" | |
| 3035 | 3067 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3036 | - | line="2755">a `GdkPixbuf`.</doc> | |
| 3068 | + | line="2849">a `GdkPixbuf`.</doc> | |
| 3037 | 3069 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3038 | 3070 | </instance-parameter> | |
| 3039 | 3071 | <parameter name="buffer" | |
| @@ -3042,7 +3074,7 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3042 | 3074 | transfer-ownership="full"> | |
| 3043 | 3075 | <doc xml:space="preserve" | |
| 3044 | 3076 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3045 | - | line="2756">location to receive a pointer | |
| 3077 | + | line="2850">location to receive a pointer | |
| 3046 | 3078 | to the new buffer.</doc> | |
| 3047 | 3079 | <array length="1" zero-terminated="0" c:type="gchar**"> | |
| 3048 | 3080 | <type name="guint8"/> | |
| @@ -3054,28 +3086,25 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3054 | 3086 | transfer-ownership="full"> | |
| 3055 | 3087 | <doc xml:space="preserve" | |
| 3056 | 3088 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3057 | - | line="2758">location to receive the size of the new buffer.</doc> | |
| 3089 | + | line="2852">location to receive the size of the new buffer.</doc> | |
| 3058 | 3090 | <type name="gsize" c:type="gsize*"/> | |
| 3059 | 3091 | </parameter> | |
| 3060 | 3092 | <parameter name="type" transfer-ownership="none"> | |
| 3061 | 3093 | <doc xml:space="preserve" | |
| 3062 | 3094 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3063 | - | line="2759">name of file format.</doc> | |
| 3095 | + | line="2853">name of file format.</doc> | |
| 3064 | 3096 | <type name="utf8" c:type="const char*"/> | |
| 3065 | 3097 | </parameter> | |
| 3066 | - | <parameter name="error" | |
| 3067 | - | transfer-ownership="none" | |
| 3068 | - | nullable="1" | |
| 3069 | - | allow-none="1"> | |
| 3098 | + | <parameter name="error" transfer-ownership="none"> | |
| 3070 | 3099 | <doc xml:space="preserve" | |
| 3071 | 3100 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3072 | - | line="2760">return location for error, or `NULL`</doc> | |
| 3101 | + | line="2854">return location for error, or `NULL`</doc> | |
| 3073 | 3102 | <type name="GLib.Error" c:type="GError**"/> | |
| 3074 | 3103 | </parameter> | |
| 3075 | 3104 | <parameter name="..." transfer-ownership="none"> | |
| 3076 | 3105 | <doc xml:space="preserve" | |
| 3077 | 3106 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3078 | - | line="2761">list of key-value save options</doc> | |
| 3107 | + | line="2855">list of key-value save options</doc> | |
| 3079 | 3108 | <varargs/> | |
| 3080 | 3109 | </parameter> | |
| 3081 | 3110 | </parameters> | |
| @@ -3086,24 +3115,24 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3086 | 3115 | throws="1"> | |
| 3087 | 3116 | <doc xml:space="preserve" | |
| 3088 | 3117 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3089 | - | line="2846">Vector version of `gdk_pixbuf_save_to_buffer()`. | |
| 3118 | + | line="2940">Vector version of `gdk_pixbuf_save_to_buffer()`. | |
| 3090 | 3119 | ||
| 3091 | 3120 | Saves pixbuf to a new buffer in format @type, which is currently "jpeg", | |
| 3092 | 3121 | "tiff", "png", "ico" or "bmp". | |
| 3093 | 3122 | ||
| 3094 | 3123 | See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |
| 3095 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="400"/> | |
| 3124 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="395"/> | |
| 3096 | 3125 | <return-value transfer-ownership="none"> | |
| 3097 | 3126 | <doc xml:space="preserve" | |
| 3098 | 3127 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3099 | - | line="2864">whether an error was set</doc> | |
| 3128 | + | line="2958">whether an error was set</doc> | |
| 3100 | 3129 | <type name="gboolean" c:type="gboolean"/> | |
| 3101 | 3130 | </return-value> | |
| 3102 | 3131 | <parameters> | |
| 3103 | 3132 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3104 | 3133 | <doc xml:space="preserve" | |
| 3105 | 3134 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3106 | - | line="2848">a `GdkPixbuf`.</doc> | |
| 3135 | + | line="2942">a `GdkPixbuf`.</doc> | |
| 3107 | 3136 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3108 | 3137 | </instance-parameter> | |
| 3109 | 3138 | <parameter name="buffer" | |
| @@ -3112,7 +3141,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3112 | 3141 | transfer-ownership="full"> | |
| 3113 | 3142 | <doc xml:space="preserve" | |
| 3114 | 3143 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3115 | - | line="2849"> | |
| 3144 | + | line="2943"> | |
| 3116 | 3145 | location to receive a pointer to the new buffer.</doc> | |
| 3117 | 3146 | <array length="1" zero-terminated="0" c:type="gchar**"> | |
| 3118 | 3147 | <type name="guint8"/> | |
| @@ -3124,13 +3153,13 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3124 | 3153 | transfer-ownership="full"> | |
| 3125 | 3154 | <doc xml:space="preserve" | |
| 3126 | 3155 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3127 | - | line="2851">location to receive the size of the new buffer.</doc> | |
| 3156 | + | line="2945">location to receive the size of the new buffer.</doc> | |
| 3128 | 3157 | <type name="gsize" c:type="gsize*"/> | |
| 3129 | 3158 | </parameter> | |
| 3130 | 3159 | <parameter name="type" transfer-ownership="none"> | |
| 3131 | 3160 | <doc xml:space="preserve" | |
| 3132 | 3161 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3133 | - | line="2852">name of file format.</doc> | |
| 3162 | + | line="2946">name of file format.</doc> | |
| 3134 | 3163 | <type name="utf8" c:type="const char*"/> | |
| 3135 | 3164 | </parameter> | |
| 3136 | 3165 | <parameter name="option_keys" | |
| @@ -3139,7 +3168,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3139 | 3168 | allow-none="1"> | |
| 3140 | 3169 | <doc xml:space="preserve" | |
| 3141 | 3170 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3142 | - | line="2853">name of options to set</doc> | |
| 3171 | + | line="2947">name of options to set</doc> | |
| 3143 | 3172 | <array c:type="char**"> | |
| 3144 | 3173 | <type name="utf8"/> | |
| 3145 | 3174 | </array> | |
| @@ -3150,7 +3179,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3150 | 3179 | allow-none="1"> | |
| 3151 | 3180 | <doc xml:space="preserve" | |
| 3152 | 3181 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3153 | - | line="2854">values for named options</doc> | |
| 3182 | + | line="2948">values for named options</doc> | |
| 3154 | 3183 | <array c:type="char**"> | |
| 3155 | 3184 | <type name="utf8"/> | |
| 3156 | 3185 | </array> | |
| @@ -3163,7 +3192,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3163 | 3192 | introspectable="0"> | |
| 3164 | 3193 | <doc xml:space="preserve" | |
| 3165 | 3194 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3166 | - | line="2640">Saves pixbuf in format `type` by feeding the produced data to a | |
| 3195 | + | line="2734">Saves pixbuf in format `type` by feeding the produced data to a | |
| 3167 | 3196 | callback. | |
| 3168 | 3197 | ||
| 3169 | 3198 | This function can be used when you want to store the image to something | |
| @@ -3174,18 +3203,18 @@ include those in the `GDK_PIXBUF_ERROR` domain and whatever the save | |||
| 3174 | 3203 | function generates. | |
| 3175 | 3204 | ||
| 3176 | 3205 | See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |
| 3177 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="373"/> | |
| 3206 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="368"/> | |
| 3178 | 3207 | <return-value transfer-ownership="none"> | |
| 3179 | 3208 | <doc xml:space="preserve" | |
| 3180 | 3209 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3181 | - | line="2662">whether an error was set</doc> | |
| 3210 | + | line="2756">whether an error was set</doc> | |
| 3182 | 3211 | <type name="gboolean" c:type="gboolean"/> | |
| 3183 | 3212 | </return-value> | |
| 3184 | 3213 | <parameters> | |
| 3185 | 3214 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3186 | 3215 | <doc xml:space="preserve" | |
| 3187 | 3216 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3188 | - | line="2642">a `GdkPixbuf`.</doc> | |
| 3217 | + | line="2736">a `GdkPixbuf`.</doc> | |
| 3189 | 3218 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3190 | 3219 | </instance-parameter> | |
| 3191 | 3220 | <parameter name="save_func" | |
| @@ -3194,7 +3223,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3194 | 3223 | closure="1"> | |
| 3195 | 3224 | <doc xml:space="preserve" | |
| 3196 | 3225 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3197 | - | line="2643">a function that is called to save each block of data that | |
| 3226 | + | line="2737">a function that is called to save each block of data that | |
| 3198 | 3227 | the save routine generates.</doc> | |
| 3199 | 3228 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| 3200 | 3229 | </parameter> | |
| @@ -3204,13 +3233,13 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3204 | 3233 | allow-none="1"> | |
| 3205 | 3234 | <doc xml:space="preserve" | |
| 3206 | 3235 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3207 | - | line="2645">user data to pass to the save function.</doc> | |
| 3236 | + | line="2739">user data to pass to the save function.</doc> | |
| 3208 | 3237 | <type name="gpointer" c:type="gpointer"/> | |
| 3209 | 3238 | </parameter> | |
| 3210 | 3239 | <parameter name="type" transfer-ownership="none"> | |
| 3211 | 3240 | <doc xml:space="preserve" | |
| 3212 | 3241 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3213 | - | line="2646">name of file format.</doc> | |
| 3242 | + | line="2740">name of file format.</doc> | |
| 3214 | 3243 | <type name="utf8" c:type="const char*"/> | |
| 3215 | 3244 | </parameter> | |
| 3216 | 3245 | <parameter name="error" | |
| @@ -3219,13 +3248,13 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3219 | 3248 | allow-none="1"> | |
| 3220 | 3249 | <doc xml:space="preserve" | |
| 3221 | 3250 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3222 | - | line="2647">return location for error, or `NULL`</doc> | |
| 3251 | + | line="2741">return location for error, or `NULL`</doc> | |
| 3223 | 3252 | <type name="GLib.Error" c:type="GError**"/> | |
| 3224 | 3253 | </parameter> | |
| 3225 | 3254 | <parameter name="..." transfer-ownership="none"> | |
| 3226 | 3255 | <doc xml:space="preserve" | |
| 3227 | 3256 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3228 | - | line="2648">list of key-value save options</doc> | |
| 3257 | + | line="2742">list of key-value save options</doc> | |
| 3229 | 3258 | <varargs/> | |
| 3230 | 3259 | </parameter> | |
| 3231 | 3260 | </parameters> | |
| @@ -3236,7 +3265,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3236 | 3265 | throws="1"> | |
| 3237 | 3266 | <doc xml:space="preserve" | |
| 3238 | 3267 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3239 | - | line="2697">Vector version of `gdk_pixbuf_save_to_callback()`. | |
| 3268 | + | line="2791">Vector version of `gdk_pixbuf_save_to_callback()`. | |
| 3240 | 3269 | ||
| 3241 | 3270 | Saves pixbuf to a callback in format @type, which is currently "jpeg", | |
| 3242 | 3271 | "png", "tiff", "ico" or "bmp". | |
| @@ -3244,18 +3273,18 @@ Saves pixbuf to a callback in format @type, which is currently "jpeg", | |||
| 3244 | 3273 | If @error is set, `FALSE` will be returned. | |
| 3245 | 3274 | ||
| 3246 | 3275 | See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |
| 3247 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="381"/> | |
| 3276 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="376"/> | |
| 3248 | 3277 | <return-value transfer-ownership="none"> | |
| 3249 | 3278 | <doc xml:space="preserve" | |
| 3250 | 3279 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3251 | - | line="2717">whether an error was set</doc> | |
| 3280 | + | line="2811">whether an error was set</doc> | |
| 3252 | 3281 | <type name="gboolean" c:type="gboolean"/> | |
| 3253 | 3282 | </return-value> | |
| 3254 | 3283 | <parameters> | |
| 3255 | 3284 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3256 | 3285 | <doc xml:space="preserve" | |
| 3257 | 3286 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3258 | - | line="2699">a `GdkPixbuf`.</doc> | |
| 3287 | + | line="2793">a `GdkPixbuf`</doc> | |
| 3259 | 3288 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3260 | 3289 | </instance-parameter> | |
| 3261 | 3290 | <parameter name="save_func" | |
| @@ -3264,8 +3293,8 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3264 | 3293 | closure="1"> | |
| 3265 | 3294 | <doc xml:space="preserve" | |
| 3266 | 3295 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3267 | - | line="2700">a function that is called to save each block of data that | |
| 3268 | - | the save routine generates.</doc> | |
| 3296 | + | line="2794">a function that is called to | |
| 3297 | + | save each block of data that the save routine generates</doc> | |
| 3269 | 3298 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| 3270 | 3299 | </parameter> | |
| 3271 | 3300 | <parameter name="user_data" | |
| @@ -3274,13 +3303,13 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3274 | 3303 | allow-none="1"> | |
| 3275 | 3304 | <doc xml:space="preserve" | |
| 3276 | 3305 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3277 | - | line="2702">user data to pass to the save function.</doc> | |
| 3306 | + | line="2796">user data to pass to the save function</doc> | |
| 3278 | 3307 | <type name="gpointer" c:type="gpointer"/> | |
| 3279 | 3308 | </parameter> | |
| 3280 | 3309 | <parameter name="type" transfer-ownership="none"> | |
| 3281 | 3310 | <doc xml:space="preserve" | |
| 3282 | 3311 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3283 | - | line="2703">name of file format.</doc> | |
| 3312 | + | line="2797">name of file format</doc> | |
| 3284 | 3313 | <type name="utf8" c:type="const char*"/> | |
| 3285 | 3314 | </parameter> | |
| 3286 | 3315 | <parameter name="option_keys" | |
| @@ -3289,7 +3318,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3289 | 3318 | allow-none="1"> | |
| 3290 | 3319 | <doc xml:space="preserve" | |
| 3291 | 3320 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3292 | - | line="2704">name of options to set</doc> | |
| 3321 | + | line="2798">name of options to set</doc> | |
| 3293 | 3322 | <array c:type="char**"> | |
| 3294 | 3323 | <type name="utf8"/> | |
| 3295 | 3324 | </array> | |
| @@ -3300,7 +3329,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3300 | 3329 | allow-none="1"> | |
| 3301 | 3330 | <doc xml:space="preserve" | |
| 3302 | 3331 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3303 | - | line="2705">values for named options</doc> | |
| 3332 | + | line="2799">values for named options</doc> | |
| 3304 | 3333 | <array c:type="char**"> | |
| 3305 | 3334 | <type name="utf8"/> | |
| 3306 | 3335 | </array> | |
| @@ -3313,7 +3342,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3313 | 3342 | introspectable="0"> | |
| 3314 | 3343 | <doc xml:space="preserve" | |
| 3315 | 3344 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3316 | - | line="2990">Saves `pixbuf` to an output stream. | |
| 3345 | + | line="3084">Saves `pixbuf` to an output stream. | |
| 3317 | 3346 | ||
| 3318 | 3347 | Supported file formats are currently "jpeg", "tiff", "png", "ico" or | |
| 3319 | 3348 | "bmp". See `gdk_pixbuf_save_to_buffer()` for more details. | |
| @@ -3324,11 +3353,11 @@ will be returned. Other possible errors are in the `GDK_PIXBUF_ERROR` | |||
| 3324 | 3353 | and `G_IO_ERROR` domains. | |
| 3325 | 3354 | ||
| 3326 | 3355 | The stream is not closed at the end of this call.</doc> | |
| 3327 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="441"/> | |
| 3356 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="436"/> | |
| 3328 | 3357 | <return-value transfer-ownership="none"> | |
| 3329 | 3358 | <doc xml:space="preserve" | |
| 3330 | 3359 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3331 | - | line="3011">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3360 | + | line="3105">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3332 | 3361 | error was set.</doc> | |
| 3333 | 3362 | <type name="gboolean" c:type="gboolean"/> | |
| 3334 | 3363 | </return-value> | |
| @@ -3336,19 +3365,19 @@ The stream is not closed at the end of this call.</doc> | |||
| 3336 | 3365 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3337 | 3366 | <doc xml:space="preserve" | |
| 3338 | 3367 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3339 | - | line="2992">a `GdkPixbuf`</doc> | |
| 3368 | + | line="3086">a `GdkPixbuf`</doc> | |
| 3340 | 3369 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3341 | 3370 | </instance-parameter> | |
| 3342 | 3371 | <parameter name="stream" transfer-ownership="none"> | |
| 3343 | 3372 | <doc xml:space="preserve" | |
| 3344 | 3373 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3345 | - | line="2993">a `GOutputStream` to save the pixbuf to</doc> | |
| 3374 | + | line="3087">a `GOutputStream` to save the pixbuf to</doc> | |
| 3346 | 3375 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3347 | 3376 | </parameter> | |
| 3348 | 3377 | <parameter name="type" transfer-ownership="none"> | |
| 3349 | 3378 | <doc xml:space="preserve" | |
| 3350 | 3379 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3351 | - | line="2994">name of file format</doc> | |
| 3380 | + | line="3088">name of file format</doc> | |
| 3352 | 3381 | <type name="utf8" c:type="const char*"/> | |
| 3353 | 3382 | </parameter> | |
| 3354 | 3383 | <parameter name="cancellable" | |
| @@ -3357,7 +3386,7 @@ The stream is not closed at the end of this call.</doc> | |||
| 3357 | 3386 | allow-none="1"> | |
| 3358 | 3387 | <doc xml:space="preserve" | |
| 3359 | 3388 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3360 | - | line="2995">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3389 | + | line="3089">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3361 | 3390 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3362 | 3391 | </parameter> | |
| 3363 | 3392 | <parameter name="error" | |
| @@ -3366,13 +3395,13 @@ The stream is not closed at the end of this call.</doc> | |||
| 3366 | 3395 | allow-none="1"> | |
| 3367 | 3396 | <doc xml:space="preserve" | |
| 3368 | 3397 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3369 | - | line="2996">return location for error, or `NULL`</doc> | |
| 3398 | + | line="3090">return location for error, or `NULL`</doc> | |
| 3370 | 3399 | <type name="GLib.Error" c:type="GError**"/> | |
| 3371 | 3400 | </parameter> | |
| 3372 | 3401 | <parameter name="..." transfer-ownership="none"> | |
| 3373 | 3402 | <doc xml:space="preserve" | |
| 3374 | 3403 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3375 | - | line="2997">list of key-value save options</doc> | |
| 3404 | + | line="3091">list of key-value save options</doc> | |
| 3376 | 3405 | <varargs/> | |
| 3377 | 3406 | </parameter> | |
| 3378 | 3407 | </parameters> | |
| @@ -3380,10 +3409,11 @@ The stream is not closed at the end of this call.</doc> | |||
| 3380 | 3409 | <method name="save_to_stream_async" | |
| 3381 | 3410 | c:identifier="gdk_pixbuf_save_to_stream_async" | |
| 3382 | 3411 | version="2.24" | |
| 3383 | - | introspectable="0"> | |
| 3412 | + | introspectable="0" | |
| 3413 | + | glib:finish-func="gdk_pixbuf_save_to_stream_finish"> | |
| 3384 | 3414 | <doc xml:space="preserve" | |
| 3385 | 3415 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3386 | - | line="3144">Saves `pixbuf` to an output stream asynchronously. | |
| 3416 | + | line="3238">Saves `pixbuf` to an output stream asynchronously. | |
| 3387 | 3417 | ||
| 3388 | 3418 | For more details see gdk_pixbuf_save_to_stream(), which is the synchronous | |
| 3389 | 3419 | version of this function. | |
| @@ -3392,7 +3422,7 @@ When the operation is finished, `callback` will be called in the main thread. | |||
| 3392 | 3422 | ||
| 3393 | 3423 | You can then call gdk_pixbuf_save_to_stream_finish() to get the result of | |
| 3394 | 3424 | the operation.</doc> | |
| 3395 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="449"/> | |
| 3425 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="444"/> | |
| 3396 | 3426 | <return-value transfer-ownership="none"> | |
| 3397 | 3427 | <type name="none" c:type="void"/> | |
| 3398 | 3428 | </return-value> | |
| @@ -3400,19 +3430,19 @@ the operation.</doc> | |||
| 3400 | 3430 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3401 | 3431 | <doc xml:space="preserve" | |
| 3402 | 3432 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3403 | - | line="3146">a `GdkPixbuf`</doc> | |
| 3433 | + | line="3240">a `GdkPixbuf`</doc> | |
| 3404 | 3434 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3405 | 3435 | </instance-parameter> | |
| 3406 | 3436 | <parameter name="stream" transfer-ownership="none"> | |
| 3407 | 3437 | <doc xml:space="preserve" | |
| 3408 | 3438 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3409 | - | line="3147">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3439 | + | line="3241">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3410 | 3440 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3411 | 3441 | </parameter> | |
| 3412 | 3442 | <parameter name="type" transfer-ownership="none"> | |
| 3413 | 3443 | <doc xml:space="preserve" | |
| 3414 | 3444 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3415 | - | line="3148">name of file format</doc> | |
| 3445 | + | line="3242">name of file format</doc> | |
| 3416 | 3446 | <type name="utf8" c:type="const gchar*"/> | |
| 3417 | 3447 | </parameter> | |
| 3418 | 3448 | <parameter name="cancellable" | |
| @@ -3421,7 +3451,7 @@ the operation.</doc> | |||
| 3421 | 3451 | allow-none="1"> | |
| 3422 | 3452 | <doc xml:space="preserve" | |
| 3423 | 3453 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3424 | - | line="3149">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3454 | + | line="3243">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3425 | 3455 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3426 | 3456 | </parameter> | |
| 3427 | 3457 | <parameter name="callback" | |
| @@ -3432,7 +3462,7 @@ the operation.</doc> | |||
| 3432 | 3462 | closure="4"> | |
| 3433 | 3463 | <doc xml:space="preserve" | |
| 3434 | 3464 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3435 | - | line="3150">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3465 | + | line="3244">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3436 | 3466 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 3437 | 3467 | </parameter> | |
| 3438 | 3468 | <parameter name="user_data" | |
| @@ -3441,13 +3471,13 @@ the operation.</doc> | |||
| 3441 | 3471 | allow-none="1"> | |
| 3442 | 3472 | <doc xml:space="preserve" | |
| 3443 | 3473 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3444 | - | line="3151">the data to pass to the callback function</doc> | |
| 3474 | + | line="3245">the data to pass to the callback function</doc> | |
| 3445 | 3475 | <type name="gpointer" c:type="gpointer"/> | |
| 3446 | 3476 | </parameter> | |
| 3447 | 3477 | <parameter name="..." transfer-ownership="none"> | |
| 3448 | 3478 | <doc xml:space="preserve" | |
| 3449 | 3479 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3450 | - | line="3152">list of key-value save options</doc> | |
| 3480 | + | line="3246">list of key-value save options</doc> | |
| 3451 | 3481 | <varargs/> | |
| 3452 | 3482 | </parameter> | |
| 3453 | 3483 | </parameters> | |
| @@ -3458,17 +3488,17 @@ the operation.</doc> | |||
| 3458 | 3488 | throws="1"> | |
| 3459 | 3489 | <doc xml:space="preserve" | |
| 3460 | 3490 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3461 | - | line="2948">Saves `pixbuf` to an output stream. | |
| 3491 | + | line="3042">Saves `pixbuf` to an output stream. | |
| 3462 | 3492 | ||
| 3463 | 3493 | Supported file formats are currently "jpeg", "tiff", "png", "ico" or | |
| 3464 | 3494 | "bmp". | |
| 3465 | 3495 | ||
| 3466 | 3496 | See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |
| 3467 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="472"/> | |
| 3497 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="467"/> | |
| 3468 | 3498 | <return-value transfer-ownership="none"> | |
| 3469 | 3499 | <doc xml:space="preserve" | |
| 3470 | 3500 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3471 | - | line="2965">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3501 | + | line="3059">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3472 | 3502 | error was set.</doc> | |
| 3473 | 3503 | <type name="gboolean" c:type="gboolean"/> | |
| 3474 | 3504 | </return-value> | |
| @@ -3476,19 +3506,19 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3476 | 3506 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3477 | 3507 | <doc xml:space="preserve" | |
| 3478 | 3508 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3479 | - | line="2950">a `GdkPixbuf`</doc> | |
| 3509 | + | line="3044">a `GdkPixbuf`</doc> | |
| 3480 | 3510 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3481 | 3511 | </instance-parameter> | |
| 3482 | 3512 | <parameter name="stream" transfer-ownership="none"> | |
| 3483 | 3513 | <doc xml:space="preserve" | |
| 3484 | 3514 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3485 | - | line="2951">a `GOutputStream` to save the pixbuf to</doc> | |
| 3515 | + | line="3045">a `GOutputStream` to save the pixbuf to</doc> | |
| 3486 | 3516 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3487 | 3517 | </parameter> | |
| 3488 | 3518 | <parameter name="type" transfer-ownership="none"> | |
| 3489 | 3519 | <doc xml:space="preserve" | |
| 3490 | 3520 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3491 | - | line="2952">name of file format</doc> | |
| 3521 | + | line="3046">name of file format</doc> | |
| 3492 | 3522 | <type name="utf8" c:type="const char*"/> | |
| 3493 | 3523 | </parameter> | |
| 3494 | 3524 | <parameter name="option_keys" | |
| @@ -3497,7 +3527,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3497 | 3527 | allow-none="1"> | |
| 3498 | 3528 | <doc xml:space="preserve" | |
| 3499 | 3529 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3500 | - | line="2953">name of options to set</doc> | |
| 3530 | + | line="3047">name of options to set</doc> | |
| 3501 | 3531 | <array c:type="char**"> | |
| 3502 | 3532 | <type name="utf8"/> | |
| 3503 | 3533 | </array> | |
| @@ -3508,7 +3538,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3508 | 3538 | allow-none="1"> | |
| 3509 | 3539 | <doc xml:space="preserve" | |
| 3510 | 3540 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3511 | - | line="2954">values for named options</doc> | |
| 3541 | + | line="3048">values for named options</doc> | |
| 3512 | 3542 | <array c:type="char**"> | |
| 3513 | 3543 | <type name="utf8"/> | |
| 3514 | 3544 | </array> | |
| @@ -3519,17 +3549,18 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3519 | 3549 | allow-none="1"> | |
| 3520 | 3550 | <doc xml:space="preserve" | |
| 3521 | 3551 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3522 | - | line="2955">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3552 | + | line="3049">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3523 | 3553 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3524 | 3554 | </parameter> | |
| 3525 | 3555 | </parameters> | |
| 3526 | 3556 | </method> | |
| 3527 | 3557 | <method name="save_to_streamv_async" | |
| 3528 | 3558 | c:identifier="gdk_pixbuf_save_to_streamv_async" | |
| 3529 | - | version="2.36"> | |
| 3559 | + | version="2.36" | |
| 3560 | + | glib:finish-func="gdk_pixbuf_save_to_stream_finish"> | |
| 3530 | 3561 | <doc xml:space="preserve" | |
| 3531 | 3562 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3532 | - | line="3086">Saves `pixbuf` to an output stream asynchronously. | |
| 3563 | + | line="3180">Saves `pixbuf` to an output stream asynchronously. | |
| 3533 | 3564 | ||
| 3534 | 3565 | For more details see gdk_pixbuf_save_to_streamv(), which is the synchronous | |
| 3535 | 3566 | version of this function. | |
| @@ -3538,7 +3569,7 @@ When the operation is finished, `callback` will be called in the main thread. | |||
| 3538 | 3569 | ||
| 3539 | 3570 | You can then call gdk_pixbuf_save_to_stream_finish() to get the result of | |
| 3540 | 3571 | the operation.</doc> | |
| 3541 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="462"/> | |
| 3572 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="457"/> | |
| 3542 | 3573 | <return-value transfer-ownership="none"> | |
| 3543 | 3574 | <type name="none" c:type="void"/> | |
| 3544 | 3575 | </return-value> | |
| @@ -3546,19 +3577,19 @@ the operation.</doc> | |||
| 3546 | 3577 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3547 | 3578 | <doc xml:space="preserve" | |
| 3548 | 3579 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3549 | - | line="3088">a `GdkPixbuf`</doc> | |
| 3580 | + | line="3182">a `GdkPixbuf`</doc> | |
| 3550 | 3581 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3551 | 3582 | </instance-parameter> | |
| 3552 | 3583 | <parameter name="stream" transfer-ownership="none"> | |
| 3553 | 3584 | <doc xml:space="preserve" | |
| 3554 | 3585 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3555 | - | line="3089">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3586 | + | line="3183">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3556 | 3587 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3557 | 3588 | </parameter> | |
| 3558 | 3589 | <parameter name="type" transfer-ownership="none"> | |
| 3559 | 3590 | <doc xml:space="preserve" | |
| 3560 | 3591 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3561 | - | line="3090">name of file format</doc> | |
| 3592 | + | line="3184">name of file format</doc> | |
| 3562 | 3593 | <type name="utf8" c:type="const gchar*"/> | |
| 3563 | 3594 | </parameter> | |
| 3564 | 3595 | <parameter name="option_keys" | |
| @@ -3567,7 +3598,7 @@ the operation.</doc> | |||
| 3567 | 3598 | allow-none="1"> | |
| 3568 | 3599 | <doc xml:space="preserve" | |
| 3569 | 3600 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3570 | - | line="3091">name of options to set</doc> | |
| 3601 | + | line="3185">name of options to set</doc> | |
| 3571 | 3602 | <array c:type="gchar**"> | |
| 3572 | 3603 | <type name="utf8"/> | |
| 3573 | 3604 | </array> | |
| @@ -3578,7 +3609,7 @@ the operation.</doc> | |||
| 3578 | 3609 | allow-none="1"> | |
| 3579 | 3610 | <doc xml:space="preserve" | |
| 3580 | 3611 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3581 | - | line="3092">values for named options</doc> | |
| 3612 | + | line="3186">values for named options</doc> | |
| 3582 | 3613 | <array c:type="gchar**"> | |
| 3583 | 3614 | <type name="utf8"/> | |
| 3584 | 3615 | </array> | |
| @@ -3589,7 +3620,7 @@ the operation.</doc> | |||
| 3589 | 3620 | allow-none="1"> | |
| 3590 | 3621 | <doc xml:space="preserve" | |
| 3591 | 3622 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3592 | - | line="3093">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3623 | + | line="3187">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3593 | 3624 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3594 | 3625 | </parameter> | |
| 3595 | 3626 | <parameter name="callback" | |
| @@ -3600,7 +3631,7 @@ the operation.</doc> | |||
| 3600 | 3631 | closure="6"> | |
| 3601 | 3632 | <doc xml:space="preserve" | |
| 3602 | 3633 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3603 | - | line="3094">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3634 | + | line="3188">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3604 | 3635 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 3605 | 3636 | </parameter> | |
| 3606 | 3637 | <parameter name="user_data" | |
| @@ -3609,7 +3640,7 @@ the operation.</doc> | |||
| 3609 | 3640 | allow-none="1"> | |
| 3610 | 3641 | <doc xml:space="preserve" | |
| 3611 | 3642 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3612 | - | line="3095">the data to pass to the callback function</doc> | |
| 3643 | + | line="3189">the data to pass to the callback function</doc> | |
| 3613 | 3644 | <type name="gpointer" c:type="gpointer"/> | |
| 3614 | 3645 | </parameter> | |
| 3615 | 3646 | </parameters> | |
| @@ -3617,37 +3648,37 @@ the operation.</doc> | |||
| 3617 | 3648 | <method name="savev" c:identifier="gdk_pixbuf_savev" throws="1"> | |
| 3618 | 3649 | <doc xml:space="preserve" | |
| 3619 | 3650 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3620 | - | line="2528">Vector version of `gdk_pixbuf_save()`. | |
| 3651 | + | line="2622">Vector version of `gdk_pixbuf_save()`. | |
| 3621 | 3652 | ||
| 3622 | 3653 | Saves pixbuf to a file in `type`, which is currently "jpeg", "png", "tiff", "ico" or "bmp". | |
| 3623 | 3654 | ||
| 3624 | 3655 | If @error is set, `FALSE` will be returned. | |
| 3625 | 3656 | ||
| 3626 | 3657 | See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |
| 3627 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="326"/> | |
| 3658 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="321"/> | |
| 3628 | 3659 | <return-value transfer-ownership="none"> | |
| 3629 | 3660 | <doc xml:space="preserve" | |
| 3630 | 3661 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3631 | - | line="2545">whether an error was set</doc> | |
| 3662 | + | line="2639">whether an error was set</doc> | |
| 3632 | 3663 | <type name="gboolean" c:type="gboolean"/> | |
| 3633 | 3664 | </return-value> | |
| 3634 | 3665 | <parameters> | |
| 3635 | 3666 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3636 | 3667 | <doc xml:space="preserve" | |
| 3637 | 3668 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3638 | - | line="2530">a `GdkPixbuf`.</doc> | |
| 3669 | + | line="2624">a `GdkPixbuf`.</doc> | |
| 3639 | 3670 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3640 | 3671 | </instance-parameter> | |
| 3641 | 3672 | <parameter name="filename" transfer-ownership="none"> | |
| 3642 | 3673 | <doc xml:space="preserve" | |
| 3643 | 3674 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3644 | - | line="2531">name of file to save.</doc> | |
| 3675 | + | line="2625">name of file to save.</doc> | |
| 3645 | 3676 | <type name="filename" c:type="const char*"/> | |
| 3646 | 3677 | </parameter> | |
| 3647 | 3678 | <parameter name="type" transfer-ownership="none"> | |
| 3648 | 3679 | <doc xml:space="preserve" | |
| 3649 | 3680 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3650 | - | line="2532">name of file format.</doc> | |
| 3681 | + | line="2626">name of file format.</doc> | |
| 3651 | 3682 | <type name="utf8" c:type="const char*"/> | |
| 3652 | 3683 | </parameter> | |
| 3653 | 3684 | <parameter name="option_keys" | |
| @@ -3656,7 +3687,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3656 | 3687 | allow-none="1"> | |
| 3657 | 3688 | <doc xml:space="preserve" | |
| 3658 | 3689 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3659 | - | line="2533">name of options to set</doc> | |
| 3690 | + | line="2627">name of options to set</doc> | |
| 3660 | 3691 | <array c:type="char**"> | |
| 3661 | 3692 | <type name="utf8"/> | |
| 3662 | 3693 | </array> | |
| @@ -3667,7 +3698,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3667 | 3698 | allow-none="1"> | |
| 3668 | 3699 | <doc xml:space="preserve" | |
| 3669 | 3700 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3670 | - | line="2534">values for named options</doc> | |
| 3701 | + | line="2628">values for named options</doc> | |
| 3671 | 3702 | <array c:type="char**"> | |
| 3672 | 3703 | <type name="utf8"/> | |
| 3673 | 3704 | </array> | |
| @@ -3829,7 +3860,7 @@ and [method@GdkPixbuf.Pixbuf.composite].</doc> | |||
| 3829 | 3860 | ||
| 3830 | 3861 | If `key` already exists in the list of options attached to the `pixbuf`, | |
| 3831 | 3862 | the new value is ignored and `FALSE` is returned.</doc> | |
| 3832 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="506"/> | |
| 3863 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="501"/> | |
| 3833 | 3864 | <return-value transfer-ownership="none"> | |
| 3834 | 3865 | <doc xml:space="preserve" | |
| 3835 | 3866 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| @@ -3866,7 +3897,7 @@ the new value is ignored and `FALSE` is returned.</doc> | |||
| 3866 | 3897 | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3867 | 3898 | line="430">Removes a reference from a pixbuf.</doc> | |
| 3868 | 3899 | <doc-deprecated xml:space="preserve">Use g_object_unref().</doc-deprecated> | |
| 3869 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="168"/> | |
| 3900 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="167"/> | |
| 3870 | 3901 | <return-value transfer-ownership="none"> | |
| 3871 | 3902 | <type name="none" c:type="void"/> | |
| 3872 | 3903 | </return-value> | |
| @@ -4038,7 +4069,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4038 | 4069 | glib:type-struct="PixbufAnimationClass"> | |
| 4039 | 4070 | <doc xml:space="preserve" | |
| 4040 | 4071 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4041 | - | line="32">An opaque object representing an animation. | |
| 4072 | + | line="34">An opaque object representing an animation. | |
| 4042 | 4073 | ||
| 4043 | 4074 | The GdkPixBuf library provides a simple mechanism to load and | |
| 4044 | 4075 | represent animations. An animation is conceptually a series of | |
| @@ -4052,13 +4083,13 @@ To display an animation you don't need to understand its | |||
| 4052 | 4083 | representation, however; you just ask `GdkPixbuf` what should | |
| 4053 | 4084 | be displayed at a given point in time.</doc> | |
| 4054 | 4085 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4055 | - | line="163"/> | |
| 4086 | + | line="160"/> | |
| 4056 | 4087 | <constructor name="new_from_file" | |
| 4057 | 4088 | c:identifier="gdk_pixbuf_animation_new_from_file" | |
| 4058 | 4089 | throws="1"> | |
| 4059 | 4090 | <doc xml:space="preserve" | |
| 4060 | 4091 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4061 | - | line="147">Creates a new animation by loading it from a file. | |
| 4092 | + | line="146">Creates a new animation by loading it from a file. | |
| 4062 | 4093 | ||
| 4063 | 4094 | The file format is detected automatically. | |
| 4064 | 4095 | ||
| @@ -4071,14 +4102,14 @@ Possible errors are in the `GDK_PIXBUF_ERROR` and `G_FILE_ERROR` domains.</doc> | |||
| 4071 | 4102 | <return-value transfer-ownership="full" nullable="1"> | |
| 4072 | 4103 | <doc xml:space="preserve" | |
| 4073 | 4104 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4074 | - | line="162">A newly-created animation</doc> | |
| 4105 | + | line="161">A newly-created animation</doc> | |
| 4075 | 4106 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4076 | 4107 | </return-value> | |
| 4077 | 4108 | <parameters> | |
| 4078 | 4109 | <parameter name="filename" transfer-ownership="none"> | |
| 4079 | 4110 | <doc xml:space="preserve" | |
| 4080 | 4111 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4081 | - | line="149">Name of file to load, in the GLib file | |
| 4112 | + | line="148">Name of file to load, in the GLib file | |
| 4082 | 4113 | name encoding</doc> | |
| 4083 | 4114 | <type name="filename" c:type="const char*"/> | |
| 4084 | 4115 | </parameter> | |
| @@ -4090,7 +4121,7 @@ Possible errors are in the `GDK_PIXBUF_ERROR` and `G_FILE_ERROR` domains.</doc> | |||
| 4090 | 4121 | throws="1"> | |
| 4091 | 4122 | <doc xml:space="preserve" | |
| 4092 | 4123 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4093 | - | line="504">Creates a new pixbuf animation by loading an image from an resource. | |
| 4124 | + | line="503">Creates a new pixbuf animation by loading an image from an resource. | |
| 4094 | 4125 | ||
| 4095 | 4126 | The file format is detected automatically. If `NULL` is returned, then | |
| 4096 | 4127 | @error will be set.</doc> | |
| @@ -4099,14 +4130,14 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 4099 | 4130 | <return-value transfer-ownership="full" nullable="1"> | |
| 4100 | 4131 | <doc xml:space="preserve" | |
| 4101 | 4132 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4102 | - | line="514">A newly-created animation</doc> | |
| 4133 | + | line="513">A newly-created animation</doc> | |
| 4103 | 4134 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4104 | 4135 | </return-value> | |
| 4105 | 4136 | <parameters> | |
| 4106 | 4137 | <parameter name="resource_path" transfer-ownership="none"> | |
| 4107 | 4138 | <doc xml:space="preserve" | |
| 4108 | 4139 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4109 | - | line="506">the path of the resource file</doc> | |
| 4140 | + | line="505">the path of the resource file</doc> | |
| 4110 | 4141 | <type name="utf8" c:type="const char*"/> | |
| 4111 | 4142 | </parameter> | |
| 4112 | 4143 | </parameters> | |
| @@ -4117,7 +4148,7 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 4117 | 4148 | throws="1"> | |
| 4118 | 4149 | <doc xml:space="preserve" | |
| 4119 | 4150 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4120 | - | line="346">Creates a new animation by loading it from an input stream. | |
| 4151 | + | line="345">Creates a new animation by loading it from an input stream. | |
| 4121 | 4152 | ||
| 4122 | 4153 | The file format is detected automatically. | |
| 4123 | 4154 | ||
| @@ -4134,14 +4165,14 @@ The stream is not closed.</doc> | |||
| 4134 | 4165 | <return-value transfer-ownership="full" nullable="1"> | |
| 4135 | 4166 | <doc xml:space="preserve" | |
| 4136 | 4167 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4137 | - | line="365">A newly-created animation</doc> | |
| 4168 | + | line="364">A newly-created animation</doc> | |
| 4138 | 4169 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4139 | 4170 | </return-value> | |
| 4140 | 4171 | <parameters> | |
| 4141 | 4172 | <parameter name="stream" transfer-ownership="none"> | |
| 4142 | 4173 | <doc xml:space="preserve" | |
| 4143 | 4174 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4144 | - | line="348">a `GInputStream` to load the pixbuf from</doc> | |
| 4175 | + | line="347">a `GInputStream` to load the pixbuf from</doc> | |
| 4145 | 4176 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 4146 | 4177 | </parameter> | |
| 4147 | 4178 | <parameter name="cancellable" | |
| @@ -4150,7 +4181,7 @@ The stream is not closed.</doc> | |||
| 4150 | 4181 | allow-none="1"> | |
| 4151 | 4182 | <doc xml:space="preserve" | |
| 4152 | 4183 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4153 | - | line="349">optional `GCancellable` object</doc> | |
| 4184 | + | line="348">optional `GCancellable` object</doc> | |
| 4154 | 4185 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 4155 | 4186 | </parameter> | |
| 4156 | 4187 | </parameters> | |
| @@ -4161,21 +4192,21 @@ The stream is not closed.</doc> | |||
| 4161 | 4192 | throws="1"> | |
| 4162 | 4193 | <doc xml:space="preserve" | |
| 4163 | 4194 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4164 | - | line="479">Finishes an asynchronous pixbuf animation creation operation started with | |
| 4195 | + | line="478">Finishes an asynchronous pixbuf animation creation operation started with | |
| 4165 | 4196 | [func@GdkPixbuf.PixbufAnimation.new_from_stream_async].</doc> | |
| 4166 | 4197 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4167 | 4198 | line="75"/> | |
| 4168 | 4199 | <return-value transfer-ownership="full" nullable="1"> | |
| 4169 | 4200 | <doc xml:space="preserve" | |
| 4170 | 4201 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4171 | - | line="487">the newly created animation</doc> | |
| 4202 | + | line="486">the newly created animation</doc> | |
| 4172 | 4203 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4173 | 4204 | </return-value> | |
| 4174 | 4205 | <parameters> | |
| 4175 | 4206 | <parameter name="async_result" transfer-ownership="none"> | |
| 4176 | 4207 | <doc xml:space="preserve" | |
| 4177 | 4208 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4178 | - | line="481">a #GAsyncResult</doc> | |
| 4209 | + | line="480">a #GAsyncResult</doc> | |
| 4179 | 4210 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 4180 | 4211 | </parameter> | |
| 4181 | 4212 | </parameters> | |
| @@ -4186,7 +4217,7 @@ The stream is not closed.</doc> | |||
| 4186 | 4217 | glib:finish-func="new_from_stream_finish"> | |
| 4187 | 4218 | <doc xml:space="preserve" | |
| 4188 | 4219 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4189 | - | line="443">Creates a new animation by asynchronously loading an image from an input stream. | |
| 4220 | + | line="442">Creates a new animation by asynchronously loading an image from an input stream. | |
| 4190 | 4221 | ||
| 4191 | 4222 | For more details see gdk_pixbuf_new_from_stream(), which is the synchronous | |
| 4192 | 4223 | version of this function. | |
| @@ -4203,7 +4234,7 @@ result of the operation.</doc> | |||
| 4203 | 4234 | <parameter name="stream" transfer-ownership="none"> | |
| 4204 | 4235 | <doc xml:space="preserve" | |
| 4205 | 4236 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4206 | - | line="445">a #GInputStream from which to load the animation</doc> | |
| 4237 | + | line="444">a #GInputStream from which to load the animation</doc> | |
| 4207 | 4238 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 4208 | 4239 | </parameter> | |
| 4209 | 4240 | <parameter name="cancellable" | |
| @@ -4212,7 +4243,7 @@ result of the operation.</doc> | |||
| 4212 | 4243 | allow-none="1"> | |
| 4213 | 4244 | <doc xml:space="preserve" | |
| 4214 | 4245 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4215 | - | line="446">optional #GCancellable object</doc> | |
| 4246 | + | line="445">optional #GCancellable object</doc> | |
| 4216 | 4247 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 4217 | 4248 | </parameter> | |
| 4218 | 4249 | <parameter name="callback" | |
| @@ -4223,7 +4254,7 @@ result of the operation.</doc> | |||
| 4223 | 4254 | closure="3"> | |
| 4224 | 4255 | <doc xml:space="preserve" | |
| 4225 | 4256 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4226 | - | line="447">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 4257 | + | line="446">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 4227 | 4258 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 4228 | 4259 | </parameter> | |
| 4229 | 4260 | <parameter name="user_data" | |
| @@ -4232,7 +4263,7 @@ result of the operation.</doc> | |||
| 4232 | 4263 | allow-none="1"> | |
| 4233 | 4264 | <doc xml:space="preserve" | |
| 4234 | 4265 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4235 | - | line="448">the data to pass to the callback function</doc> | |
| 4266 | + | line="447">the data to pass to the callback function</doc> | |
| 4236 | 4267 | <type name="gpointer" c:type="gpointer"/> | |
| 4237 | 4268 | </parameter> | |
| 4238 | 4269 | </parameters> | |
| @@ -4240,7 +4271,7 @@ result of the operation.</doc> | |||
| 4240 | 4271 | <virtual-method name="get_iter" invoker="get_iter"> | |
| 4241 | 4272 | <doc xml:space="preserve" | |
| 4242 | 4273 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4243 | - | line="664">Get an iterator for displaying an animation. | |
| 4274 | + | line="663">Get an iterator for displaying an animation. | |
| 4244 | 4275 | ||
| 4245 | 4276 | The iterator provides the frames that should be displayed at a | |
| 4246 | 4277 | given time. | |
| @@ -4275,18 +4306,18 @@ area_updated signal. | |||
| 4275 | 4306 | ||
| 4276 | 4307 | A delay time of -1 is possible, indicating "infinite".</doc> | |
| 4277 | 4308 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4278 | - | line="161"/> | |
| 4309 | + | line="158"/> | |
| 4279 | 4310 | <return-value transfer-ownership="full"> | |
| 4280 | 4311 | <doc xml:space="preserve" | |
| 4281 | 4312 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4282 | - | line="704">an iterator to move over the animation</doc> | |
| 4313 | + | line="703">an iterator to move over the animation</doc> | |
| 4283 | 4314 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4284 | 4315 | </return-value> | |
| 4285 | 4316 | <parameters> | |
| 4286 | 4317 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4287 | 4318 | <doc xml:space="preserve" | |
| 4288 | 4319 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4289 | - | line="666">a #GdkPixbufAnimation</doc> | |
| 4320 | + | line="665">a #GdkPixbufAnimation</doc> | |
| 4290 | 4321 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4291 | 4322 | </instance-parameter> | |
| 4292 | 4323 | <parameter name="start_time" | |
| @@ -4295,7 +4326,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4295 | 4326 | allow-none="1"> | |
| 4296 | 4327 | <doc xml:space="preserve" | |
| 4297 | 4328 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4298 | - | line="667">time when the animation starts playing</doc> | |
| 4329 | + | line="666">time when the animation starts playing</doc> | |
| 4299 | 4330 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4300 | 4331 | </parameter> | |
| 4301 | 4332 | </parameters> | |
| @@ -4303,9 +4334,9 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4303 | 4334 | <virtual-method name="get_size"> | |
| 4304 | 4335 | <doc xml:space="preserve" | |
| 4305 | 4336 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4306 | - | line="128">fills @width and @height with the frame size of the animation.</doc> | |
| 4337 | + | line="125">fills @width and @height with the frame size of the animation.</doc> | |
| 4307 | 4338 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4308 | - | line="157"/> | |
| 4339 | + | line="154"/> | |
| 4309 | 4340 | <return-value transfer-ownership="none"> | |
| 4310 | 4341 | <type name="none" c:type="void"/> | |
| 4311 | 4342 | </return-value> | |
| @@ -4324,7 +4355,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4324 | 4355 | <virtual-method name="get_static_image" invoker="get_static_image"> | |
| 4325 | 4356 | <doc xml:space="preserve" | |
| 4326 | 4357 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4327 | - | line="593">Retrieves a static image for the animation. | |
| 4358 | + | line="592">Retrieves a static image for the animation. | |
| 4328 | 4359 | ||
| 4329 | 4360 | If an animation is really just a plain image (has only one frame), | |
| 4330 | 4361 | this function returns that image. | |
| @@ -4336,18 +4367,18 @@ frame, or something more sophisticated depending on the file format. | |||
| 4336 | 4367 | If an animation hasn't loaded any frames yet, this function will | |
| 4337 | 4368 | return `NULL`.</doc> | |
| 4338 | 4369 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4339 | - | line="155"/> | |
| 4370 | + | line="152"/> | |
| 4340 | 4371 | <return-value transfer-ownership="none"> | |
| 4341 | 4372 | <doc xml:space="preserve" | |
| 4342 | 4373 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4343 | - | line="609">unanimated image representing the animation</doc> | |
| 4374 | + | line="608">unanimated image representing the animation</doc> | |
| 4344 | 4375 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4345 | 4376 | </return-value> | |
| 4346 | 4377 | <parameters> | |
| 4347 | 4378 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4348 | 4379 | <doc xml:space="preserve" | |
| 4349 | 4380 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4350 | - | line="595">a #GdkPixbufAnimation</doc> | |
| 4381 | + | line="594">a #GdkPixbufAnimation</doc> | |
| 4351 | 4382 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4352 | 4383 | </instance-parameter> | |
| 4353 | 4384 | </parameters> | |
| @@ -4355,25 +4386,25 @@ return `NULL`.</doc> | |||
| 4355 | 4386 | <virtual-method name="is_static_image" invoker="is_static_image"> | |
| 4356 | 4387 | <doc xml:space="preserve" | |
| 4357 | 4388 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4358 | - | line="572">Checks whether the animation is a static image. | |
| 4389 | + | line="571">Checks whether the animation is a static image. | |
| 4359 | 4390 | ||
| 4360 | 4391 | If you load a file with gdk_pixbuf_animation_new_from_file() and it | |
| 4361 | 4392 | turns out to be a plain, unanimated image, then this function will | |
| 4362 | 4393 | return `TRUE`. Use gdk_pixbuf_animation_get_static_image() to retrieve | |
| 4363 | 4394 | the image.</doc> | |
| 4364 | 4395 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4365 | - | line="153"/> | |
| 4396 | + | line="150"/> | |
| 4366 | 4397 | <return-value transfer-ownership="none"> | |
| 4367 | 4398 | <doc xml:space="preserve" | |
| 4368 | 4399 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4369 | - | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4400 | + | line="582">`TRUE` if the "animation" was really just an image</doc> | |
| 4370 | 4401 | <type name="gboolean" c:type="gboolean"/> | |
| 4371 | 4402 | </return-value> | |
| 4372 | 4403 | <parameters> | |
| 4373 | 4404 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4374 | 4405 | <doc xml:space="preserve" | |
| 4375 | 4406 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4376 | - | line="574">a #GdkPixbufAnimation</doc> | |
| 4407 | + | line="573">a #GdkPixbufAnimation</doc> | |
| 4377 | 4408 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4378 | 4409 | </instance-parameter> | |
| 4379 | 4410 | </parameters> | |
| @@ -4381,20 +4412,20 @@ the image.</doc> | |||
| 4381 | 4412 | <method name="get_height" c:identifier="gdk_pixbuf_animation_get_height"> | |
| 4382 | 4413 | <doc xml:space="preserve" | |
| 4383 | 4414 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4384 | - | line="641">Queries the height of the bounding box of a pixbuf animation.</doc> | |
| 4415 | + | line="640">Queries the height of the bounding box of a pixbuf animation.</doc> | |
| 4385 | 4416 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4386 | - | line="92"/> | |
| 4417 | + | line="89"/> | |
| 4387 | 4418 | <return-value transfer-ownership="none"> | |
| 4388 | 4419 | <doc xml:space="preserve" | |
| 4389 | 4420 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4390 | - | line="647">Height of the bounding box of the animation.</doc> | |
| 4421 | + | line="646">Height of the bounding box of the animation.</doc> | |
| 4391 | 4422 | <type name="gint" c:type="int"/> | |
| 4392 | 4423 | </return-value> | |
| 4393 | 4424 | <parameters> | |
| 4394 | 4425 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4395 | 4426 | <doc xml:space="preserve" | |
| 4396 | 4427 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4397 | - | line="643">An animation.</doc> | |
| 4428 | + | line="642">An animation.</doc> | |
| 4398 | 4429 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4399 | 4430 | </instance-parameter> | |
| 4400 | 4431 | </parameters> | |
| @@ -4402,7 +4433,7 @@ the image.</doc> | |||
| 4402 | 4433 | <method name="get_iter" c:identifier="gdk_pixbuf_animation_get_iter"> | |
| 4403 | 4434 | <doc xml:space="preserve" | |
| 4404 | 4435 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4405 | - | line="664">Get an iterator for displaying an animation. | |
| 4436 | + | line="663">Get an iterator for displaying an animation. | |
| 4406 | 4437 | ||
| 4407 | 4438 | The iterator provides the frames that should be displayed at a | |
| 4408 | 4439 | given time. | |
| @@ -4437,18 +4468,18 @@ area_updated signal. | |||
| 4437 | 4468 | ||
| 4438 | 4469 | A delay time of -1 is possible, indicating "infinite".</doc> | |
| 4439 | 4470 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4440 | - | line="100"/> | |
| 4471 | + | line="97"/> | |
| 4441 | 4472 | <return-value transfer-ownership="full"> | |
| 4442 | 4473 | <doc xml:space="preserve" | |
| 4443 | 4474 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4444 | - | line="704">an iterator to move over the animation</doc> | |
| 4475 | + | line="703">an iterator to move over the animation</doc> | |
| 4445 | 4476 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4446 | 4477 | </return-value> | |
| 4447 | 4478 | <parameters> | |
| 4448 | 4479 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4449 | 4480 | <doc xml:space="preserve" | |
| 4450 | 4481 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4451 | - | line="666">a #GdkPixbufAnimation</doc> | |
| 4482 | + | line="665">a #GdkPixbufAnimation</doc> | |
| 4452 | 4483 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4453 | 4484 | </instance-parameter> | |
| 4454 | 4485 | <parameter name="start_time" | |
| @@ -4457,7 +4488,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4457 | 4488 | allow-none="1"> | |
| 4458 | 4489 | <doc xml:space="preserve" | |
| 4459 | 4490 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4460 | - | line="667">time when the animation starts playing</doc> | |
| 4491 | + | line="666">time when the animation starts playing</doc> | |
| 4461 | 4492 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4462 | 4493 | </parameter> | |
| 4463 | 4494 | </parameters> | |
| @@ -4466,7 +4497,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4466 | 4497 | c:identifier="gdk_pixbuf_animation_get_static_image"> | |
| 4467 | 4498 | <doc xml:space="preserve" | |
| 4468 | 4499 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4469 | - | line="593">Retrieves a static image for the animation. | |
| 4500 | + | line="592">Retrieves a static image for the animation. | |
| 4470 | 4501 | ||
| 4471 | 4502 | If an animation is really just a plain image (has only one frame), | |
| 4472 | 4503 | this function returns that image. | |
| @@ -4478,18 +4509,18 @@ frame, or something more sophisticated depending on the file format. | |||
| 4478 | 4509 | If an animation hasn't loaded any frames yet, this function will | |
| 4479 | 4510 | return `NULL`.</doc> | |
| 4480 | 4511 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4481 | - | line="96"/> | |
| 4512 | + | line="93"/> | |
| 4482 | 4513 | <return-value transfer-ownership="none"> | |
| 4483 | 4514 | <doc xml:space="preserve" | |
| 4484 | 4515 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4485 | - | line="609">unanimated image representing the animation</doc> | |
| 4516 | + | line="608">unanimated image representing the animation</doc> | |
| 4486 | 4517 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4487 | 4518 | </return-value> | |
| 4488 | 4519 | <parameters> | |
| 4489 | 4520 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4490 | 4521 | <doc xml:space="preserve" | |
| 4491 | 4522 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4492 | - | line="595">a #GdkPixbufAnimation</doc> | |
| 4523 | + | line="594">a #GdkPixbufAnimation</doc> | |
| 4493 | 4524 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4494 | 4525 | </instance-parameter> | |
| 4495 | 4526 | </parameters> | |
| @@ -4497,20 +4528,20 @@ return `NULL`.</doc> | |||
| 4497 | 4528 | <method name="get_width" c:identifier="gdk_pixbuf_animation_get_width"> | |
| 4498 | 4529 | <doc xml:space="preserve" | |
| 4499 | 4530 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4500 | - | line="619">Queries the width of the bounding box of a pixbuf animation.</doc> | |
| 4531 | + | line="618">Queries the width of the bounding box of a pixbuf animation.</doc> | |
| 4501 | 4532 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4502 | - | line="90"/> | |
| 4533 | + | line="87"/> | |
| 4503 | 4534 | <return-value transfer-ownership="none"> | |
| 4504 | 4535 | <doc xml:space="preserve" | |
| 4505 | 4536 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4506 | - | line="625">Width of the bounding box of the animation.</doc> | |
| 4537 | + | line="624">Width of the bounding box of the animation.</doc> | |
| 4507 | 4538 | <type name="gint" c:type="int"/> | |
| 4508 | 4539 | </return-value> | |
| 4509 | 4540 | <parameters> | |
| 4510 | 4541 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4511 | 4542 | <doc xml:space="preserve" | |
| 4512 | 4543 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4513 | - | line="621">An animation.</doc> | |
| 4544 | + | line="620">An animation.</doc> | |
| 4514 | 4545 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4515 | 4546 | </instance-parameter> | |
| 4516 | 4547 | </parameters> | |
| @@ -4519,25 +4550,25 @@ return `NULL`.</doc> | |||
| 4519 | 4550 | c:identifier="gdk_pixbuf_animation_is_static_image"> | |
| 4520 | 4551 | <doc xml:space="preserve" | |
| 4521 | 4552 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4522 | - | line="572">Checks whether the animation is a static image. | |
| 4553 | + | line="571">Checks whether the animation is a static image. | |
| 4523 | 4554 | ||
| 4524 | 4555 | If you load a file with gdk_pixbuf_animation_new_from_file() and it | |
| 4525 | 4556 | turns out to be a plain, unanimated image, then this function will | |
| 4526 | 4557 | return `TRUE`. Use gdk_pixbuf_animation_get_static_image() to retrieve | |
| 4527 | 4558 | the image.</doc> | |
| 4528 | 4559 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4529 | - | line="94"/> | |
| 4560 | + | line="91"/> | |
| 4530 | 4561 | <return-value transfer-ownership="none"> | |
| 4531 | 4562 | <doc xml:space="preserve" | |
| 4532 | 4563 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4533 | - | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4564 | + | line="582">`TRUE` if the "animation" was really just an image</doc> | |
| 4534 | 4565 | <type name="gboolean" c:type="gboolean"/> | |
| 4535 | 4566 | </return-value> | |
| 4536 | 4567 | <parameters> | |
| 4537 | 4568 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4538 | 4569 | <doc xml:space="preserve" | |
| 4539 | 4570 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4540 | - | line="574">a #GdkPixbufAnimation</doc> | |
| 4571 | + | line="573">a #GdkPixbufAnimation</doc> | |
| 4541 | 4572 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4542 | 4573 | </instance-parameter> | |
| 4543 | 4574 | </parameters> | |
| @@ -4549,21 +4580,21 @@ the image.</doc> | |||
| 4549 | 4580 | deprecated-version="2.0"> | |
| 4550 | 4581 | <doc xml:space="preserve" | |
| 4551 | 4582 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4552 | - | line="542">Adds a reference to an animation.</doc> | |
| 4583 | + | line="541">Adds a reference to an animation.</doc> | |
| 4553 | 4584 | <doc-deprecated xml:space="preserve">Use g_object_ref().</doc-deprecated> | |
| 4554 | 4585 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4555 | - | line="84"/> | |
| 4586 | + | line="82"/> | |
| 4556 | 4587 | <return-value> | |
| 4557 | 4588 | <doc xml:space="preserve" | |
| 4558 | 4589 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4559 | - | line="548">The same as the @animation argument.</doc> | |
| 4590 | + | line="547">The same as the @animation argument.</doc> | |
| 4560 | 4591 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4561 | 4592 | </return-value> | |
| 4562 | 4593 | <parameters> | |
| 4563 | 4594 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4564 | 4595 | <doc xml:space="preserve" | |
| 4565 | 4596 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4566 | - | line="544">An animation.</doc> | |
| 4597 | + | line="543">An animation.</doc> | |
| 4567 | 4598 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4568 | 4599 | </instance-parameter> | |
| 4569 | 4600 | </parameters> | |
| @@ -4575,10 +4606,10 @@ the image.</doc> | |||
| 4575 | 4606 | deprecated-version="2.0"> | |
| 4576 | 4607 | <doc xml:space="preserve" | |
| 4577 | 4608 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4578 | - | line="558">Removes a reference from an animation.</doc> | |
| 4609 | + | line="557">Removes a reference from an animation.</doc> | |
| 4579 | 4610 | <doc-deprecated xml:space="preserve">Use g_object_unref().</doc-deprecated> | |
| 4580 | 4611 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4581 | - | line="86"/> | |
| 4612 | + | line="84"/> | |
| 4582 | 4613 | <return-value transfer-ownership="none"> | |
| 4583 | 4614 | <type name="none" c:type="void"/> | |
| 4584 | 4615 | </return-value> | |
| @@ -4586,7 +4617,7 @@ the image.</doc> | |||
| 4586 | 4617 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4587 | 4618 | <doc xml:space="preserve" | |
| 4588 | 4619 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4589 | - | line="560">An animation.</doc> | |
| 4620 | + | line="559">An animation.</doc> | |
| 4590 | 4621 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4591 | 4622 | </instance-parameter> | |
| 4592 | 4623 | </parameters> | |
| @@ -4600,35 +4631,35 @@ the image.</doc> | |||
| 4600 | 4631 | glib:is-gtype-struct-for="PixbufAnimation"> | |
| 4601 | 4632 | <doc xml:space="preserve" | |
| 4602 | 4633 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4603 | - | line="123">Modules supporting animations must derive a type from | |
| 4634 | + | line="120">Modules supporting animations must derive a type from | |
| 4604 | 4635 | #GdkPixbufAnimation, providing suitable implementations of the | |
| 4605 | 4636 | virtual functions.</doc> | |
| 4606 | 4637 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4607 | - | line="163"/> | |
| 4638 | + | line="160"/> | |
| 4608 | 4639 | <field name="parent_class"> | |
| 4609 | 4640 | <doc xml:space="preserve" | |
| 4610 | 4641 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4611 | - | line="125">the parent class</doc> | |
| 4642 | + | line="122">the parent class</doc> | |
| 4612 | 4643 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 4613 | 4644 | </field> | |
| 4614 | 4645 | <field name="is_static_image"> | |
| 4615 | 4646 | <doc xml:space="preserve" | |
| 4616 | 4647 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4617 | - | line="126">returns whether the given animation is just a static image.</doc> | |
| 4648 | + | line="123">returns whether the given animation is just a static image.</doc> | |
| 4618 | 4649 | <callback name="is_static_image"> | |
| 4619 | 4650 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4620 | - | line="153"/> | |
| 4651 | + | line="150"/> | |
| 4621 | 4652 | <return-value transfer-ownership="none"> | |
| 4622 | 4653 | <doc xml:space="preserve" | |
| 4623 | 4654 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4624 | - | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4655 | + | line="582">`TRUE` if the "animation" was really just an image</doc> | |
| 4625 | 4656 | <type name="gboolean" c:type="gboolean"/> | |
| 4626 | 4657 | </return-value> | |
| 4627 | 4658 | <parameters> | |
| 4628 | 4659 | <parameter name="animation" transfer-ownership="none"> | |
| 4629 | 4660 | <doc xml:space="preserve" | |
| 4630 | 4661 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4631 | - | line="574">a #GdkPixbufAnimation</doc> | |
| 4662 | + | line="573">a #GdkPixbufAnimation</doc> | |
| 4632 | 4663 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4633 | 4664 | </parameter> | |
| 4634 | 4665 | </parameters> | |
| @@ -4637,21 +4668,21 @@ virtual functions.</doc> | |||
| 4637 | 4668 | <field name="get_static_image"> | |
| 4638 | 4669 | <doc xml:space="preserve" | |
| 4639 | 4670 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4640 | - | line="127">returns a static image representing the given animation.</doc> | |
| 4671 | + | line="124">returns a static image representing the given animation.</doc> | |
| 4641 | 4672 | <callback name="get_static_image"> | |
| 4642 | 4673 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4643 | - | line="155"/> | |
| 4674 | + | line="152"/> | |
| 4644 | 4675 | <return-value transfer-ownership="none"> | |
| 4645 | 4676 | <doc xml:space="preserve" | |
| 4646 | 4677 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4647 | - | line="609">unanimated image representing the animation</doc> | |
| 4678 | + | line="608">unanimated image representing the animation</doc> | |
| 4648 | 4679 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4649 | 4680 | </return-value> | |
| 4650 | 4681 | <parameters> | |
| 4651 | 4682 | <parameter name="animation" transfer-ownership="none"> | |
| 4652 | 4683 | <doc xml:space="preserve" | |
| 4653 | 4684 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4654 | - | line="595">a #GdkPixbufAnimation</doc> | |
| 4685 | + | line="594">a #GdkPixbufAnimation</doc> | |
| 4655 | 4686 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4656 | 4687 | </parameter> | |
| 4657 | 4688 | </parameters> | |
| @@ -4660,10 +4691,10 @@ virtual functions.</doc> | |||
| 4660 | 4691 | <field name="get_size"> | |
| 4661 | 4692 | <doc xml:space="preserve" | |
| 4662 | 4693 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4663 | - | line="128">fills @width and @height with the frame size of the animation.</doc> | |
| 4694 | + | line="125">fills @width and @height with the frame size of the animation.</doc> | |
| 4664 | 4695 | <callback name="get_size"> | |
| 4665 | 4696 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4666 | - | line="157"/> | |
| 4697 | + | line="154"/> | |
| 4667 | 4698 | <return-value transfer-ownership="none"> | |
| 4668 | 4699 | <type name="none" c:type="void"/> | |
| 4669 | 4700 | </return-value> | |
| @@ -4683,21 +4714,21 @@ virtual functions.</doc> | |||
| 4683 | 4714 | <field name="get_iter"> | |
| 4684 | 4715 | <doc xml:space="preserve" | |
| 4685 | 4716 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4686 | - | line="129">returns an iterator for the given animation.</doc> | |
| 4717 | + | line="126">returns an iterator for the given animation.</doc> | |
| 4687 | 4718 | <callback name="get_iter"> | |
| 4688 | 4719 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4689 | - | line="161"/> | |
| 4720 | + | line="158"/> | |
| 4690 | 4721 | <return-value transfer-ownership="full"> | |
| 4691 | 4722 | <doc xml:space="preserve" | |
| 4692 | 4723 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4693 | - | line="704">an iterator to move over the animation</doc> | |
| 4724 | + | line="703">an iterator to move over the animation</doc> | |
| 4694 | 4725 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4695 | 4726 | </return-value> | |
| 4696 | 4727 | <parameters> | |
| 4697 | 4728 | <parameter name="animation" transfer-ownership="none"> | |
| 4698 | 4729 | <doc xml:space="preserve" | |
| 4699 | 4730 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4700 | - | line="666">a #GdkPixbufAnimation</doc> | |
| 4731 | + | line="665">a #GdkPixbufAnimation</doc> | |
| 4701 | 4732 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4702 | 4733 | </parameter> | |
| 4703 | 4734 | <parameter name="start_time" | |
| @@ -4706,7 +4737,7 @@ virtual functions.</doc> | |||
| 4706 | 4737 | allow-none="1"> | |
| 4707 | 4738 | <doc xml:space="preserve" | |
| 4708 | 4739 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4709 | - | line="667">time when the animation starts playing</doc> | |
| 4740 | + | line="666">time when the animation starts playing</doc> | |
| 4710 | 4741 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4711 | 4742 | </parameter> | |
| 4712 | 4743 | </parameters> | |
| @@ -4722,14 +4753,14 @@ virtual functions.</doc> | |||
| 4722 | 4753 | glib:type-struct="PixbufAnimationIterClass"> | |
| 4723 | 4754 | <doc xml:space="preserve" | |
| 4724 | 4755 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4725 | - | line="50">An opaque object representing an iterator which points to a | |
| 4756 | + | line="52">An opaque object representing an iterator which points to a | |
| 4726 | 4757 | certain position in an animation.</doc> | |
| 4727 | 4758 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4728 | - | line="208"/> | |
| 4759 | + | line="205"/> | |
| 4729 | 4760 | <virtual-method name="advance" invoker="advance"> | |
| 4730 | 4761 | <doc xml:space="preserve" | |
| 4731 | 4762 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4732 | - | line="813">Possibly advances an animation to a new frame. | |
| 4763 | + | line="812">Possibly advances an animation to a new frame. | |
| 4733 | 4764 | ||
| 4734 | 4765 | Chooses the frame based on the start time passed to | |
| 4735 | 4766 | gdk_pixbuf_animation_get_iter(). | |
| @@ -4751,18 +4782,18 @@ display, assuming the display had been rendered prior to advancing; | |||
| 4751 | 4782 | if `TRUE`, you need to call gdk_pixbuf_animation_iter_get_pixbuf() | |
| 4752 | 4783 | and update the display with the new pixbuf.</doc> | |
| 4753 | 4784 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4754 | - | line="206"/> | |
| 4785 | + | line="203"/> | |
| 4755 | 4786 | <return-value transfer-ownership="none"> | |
| 4756 | 4787 | <doc xml:space="preserve" | |
| 4757 | 4788 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4758 | - | line="840">`TRUE` if the image may need updating</doc> | |
| 4789 | + | line="839">`TRUE` if the image may need updating</doc> | |
| 4759 | 4790 | <type name="gboolean" c:type="gboolean"/> | |
| 4760 | 4791 | </return-value> | |
| 4761 | 4792 | <parameters> | |
| 4762 | 4793 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4763 | 4794 | <doc xml:space="preserve" | |
| 4764 | 4795 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4765 | - | line="815">a #GdkPixbufAnimationIter</doc> | |
| 4796 | + | line="814">a #GdkPixbufAnimationIter</doc> | |
| 4766 | 4797 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4767 | 4798 | </instance-parameter> | |
| 4768 | 4799 | <parameter name="current_time" | |
| @@ -4771,7 +4802,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4771 | 4802 | allow-none="1"> | |
| 4772 | 4803 | <doc xml:space="preserve" | |
| 4773 | 4804 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4774 | - | line="816">current time</doc> | |
| 4805 | + | line="815">current time</doc> | |
| 4775 | 4806 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4776 | 4807 | </parameter> | |
| 4777 | 4808 | </parameters> | |
| @@ -4779,7 +4810,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4779 | 4810 | <virtual-method name="get_delay_time" invoker="get_delay_time"> | |
| 4780 | 4811 | <doc xml:space="preserve" | |
| 4781 | 4812 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4782 | - | line="735">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4813 | + | line="734">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4783 | 4814 | or -1 if the current pixbuf should be displayed forever. | |
| 4784 | 4815 | ||
| 4785 | 4816 | The `g_timeout_add()` function conveniently takes a timeout in milliseconds, | |
| @@ -4789,18 +4820,18 @@ Note that some formats, like GIF, might clamp the timeout values in the | |||
| 4789 | 4820 | image file to avoid updates that are just too quick. The minimum timeout | |
| 4790 | 4821 | for GIF images is currently 20 milliseconds.</doc> | |
| 4791 | 4822 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4792 | - | line="200"/> | |
| 4823 | + | line="197"/> | |
| 4793 | 4824 | <return-value transfer-ownership="none"> | |
| 4794 | 4825 | <doc xml:space="preserve" | |
| 4795 | 4826 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4796 | - | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 4827 | + | line="748">delay time in milliseconds (thousandths of a second)</doc> | |
| 4797 | 4828 | <type name="gint" c:type="int"/> | |
| 4798 | 4829 | </return-value> | |
| 4799 | 4830 | <parameters> | |
| 4800 | 4831 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4801 | 4832 | <doc xml:space="preserve" | |
| 4802 | 4833 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4803 | - | line="737">an animation iterator</doc> | |
| 4834 | + | line="736">an animation iterator</doc> | |
| 4804 | 4835 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4805 | 4836 | </instance-parameter> | |
| 4806 | 4837 | </parameters> | |
| @@ -4808,7 +4839,7 @@ for GIF images is currently 20 milliseconds.</doc> | |||
| 4808 | 4839 | <virtual-method name="get_pixbuf" invoker="get_pixbuf"> | |
| 4809 | 4840 | <doc xml:space="preserve" | |
| 4810 | 4841 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4811 | - | line="760">Gets the current pixbuf which should be displayed. | |
| 4842 | + | line="759">Gets the current pixbuf which should be displayed. | |
| 4812 | 4843 | ||
| 4813 | 4844 | The pixbuf might not be the same size as the animation itself | |
| 4814 | 4845 | (gdk_pixbuf_animation_get_width(), gdk_pixbuf_animation_get_height()). | |
| @@ -4824,18 +4855,18 @@ gdk_pixbuf_animation_iter_advance(). | |||
| 4824 | 4855 | Copy the pixbuf to keep it (don't just add a reference), as it may get | |
| 4825 | 4856 | recycled as you advance the iterator.</doc> | |
| 4826 | 4857 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4827 | - | line="202"/> | |
| 4858 | + | line="199"/> | |
| 4828 | 4859 | <return-value transfer-ownership="none"> | |
| 4829 | 4860 | <doc xml:space="preserve" | |
| 4830 | 4861 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4831 | - | line="780">the pixbuf to be displayed</doc> | |
| 4862 | + | line="779">the pixbuf to be displayed</doc> | |
| 4832 | 4863 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4833 | 4864 | </return-value> | |
| 4834 | 4865 | <parameters> | |
| 4835 | 4866 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4836 | 4867 | <doc xml:space="preserve" | |
| 4837 | 4868 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4838 | - | line="762">an animation iterator</doc> | |
| 4869 | + | line="761">an animation iterator</doc> | |
| 4839 | 4870 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4840 | 4871 | </instance-parameter> | |
| 4841 | 4872 | </parameters> | |
| @@ -4844,25 +4875,25 @@ recycled as you advance the iterator.</doc> | |||
| 4844 | 4875 | invoker="on_currently_loading_frame"> | |
| 4845 | 4876 | <doc xml:space="preserve" | |
| 4846 | 4877 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4847 | - | line="791">Used to determine how to respond to the area_updated signal on | |
| 4878 | + | line="790">Used to determine how to respond to the area_updated signal on | |
| 4848 | 4879 | #GdkPixbufLoader when loading an animation. | |
| 4849 | 4880 | ||
| 4850 | 4881 | The `::area_updated` signal is emitted for an area of the frame currently | |
| 4851 | 4882 | streaming in to the loader. So if you're on the currently loading frame, | |
| 4852 | 4883 | you will need to redraw the screen for the updated area.</doc> | |
| 4853 | 4884 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4854 | - | line="204"/> | |
| 4885 | + | line="201"/> | |
| 4855 | 4886 | <return-value transfer-ownership="none"> | |
| 4856 | 4887 | <doc xml:space="preserve" | |
| 4857 | 4888 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4858 | - | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 4889 | + | line="801">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 4859 | 4890 | <type name="gboolean" c:type="gboolean"/> | |
| 4860 | 4891 | </return-value> | |
| 4861 | 4892 | <parameters> | |
| 4862 | 4893 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4863 | 4894 | <doc xml:space="preserve" | |
| 4864 | 4895 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4865 | - | line="793">a #GdkPixbufAnimationIter</doc> | |
| 4896 | + | line="792">a #GdkPixbufAnimationIter</doc> | |
| 4866 | 4897 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4867 | 4898 | </instance-parameter> | |
| 4868 | 4899 | </parameters> | |
| @@ -4870,7 +4901,7 @@ you will need to redraw the screen for the updated area.</doc> | |||
| 4870 | 4901 | <method name="advance" c:identifier="gdk_pixbuf_animation_iter_advance"> | |
| 4871 | 4902 | <doc xml:space="preserve" | |
| 4872 | 4903 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4873 | - | line="813">Possibly advances an animation to a new frame. | |
| 4904 | + | line="812">Possibly advances an animation to a new frame. | |
| 4874 | 4905 | ||
| 4875 | 4906 | Chooses the frame based on the start time passed to | |
| 4876 | 4907 | gdk_pixbuf_animation_get_iter(). | |
| @@ -4892,18 +4923,18 @@ display, assuming the display had been rendered prior to advancing; | |||
| 4892 | 4923 | if `TRUE`, you need to call gdk_pixbuf_animation_iter_get_pixbuf() | |
| 4893 | 4924 | and update the display with the new pixbuf.</doc> | |
| 4894 | 4925 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4895 | - | line="114"/> | |
| 4926 | + | line="111"/> | |
| 4896 | 4927 | <return-value transfer-ownership="none"> | |
| 4897 | 4928 | <doc xml:space="preserve" | |
| 4898 | 4929 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4899 | - | line="840">`TRUE` if the image may need updating</doc> | |
| 4930 | + | line="839">`TRUE` if the image may need updating</doc> | |
| 4900 | 4931 | <type name="gboolean" c:type="gboolean"/> | |
| 4901 | 4932 | </return-value> | |
| 4902 | 4933 | <parameters> | |
| 4903 | 4934 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4904 | 4935 | <doc xml:space="preserve" | |
| 4905 | 4936 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4906 | - | line="815">a #GdkPixbufAnimationIter</doc> | |
| 4937 | + | line="814">a #GdkPixbufAnimationIter</doc> | |
| 4907 | 4938 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4908 | 4939 | </instance-parameter> | |
| 4909 | 4940 | <parameter name="current_time" | |
| @@ -4912,7 +4943,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4912 | 4943 | allow-none="1"> | |
| 4913 | 4944 | <doc xml:space="preserve" | |
| 4914 | 4945 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4915 | - | line="816">current time</doc> | |
| 4946 | + | line="815">current time</doc> | |
| 4916 | 4947 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4917 | 4948 | </parameter> | |
| 4918 | 4949 | </parameters> | |
| @@ -4921,7 +4952,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4921 | 4952 | c:identifier="gdk_pixbuf_animation_iter_get_delay_time"> | |
| 4922 | 4953 | <doc xml:space="preserve" | |
| 4923 | 4954 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4924 | - | line="735">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4955 | + | line="734">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4925 | 4956 | or -1 if the current pixbuf should be displayed forever. | |
| 4926 | 4957 | ||
| 4927 | 4958 | The `g_timeout_add()` function conveniently takes a timeout in milliseconds, | |
| @@ -4931,18 +4962,18 @@ Note that some formats, like GIF, might clamp the timeout values in the | |||
| 4931 | 4962 | image file to avoid updates that are just too quick. The minimum timeout | |
| 4932 | 4963 | for GIF images is currently 20 milliseconds.</doc> | |
| 4933 | 4964 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4934 | - | line="107"/> | |
| 4965 | + | line="104"/> | |
| 4935 | 4966 | <return-value transfer-ownership="none"> | |
| 4936 | 4967 | <doc xml:space="preserve" | |
| 4937 | 4968 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4938 | - | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 4969 | + | line="748">delay time in milliseconds (thousandths of a second)</doc> | |
| 4939 | 4970 | <type name="gint" c:type="int"/> | |
| 4940 | 4971 | </return-value> | |
| 4941 | 4972 | <parameters> | |
| 4942 | 4973 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4943 | 4974 | <doc xml:space="preserve" | |
| 4944 | 4975 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4945 | - | line="737">an animation iterator</doc> | |
| 4976 | + | line="736">an animation iterator</doc> | |
| 4946 | 4977 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4947 | 4978 | </instance-parameter> | |
| 4948 | 4979 | </parameters> | |
| @@ -4951,7 +4982,7 @@ for GIF images is currently 20 milliseconds.</doc> | |||
| 4951 | 4982 | c:identifier="gdk_pixbuf_animation_iter_get_pixbuf"> | |
| 4952 | 4983 | <doc xml:space="preserve" | |
| 4953 | 4984 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4954 | - | line="760">Gets the current pixbuf which should be displayed. | |
| 4985 | + | line="759">Gets the current pixbuf which should be displayed. | |
| 4955 | 4986 | ||
| 4956 | 4987 | The pixbuf might not be the same size as the animation itself | |
| 4957 | 4988 | (gdk_pixbuf_animation_get_width(), gdk_pixbuf_animation_get_height()). | |
| @@ -4967,18 +4998,18 @@ gdk_pixbuf_animation_iter_advance(). | |||
| 4967 | 4998 | Copy the pixbuf to keep it (don't just add a reference), as it may get | |
| 4968 | 4999 | recycled as you advance the iterator.</doc> | |
| 4969 | 5000 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4970 | - | line="109"/> | |
| 5001 | + | line="106"/> | |
| 4971 | 5002 | <return-value transfer-ownership="none"> | |
| 4972 | 5003 | <doc xml:space="preserve" | |
| 4973 | 5004 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4974 | - | line="780">the pixbuf to be displayed</doc> | |
| 5005 | + | line="779">the pixbuf to be displayed</doc> | |
| 4975 | 5006 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4976 | 5007 | </return-value> | |
| 4977 | 5008 | <parameters> | |
| 4978 | 5009 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4979 | 5010 | <doc xml:space="preserve" | |
| 4980 | 5011 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4981 | - | line="762">an animation iterator</doc> | |
| 5012 | + | line="761">an animation iterator</doc> | |
| 4982 | 5013 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4983 | 5014 | </instance-parameter> | |
| 4984 | 5015 | </parameters> | |
| @@ -4987,25 +5018,25 @@ recycled as you advance the iterator.</doc> | |||
| 4987 | 5018 | c:identifier="gdk_pixbuf_animation_iter_on_currently_loading_frame"> | |
| 4988 | 5019 | <doc xml:space="preserve" | |
| 4989 | 5020 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4990 | - | line="791">Used to determine how to respond to the area_updated signal on | |
| 5021 | + | line="790">Used to determine how to respond to the area_updated signal on | |
| 4991 | 5022 | #GdkPixbufLoader when loading an animation. | |
| 4992 | 5023 | ||
| 4993 | 5024 | The `::area_updated` signal is emitted for an area of the frame currently | |
| 4994 | 5025 | streaming in to the loader. So if you're on the currently loading frame, | |
| 4995 | 5026 | you will need to redraw the screen for the updated area.</doc> | |
| 4996 | 5027 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4997 | - | line="111"/> | |
| 5028 | + | line="108"/> | |
| 4998 | 5029 | <return-value transfer-ownership="none"> | |
| 4999 | 5030 | <doc xml:space="preserve" | |
| 5000 | 5031 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5001 | - | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5032 | + | line="801">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5002 | 5033 | <type name="gboolean" c:type="gboolean"/> | |
| 5003 | 5034 | </return-value> | |
| 5004 | 5035 | <parameters> | |
| 5005 | 5036 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 5006 | 5037 | <doc xml:space="preserve" | |
| 5007 | 5038 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5008 | - | line="793">a #GdkPixbufAnimationIter</doc> | |
| 5039 | + | line="792">a #GdkPixbufAnimationIter</doc> | |
| 5009 | 5040 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5010 | 5041 | </instance-parameter> | |
| 5011 | 5042 | </parameters> | |
| @@ -5019,36 +5050,36 @@ you will need to redraw the screen for the updated area.</doc> | |||
| 5019 | 5050 | glib:is-gtype-struct-for="PixbufAnimationIter"> | |
| 5020 | 5051 | <doc xml:space="preserve" | |
| 5021 | 5052 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5022 | - | line="168">Modules supporting animations must derive a type from | |
| 5053 | + | line="165">Modules supporting animations must derive a type from | |
| 5023 | 5054 | #GdkPixbufAnimationIter, providing suitable implementations of the | |
| 5024 | 5055 | virtual functions.</doc> | |
| 5025 | 5056 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5026 | - | line="208"/> | |
| 5057 | + | line="205"/> | |
| 5027 | 5058 | <field name="parent_class"> | |
| 5028 | 5059 | <doc xml:space="preserve" | |
| 5029 | 5060 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5030 | - | line="170">the parent class</doc> | |
| 5061 | + | line="167">the parent class</doc> | |
| 5031 | 5062 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 5032 | 5063 | </field> | |
| 5033 | 5064 | <field name="get_delay_time"> | |
| 5034 | 5065 | <doc xml:space="preserve" | |
| 5035 | 5066 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5036 | - | line="171">returns the time in milliseconds that the current frame | |
| 5067 | + | line="168">returns the time in milliseconds that the current frame | |
| 5037 | 5068 | should be shown.</doc> | |
| 5038 | 5069 | <callback name="get_delay_time"> | |
| 5039 | 5070 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5040 | - | line="200"/> | |
| 5071 | + | line="197"/> | |
| 5041 | 5072 | <return-value transfer-ownership="none"> | |
| 5042 | 5073 | <doc xml:space="preserve" | |
| 5043 | 5074 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5044 | - | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 5075 | + | line="748">delay time in milliseconds (thousandths of a second)</doc> | |
| 5045 | 5076 | <type name="gint" c:type="int"/> | |
| 5046 | 5077 | </return-value> | |
| 5047 | 5078 | <parameters> | |
| 5048 | 5079 | <parameter name="iter" transfer-ownership="none"> | |
| 5049 | 5080 | <doc xml:space="preserve" | |
| 5050 | 5081 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5051 | - | line="737">an animation iterator</doc> | |
| 5082 | + | line="736">an animation iterator</doc> | |
| 5052 | 5083 | <type name="PixbufAnimationIter" | |
| 5053 | 5084 | c:type="GdkPixbufAnimationIter*"/> | |
| 5054 | 5085 | </parameter> | |
| @@ -5058,21 +5089,21 @@ virtual functions.</doc> | |||
| 5058 | 5089 | <field name="get_pixbuf"> | |
| 5059 | 5090 | <doc xml:space="preserve" | |
| 5060 | 5091 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5061 | - | line="173">returns the current frame.</doc> | |
| 5092 | + | line="170">returns the current frame.</doc> | |
| 5062 | 5093 | <callback name="get_pixbuf"> | |
| 5063 | 5094 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5064 | - | line="202"/> | |
| 5095 | + | line="199"/> | |
| 5065 | 5096 | <return-value transfer-ownership="none"> | |
| 5066 | 5097 | <doc xml:space="preserve" | |
| 5067 | 5098 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5068 | - | line="780">the pixbuf to be displayed</doc> | |
| 5099 | + | line="779">the pixbuf to be displayed</doc> | |
| 5069 | 5100 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 5070 | 5101 | </return-value> | |
| 5071 | 5102 | <parameters> | |
| 5072 | 5103 | <parameter name="iter" transfer-ownership="none"> | |
| 5073 | 5104 | <doc xml:space="preserve" | |
| 5074 | 5105 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5075 | - | line="762">an animation iterator</doc> | |
| 5106 | + | line="761">an animation iterator</doc> | |
| 5076 | 5107 | <type name="PixbufAnimationIter" | |
| 5077 | 5108 | c:type="GdkPixbufAnimationIter*"/> | |
| 5078 | 5109 | </parameter> | |
| @@ -5082,22 +5113,22 @@ virtual functions.</doc> | |||
| 5082 | 5113 | <field name="on_currently_loading_frame"> | |
| 5083 | 5114 | <doc xml:space="preserve" | |
| 5084 | 5115 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5085 | - | line="174">returns whether the current frame of @iter is | |
| 5116 | + | line="171">returns whether the current frame of @iter is | |
| 5086 | 5117 | being loaded.</doc> | |
| 5087 | 5118 | <callback name="on_currently_loading_frame"> | |
| 5088 | 5119 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5089 | - | line="204"/> | |
| 5120 | + | line="201"/> | |
| 5090 | 5121 | <return-value transfer-ownership="none"> | |
| 5091 | 5122 | <doc xml:space="preserve" | |
| 5092 | 5123 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5093 | - | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5124 | + | line="801">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5094 | 5125 | <type name="gboolean" c:type="gboolean"/> | |
| 5095 | 5126 | </return-value> | |
| 5096 | 5127 | <parameters> | |
| 5097 | 5128 | <parameter name="iter" transfer-ownership="none"> | |
| 5098 | 5129 | <doc xml:space="preserve" | |
| 5099 | 5130 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5100 | - | line="793">a #GdkPixbufAnimationIter</doc> | |
| 5131 | + | line="792">a #GdkPixbufAnimationIter</doc> | |
| 5101 | 5132 | <type name="PixbufAnimationIter" | |
| 5102 | 5133 | c:type="GdkPixbufAnimationIter*"/> | |
| 5103 | 5134 | </parameter> | |
| @@ -5107,22 +5138,22 @@ virtual functions.</doc> | |||
| 5107 | 5138 | <field name="advance"> | |
| 5108 | 5139 | <doc xml:space="preserve" | |
| 5109 | 5140 | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5110 | - | line="176">advances the iterator to @current_time, possibly changing the | |
| 5141 | + | line="173">advances the iterator to @current_time, possibly changing the | |
| 5111 | 5142 | current frame.</doc> | |
| 5112 | 5143 | <callback name="advance"> | |
| 5113 | 5144 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5114 | - | line="206"/> | |
| 5145 | + | line="203"/> | |
| 5115 | 5146 | <return-value transfer-ownership="none"> | |
| 5116 | 5147 | <doc xml:space="preserve" | |
| 5117 | 5148 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5118 | - | line="840">`TRUE` if the image may need updating</doc> | |
| 5149 | + | line="839">`TRUE` if the image may need updating</doc> | |
| 5119 | 5150 | <type name="gboolean" c:type="gboolean"/> | |
| 5120 | 5151 | </return-value> | |
| 5121 | 5152 | <parameters> | |
| 5122 | 5153 | <parameter name="iter" transfer-ownership="none"> | |
| 5123 | 5154 | <doc xml:space="preserve" | |
| 5124 | 5155 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5125 | - | line="815">a #GdkPixbufAnimationIter</doc> | |
| 5156 | + | line="814">a #GdkPixbufAnimationIter</doc> | |
| 5126 | 5157 | <type name="PixbufAnimationIter" | |
| 5127 | 5158 | c:type="GdkPixbufAnimationIter*"/> | |
| 5128 | 5159 | </parameter> | |
| @@ -5132,7 +5163,7 @@ virtual functions.</doc> | |||
| 5132 | 5163 | allow-none="1"> | |
| 5133 | 5164 | <doc xml:space="preserve" | |
| 5134 | 5165 | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5135 | - | line="816">current time</doc> | |
| 5166 | + | line="815">current time</doc> | |
| 5136 | 5167 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 5137 | 5168 | </parameter> | |
| 5138 | 5169 | </parameters> | |
| @@ -5333,12 +5364,12 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5333 | 5364 | <method name="copy" c:identifier="gdk_pixbuf_format_copy" version="2.22"> | |
| 5334 | 5365 | <doc xml:space="preserve" | |
| 5335 | 5366 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5336 | - | line="3452">Creates a copy of `format`.</doc> | |
| 5367 | + | line="3546">Creates a copy of `format`.</doc> | |
| 5337 | 5368 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="92"/> | |
| 5338 | 5369 | <return-value transfer-ownership="full" nullable="1"> | |
| 5339 | 5370 | <doc xml:space="preserve" | |
| 5340 | 5371 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5341 | - | line="3458">the newly allocated copy of a `GdkPixbufFormat`. Use | |
| 5372 | + | line="3552">the newly allocated copy of a `GdkPixbufFormat`. Use | |
| 5342 | 5373 | gdk_pixbuf_format_free() to free the resources when done</doc> | |
| 5343 | 5374 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5344 | 5375 | </return-value> | |
| @@ -5346,7 +5377,7 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5346 | 5377 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5347 | 5378 | <doc xml:space="preserve" | |
| 5348 | 5379 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5349 | - | line="3454">a pixbuf format</doc> | |
| 5380 | + | line="3548">a pixbuf format</doc> | |
| 5350 | 5381 | <type name="PixbufFormat" c:type="const GdkPixbufFormat*"/> | |
| 5351 | 5382 | </instance-parameter> | |
| 5352 | 5383 | </parameters> | |
| @@ -5354,7 +5385,7 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5354 | 5385 | <method name="free" c:identifier="gdk_pixbuf_format_free" version="2.22"> | |
| 5355 | 5386 | <doc xml:space="preserve" | |
| 5356 | 5387 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5357 | - | line="3472">Frees the resources allocated when copying a `GdkPixbufFormat` | |
| 5388 | + | line="3566">Frees the resources allocated when copying a `GdkPixbufFormat` | |
| 5358 | 5389 | using gdk_pixbuf_format_copy()</doc> | |
| 5359 | 5390 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="94"/> | |
| 5360 | 5391 | <return-value transfer-ownership="none"> | |
| @@ -5364,7 +5395,7 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5364 | 5395 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5365 | 5396 | <doc xml:space="preserve" | |
| 5366 | 5397 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5367 | - | line="3474">a pixbuf format</doc> | |
| 5398 | + | line="3568">a pixbuf format</doc> | |
| 5368 | 5399 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5369 | 5400 | </instance-parameter> | |
| 5370 | 5401 | </parameters> | |
| @@ -5374,19 +5405,19 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5374 | 5405 | version="2.2"> | |
| 5375 | 5406 | <doc xml:space="preserve" | |
| 5376 | 5407 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5377 | - | line="3249">Returns a description of the format.</doc> | |
| 5408 | + | line="3343">Returns a description of the format.</doc> | |
| 5378 | 5409 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="56"/> | |
| 5379 | 5410 | <return-value transfer-ownership="full" nullable="1"> | |
| 5380 | 5411 | <doc xml:space="preserve" | |
| 5381 | 5412 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5382 | - | line="3255">a description of the format.</doc> | |
| 5413 | + | line="3349">a description of the format.</doc> | |
| 5383 | 5414 | <type name="utf8" c:type="gchar*"/> | |
| 5384 | 5415 | </return-value> | |
| 5385 | 5416 | <parameters> | |
| 5386 | 5417 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5387 | 5418 | <doc xml:space="preserve" | |
| 5388 | 5419 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5389 | - | line="3251">a `GdkPixbufFormat`</doc> | |
| 5420 | + | line="3345">a `GdkPixbufFormat`</doc> | |
| 5390 | 5421 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5391 | 5422 | </instance-parameter> | |
| 5392 | 5423 | </parameters> | |
| @@ -5396,13 +5427,13 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5396 | 5427 | version="2.2"> | |
| 5397 | 5428 | <doc xml:space="preserve" | |
| 5398 | 5429 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5399 | - | line="3293">Returns the filename extensions typically used for files in the | |
| 5430 | + | line="3387">Returns the filename extensions typically used for files in the | |
| 5400 | 5431 | given format.</doc> | |
| 5401 | 5432 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="60"/> | |
| 5402 | 5433 | <return-value transfer-ownership="full" nullable="1"> | |
| 5403 | 5434 | <doc xml:space="preserve" | |
| 5404 | 5435 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5405 | - | line="3300">an array of | |
| 5436 | + | line="3394">an array of | |
| 5406 | 5437 | filename extensions</doc> | |
| 5407 | 5438 | <array c:type="gchar**"> | |
| 5408 | 5439 | <type name="utf8"/> | |
| @@ -5412,7 +5443,7 @@ given format.</doc> | |||
| 5412 | 5443 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5413 | 5444 | <doc xml:space="preserve" | |
| 5414 | 5445 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5415 | - | line="3295">a `GdkPixbufFormat`</doc> | |
| 5446 | + | line="3389">a `GdkPixbufFormat`</doc> | |
| 5416 | 5447 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5417 | 5448 | </instance-parameter> | |
| 5418 | 5449 | </parameters> | |
| @@ -5422,7 +5453,7 @@ given format.</doc> | |||
| 5422 | 5453 | version="2.6"> | |
| 5423 | 5454 | <doc xml:space="preserve" | |
| 5424 | 5455 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5425 | - | line="3397">Returns information about the license of the image loader for the format. | |
| 5456 | + | line="3491">Returns information about the license of the image loader for the format. | |
| 5426 | 5457 | ||
| 5427 | 5458 | The returned string should be a shorthand for a well known license, e.g. | |
| 5428 | 5459 | "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license.</doc> | |
| @@ -5430,14 +5461,14 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5430 | 5461 | <return-value transfer-ownership="full" nullable="1"> | |
| 5431 | 5462 | <doc xml:space="preserve" | |
| 5432 | 5463 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5433 | - | line="3406">a string describing the license of the pixbuf format</doc> | |
| 5464 | + | line="3500">a string describing the license of the pixbuf format</doc> | |
| 5434 | 5465 | <type name="utf8" c:type="gchar*"/> | |
| 5435 | 5466 | </return-value> | |
| 5436 | 5467 | <parameters> | |
| 5437 | 5468 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5438 | 5469 | <doc xml:space="preserve" | |
| 5439 | 5470 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5440 | - | line="3399">a pixbuf format</doc> | |
| 5471 | + | line="3493">a pixbuf format</doc> | |
| 5441 | 5472 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5442 | 5473 | </instance-parameter> | |
| 5443 | 5474 | </parameters> | |
| @@ -5447,12 +5478,12 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5447 | 5478 | version="2.2"> | |
| 5448 | 5479 | <doc xml:space="preserve" | |
| 5449 | 5480 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5450 | - | line="3275">Returns the mime types supported by the format.</doc> | |
| 5481 | + | line="3369">Returns the mime types supported by the format.</doc> | |
| 5451 | 5482 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="58"/> | |
| 5452 | 5483 | <return-value transfer-ownership="full" nullable="1"> | |
| 5453 | 5484 | <doc xml:space="preserve" | |
| 5454 | 5485 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5455 | - | line="3281">an array of mime types</doc> | |
| 5486 | + | line="3375">an array of mime types</doc> | |
| 5456 | 5487 | <array c:type="gchar**"> | |
| 5457 | 5488 | <type name="utf8"/> | |
| 5458 | 5489 | </array> | |
| @@ -5461,7 +5492,7 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5461 | 5492 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5462 | 5493 | <doc xml:space="preserve" | |
| 5463 | 5494 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5464 | - | line="3277">a `GdkPixbufFormat`</doc> | |
| 5495 | + | line="3371">a `GdkPixbufFormat`</doc> | |
| 5465 | 5496 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5466 | 5497 | </instance-parameter> | |
| 5467 | 5498 | </parameters> | |
| @@ -5471,19 +5502,19 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5471 | 5502 | version="2.2"> | |
| 5472 | 5503 | <doc xml:space="preserve" | |
| 5473 | 5504 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5474 | - | line="3231">Returns the name of the format.</doc> | |
| 5505 | + | line="3325">Returns the name of the format.</doc> | |
| 5475 | 5506 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="54"/> | |
| 5476 | 5507 | <return-value transfer-ownership="full" nullable="1"> | |
| 5477 | 5508 | <doc xml:space="preserve" | |
| 5478 | 5509 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5479 | - | line="3237">the name of the format.</doc> | |
| 5510 | + | line="3331">the name of the format.</doc> | |
| 5480 | 5511 | <type name="utf8" c:type="gchar*"/> | |
| 5481 | 5512 | </return-value> | |
| 5482 | 5513 | <parameters> | |
| 5483 | 5514 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5484 | 5515 | <doc xml:space="preserve" | |
| 5485 | 5516 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5486 | - | line="3233">a `GdkPixbufFormat`</doc> | |
| 5517 | + | line="3327">a `GdkPixbufFormat`</doc> | |
| 5487 | 5518 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5488 | 5519 | </instance-parameter> | |
| 5489 | 5520 | </parameters> | |
| @@ -5493,21 +5524,21 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5493 | 5524 | version="2.6"> | |
| 5494 | 5525 | <doc xml:space="preserve" | |
| 5495 | 5526 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5496 | - | line="3353">Returns whether this image format is disabled. | |
| 5527 | + | line="3447">Returns whether this image format is disabled. | |
| 5497 | 5528 | ||
| 5498 | 5529 | See gdk_pixbuf_format_set_disabled().</doc> | |
| 5499 | 5530 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="69"/> | |
| 5500 | 5531 | <return-value transfer-ownership="none"> | |
| 5501 | 5532 | <doc xml:space="preserve" | |
| 5502 | 5533 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5503 | - | line="3361">whether this image format is disabled.</doc> | |
| 5534 | + | line="3455">whether this image format is disabled.</doc> | |
| 5504 | 5535 | <type name="gboolean" c:type="gboolean"/> | |
| 5505 | 5536 | </return-value> | |
| 5506 | 5537 | <parameters> | |
| 5507 | 5538 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5508 | 5539 | <doc xml:space="preserve" | |
| 5509 | 5540 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5510 | - | line="3355">a `GdkPixbufFormat`</doc> | |
| 5541 | + | line="3449">a `GdkPixbufFormat`</doc> | |
| 5511 | 5542 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5512 | 5543 | </instance-parameter> | |
| 5513 | 5544 | </parameters> | |
| @@ -5517,7 +5548,7 @@ See gdk_pixbuf_format_set_disabled().</doc> | |||
| 5517 | 5548 | version="2.36"> | |
| 5518 | 5549 | <doc xml:space="preserve" | |
| 5519 | 5550 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5520 | - | line="3488">Returns `TRUE` if the save option specified by @option_key is supported when | |
| 5551 | + | line="3582">Returns `TRUE` if the save option specified by @option_key is supported when | |
| 5521 | 5552 | saving a pixbuf using the module implementing @format. | |
| 5522 | 5553 | ||
| 5523 | 5554 | See gdk_pixbuf_save() for more information about option keys.</doc> | |
| @@ -5525,20 +5556,20 @@ See gdk_pixbuf_save() for more information about option keys.</doc> | |||
| 5525 | 5556 | <return-value transfer-ownership="none"> | |
| 5526 | 5557 | <doc xml:space="preserve" | |
| 5527 | 5558 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5528 | - | line="3498">`TRUE` if the specified option is supported</doc> | |
| 5559 | + | line="3592">`TRUE` if the specified option is supported</doc> | |
| 5529 | 5560 | <type name="gboolean" c:type="gboolean"/> | |
| 5530 | 5561 | </return-value> | |
| 5531 | 5562 | <parameters> | |
| 5532 | 5563 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5533 | 5564 | <doc xml:space="preserve" | |
| 5534 | 5565 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5535 | - | line="3490">a pixbuf format</doc> | |
| 5566 | + | line="3584">a pixbuf format</doc> | |
| 5536 | 5567 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5537 | 5568 | </instance-parameter> | |
| 5538 | 5569 | <parameter name="option_key" transfer-ownership="none"> | |
| 5539 | 5570 | <doc xml:space="preserve" | |
| 5540 | 5571 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5541 | - | line="3491">the name of an option</doc> | |
| 5572 | + | line="3585">the name of an option</doc> | |
| 5542 | 5573 | <type name="utf8" c:type="const gchar*"/> | |
| 5543 | 5574 | </parameter> | |
| 5544 | 5575 | </parameters> | |
| @@ -5548,7 +5579,7 @@ See gdk_pixbuf_save() for more information about option keys.</doc> | |||
| 5548 | 5579 | version="2.6"> | |
| 5549 | 5580 | <doc xml:space="preserve" | |
| 5550 | 5581 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5551 | - | line="3331">Returns whether this image format is scalable. | |
| 5582 | + | line="3425">Returns whether this image format is scalable. | |
| 5552 | 5583 | ||
| 5553 | 5584 | If a file is in a scalable format, it is preferable to load it at | |
| 5554 | 5585 | the desired size, rather than loading it at the default size and | |
| @@ -5557,14 +5588,14 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5557 | 5588 | <return-value transfer-ownership="none"> | |
| 5558 | 5589 | <doc xml:space="preserve" | |
| 5559 | 5590 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5560 | - | line="3341">whether this image format is scalable.</doc> | |
| 5591 | + | line="3435">whether this image format is scalable.</doc> | |
| 5561 | 5592 | <type name="gboolean" c:type="gboolean"/> | |
| 5562 | 5593 | </return-value> | |
| 5563 | 5594 | <parameters> | |
| 5564 | 5595 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5565 | 5596 | <doc xml:space="preserve" | |
| 5566 | 5597 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5567 | - | line="3333">a `GdkPixbufFormat`</doc> | |
| 5598 | + | line="3427">a `GdkPixbufFormat`</doc> | |
| 5568 | 5599 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5569 | 5600 | </instance-parameter> | |
| 5570 | 5601 | </parameters> | |
| @@ -5574,19 +5605,19 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5574 | 5605 | version="2.2"> | |
| 5575 | 5606 | <doc xml:space="preserve" | |
| 5576 | 5607 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5577 | - | line="3313">Returns whether pixbufs can be saved in the given format.</doc> | |
| 5608 | + | line="3407">Returns whether pixbufs can be saved in the given format.</doc> | |
| 5578 | 5609 | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="65"/> | |
| 5579 | 5610 | <return-value transfer-ownership="none"> | |
| 5580 | 5611 | <doc xml:space="preserve" | |
| 5581 | 5612 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5582 | - | line="3319">whether pixbufs can be saved in the given format.</doc> | |
| 5613 | + | line="3413">whether pixbufs can be saved in the given format.</doc> | |
| 5583 | 5614 | <type name="gboolean" c:type="gboolean"/> | |
| 5584 | 5615 | </return-value> | |
| 5585 | 5616 | <parameters> | |
| 5586 | 5617 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5587 | 5618 | <doc xml:space="preserve" | |
| 5588 | 5619 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5589 | - | line="3315">a `GdkPixbufFormat`</doc> | |
| 5620 | + | line="3409">a `GdkPixbufFormat`</doc> | |
| 5590 | 5621 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5591 | 5622 | </instance-parameter> | |
| 5592 | 5623 | </parameters> | |
| @@ -5596,7 +5627,7 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5596 | 5627 | version="2.6"> | |
| 5597 | 5628 | <doc xml:space="preserve" | |
| 5598 | 5629 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5599 | - | line="3373">Disables or enables an image format. | |
| 5630 | + | line="3467">Disables or enables an image format. | |
| 5600 | 5631 | ||
| 5601 | 5632 | If a format is disabled, GdkPixbuf won't use the image loader for | |
| 5602 | 5633 | this format to load images. | |
| @@ -5611,13 +5642,13 @@ inappropriate license, see gdk_pixbuf_format_get_license().</doc> | |||
| 5611 | 5642 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5612 | 5643 | <doc xml:space="preserve" | |
| 5613 | 5644 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5614 | - | line="3375">a `GdkPixbufFormat`</doc> | |
| 5645 | + | line="3469">a `GdkPixbufFormat`</doc> | |
| 5615 | 5646 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5616 | 5647 | </instance-parameter> | |
| 5617 | 5648 | <parameter name="disabled" transfer-ownership="none"> | |
| 5618 | 5649 | <doc xml:space="preserve" | |
| 5619 | 5650 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5620 | - | line="3376">`TRUE` to disable the format @format</doc> | |
| 5651 | + | line="3470">`TRUE` to disable the format @format</doc> | |
| 5621 | 5652 | <type name="gboolean" c:type="gboolean"/> | |
| 5622 | 5653 | </parameter> | |
| 5623 | 5654 | </parameters> | |
| @@ -5712,12 +5743,12 @@ desired time stamp.</doc> | |||
| 5712 | 5743 | <constructor name="new" c:identifier="gdk_pixbuf_loader_new"> | |
| 5713 | 5744 | <doc xml:space="preserve" | |
| 5714 | 5745 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5715 | - | line="596">Creates a new pixbuf loader object.</doc> | |
| 5746 | + | line="606">Creates a new pixbuf loader object.</doc> | |
| 5716 | 5747 | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="79"/> | |
| 5717 | 5748 | <return-value transfer-ownership="full"> | |
| 5718 | 5749 | <doc xml:space="preserve" | |
| 5719 | 5750 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5720 | - | line="601">A newly-created pixbuf loader.</doc> | |
| 5751 | + | line="611">A newly-created pixbuf loader.</doc> | |
| 5721 | 5752 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5722 | 5753 | </return-value> | |
| 5723 | 5754 | </constructor> | |
| @@ -5727,7 +5758,7 @@ desired time stamp.</doc> | |||
| 5727 | 5758 | throws="1"> | |
| 5728 | 5759 | <doc xml:space="preserve" | |
| 5729 | 5760 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5730 | - | line="654">Creates a new pixbuf loader object that always attempts to parse | |
| 5761 | + | line="664">Creates a new pixbuf loader object that always attempts to parse | |
| 5731 | 5762 | image data as if it were an image of MIME type @mime_type, instead of | |
| 5732 | 5763 | identifying the type automatically. | |
| 5733 | 5764 | ||
| @@ -5746,14 +5777,14 @@ structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5746 | 5777 | <return-value transfer-ownership="full"> | |
| 5747 | 5778 | <doc xml:space="preserve" | |
| 5748 | 5779 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5749 | - | line="675">A newly-created pixbuf loader.</doc> | |
| 5780 | + | line="685">A newly-created pixbuf loader.</doc> | |
| 5750 | 5781 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5751 | 5782 | </return-value> | |
| 5752 | 5783 | <parameters> | |
| 5753 | 5784 | <parameter name="mime_type" transfer-ownership="none"> | |
| 5754 | 5785 | <doc xml:space="preserve" | |
| 5755 | 5786 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5756 | - | line="656">the mime type to be loaded</doc> | |
| 5787 | + | line="666">the mime type to be loaded</doc> | |
| 5757 | 5788 | <type name="utf8" c:type="const char*"/> | |
| 5758 | 5789 | </parameter> | |
| 5759 | 5790 | </parameters> | |
| @@ -5763,7 +5794,7 @@ structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5763 | 5794 | throws="1"> | |
| 5764 | 5795 | <doc xml:space="preserve" | |
| 5765 | 5796 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5766 | - | line="609">Creates a new pixbuf loader object that always attempts to parse | |
| 5797 | + | line="619">Creates a new pixbuf loader object that always attempts to parse | |
| 5767 | 5798 | image data as if it were an image of type @image_type, instead of | |
| 5768 | 5799 | identifying the type automatically. | |
| 5769 | 5800 | ||
| @@ -5781,14 +5812,14 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5781 | 5812 | <return-value transfer-ownership="full"> | |
| 5782 | 5813 | <doc xml:space="preserve" | |
| 5783 | 5814 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5784 | - | line="629">A newly-created pixbuf loader.</doc> | |
| 5815 | + | line="639">A newly-created pixbuf loader.</doc> | |
| 5785 | 5816 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5786 | 5817 | </return-value> | |
| 5787 | 5818 | <parameters> | |
| 5788 | 5819 | <parameter name="image_type" transfer-ownership="none"> | |
| 5789 | 5820 | <doc xml:space="preserve" | |
| 5790 | 5821 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5791 | - | line="611">name of the image format to be loaded with the image</doc> | |
| 5822 | + | line="621">name of the image format to be loaded with the image</doc> | |
| 5792 | 5823 | <type name="utf8" c:type="const char*"/> | |
| 5793 | 5824 | </parameter> | |
| 5794 | 5825 | </parameters> | |
| @@ -5858,7 +5889,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5858 | 5889 | <method name="close" c:identifier="gdk_pixbuf_loader_close" throws="1"> | |
| 5859 | 5890 | <doc xml:space="preserve" | |
| 5860 | 5891 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5861 | - | line="803">Informs a pixbuf loader that no further writes with | |
| 5892 | + | line="815">Informs a pixbuf loader that no further writes with | |
| 5862 | 5893 | gdk_pixbuf_loader_write() will occur, so that it can free its | |
| 5863 | 5894 | internal loading structures. | |
| 5864 | 5895 | ||
| @@ -5877,7 +5908,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5877 | 5908 | <return-value transfer-ownership="none"> | |
| 5878 | 5909 | <doc xml:space="preserve" | |
| 5879 | 5910 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5880 | - | line="824">`TRUE` if all image data written so far was successfully | |
| 5911 | + | line="836">`TRUE` if all image data written so far was successfully | |
| 5881 | 5912 | passed out via the update_area signal</doc> | |
| 5882 | 5913 | <type name="gboolean" c:type="gboolean"/> | |
| 5883 | 5914 | </return-value> | |
| @@ -5885,7 +5916,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5885 | 5916 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5886 | 5917 | <doc xml:space="preserve" | |
| 5887 | 5918 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5888 | - | line="805">A pixbuf loader.</doc> | |
| 5919 | + | line="817">A pixbuf loader.</doc> | |
| 5889 | 5920 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5890 | 5921 | </instance-parameter> | |
| 5891 | 5922 | </parameters> | |
| @@ -5894,7 +5925,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5894 | 5925 | c:identifier="gdk_pixbuf_loader_get_animation"> | |
| 5895 | 5926 | <doc xml:space="preserve" | |
| 5896 | 5927 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5897 | - | line="775">Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating. | |
| 5928 | + | line="787">Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating. | |
| 5898 | 5929 | ||
| 5899 | 5930 | In general it only makes sense to call this function after the | |
| 5900 | 5931 | [signal@GdkPixbuf.PixbufLoader::area-prepared] signal has been emitted by | |
| @@ -5906,7 +5937,7 @@ signal, this function will return `NULL`.</doc> | |||
| 5906 | 5937 | <return-value transfer-ownership="none" nullable="1"> | |
| 5907 | 5938 | <doc xml:space="preserve" | |
| 5908 | 5939 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5909 | - | line="788">The animation that the loader is | |
| 5940 | + | line="800">The animation that the loader is | |
| 5910 | 5941 | currently loading</doc> | |
| 5911 | 5942 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 5912 | 5943 | </return-value> | |
| @@ -5914,7 +5945,7 @@ signal, this function will return `NULL`.</doc> | |||
| 5914 | 5945 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5915 | 5946 | <doc xml:space="preserve" | |
| 5916 | 5947 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5917 | - | line="777">A pixbuf loader</doc> | |
| 5948 | + | line="789">A pixbuf loader</doc> | |
| 5918 | 5949 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5919 | 5950 | </instance-parameter> | |
| 5920 | 5951 | </parameters> | |
| @@ -5924,20 +5955,20 @@ signal, this function will return `NULL`.</doc> | |||
| 5924 | 5955 | version="2.2"> | |
| 5925 | 5956 | <doc xml:space="preserve" | |
| 5926 | 5957 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5927 | - | line="891">Obtains the available information about the format of the | |
| 5958 | + | line="903">Obtains the available information about the format of the | |
| 5928 | 5959 | currently loading image file.</doc> | |
| 5929 | 5960 | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="107"/> | |
| 5930 | 5961 | <return-value transfer-ownership="none" nullable="1"> | |
| 5931 | 5962 | <doc xml:space="preserve" | |
| 5932 | 5963 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5933 | - | line="898">A #GdkPixbufFormat</doc> | |
| 5964 | + | line="910">A #GdkPixbufFormat</doc> | |
| 5934 | 5965 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5935 | 5966 | </return-value> | |
| 5936 | 5967 | <parameters> | |
| 5937 | 5968 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5938 | 5969 | <doc xml:space="preserve" | |
| 5939 | 5970 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5940 | - | line="893">A pixbuf loader.</doc> | |
| 5971 | + | line="905">A pixbuf loader.</doc> | |
| 5941 | 5972 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5942 | 5973 | </instance-parameter> | |
| 5943 | 5974 | </parameters> | |
| @@ -5945,7 +5976,7 @@ currently loading image file.</doc> | |||
| 5945 | 5976 | <method name="get_pixbuf" c:identifier="gdk_pixbuf_loader_get_pixbuf"> | |
| 5946 | 5977 | <doc xml:space="preserve" | |
| 5947 | 5978 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5948 | - | line="737">Queries the #GdkPixbuf that a pixbuf loader is currently creating. | |
| 5979 | + | line="747">Queries the #GdkPixbuf that a pixbuf loader is currently creating. | |
| 5949 | 5980 | ||
| 5950 | 5981 | In general it only makes sense to call this function after the | |
| 5951 | 5982 | [signal@GdkPixbuf.PixbufLoader::area-prepared] signal has been | |
| @@ -5964,7 +5995,7 @@ image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |||
| 5964 | 5995 | <return-value transfer-ownership="none" nullable="1"> | |
| 5965 | 5996 | <doc xml:space="preserve" | |
| 5966 | 5997 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5967 | - | line="757">The pixbuf that the loader is | |
| 5998 | + | line="767">The pixbuf that the loader is | |
| 5968 | 5999 | creating</doc> | |
| 5969 | 6000 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 5970 | 6001 | </return-value> | |
| @@ -5972,7 +6003,7 @@ image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |||
| 5972 | 6003 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5973 | 6004 | <doc xml:space="preserve" | |
| 5974 | 6005 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5975 | - | line="739">A pixbuf loader.</doc> | |
| 6006 | + | line="749">A pixbuf loader.</doc> | |
| 5976 | 6007 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5977 | 6008 | </instance-parameter> | |
| 5978 | 6009 | </parameters> | |
| @@ -6018,12 +6049,12 @@ emission of the ::size-prepared signal.</doc> | |||
| 6018 | 6049 | <method name="write" c:identifier="gdk_pixbuf_loader_write" throws="1"> | |
| 6019 | 6050 | <doc xml:space="preserve" | |
| 6020 | 6051 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6021 | - | line="506">Parses the next `count` bytes in the given image buffer.</doc> | |
| 6052 | + | line="516">Parses the next `count` bytes in the given image buffer.</doc> | |
| 6022 | 6053 | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="91"/> | |
| 6023 | 6054 | <return-value transfer-ownership="none"> | |
| 6024 | 6055 | <doc xml:space="preserve" | |
| 6025 | 6056 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6026 | - | line="515">`TRUE` if the write was successful, or | |
| 6057 | + | line="525">`TRUE` if the write was successful, or | |
| 6027 | 6058 | `FALSE` if the loader cannot parse the buffer</doc> | |
| 6028 | 6059 | <type name="gboolean" c:type="gboolean"/> | |
| 6029 | 6060 | </return-value> | |
| @@ -6031,13 +6062,13 @@ emission of the ::size-prepared signal.</doc> | |||
| 6031 | 6062 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6032 | 6063 | <doc xml:space="preserve" | |
| 6033 | 6064 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6034 | - | line="508">A pixbuf loader.</doc> | |
| 6065 | + | line="518">A pixbuf loader.</doc> | |
| 6035 | 6066 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6036 | 6067 | </instance-parameter> | |
| 6037 | 6068 | <parameter name="buf" transfer-ownership="none"> | |
| 6038 | 6069 | <doc xml:space="preserve" | |
| 6039 | 6070 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6040 | - | line="509">Pointer to image data.</doc> | |
| 6071 | + | line="519">Pointer to image data.</doc> | |
| 6041 | 6072 | <array length="1" zero-terminated="0" c:type="const guchar*"> | |
| 6042 | 6073 | <type name="guint8" c:type="guchar"/> | |
| 6043 | 6074 | </array> | |
| @@ -6045,7 +6076,7 @@ emission of the ::size-prepared signal.</doc> | |||
| 6045 | 6076 | <parameter name="count" transfer-ownership="none"> | |
| 6046 | 6077 | <doc xml:space="preserve" | |
| 6047 | 6078 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6048 | - | line="510">Length of the @buf buffer in bytes.</doc> | |
| 6079 | + | line="520">Length of the @buf buffer in bytes.</doc> | |
| 6049 | 6080 | <type name="gsize" c:type="gsize"/> | |
| 6050 | 6081 | </parameter> | |
| 6051 | 6082 | </parameters> | |
| @@ -6056,12 +6087,12 @@ emission of the ::size-prepared signal.</doc> | |||
| 6056 | 6087 | throws="1"> | |
| 6057 | 6088 | <doc xml:space="preserve" | |
| 6058 | 6089 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6059 | - | line="567">Parses the next contents of the given image buffer.</doc> | |
| 6090 | + | line="577">Parses the next contents of the given image buffer.</doc> | |
| 6060 | 6091 | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="96"/> | |
| 6061 | 6092 | <return-value transfer-ownership="none"> | |
| 6062 | 6093 | <doc xml:space="preserve" | |
| 6063 | 6094 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6064 | - | line="575">`TRUE` if the write was successful, or `FALSE` if | |
| 6095 | + | line="585">`TRUE` if the write was successful, or `FALSE` if | |
| 6065 | 6096 | the loader cannot parse the buffer</doc> | |
| 6066 | 6097 | <type name="gboolean" c:type="gboolean"/> | |
| 6067 | 6098 | </return-value> | |
| @@ -6069,13 +6100,13 @@ emission of the ::size-prepared signal.</doc> | |||
| 6069 | 6100 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6070 | 6101 | <doc xml:space="preserve" | |
| 6071 | 6102 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6072 | - | line="569">A pixbuf loader.</doc> | |
| 6103 | + | line="579">A pixbuf loader.</doc> | |
| 6073 | 6104 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6074 | 6105 | </instance-parameter> | |
| 6075 | 6106 | <parameter name="buffer" transfer-ownership="none"> | |
| 6076 | 6107 | <doc xml:space="preserve" | |
| 6077 | 6108 | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6078 | - | line="570">The image data as a `GBytes` buffer.</doc> | |
| 6109 | + | line="580">The image data as a `GBytes` buffer.</doc> | |
| 6079 | 6110 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 6080 | 6111 | </parameter> | |
| 6081 | 6112 | </parameters> | |
| @@ -6266,7 +6297,7 @@ should be scaled.</doc> | |||
| 6266 | 6297 | <record name="PixbufModule" c:type="GdkPixbufModule"> | |
| 6267 | 6298 | <doc xml:space="preserve" | |
| 6268 | 6299 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6269 | - | line="50">A `GdkPixbufModule` contains the necessary functions to load and save | |
| 6300 | + | line="52">A `GdkPixbufModule` contains the necessary functions to load and save | |
| 6270 | 6301 | images in a certain file format. | |
| 6271 | 6302 | ||
| 6272 | 6303 | If `GdkPixbuf` has been compiled with `GModule` support, it can be extended | |
| @@ -6315,86 +6346,86 @@ Installing a module is a two-step process: | |||
| 6315 | 6346 | <field name="module_name" writable="1"> | |
| 6316 | 6347 | <doc xml:space="preserve" | |
| 6317 | 6348 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6318 | - | line="52">the name of the module, usually the same as the | |
| 6349 | + | line="54">the name of the module, usually the same as the | |
| 6319 | 6350 | usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</doc> | |
| 6320 | 6351 | <type name="utf8" c:type="char*"/> | |
| 6321 | 6352 | </field> | |
| 6322 | 6353 | <field name="module_path" writable="1"> | |
| 6323 | 6354 | <doc xml:space="preserve" | |
| 6324 | 6355 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6325 | - | line="54">the path from which the module is loaded.</doc> | |
| 6356 | + | line="56">the path from which the module is loaded.</doc> | |
| 6326 | 6357 | <type name="utf8" c:type="char*"/> | |
| 6327 | 6358 | </field> | |
| 6328 | 6359 | <field name="module" writable="1"> | |
| 6329 | 6360 | <doc xml:space="preserve" | |
| 6330 | 6361 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6331 | - | line="55">the loaded `GModule`.</doc> | |
| 6362 | + | line="57">the loaded `GModule`.</doc> | |
| 6332 | 6363 | <type name="GModule.Module" c:type="GModule*"/> | |
| 6333 | 6364 | </field> | |
| 6334 | 6365 | <field name="info" writable="1"> | |
| 6335 | 6366 | <doc xml:space="preserve" | |
| 6336 | 6367 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6337 | - | line="56">a `GdkPixbufFormat` holding information about the module.</doc> | |
| 6368 | + | line="58">a `GdkPixbufFormat` holding information about the module.</doc> | |
| 6338 | 6369 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 6339 | 6370 | </field> | |
| 6340 | 6371 | <field name="load" writable="1"> | |
| 6341 | 6372 | <doc xml:space="preserve" | |
| 6342 | 6373 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6343 | - | line="57">loads an image from a file.</doc> | |
| 6374 | + | line="59">loads an image from a file.</doc> | |
| 6344 | 6375 | <type name="PixbufModuleLoadFunc" c:type="GdkPixbufModuleLoadFunc"/> | |
| 6345 | 6376 | </field> | |
| 6346 | 6377 | <field name="load_xpm_data" writable="1"> | |
| 6347 | 6378 | <doc xml:space="preserve" | |
| 6348 | 6379 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6349 | - | line="58">loads an image from data in memory.</doc> | |
| 6380 | + | line="60">loads an image from data in memory.</doc> | |
| 6350 | 6381 | <type name="PixbufModuleLoadXpmDataFunc" | |
| 6351 | 6382 | c:type="GdkPixbufModuleLoadXpmDataFunc"/> | |
| 6352 | 6383 | </field> | |
| 6353 | 6384 | <field name="begin_load" introspectable="0" writable="1"> | |
| 6354 | 6385 | <doc xml:space="preserve" | |
| 6355 | 6386 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6356 | - | line="59">begins an incremental load.</doc> | |
| 6387 | + | line="61">begins an incremental load.</doc> | |
| 6357 | 6388 | <type name="PixbufModuleBeginLoadFunc" | |
| 6358 | 6389 | c:type="GdkPixbufModuleBeginLoadFunc"/> | |
| 6359 | 6390 | </field> | |
| 6360 | 6391 | <field name="stop_load" writable="1"> | |
| 6361 | 6392 | <doc xml:space="preserve" | |
| 6362 | 6393 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6363 | - | line="60">stops an incremental load.</doc> | |
| 6394 | + | line="62">stops an incremental load.</doc> | |
| 6364 | 6395 | <type name="PixbufModuleStopLoadFunc" | |
| 6365 | 6396 | c:type="GdkPixbufModuleStopLoadFunc"/> | |
| 6366 | 6397 | </field> | |
| 6367 | 6398 | <field name="load_increment" writable="1"> | |
| 6368 | 6399 | <doc xml:space="preserve" | |
| 6369 | 6400 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6370 | - | line="61">continues an incremental load.</doc> | |
| 6401 | + | line="63">continues an incremental load.</doc> | |
| 6371 | 6402 | <type name="PixbufModuleIncrementLoadFunc" | |
| 6372 | 6403 | c:type="GdkPixbufModuleIncrementLoadFunc"/> | |
| 6373 | 6404 | </field> | |
| 6374 | 6405 | <field name="load_animation" writable="1"> | |
| 6375 | 6406 | <doc xml:space="preserve" | |
| 6376 | 6407 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6377 | - | line="62">loads an animation from a file.</doc> | |
| 6408 | + | line="64">loads an animation from a file.</doc> | |
| 6378 | 6409 | <type name="PixbufModuleLoadAnimationFunc" | |
| 6379 | 6410 | c:type="GdkPixbufModuleLoadAnimationFunc"/> | |
| 6380 | 6411 | </field> | |
| 6381 | 6412 | <field name="save" writable="1"> | |
| 6382 | 6413 | <doc xml:space="preserve" | |
| 6383 | 6414 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6384 | - | line="63">saves a `GdkPixbuf` to a file.</doc> | |
| 6415 | + | line="65">saves a `GdkPixbuf` to a file.</doc> | |
| 6385 | 6416 | <type name="PixbufModuleSaveFunc" c:type="GdkPixbufModuleSaveFunc"/> | |
| 6386 | 6417 | </field> | |
| 6387 | 6418 | <field name="save_to_callback" introspectable="0" writable="1"> | |
| 6388 | 6419 | <doc xml:space="preserve" | |
| 6389 | 6420 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6390 | - | line="64">saves a `GdkPixbuf` by calling the given `GdkPixbufSaveFunc`.</doc> | |
| 6421 | + | line="66">saves a `GdkPixbuf` by calling the given `GdkPixbufSaveFunc`.</doc> | |
| 6391 | 6422 | <type name="PixbufModuleSaveCallbackFunc" | |
| 6392 | 6423 | c:type="GdkPixbufModuleSaveCallbackFunc"/> | |
| 6393 | 6424 | </field> | |
| 6394 | 6425 | <field name="is_save_option_supported" writable="1"> | |
| 6395 | 6426 | <doc xml:space="preserve" | |
| 6396 | 6427 | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6397 | - | line="65">returns whether a save option key is supported by the module</doc> | |
| 6428 | + | line="67">returns whether a save option key is supported by the module</doc> | |
| 6398 | 6429 | <type name="PixbufModuleSaveOptionSupportedFunc" | |
| 6399 | 6430 | c:type="GdkPixbufModuleSaveOptionSupportedFunc"/> | |
| 6400 | 6431 | </field> | |
| @@ -7024,7 +7055,7 @@ signal.</doc> | |||
| 7024 | 7055 | glib:get-type="gdk_pixbuf_non_anim_get_type"> | |
| 7025 | 7056 | <constructor name="new" c:identifier="gdk_pixbuf_non_anim_new"> | |
| 7026 | 7057 | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 7027 | - | line="215"/> | |
| 7058 | + | line="216"/> | |
| 7028 | 7059 | <return-value transfer-ownership="full"> | |
| 7029 | 7060 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 7030 | 7061 | </return-value> | |
| @@ -7084,7 +7115,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7084 | 7115 | <callback name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc" version="2.4"> | |
| 7085 | 7116 | <doc xml:space="preserve" | |
| 7086 | 7117 | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7087 | - | line="346">Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback]. | |
| 7118 | + | line="341">Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback]. | |
| 7088 | 7119 | ||
| 7089 | 7120 | This function is called once for each block of bytes that is "written" | |
| 7090 | 7121 | by `gdk_pixbuf_save_to_callback()`. | |
| @@ -7092,18 +7123,18 @@ by `gdk_pixbuf_save_to_callback()`. | |||
| 7092 | 7123 | If successful it should return `TRUE`; if an error occurs it should set | |
| 7093 | 7124 | `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()` | |
| 7094 | 7125 | will fail with the same error.</doc> | |
| 7095 | - | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="367"/> | |
| 7126 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="362"/> | |
| 7096 | 7127 | <return-value transfer-ownership="none"> | |
| 7097 | 7128 | <doc xml:space="preserve" | |
| 7098 | 7129 | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7099 | - | line="362">`TRUE` if successful, `FALSE` otherwise</doc> | |
| 7130 | + | line="357">`TRUE` if successful, `FALSE` otherwise</doc> | |
| 7100 | 7131 | <type name="gboolean" c:type="gboolean"/> | |
| 7101 | 7132 | </return-value> | |
| 7102 | 7133 | <parameters> | |
| 7103 | 7134 | <parameter name="buf" transfer-ownership="none"> | |
| 7104 | 7135 | <doc xml:space="preserve" | |
| 7105 | 7136 | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7106 | - | line="348">bytes to be written.</doc> | |
| 7137 | + | line="343">bytes to be written.</doc> | |
| 7107 | 7138 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 7108 | 7139 | <type name="guint8"/> | |
| 7109 | 7140 | </array> | |
| @@ -7111,7 +7142,7 @@ will fail with the same error.</doc> | |||
| 7111 | 7142 | <parameter name="count" transfer-ownership="none"> | |
| 7112 | 7143 | <doc xml:space="preserve" | |
| 7113 | 7144 | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7114 | - | line="349">number of bytes in @buf.</doc> | |
| 7145 | + | line="344">number of bytes in @buf.</doc> | |
| 7115 | 7146 | <type name="gsize" c:type="gsize"/> | |
| 7116 | 7147 | </parameter> | |
| 7117 | 7148 | <parameter name="error" | |
| @@ -7120,7 +7151,7 @@ will fail with the same error.</doc> | |||
| 7120 | 7151 | transfer-ownership="full"> | |
| 7121 | 7152 | <doc xml:space="preserve" | |
| 7122 | 7153 | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7123 | - | line="350">A location to return an error.</doc> | |
| 7154 | + | line="345">A location to return an error.</doc> | |
| 7124 | 7155 | <type name="GLib.Error" c:type="GError**"/> | |
| 7125 | 7156 | </parameter> | |
| 7126 | 7157 | <parameter name="data" | |
| @@ -7130,7 +7161,7 @@ will fail with the same error.</doc> | |||
| 7130 | 7161 | closure="3"> | |
| 7131 | 7162 | <doc xml:space="preserve" | |
| 7132 | 7163 | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7133 | - | line="351">user data passed to gdk_pixbuf_save_to_callback().</doc> | |
| 7164 | + | line="346">user data passed to gdk_pixbuf_save_to_callback().</doc> | |
| 7134 | 7165 | <type name="gpointer" c:type="gpointer"/> | |
| 7135 | 7166 | </parameter> | |
| 7136 | 7167 | </parameters> | |
| @@ -7152,32 +7183,32 @@ will fail with the same error.</doc> | |||
| 7152 | 7183 | version="2.8"> | |
| 7153 | 7184 | <doc xml:space="preserve" | |
| 7154 | 7185 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7155 | - | line="413">Creates a new, empty animation.</doc> | |
| 7186 | + | line="415">Creates a new, empty animation.</doc> | |
| 7156 | 7187 | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7157 | 7188 | line="55"/> | |
| 7158 | 7189 | <return-value transfer-ownership="full"> | |
| 7159 | 7190 | <doc xml:space="preserve" | |
| 7160 | 7191 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7161 | - | line="421">a newly allocated #GdkPixbufSimpleAnim</doc> | |
| 7192 | + | line="423">a newly allocated #GdkPixbufSimpleAnim</doc> | |
| 7162 | 7193 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7163 | 7194 | </return-value> | |
| 7164 | 7195 | <parameters> | |
| 7165 | 7196 | <parameter name="width" transfer-ownership="none"> | |
| 7166 | 7197 | <doc xml:space="preserve" | |
| 7167 | 7198 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7168 | - | line="415">the width of the animation</doc> | |
| 7199 | + | line="417">the width of the animation</doc> | |
| 7169 | 7200 | <type name="gint" c:type="gint"/> | |
| 7170 | 7201 | </parameter> | |
| 7171 | 7202 | <parameter name="height" transfer-ownership="none"> | |
| 7172 | 7203 | <doc xml:space="preserve" | |
| 7173 | 7204 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7174 | - | line="416">the height of the animation</doc> | |
| 7205 | + | line="418">the height of the animation</doc> | |
| 7175 | 7206 | <type name="gint" c:type="gint"/> | |
| 7176 | 7207 | </parameter> | |
| 7177 | 7208 | <parameter name="rate" transfer-ownership="none"> | |
| 7178 | 7209 | <doc xml:space="preserve" | |
| 7179 | 7210 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7180 | - | line="417">the speed of the animation, in frames per second</doc> | |
| 7211 | + | line="419">the speed of the animation, in frames per second</doc> | |
| 7181 | 7212 | <type name="gfloat" c:type="gfloat"/> | |
| 7182 | 7213 | </parameter> | |
| 7183 | 7214 | </parameters> | |
| @@ -7187,11 +7218,11 @@ will fail with the same error.</doc> | |||
| 7187 | 7218 | version="2.8"> | |
| 7188 | 7219 | <doc xml:space="preserve" | |
| 7189 | 7220 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7190 | - | line="440">Adds a new frame to @animation. The @pixbuf must | |
| 7221 | + | line="442">Adds a new frame to @animation. The @pixbuf must | |
| 7191 | 7222 | have the dimensions specified when the animation | |
| 7192 | 7223 | was constructed.</doc> | |
| 7193 | 7224 | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7194 | - | line="59"/> | |
| 7225 | + | line="60"/> | |
| 7195 | 7226 | <return-value transfer-ownership="none"> | |
| 7196 | 7227 | <type name="none" c:type="void"/> | |
| 7197 | 7228 | </return-value> | |
| @@ -7199,13 +7230,13 @@ was constructed.</doc> | |||
| 7199 | 7230 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7200 | 7231 | <doc xml:space="preserve" | |
| 7201 | 7232 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7202 | - | line="442">a #GdkPixbufSimpleAnim</doc> | |
| 7233 | + | line="444">a #GdkPixbufSimpleAnim</doc> | |
| 7203 | 7234 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7204 | 7235 | </instance-parameter> | |
| 7205 | 7236 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 7206 | 7237 | <doc xml:space="preserve" | |
| 7207 | 7238 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7208 | - | line="443">the pixbuf to add</doc> | |
| 7239 | + | line="445">the pixbuf to add</doc> | |
| 7209 | 7240 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 7210 | 7241 | </parameter> | |
| 7211 | 7242 | </parameters> | |
| @@ -7216,20 +7247,20 @@ was constructed.</doc> | |||
| 7216 | 7247 | version="2.18"> | |
| 7217 | 7248 | <doc xml:space="preserve" | |
| 7218 | 7249 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7219 | - | line="531">Gets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7250 | + | line="533">Gets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7220 | 7251 | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7221 | - | line="65"/> | |
| 7252 | + | line="66"/> | |
| 7222 | 7253 | <return-value transfer-ownership="none"> | |
| 7223 | 7254 | <doc xml:space="preserve" | |
| 7224 | 7255 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7225 | - | line="537">%TRUE if the animation loops forever, %FALSE otherwise</doc> | |
| 7256 | + | line="539">%TRUE if the animation loops forever, %FALSE otherwise</doc> | |
| 7226 | 7257 | <type name="gboolean" c:type="gboolean"/> | |
| 7227 | 7258 | </return-value> | |
| 7228 | 7259 | <parameters> | |
| 7229 | 7260 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7230 | 7261 | <doc xml:space="preserve" | |
| 7231 | 7262 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7232 | - | line="533">a #GdkPixbufSimpleAnim</doc> | |
| 7263 | + | line="535">a #GdkPixbufSimpleAnim</doc> | |
| 7233 | 7264 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7234 | 7265 | </instance-parameter> | |
| 7235 | 7266 | </parameters> | |
| @@ -7240,9 +7271,9 @@ was constructed.</doc> | |||
| 7240 | 7271 | version="2.18"> | |
| 7241 | 7272 | <doc xml:space="preserve" | |
| 7242 | 7273 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7243 | - | line="510">Sets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7274 | + | line="512">Sets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7244 | 7275 | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7245 | - | line="62"/> | |
| 7276 | + | line="63"/> | |
| 7246 | 7277 | <return-value transfer-ownership="none"> | |
| 7247 | 7278 | <type name="none" c:type="void"/> | |
| 7248 | 7279 | </return-value> | |
| @@ -7250,13 +7281,13 @@ was constructed.</doc> | |||
| 7250 | 7281 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7251 | 7282 | <doc xml:space="preserve" | |
| 7252 | 7283 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7253 | - | line="512">a #GdkPixbufSimpleAnim</doc> | |
| 7284 | + | line="514">a #GdkPixbufSimpleAnim</doc> | |
| 7254 | 7285 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7255 | 7286 | </instance-parameter> | |
| 7256 | 7287 | <parameter name="loop" transfer-ownership="none"> | |
| 7257 | 7288 | <doc xml:space="preserve" | |
| 7258 | 7289 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7259 | - | line="513">whether to loop the animation</doc> | |
| 7290 | + | line="515">whether to loop the animation</doc> | |
| 7260 | 7291 | <type name="gboolean" c:type="gboolean"/> | |
| 7261 | 7292 | </parameter> | |
| 7262 | 7293 | </parameters> | |
| @@ -7270,7 +7301,7 @@ was constructed.</doc> | |||
| 7270 | 7301 | default-value="FALSE"> | |
| 7271 | 7302 | <doc xml:space="preserve" | |
| 7272 | 7303 | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7273 | - | line="152">Whether the animation should loop when it reaches the end.</doc> | |
| 7304 | + | line="154">Whether the animation should loop when it reaches the end.</doc> | |
| 7274 | 7305 | <type name="gboolean" c:type="gboolean"/> | |
| 7275 | 7306 | </property> | |
| 7276 | 7307 | </class> | |
M internal/gir/spec/Gio-2.0.gir +3064 -6826 large diff (9890 lines changed): collapsed
M internal/gir/spec/Graphene-1.0.gir +49 -49
| @@ -73,7 +73,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 73 | 73 | <doc xml:space="preserve" | |
| 74 | 74 | filename="src/graphene-box.c" | |
| 75 | 75 | line="632">`true` if the box is contained in the given box</doc> | |
| 76 | - | <type name="gboolean" c:type="_Bool"/> | |
| 76 | + | <type name="gboolean" c:type="bool"/> | |
| 77 | 77 | </return-value> | |
| 78 | 78 | <parameters> | |
| 79 | 79 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -101,7 +101,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 101 | 101 | <doc xml:space="preserve" | |
| 102 | 102 | filename="src/graphene-box.c" | |
| 103 | 103 | line="601">`true` if the point is contained in the given box</doc> | |
| 104 | - | <type name="gboolean" c:type="_Bool"/> | |
| 104 | + | <type name="gboolean" c:type="bool"/> | |
| 105 | 105 | </return-value> | |
| 106 | 106 | <parameters> | |
| 107 | 107 | <instance-parameter name="box" transfer-ownership="none"> | |
| @@ -127,7 +127,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 127 | 127 | <doc xml:space="preserve" | |
| 128 | 128 | filename="src/graphene-box.c" | |
| 129 | 129 | line="682">`true` if the boxes are equal</doc> | |
| 130 | - | <type name="gboolean" c:type="_Bool"/> | |
| 130 | + | <type name="gboolean" c:type="bool"/> | |
| 131 | 131 | </return-value> | |
| 132 | 132 | <parameters> | |
| 133 | 133 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -711,7 +711,7 @@ initialized with graphene_box_empty().</doc> | |||
| 711 | 711 | <doc xml:space="preserve" | |
| 712 | 712 | filename="src/graphene-box.c" | |
| 713 | 713 | line="345">true if the two boxes intersect</doc> | |
| 714 | - | <type name="gboolean" c:type="_Bool"/> | |
| 714 | + | <type name="gboolean" c:type="bool"/> | |
| 715 | 715 | </return-value> | |
| 716 | 716 | <parameters> | |
| 717 | 717 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -1018,7 +1018,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 1018 | 1018 | <doc xml:space="preserve" | |
| 1019 | 1019 | filename="src/graphene-euler.c" | |
| 1020 | 1020 | line="688">`true` if the two #graphene_euler_t are equal</doc> | |
| 1021 | - | <type name="gboolean" c:type="_Bool"/> | |
| 1021 | + | <type name="gboolean" c:type="bool"/> | |
| 1022 | 1022 | </return-value> | |
| 1023 | 1023 | <parameters> | |
| 1024 | 1024 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -1868,7 +1868,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 1868 | 1868 | <doc xml:space="preserve" | |
| 1869 | 1869 | filename="src/graphene-frustum.c" | |
| 1870 | 1870 | line="220">`true` if the point is inside the frustum</doc> | |
| 1871 | - | <type name="gboolean" c:type="_Bool"/> | |
| 1871 | + | <type name="gboolean" c:type="bool"/> | |
| 1872 | 1872 | </return-value> | |
| 1873 | 1873 | <parameters> | |
| 1874 | 1874 | <instance-parameter name="f" transfer-ownership="none"> | |
| @@ -1894,7 +1894,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 1894 | 1894 | <doc xml:space="preserve" | |
| 1895 | 1895 | filename="src/graphene-frustum.c" | |
| 1896 | 1896 | line="344">`true` if the given frustums are equal</doc> | |
| 1897 | - | <type name="gboolean" c:type="_Bool"/> | |
| 1897 | + | <type name="gboolean" c:type="bool"/> | |
| 1898 | 1898 | </return-value> | |
| 1899 | 1899 | <parameters> | |
| 1900 | 1900 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -2087,7 +2087,7 @@ a #graphene_frustum_t.</doc> | |||
| 2087 | 2087 | <doc xml:space="preserve" | |
| 2088 | 2088 | filename="src/graphene-frustum.c" | |
| 2089 | 2089 | line="281">`true` if the box intersects the frustum</doc> | |
| 2090 | - | <type name="gboolean" c:type="_Bool"/> | |
| 2090 | + | <type name="gboolean" c:type="bool"/> | |
| 2091 | 2091 | </return-value> | |
| 2092 | 2092 | <parameters> | |
| 2093 | 2093 | <instance-parameter name="f" transfer-ownership="none"> | |
| @@ -2116,7 +2116,7 @@ a #graphene_frustum_t.</doc> | |||
| 2116 | 2116 | <doc xml:space="preserve" | |
| 2117 | 2117 | filename="src/graphene-frustum.c" | |
| 2118 | 2118 | line="250">`true` if the sphere intersects the frustum</doc> | |
| 2119 | - | <type name="gboolean" c:type="_Bool"/> | |
| 2119 | + | <type name="gboolean" c:type="bool"/> | |
| 2120 | 2120 | </return-value> | |
| 2121 | 2121 | <parameters> | |
| 2122 | 2122 | <instance-parameter name="f" transfer-ownership="none"> | |
| @@ -2178,7 +2178,7 @@ published in "Graphics Gems II", edited by Jim Arvo, and | |||
| 2178 | 2178 | <doc xml:space="preserve" | |
| 2179 | 2179 | filename="src/graphene-matrix.c" | |
| 2180 | 2180 | line="2058">`true` if the matrix could be decomposed</doc> | |
| 2181 | - | <type name="gboolean" c:type="_Bool"/> | |
| 2181 | + | <type name="gboolean" c:type="bool"/> | |
| 2182 | 2182 | </return-value> | |
| 2183 | 2183 | <parameters> | |
| 2184 | 2184 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -2265,7 +2265,7 @@ published in "Graphics Gems II", edited by Jim Arvo, and | |||
| 2265 | 2265 | <doc xml:space="preserve" | |
| 2266 | 2266 | filename="src/graphene-matrix.c" | |
| 2267 | 2267 | line="2353">`true` if the two matrices are equal, and `false` otherwise</doc> | |
| 2268 | - | <type name="gboolean" c:type="_Bool"/> | |
| 2268 | + | <type name="gboolean" c:type="bool"/> | |
| 2269 | 2269 | </return-value> | |
| 2270 | 2270 | <parameters> | |
| 2271 | 2271 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -2315,7 +2315,7 @@ graphene_matrix_near(). For instance: | |||
| 2315 | 2315 | <doc xml:space="preserve" | |
| 2316 | 2316 | filename="src/graphene-matrix.c" | |
| 2317 | 2317 | line="2393">`true` if the matrices are equal. and `false` otherwise</doc> | |
| 2318 | - | <type name="gboolean" c:type="_Bool"/> | |
| 2318 | + | <type name="gboolean" c:type="bool"/> | |
| 2319 | 2319 | </return-value> | |
| 2320 | 2320 | <parameters> | |
| 2321 | 2321 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -3166,7 +3166,7 @@ will return an identity matrix.</doc> | |||
| 3166 | 3166 | <doc xml:space="preserve" | |
| 3167 | 3167 | filename="src/graphene-matrix.c" | |
| 3168 | 3168 | line="1687">`true` if the matrix is invertible</doc> | |
| 3169 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3169 | + | <type name="gboolean" c:type="bool"/> | |
| 3170 | 3170 | </return-value> | |
| 3171 | 3171 | <parameters> | |
| 3172 | 3172 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -3198,7 +3198,7 @@ a 2D affine transformation matrix.</doc> | |||
| 3198 | 3198 | filename="src/graphene-matrix.c" | |
| 3199 | 3199 | line="516">`true` if the matrix is compatible with an affine | |
| 3200 | 3200 | transformation matrix</doc> | |
| 3201 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3201 | + | <type name="gboolean" c:type="bool"/> | |
| 3202 | 3202 | </return-value> | |
| 3203 | 3203 | <parameters> | |
| 3204 | 3204 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -3220,7 +3220,7 @@ a 2D affine transformation matrix.</doc> | |||
| 3220 | 3220 | <doc xml:space="preserve" | |
| 3221 | 3221 | filename="src/graphene-matrix.c" | |
| 3222 | 3222 | line="561">`true` if the back face of the matrix is visible</doc> | |
| 3223 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3223 | + | <type name="gboolean" c:type="bool"/> | |
| 3224 | 3224 | </return-value> | |
| 3225 | 3225 | <parameters> | |
| 3226 | 3226 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -3242,7 +3242,7 @@ a 2D affine transformation matrix.</doc> | |||
| 3242 | 3242 | <doc xml:space="preserve" | |
| 3243 | 3243 | filename="src/graphene-matrix.c" | |
| 3244 | 3244 | line="499">`true` if the matrix is the identity matrix</doc> | |
| 3245 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3245 | + | <type name="gboolean" c:type="bool"/> | |
| 3246 | 3246 | </return-value> | |
| 3247 | 3247 | <parameters> | |
| 3248 | 3248 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -3264,7 +3264,7 @@ a 2D affine transformation matrix.</doc> | |||
| 3264 | 3264 | <doc xml:space="preserve" | |
| 3265 | 3265 | filename="src/graphene-matrix.c" | |
| 3266 | 3266 | line="583">`true` if the matrix is singular</doc> | |
| 3267 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3267 | + | <type name="gboolean" c:type="bool"/> | |
| 3268 | 3268 | </return-value> | |
| 3269 | 3269 | <parameters> | |
| 3270 | 3270 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -3325,7 +3325,7 @@ other.</doc> | |||
| 3325 | 3325 | filename="src/graphene-matrix.c" | |
| 3326 | 3326 | line="2316">`true` if the two matrices are near each other, and | |
| 3327 | 3327 | `false` otherwise</doc> | |
| 3328 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3328 | + | <type name="gboolean" c:type="bool"/> | |
| 3329 | 3329 | </return-value> | |
| 3330 | 3330 | <parameters> | |
| 3331 | 3331 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -3851,7 +3851,7 @@ and an affine matrix type from other libraries.</doc> | |||
| 3851 | 3851 | filename="src/graphene-matrix.c" | |
| 3852 | 3852 | line="666">`true` if the matrix is compatible with an affine | |
| 3853 | 3853 | transformation matrix</doc> | |
| 3854 | - | <type name="gboolean" c:type="_Bool"/> | |
| 3854 | + | <type name="gboolean" c:type="bool"/> | |
| 3855 | 3855 | </return-value> | |
| 3856 | 3856 | <parameters> | |
| 3857 | 3857 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -4449,7 +4449,7 @@ given matrix, within the given axis aligned rectangular @bounds.</doc> | |||
| 4449 | 4449 | <doc xml:space="preserve" | |
| 4450 | 4450 | filename="src/graphene-matrix.c" | |
| 4451 | 4451 | line="1294">`true` if the point was successfully untransformed</doc> | |
| 4452 | - | <type name="gboolean" c:type="_Bool"/> | |
| 4452 | + | <type name="gboolean" c:type="bool"/> | |
| 4453 | 4453 | </return-value> | |
| 4454 | 4454 | <parameters> | |
| 4455 | 4455 | <instance-parameter name="m" transfer-ownership="none"> | |
| @@ -4628,7 +4628,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 4628 | 4628 | <doc xml:space="preserve" | |
| 4629 | 4629 | filename="src/graphene-plane.c" | |
| 4630 | 4630 | line="338">`true` if the given planes are equal</doc> | |
| 4631 | - | <type name="gboolean" c:type="_Bool"/> | |
| 4631 | + | <type name="gboolean" c:type="bool"/> | |
| 4632 | 4632 | </return-value> | |
| 4633 | 4633 | <parameters> | |
| 4634 | 4634 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -5119,7 +5119,7 @@ graphene_point_near() instead.</doc> | |||
| 5119 | 5119 | <doc xml:space="preserve" | |
| 5120 | 5120 | filename="src/graphene-point.c" | |
| 5121 | 5121 | line="185">`true` if the points have the same coordinates</doc> | |
| 5122 | - | <type name="gboolean" c:type="_Bool"/> | |
| 5122 | + | <type name="gboolean" c:type="bool"/> | |
| 5123 | 5123 | </return-value> | |
| 5124 | 5124 | <parameters> | |
| 5125 | 5125 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -5295,7 +5295,7 @@ the threshold of @epsilon.</doc> | |||
| 5295 | 5295 | <doc xml:space="preserve" | |
| 5296 | 5296 | filename="src/graphene-point.c" | |
| 5297 | 5297 | line="240">`true` if the distance is within @epsilon</doc> | |
| 5298 | - | <type name="gboolean" c:type="_Bool"/> | |
| 5298 | + | <type name="gboolean" c:type="bool"/> | |
| 5299 | 5299 | </return-value> | |
| 5300 | 5300 | <parameters> | |
| 5301 | 5301 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -5512,7 +5512,7 @@ the threshold of @epsilon.</doc> | |||
| 5512 | 5512 | <doc xml:space="preserve" | |
| 5513 | 5513 | filename="src/graphene-point3d.c" | |
| 5514 | 5514 | line="199">`true` if the points are equal</doc> | |
| 5515 | - | <type name="gboolean" c:type="_Bool"/> | |
| 5515 | + | <type name="gboolean" c:type="bool"/> | |
| 5516 | 5516 | </return-value> | |
| 5517 | 5517 | <parameters> | |
| 5518 | 5518 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -5717,7 +5717,7 @@ an @epsilon factor.</doc> | |||
| 5717 | 5717 | <doc xml:space="preserve" | |
| 5718 | 5718 | filename="src/graphene-point3d.c" | |
| 5719 | 5719 | line="219">`true` if the points are near each other</doc> | |
| 5720 | - | <type name="gboolean" c:type="_Bool"/> | |
| 5720 | + | <type name="gboolean" c:type="bool"/> | |
| 5721 | 5721 | </return-value> | |
| 5722 | 5722 | <parameters> | |
| 5723 | 5723 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -5969,7 +5969,7 @@ The contents of the returned instance are undefined.</doc> | |||
| 5969 | 5969 | <doc xml:space="preserve" | |
| 5970 | 5970 | filename="src/graphene-quad.c" | |
| 5971 | 5971 | line="155">`true` if the point is inside the #graphene_quad_t</doc> | |
| 5972 | - | <type name="gboolean" c:type="_Bool"/> | |
| 5972 | + | <type name="gboolean" c:type="bool"/> | |
| 5973 | 5973 | </return-value> | |
| 5974 | 5974 | <parameters> | |
| 5975 | 5975 | <instance-parameter name="q" transfer-ownership="none"> | |
| @@ -6247,7 +6247,7 @@ The contents of the returned value are undefined.</doc> | |||
| 6247 | 6247 | <doc xml:space="preserve" | |
| 6248 | 6248 | filename="src/graphene-quaternion.c" | |
| 6249 | 6249 | line="586">`true` if the quaternions are equal</doc> | |
| 6250 | - | <type name="gboolean" c:type="_Bool"/> | |
| 6250 | + | <type name="gboolean" c:type="bool"/> | |
| 6251 | 6251 | </return-value> | |
| 6252 | 6252 | <parameters> | |
| 6253 | 6253 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -7047,7 +7047,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 7047 | 7047 | <doc xml:space="preserve" | |
| 7048 | 7048 | filename="src/graphene-ray.c" | |
| 7049 | 7049 | line="327">`true` if the given rays are equal</doc> | |
| 7050 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7050 | + | <type name="gboolean" c:type="bool"/> | |
| 7051 | 7051 | </return-value> | |
| 7052 | 7052 | <parameters> | |
| 7053 | 7053 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -7510,7 +7510,7 @@ See also: graphene_ray_intersect_box()</doc> | |||
| 7510 | 7510 | <doc xml:space="preserve" | |
| 7511 | 7511 | filename="src/graphene-ray.c" | |
| 7512 | 7512 | line="582">`true` if the ray intersects the box</doc> | |
| 7513 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7513 | + | <type name="gboolean" c:type="bool"/> | |
| 7514 | 7514 | </return-value> | |
| 7515 | 7515 | <parameters> | |
| 7516 | 7516 | <instance-parameter name="r" transfer-ownership="none"> | |
| @@ -7541,7 +7541,7 @@ See also: graphene_ray_intersect_sphere()</doc> | |||
| 7541 | 7541 | <doc xml:space="preserve" | |
| 7542 | 7542 | filename="src/graphene-ray.c" | |
| 7543 | 7543 | line="454">`true` if the ray intersects the sphere</doc> | |
| 7544 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7544 | + | <type name="gboolean" c:type="bool"/> | |
| 7545 | 7545 | </return-value> | |
| 7546 | 7546 | <parameters> | |
| 7547 | 7547 | <instance-parameter name="r" transfer-ownership="none"> | |
| @@ -7572,7 +7572,7 @@ See also: graphene_ray_intersect_triangle()</doc> | |||
| 7572 | 7572 | <doc xml:space="preserve" | |
| 7573 | 7573 | filename="src/graphene-ray.c" | |
| 7574 | 7574 | line="703">`true` if the ray intersects the triangle</doc> | |
| 7575 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7575 | + | <type name="gboolean" c:type="bool"/> | |
| 7576 | 7576 | </return-value> | |
| 7577 | 7577 | <parameters> | |
| 7578 | 7578 | <instance-parameter name="r" transfer-ownership="none"> | |
| @@ -7665,7 +7665,7 @@ will internally operate on a normalized copy; all functions returning a | |||
| 7665 | 7665 | <doc xml:space="preserve" | |
| 7666 | 7666 | filename="src/graphene-rect.c" | |
| 7667 | 7667 | line="552">`true` if the rectangle contains the point</doc> | |
| 7668 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7668 | + | <type name="gboolean" c:type="bool"/> | |
| 7669 | 7669 | </return-value> | |
| 7670 | 7670 | <parameters> | |
| 7671 | 7671 | <instance-parameter name="r" transfer-ownership="none"> | |
| @@ -7694,7 +7694,7 @@ rectangle.</doc> | |||
| 7694 | 7694 | <doc xml:space="preserve" | |
| 7695 | 7695 | filename="src/graphene-rect.c" | |
| 7696 | 7696 | line="579">`true` if the rectangle @a fully contains @b</doc> | |
| 7697 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7697 | + | <type name="gboolean" c:type="bool"/> | |
| 7698 | 7698 | </return-value> | |
| 7699 | 7699 | <parameters> | |
| 7700 | 7700 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -7720,7 +7720,7 @@ rectangle.</doc> | |||
| 7720 | 7720 | <doc xml:space="preserve" | |
| 7721 | 7721 | filename="src/graphene-rect.c" | |
| 7722 | 7722 | line="184">`true` if the rectangles are equal</doc> | |
| 7723 | - | <type name="gboolean" c:type="_Bool"/> | |
| 7723 | + | <type name="gboolean" c:type="bool"/> | |
| 7724 | 7724 | </return-value> | |
| 7725 | 7725 | <parameters> | |
| 7726 | 7726 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -8303,7 +8303,7 @@ a degenerate rectangle with origin in (0, 0) and a size of 0.</doc> | |||
| 8303 | 8303 | <doc xml:space="preserve" | |
| 8304 | 8304 | filename="src/graphene-rect.c" | |
| 8305 | 8305 | line="508">`true` if the two rectangles intersect</doc> | |
| 8306 | - | <type name="gboolean" c:type="_Bool"/> | |
| 8306 | + | <type name="gboolean" c:type="bool"/> | |
| 8307 | 8307 | </return-value> | |
| 8308 | 8308 | <parameters> | |
| 8309 | 8309 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -8791,7 +8791,7 @@ The contents of the returned value are undefined.</doc> | |||
| 8791 | 8791 | <doc xml:space="preserve" | |
| 8792 | 8792 | filename="src/graphene-size.c" | |
| 8793 | 8793 | line="133">`true` if the sizes are equal</doc> | |
| 8794 | - | <type name="gboolean" c:type="_Bool"/> | |
| 8794 | + | <type name="gboolean" c:type="bool"/> | |
| 8795 | 8795 | </return-value> | |
| 8796 | 8796 | <parameters> | |
| 8797 | 8797 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -9018,7 +9018,7 @@ of a #graphene_sphere_t.</doc> | |||
| 9018 | 9018 | <doc xml:space="preserve" | |
| 9019 | 9019 | filename="src/graphene-sphere.c" | |
| 9020 | 9020 | line="269">`true` if the sphere contains the point</doc> | |
| 9021 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9021 | + | <type name="gboolean" c:type="bool"/> | |
| 9022 | 9022 | </return-value> | |
| 9023 | 9023 | <parameters> | |
| 9024 | 9024 | <instance-parameter name="s" transfer-ownership="none"> | |
| @@ -9073,7 +9073,7 @@ a #graphene_sphere_t.</doc> | |||
| 9073 | 9073 | <doc xml:space="preserve" | |
| 9074 | 9074 | filename="src/graphene-sphere.c" | |
| 9075 | 9075 | line="370">`true` if the spheres are equal</doc> | |
| 9076 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9076 | + | <type name="gboolean" c:type="bool"/> | |
| 9077 | 9077 | </return-value> | |
| 9078 | 9078 | <parameters> | |
| 9079 | 9079 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -9333,7 +9333,7 @@ of the 3D volume that encompasses all @vectors.</doc> | |||
| 9333 | 9333 | <doc xml:space="preserve" | |
| 9334 | 9334 | filename="src/graphene-sphere.c" | |
| 9335 | 9335 | line="251">`true` if the sphere is empty</doc> | |
| 9336 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9336 | + | <type name="gboolean" c:type="bool"/> | |
| 9337 | 9337 | </return-value> | |
| 9338 | 9338 | <parameters> | |
| 9339 | 9339 | <instance-parameter name="s" transfer-ownership="none"> | |
| @@ -9428,7 +9428,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 9428 | 9428 | <doc xml:space="preserve" | |
| 9429 | 9429 | filename="src/graphene-triangle.c" | |
| 9430 | 9430 | line="497">`true` if the point is inside the triangle</doc> | |
| 9431 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9431 | + | <type name="gboolean" c:type="bool"/> | |
| 9432 | 9432 | </return-value> | |
| 9433 | 9433 | <parameters> | |
| 9434 | 9434 | <instance-parameter name="t" transfer-ownership="none"> | |
| @@ -9456,7 +9456,7 @@ The contents of the returned structure are undefined.</doc> | |||
| 9456 | 9456 | <doc xml:space="preserve" | |
| 9457 | 9457 | filename="src/graphene-triangle.c" | |
| 9458 | 9458 | line="540">`true` if the triangles are equal</doc> | |
| 9459 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9459 | + | <type name="gboolean" c:type="bool"/> | |
| 9460 | 9460 | </return-value> | |
| 9461 | 9461 | <parameters> | |
| 9462 | 9462 | <instance-parameter name="a" transfer-ownership="none"> | |
| @@ -9538,7 +9538,7 @@ The returned #graphene_vec2_t contains the following values, in order: | |||
| 9538 | 9538 | <doc xml:space="preserve" | |
| 9539 | 9539 | filename="src/graphene-triangle.c" | |
| 9540 | 9540 | line="445">`true` if the barycentric coordinates are valid</doc> | |
| 9541 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9541 | + | <type name="gboolean" c:type="bool"/> | |
| 9542 | 9542 | </return-value> | |
| 9543 | 9543 | <parameters> | |
| 9544 | 9544 | <instance-parameter name="t" transfer-ownership="none"> | |
| @@ -9762,7 +9762,7 @@ See also: graphene_triangle_get_barycoords()</doc> | |||
| 9762 | 9762 | <doc xml:space="preserve" | |
| 9763 | 9763 | filename="src/graphene-triangle.c" | |
| 9764 | 9764 | line="378">`true` if the coordinates are valid</doc> | |
| 9765 | - | <type name="gboolean" c:type="_Bool"/> | |
| 9765 | + | <type name="gboolean" c:type="bool"/> | |
| 9766 | 9766 | </return-value> | |
| 9767 | 9767 | <parameters> | |
| 9768 | 9768 | <instance-parameter name="t" transfer-ownership="none"> | |
| @@ -10229,7 +10229,7 @@ vector @res.</doc> | |||
| 10229 | 10229 | <doc xml:space="preserve" | |
| 10230 | 10230 | filename="src/graphene-vectors.c" | |
| 10231 | 10231 | line="428">`true` if the two vectors are equal, and false otherwise</doc> | |
| 10232 | - | <type name="gboolean" c:type="_Bool"/> | |
| 10232 | + | <type name="gboolean" c:type="bool"/> | |
| 10233 | 10233 | </return-value> | |
| 10234 | 10234 | <parameters> | |
| 10235 | 10235 | <instance-parameter name="v1" transfer-ownership="none"> | |
| @@ -10567,7 +10567,7 @@ whether their values are within the given @epsilon.</doc> | |||
| 10567 | 10567 | <doc xml:space="preserve" | |
| 10568 | 10568 | filename="src/graphene-vectors.c" | |
| 10569 | 10569 | line="448">`true` if the two vectors are near each other</doc> | |
| 10570 | - | <type name="gboolean" c:type="_Bool"/> | |
| 10570 | + | <type name="gboolean" c:type="bool"/> | |
| 10571 | 10571 | </return-value> | |
| 10572 | 10572 | <parameters> | |
| 10573 | 10573 | <instance-parameter name="v1" transfer-ownership="none"> | |
| @@ -10965,7 +10965,7 @@ vector @res.</doc> | |||
| 10965 | 10965 | <doc xml:space="preserve" | |
| 10966 | 10966 | filename="src/graphene-vectors.c" | |
| 10967 | 10967 | line="1127">`true` if the two vectors are equal, and false otherwise</doc> | |
| 10968 | - | <type name="gboolean" c:type="_Bool"/> | |
| 10968 | + | <type name="gboolean" c:type="bool"/> | |
| 10969 | 10969 | </return-value> | |
| 10970 | 10970 | <parameters> | |
| 10971 | 10971 | <instance-parameter name="v1" transfer-ownership="none"> | |
| @@ -11478,7 +11478,7 @@ whether their values are within the given @epsilon.</doc> | |||
| 11478 | 11478 | <doc xml:space="preserve" | |
| 11479 | 11479 | filename="src/graphene-vectors.c" | |
| 11480 | 11480 | line="1147">`true` if the two vectors are near each other</doc> | |
| 11481 | - | <type name="gboolean" c:type="_Bool"/> | |
| 11481 | + | <type name="gboolean" c:type="bool"/> | |
| 11482 | 11482 | </return-value> | |
| 11483 | 11483 | <parameters> | |
| 11484 | 11484 | <instance-parameter name="v1" transfer-ownership="none"> | |
| @@ -11862,7 +11862,7 @@ vector @res.</doc> | |||
| 11862 | 11862 | <doc xml:space="preserve" | |
| 11863 | 11863 | filename="src/graphene-vectors.c" | |
| 11864 | 11864 | line="1844">`true` if the two vectors are equal, and false otherwise</doc> | |
| 11865 | - | <type name="gboolean" c:type="_Bool"/> | |
| 11865 | + | <type name="gboolean" c:type="bool"/> | |
| 11866 | 11866 | </return-value> | |
| 11867 | 11867 | <parameters> | |
| 11868 | 11868 | <instance-parameter name="v1" transfer-ownership="none"> | |
| @@ -12384,7 +12384,7 @@ whether their values are within the given @epsilon.</doc> | |||
| 12384 | 12384 | <doc xml:space="preserve" | |
| 12385 | 12385 | filename="src/graphene-vectors.c" | |
| 12386 | 12386 | line="1864">`true` if the two vectors are near each other</doc> | |
| 12387 | - | <type name="gboolean" c:type="_Bool"/> | |
| 12387 | + | <type name="gboolean" c:type="bool"/> | |
| 12388 | 12388 | </return-value> | |
| 12389 | 12389 | <parameters> | |
| 12390 | 12390 | <instance-parameter name="v1" transfer-ownership="none"> | |
M internal/gir/spec/Gsk-4.0.gir +1618 -900 large diff (2518 lines changed): collapsed
M internal/gir/spec/Gtk-4.0.gir +6425 -5494 large diff (11919 lines changed): collapsed
M internal/gir/spec/Pango-1.0.gir +1040 -921
| @@ -13,7 +13,7 @@ and/or use gtk-doc annotations. --> | |||
| 13 | 13 | <include name="cairo" version="1.0"/> | |
| 14 | 14 | <package name="pango"/> | |
| 15 | 15 | <c:include name="pango/pango.h"/> | |
| 16 | - | <doc:format name="unknown"/> | |
| 16 | + | <doc:format name="gi-docgen"/> | |
| 17 | 17 | <namespace name="Pango" | |
| 18 | 18 | version="1.0" | |
| 19 | 19 | shared-library="libpango-1.0.so.0" | |
| @@ -1941,6 +1941,8 @@ by using [func@Pango.AttrType.get_name].</doc> | |||
| 1941 | 1941 | </enumeration> | |
| 1942 | 1942 | <record name="Attribute" | |
| 1943 | 1943 | c:type="PangoAttribute" | |
| 1944 | + | copy-function="pango_attribute_copy" | |
| 1945 | + | free-function="pango_attribute_destroy" | |
| 1944 | 1946 | glib:type-name="PangoAttribute" | |
| 1945 | 1947 | glib:get-type="pango_attribute_get_type" | |
| 1946 | 1948 | c:symbol-prefix="attribute"> | |
| @@ -4004,7 +4006,7 @@ with an ellipsis.</doc> | |||
| 4004 | 4006 | </member> | |
| 4005 | 4007 | </enumeration> | |
| 4006 | 4008 | <function-macro name="FONT" c:identifier="PANGO_FONT" introspectable="0"> | |
| 4007 | - | <source-position filename="pango/pango-font.h" line="570"/> | |
| 4009 | + | <source-position filename="pango/pango-font.h" line="600"/> | |
| 4008 | 4010 | <parameters> | |
| 4009 | 4011 | <parameter name="object"> | |
| 4010 | 4012 | </parameter> | |
| @@ -4049,7 +4051,7 @@ with an ellipsis.</doc> | |||
| 4049 | 4051 | <function-macro name="FONT_CLASS" | |
| 4050 | 4052 | c:identifier="PANGO_FONT_CLASS" | |
| 4051 | 4053 | introspectable="0"> | |
| 4052 | - | <source-position filename="pango/pango-font.h" line="572"/> | |
| 4054 | + | <source-position filename="pango/pango-font.h" line="602"/> | |
| 4053 | 4055 | <parameters> | |
| 4054 | 4056 | <parameter name="klass"> | |
| 4055 | 4057 | </parameter> | |
| @@ -4058,7 +4060,7 @@ with an ellipsis.</doc> | |||
| 4058 | 4060 | <function-macro name="FONT_FACE" | |
| 4059 | 4061 | c:identifier="PANGO_FONT_FACE" | |
| 4060 | 4062 | introspectable="0"> | |
| 4061 | - | <source-position filename="pango/pango-font.h" line="503"/> | |
| 4063 | + | <source-position filename="pango/pango-font.h" line="533"/> | |
| 4062 | 4064 | <parameters> | |
| 4063 | 4065 | <parameter name="object"> | |
| 4064 | 4066 | </parameter> | |
| @@ -4067,7 +4069,7 @@ with an ellipsis.</doc> | |||
| 4067 | 4069 | <function-macro name="FONT_FACE_CLASS" | |
| 4068 | 4070 | c:identifier="PANGO_FONT_FACE_CLASS" | |
| 4069 | 4071 | introspectable="0"> | |
| 4070 | - | <source-position filename="pango/pango-font.h" line="505"/> | |
| 4072 | + | <source-position filename="pango/pango-font.h" line="535"/> | |
| 4071 | 4073 | <parameters> | |
| 4072 | 4074 | <parameter name="klass"> | |
| 4073 | 4075 | </parameter> | |
| @@ -4076,7 +4078,7 @@ with an ellipsis.</doc> | |||
| 4076 | 4078 | <function-macro name="FONT_FACE_GET_CLASS" | |
| 4077 | 4079 | c:identifier="PANGO_FONT_FACE_GET_CLASS" | |
| 4078 | 4080 | introspectable="0"> | |
| 4079 | - | <source-position filename="pango/pango-font.h" line="507"/> | |
| 4081 | + | <source-position filename="pango/pango-font.h" line="537"/> | |
| 4080 | 4082 | <parameters> | |
| 4081 | 4083 | <parameter name="obj"> | |
| 4082 | 4084 | </parameter> | |
| @@ -4085,7 +4087,7 @@ with an ellipsis.</doc> | |||
| 4085 | 4087 | <function-macro name="FONT_FAMILY" | |
| 4086 | 4088 | c:identifier="PANGO_FONT_FAMILY" | |
| 4087 | 4089 | introspectable="0"> | |
| 4088 | - | <source-position filename="pango/pango-font.h" line="428"/> | |
| 4090 | + | <source-position filename="pango/pango-font.h" line="458"/> | |
| 4089 | 4091 | <parameters> | |
| 4090 | 4092 | <parameter name="object"> | |
| 4091 | 4093 | </parameter> | |
| @@ -4094,7 +4096,7 @@ with an ellipsis.</doc> | |||
| 4094 | 4096 | <function-macro name="FONT_FAMILY_CLASS" | |
| 4095 | 4097 | c:identifier="PANGO_FONT_FAMILY_CLASS" | |
| 4096 | 4098 | introspectable="0"> | |
| 4097 | - | <source-position filename="pango/pango-font.h" line="430"/> | |
| 4099 | + | <source-position filename="pango/pango-font.h" line="460"/> | |
| 4098 | 4100 | <parameters> | |
| 4099 | 4101 | <parameter name="klass"> | |
| 4100 | 4102 | </parameter> | |
| @@ -4103,7 +4105,7 @@ with an ellipsis.</doc> | |||
| 4103 | 4105 | <function-macro name="FONT_FAMILY_GET_CLASS" | |
| 4104 | 4106 | c:identifier="PANGO_FONT_FAMILY_GET_CLASS" | |
| 4105 | 4107 | introspectable="0"> | |
| 4106 | - | <source-position filename="pango/pango-font.h" line="432"/> | |
| 4108 | + | <source-position filename="pango/pango-font.h" line="462"/> | |
| 4107 | 4109 | <parameters> | |
| 4108 | 4110 | <parameter name="obj"> | |
| 4109 | 4111 | </parameter> | |
| @@ -4112,7 +4114,7 @@ with an ellipsis.</doc> | |||
| 4112 | 4114 | <function-macro name="FONT_GET_CLASS" | |
| 4113 | 4115 | c:identifier="PANGO_FONT_GET_CLASS" | |
| 4114 | 4116 | introspectable="0"> | |
| 4115 | - | <source-position filename="pango/pango-font.h" line="574"/> | |
| 4117 | + | <source-position filename="pango/pango-font.h" line="604"/> | |
| 4116 | 4118 | <parameters> | |
| 4117 | 4119 | <parameter name="obj"> | |
| 4118 | 4120 | </parameter> | |
| @@ -4155,18 +4157,18 @@ with an ellipsis.</doc> | |||
| 4155 | 4157 | glib:type-struct="FontClass"> | |
| 4156 | 4158 | <doc xml:space="preserve" | |
| 4157 | 4159 | filename="pango/pango-font.h" | |
| 4158 | - | line="579">A `PangoFont` is used to represent a font in a | |
| 4160 | + | line="609">A `PangoFont` is used to represent a font in a | |
| 4159 | 4161 | rendering-system-independent manner.</doc> | |
| 4160 | - | <source-position filename="pango/pango-font.h" line="613"/> | |
| 4162 | + | <source-position filename="pango/pango-font.h" line="643"/> | |
| 4161 | 4163 | <function name="descriptions_free" | |
| 4162 | 4164 | c:identifier="pango_font_descriptions_free" | |
| 4163 | 4165 | deprecated="1" | |
| 4164 | 4166 | deprecated-version="1.56"> | |
| 4165 | 4167 | <doc xml:space="preserve" | |
| 4166 | 4168 | filename="pango/fonts.c" | |
| 4167 | - | line="1120">Frees an array of font descriptions.</doc> | |
| 4169 | + | line="1173">Frees an array of font descriptions.</doc> | |
| 4168 | 4170 | <doc-deprecated xml:space="preserve">Just use pango_font_description_free in a loop</doc-deprecated> | |
| 4169 | - | <source-position filename="pango/pango-font.h" line="283"/> | |
| 4171 | + | <source-position filename="pango/pango-font.h" line="307"/> | |
| 4170 | 4172 | <return-value transfer-ownership="none"> | |
| 4171 | 4173 | <type name="none" c:type="void"/> | |
| 4172 | 4174 | </return-value> | |
| @@ -4177,7 +4179,7 @@ rendering-system-independent manner.</doc> | |||
| 4177 | 4179 | allow-none="1"> | |
| 4178 | 4180 | <doc xml:space="preserve" | |
| 4179 | 4181 | filename="pango/fonts.c" | |
| 4180 | - | line="1122">a pointer | |
| 4182 | + | line="1175">a pointer | |
| 4181 | 4183 | to an array of `PangoFontDescription`, may be %NULL</doc> | |
| 4182 | 4184 | <array length="1" | |
| 4183 | 4185 | zero-terminated="0" | |
| @@ -4188,7 +4190,7 @@ rendering-system-independent manner.</doc> | |||
| 4188 | 4190 | <parameter name="n_descs" transfer-ownership="none"> | |
| 4189 | 4191 | <doc xml:space="preserve" | |
| 4190 | 4192 | filename="pango/fonts.c" | |
| 4191 | - | line="1124">number of font descriptions in @descs</doc> | |
| 4193 | + | line="1177">number of font descriptions in @descs</doc> | |
| 4192 | 4194 | <type name="gint" c:type="int"/> | |
| 4193 | 4195 | </parameter> | |
| 4194 | 4196 | </parameters> | |
| @@ -4206,7 +4208,7 @@ For a discussion of the supported format, see that function. | |||
| 4206 | 4208 | Note: to verify that the returned font is identical to | |
| 4207 | 4209 | the one that was serialized, you can compare @bytes to the | |
| 4208 | 4210 | result of serializing the font again.</doc> | |
| 4209 | - | <source-position filename="pango/pango-font.h" line="665"/> | |
| 4211 | + | <source-position filename="pango/pango-font.h" line="695"/> | |
| 4210 | 4212 | <return-value transfer-ownership="full" nullable="1"> | |
| 4211 | 4213 | <doc xml:space="preserve" | |
| 4212 | 4214 | filename="pango/serializer.c" | |
| @@ -4229,7 +4231,7 @@ result of serializing the font again.</doc> | |||
| 4229 | 4231 | </parameters> | |
| 4230 | 4232 | </function> | |
| 4231 | 4233 | <virtual-method name="create_hb_font"> | |
| 4232 | - | <source-position filename="pango/pango-font.h" line="612"/> | |
| 4234 | + | <source-position filename="pango/pango-font.h" line="642"/> | |
| 4233 | 4235 | <return-value transfer-ownership="full"> | |
| 4234 | 4236 | <type name="HarfBuzz.font_t" c:type="hb_font_t*"/> | |
| 4235 | 4237 | </return-value> | |
| @@ -4242,28 +4244,28 @@ result of serializing the font again.</doc> | |||
| 4242 | 4244 | <virtual-method name="describe" invoker="describe"> | |
| 4243 | 4245 | <doc xml:space="preserve" | |
| 4244 | 4246 | filename="pango/fonts.c" | |
| 4245 | - | line="2103">Returns a description of the font, with font size set in points. | |
| 4247 | + | line="2170">Returns a description of the font, with font size set in points. | |
| 4246 | 4248 | ||
| 4247 | 4249 | Use [method@Pango.Font.describe_with_absolute_size] if you want | |
| 4248 | 4250 | the font size in device units.</doc> | |
| 4249 | - | <source-position filename="pango/pango-font.h" line="597"/> | |
| 4251 | + | <source-position filename="pango/pango-font.h" line="627"/> | |
| 4250 | 4252 | <return-value transfer-ownership="full"> | |
| 4251 | 4253 | <doc xml:space="preserve" | |
| 4252 | 4254 | filename="pango/fonts.c" | |
| 4253 | - | line="2112">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4255 | + | line="2179">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4254 | 4256 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 4255 | 4257 | </return-value> | |
| 4256 | 4258 | <parameters> | |
| 4257 | 4259 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4258 | 4260 | <doc xml:space="preserve" | |
| 4259 | 4261 | filename="pango/fonts.c" | |
| 4260 | - | line="2105">a `PangoFont`</doc> | |
| 4262 | + | line="2172">a `PangoFont`</doc> | |
| 4261 | 4263 | <type name="Font" c:type="PangoFont*"/> | |
| 4262 | 4264 | </instance-parameter> | |
| 4263 | 4265 | </parameters> | |
| 4264 | 4266 | </virtual-method> | |
| 4265 | 4267 | <virtual-method name="describe_absolute"> | |
| 4266 | - | <source-position filename="pango/pango-font.h" line="607"/> | |
| 4268 | + | <source-position filename="pango/pango-font.h" line="637"/> | |
| 4267 | 4269 | <return-value transfer-ownership="full"> | |
| 4268 | 4270 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 4269 | 4271 | </return-value> | |
| @@ -4276,12 +4278,12 @@ the font size in device units.</doc> | |||
| 4276 | 4278 | <virtual-method name="get_coverage" invoker="get_coverage"> | |
| 4277 | 4279 | <doc xml:space="preserve" | |
| 4278 | 4280 | filename="pango/fonts.c" | |
| 4279 | - | line="2149">Computes the coverage map for a given font and language tag.</doc> | |
| 4280 | - | <source-position filename="pango/pango-font.h" line="598"/> | |
| 4281 | + | line="2216">Computes the coverage map for a given font and language tag.</doc> | |
| 4282 | + | <source-position filename="pango/pango-font.h" line="628"/> | |
| 4281 | 4283 | <return-value transfer-ownership="full"> | |
| 4282 | 4284 | <doc xml:space="preserve" | |
| 4283 | 4285 | filename="pango/fonts.c" | |
| 4284 | - | line="2156">a newly-allocated `PangoCoverage` | |
| 4286 | + | line="2223">a newly-allocated `PangoCoverage` | |
| 4285 | 4287 | object.</doc> | |
| 4286 | 4288 | <type name="Coverage" c:type="PangoCoverage*"/> | |
| 4287 | 4289 | </return-value> | |
| @@ -4289,13 +4291,13 @@ the font size in device units.</doc> | |||
| 4289 | 4291 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4290 | 4292 | <doc xml:space="preserve" | |
| 4291 | 4293 | filename="pango/fonts.c" | |
| 4292 | - | line="2151">a `PangoFont`</doc> | |
| 4294 | + | line="2218">a `PangoFont`</doc> | |
| 4293 | 4295 | <type name="Font" c:type="PangoFont*"/> | |
| 4294 | 4296 | </instance-parameter> | |
| 4295 | 4297 | <parameter name="language" transfer-ownership="none"> | |
| 4296 | 4298 | <doc xml:space="preserve" | |
| 4297 | 4299 | filename="pango/fonts.c" | |
| 4298 | - | line="2152">the language tag</doc> | |
| 4300 | + | line="2219">the language tag</doc> | |
| 4299 | 4301 | <type name="Language" c:type="PangoLanguage*"/> | |
| 4300 | 4302 | </parameter> | |
| 4301 | 4303 | </parameters> | |
| @@ -4305,14 +4307,14 @@ the font size in device units.</doc> | |||
| 4305 | 4307 | version="1.44"> | |
| 4306 | 4308 | <doc xml:space="preserve" | |
| 4307 | 4309 | filename="pango/fonts.c" | |
| 4308 | - | line="3127">Obtain the OpenType features that are provided by the font. | |
| 4310 | + | line="3201">Obtain the OpenType features that are provided by the font. | |
| 4309 | 4311 | ||
| 4310 | 4312 | These are passed to the rendering system, together with features | |
| 4311 | 4313 | that have been explicitly set via attributes. | |
| 4312 | 4314 | ||
| 4313 | 4315 | Note that this does not include OpenType features which the | |
| 4314 | 4316 | rendering system enables by default.</doc> | |
| 4315 | - | <source-position filename="pango/pango-font.h" line="608"/> | |
| 4317 | + | <source-position filename="pango/pango-font.h" line="638"/> | |
| 4316 | 4318 | <return-value transfer-ownership="none"> | |
| 4317 | 4319 | <type name="none" c:type="void"/> | |
| 4318 | 4320 | </return-value> | |
| @@ -4320,7 +4322,7 @@ rendering system enables by default.</doc> | |||
| 4320 | 4322 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4321 | 4323 | <doc xml:space="preserve" | |
| 4322 | 4324 | filename="pango/fonts.c" | |
| 4323 | - | line="3129">a `PangoFont`</doc> | |
| 4325 | + | line="3203">a `PangoFont`</doc> | |
| 4324 | 4326 | <type name="Font" c:type="PangoFont*"/> | |
| 4325 | 4327 | </instance-parameter> | |
| 4326 | 4328 | <parameter name="features" | |
| @@ -4329,7 +4331,7 @@ rendering system enables by default.</doc> | |||
| 4329 | 4331 | transfer-ownership="none"> | |
| 4330 | 4332 | <doc xml:space="preserve" | |
| 4331 | 4333 | filename="pango/fonts.c" | |
| 4332 | - | line="3130">Array to features in</doc> | |
| 4334 | + | line="3204">Array to features in</doc> | |
| 4333 | 4335 | <array length="1" zero-terminated="0" c:type="hb_feature_t*"> | |
| 4334 | 4336 | <type name="HarfBuzz.feature_t" c:type="hb_feature_t"/> | |
| 4335 | 4337 | </array> | |
| @@ -4337,7 +4339,7 @@ rendering system enables by default.</doc> | |||
| 4337 | 4339 | <parameter name="len" transfer-ownership="none"> | |
| 4338 | 4340 | <doc xml:space="preserve" | |
| 4339 | 4341 | filename="pango/fonts.c" | |
| 4340 | - | line="3131">the length of @features</doc> | |
| 4342 | + | line="3205">the length of @features</doc> | |
| 4341 | 4343 | <type name="guint" c:type="guint"/> | |
| 4342 | 4344 | </parameter> | |
| 4343 | 4345 | <parameter name="num_features" | |
| @@ -4346,7 +4348,7 @@ rendering system enables by default.</doc> | |||
| 4346 | 4348 | transfer-ownership="full"> | |
| 4347 | 4349 | <doc xml:space="preserve" | |
| 4348 | 4350 | filename="pango/fonts.c" | |
| 4349 | - | line="3132">the number of used items in @features</doc> | |
| 4351 | + | line="3206">the number of used items in @features</doc> | |
| 4350 | 4352 | <type name="guint" c:type="guint*"/> | |
| 4351 | 4353 | </parameter> | |
| 4352 | 4354 | </parameters> | |
| @@ -4356,7 +4358,7 @@ rendering system enables by default.</doc> | |||
| 4356 | 4358 | version="1.10"> | |
| 4357 | 4359 | <doc xml:space="preserve" | |
| 4358 | 4360 | filename="pango/fonts.c" | |
| 4359 | - | line="2278">Gets the font map for which the font was created. | |
| 4361 | + | line="2345">Gets the font map for which the font was created. | |
| 4360 | 4362 | ||
| 4361 | 4363 | Note that the font maintains a *weak* reference to | |
| 4362 | 4364 | the font map, so if all references to font map are | |
| @@ -4367,11 +4369,11 @@ In that case this function will return %NULL. | |||
| 4367 | 4369 | It is the responsibility of the user to ensure that the | |
| 4368 | 4370 | font map is kept alive. In most uses this is not an issue | |
| 4369 | 4371 | as a `PangoContext` holds a reference to the font map.</doc> | |
| 4370 | - | <source-position filename="pango/pango-font.h" line="606"/> | |
| 4372 | + | <source-position filename="pango/pango-font.h" line="636"/> | |
| 4371 | 4373 | <return-value transfer-ownership="none" nullable="1"> | |
| 4372 | 4374 | <doc xml:space="preserve" | |
| 4373 | 4375 | filename="pango/fonts.c" | |
| 4374 | - | line="2294">the `PangoFontMap` | |
| 4376 | + | line="2361">the `PangoFontMap` | |
| 4375 | 4377 | for the font</doc> | |
| 4376 | 4378 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 4377 | 4379 | </return-value> | |
| @@ -4382,7 +4384,7 @@ as a `PangoContext` holds a reference to the font map.</doc> | |||
| 4382 | 4384 | allow-none="1"> | |
| 4383 | 4385 | <doc xml:space="preserve" | |
| 4384 | 4386 | filename="pango/fonts.c" | |
| 4385 | - | line="2280">a `PangoFont`</doc> | |
| 4387 | + | line="2347">a `PangoFont`</doc> | |
| 4386 | 4388 | <type name="Font" c:type="PangoFont*"/> | |
| 4387 | 4389 | </instance-parameter> | |
| 4388 | 4390 | </parameters> | |
| @@ -4390,7 +4392,7 @@ as a `PangoContext` holds a reference to the font map.</doc> | |||
| 4390 | 4392 | <virtual-method name="get_glyph_extents" invoker="get_glyph_extents"> | |
| 4391 | 4393 | <doc xml:space="preserve" | |
| 4392 | 4394 | filename="pango/fonts.c" | |
| 4393 | - | line="2188">Gets the logical and ink extents of a glyph within a font. | |
| 4395 | + | line="2255">Gets the logical and ink extents of a glyph within a font. | |
| 4394 | 4396 | ||
| 4395 | 4397 | The coordinate system for each rectangle has its origin at the | |
| 4396 | 4398 | base line and horizontal origin of the character with increasing | |
| @@ -4401,7 +4403,7 @@ of the rectangles are in 1/PANGO_SCALE of a device unit. | |||
| 4401 | 4403 | ||
| 4402 | 4404 | If @font is %NULL, this function gracefully sets some sane values in the | |
| 4403 | 4405 | output variables and returns.</doc> | |
| 4404 | - | <source-position filename="pango/pango-font.h" line="600"/> | |
| 4406 | + | <source-position filename="pango/pango-font.h" line="630"/> | |
| 4405 | 4407 | <return-value transfer-ownership="none"> | |
| 4406 | 4408 | <type name="none" c:type="void"/> | |
| 4407 | 4409 | </return-value> | |
| @@ -4412,13 +4414,13 @@ output variables and returns.</doc> | |||
| 4412 | 4414 | allow-none="1"> | |
| 4413 | 4415 | <doc xml:space="preserve" | |
| 4414 | 4416 | filename="pango/fonts.c" | |
| 4415 | - | line="2190">a `PangoFont`</doc> | |
| 4417 | + | line="2257">a `PangoFont`</doc> | |
| 4416 | 4418 | <type name="Font" c:type="PangoFont*"/> | |
| 4417 | 4419 | </instance-parameter> | |
| 4418 | 4420 | <parameter name="glyph" transfer-ownership="none"> | |
| 4419 | 4421 | <doc xml:space="preserve" | |
| 4420 | 4422 | filename="pango/fonts.c" | |
| 4421 | - | line="2191">the glyph index</doc> | |
| 4423 | + | line="2258">the glyph index</doc> | |
| 4422 | 4424 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 4423 | 4425 | </parameter> | |
| 4424 | 4426 | <parameter name="ink_rect" | |
| @@ -4429,7 +4431,7 @@ output variables and returns.</doc> | |||
| 4429 | 4431 | allow-none="1"> | |
| 4430 | 4432 | <doc xml:space="preserve" | |
| 4431 | 4433 | filename="pango/fonts.c" | |
| 4432 | - | line="2192">rectangle used to store the extents of the glyph as drawn</doc> | |
| 4434 | + | line="2259">rectangle used to store the extents of the glyph as drawn</doc> | |
| 4433 | 4435 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 4434 | 4436 | </parameter> | |
| 4435 | 4437 | <parameter name="logical_rect" | |
| @@ -4440,7 +4442,7 @@ output variables and returns.</doc> | |||
| 4440 | 4442 | allow-none="1"> | |
| 4441 | 4443 | <doc xml:space="preserve" | |
| 4442 | 4444 | filename="pango/fonts.c" | |
| 4443 | - | line="2193">rectangle used to store the logical extents of the glyph</doc> | |
| 4445 | + | line="2260">rectangle used to store the logical extents of the glyph</doc> | |
| 4444 | 4446 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 4445 | 4447 | </parameter> | |
| 4446 | 4448 | </parameters> | |
| @@ -4448,7 +4450,7 @@ output variables and returns.</doc> | |||
| 4448 | 4450 | <virtual-method name="get_metrics" invoker="get_metrics"> | |
| 4449 | 4451 | <doc xml:space="preserve" | |
| 4450 | 4452 | filename="pango/fonts.c" | |
| 4451 | - | line="2235">Gets overall metric information for a font. | |
| 4453 | + | line="2302">Gets overall metric information for a font. | |
| 4452 | 4454 | ||
| 4453 | 4455 | Since the metrics may be substantially different for different scripts, | |
| 4454 | 4456 | a language tag can be provided to indicate that the metrics should be | |
| @@ -4456,11 +4458,11 @@ retrieved that correspond to the script(s) used by that language. | |||
| 4456 | 4458 | ||
| 4457 | 4459 | If @font is %NULL, this function gracefully sets some sane values in the | |
| 4458 | 4460 | output variables and returns.</doc> | |
| 4459 | - | <source-position filename="pango/pango-font.h" line="604"/> | |
| 4461 | + | <source-position filename="pango/pango-font.h" line="634"/> | |
| 4460 | 4462 | <return-value transfer-ownership="full"> | |
| 4461 | 4463 | <doc xml:space="preserve" | |
| 4462 | 4464 | filename="pango/fonts.c" | |
| 4463 | - | line="2251">a `PangoFontMetrics` object. The caller must call | |
| 4465 | + | line="2318">a `PangoFontMetrics` object. The caller must call | |
| 4464 | 4466 | [method@Pango.FontMetrics.unref] when finished using the object.</doc> | |
| 4465 | 4467 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 4466 | 4468 | </return-value> | |
| @@ -4471,7 +4473,7 @@ output variables and returns.</doc> | |||
| 4471 | 4473 | allow-none="1"> | |
| 4472 | 4474 | <doc xml:space="preserve" | |
| 4473 | 4475 | filename="pango/fonts.c" | |
| 4474 | - | line="2237">a `PangoFont`</doc> | |
| 4476 | + | line="2304">a `PangoFont`</doc> | |
| 4475 | 4477 | <type name="Font" c:type="PangoFont*"/> | |
| 4476 | 4478 | </instance-parameter> | |
| 4477 | 4479 | <parameter name="language" | |
| @@ -4480,7 +4482,7 @@ output variables and returns.</doc> | |||
| 4480 | 4482 | allow-none="1"> | |
| 4481 | 4483 | <doc xml:space="preserve" | |
| 4482 | 4484 | filename="pango/fonts.c" | |
| 4483 | - | line="2238">language tag used to determine which script | |
| 4485 | + | line="2305">language tag used to determine which script | |
| 4484 | 4486 | to get the metrics for, or %NULL to indicate to get the metrics for | |
| 4485 | 4487 | the entire font.</doc> | |
| 4486 | 4488 | <type name="Language" c:type="PangoLanguage*"/> | |
| @@ -4490,22 +4492,22 @@ output variables and returns.</doc> | |||
| 4490 | 4492 | <method name="describe" c:identifier="pango_font_describe"> | |
| 4491 | 4493 | <doc xml:space="preserve" | |
| 4492 | 4494 | filename="pango/fonts.c" | |
| 4493 | - | line="2103">Returns a description of the font, with font size set in points. | |
| 4495 | + | line="2170">Returns a description of the font, with font size set in points. | |
| 4494 | 4496 | ||
| 4495 | 4497 | Use [method@Pango.Font.describe_with_absolute_size] if you want | |
| 4496 | 4498 | the font size in device units.</doc> | |
| 4497 | - | <source-position filename="pango/pango-font.h" line="621"/> | |
| 4499 | + | <source-position filename="pango/pango-font.h" line="651"/> | |
| 4498 | 4500 | <return-value transfer-ownership="full"> | |
| 4499 | 4501 | <doc xml:space="preserve" | |
| 4500 | 4502 | filename="pango/fonts.c" | |
| 4501 | - | line="2112">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4503 | + | line="2179">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4502 | 4504 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 4503 | 4505 | </return-value> | |
| 4504 | 4506 | <parameters> | |
| 4505 | 4507 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4506 | 4508 | <doc xml:space="preserve" | |
| 4507 | 4509 | filename="pango/fonts.c" | |
| 4508 | - | line="2105">a `PangoFont`</doc> | |
| 4510 | + | line="2172">a `PangoFont`</doc> | |
| 4509 | 4511 | <type name="Font" c:type="PangoFont*"/> | |
| 4510 | 4512 | </instance-parameter> | |
| 4511 | 4513 | </parameters> | |
| @@ -4515,22 +4517,22 @@ the font size in device units.</doc> | |||
| 4515 | 4517 | version="1.14"> | |
| 4516 | 4518 | <doc xml:space="preserve" | |
| 4517 | 4519 | filename="pango/fonts.c" | |
| 4518 | - | line="2122">Returns a description of the font, with absolute font size set | |
| 4520 | + | line="2189">Returns a description of the font, with absolute font size set | |
| 4519 | 4521 | in device units. | |
| 4520 | 4522 | ||
| 4521 | 4523 | Use [method@Pango.Font.describe] if you want the font size in points.</doc> | |
| 4522 | - | <source-position filename="pango/pango-font.h" line="623"/> | |
| 4524 | + | <source-position filename="pango/pango-font.h" line="653"/> | |
| 4523 | 4525 | <return-value transfer-ownership="full"> | |
| 4524 | 4526 | <doc xml:space="preserve" | |
| 4525 | 4527 | filename="pango/fonts.c" | |
| 4526 | - | line="2131">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4528 | + | line="2198">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4527 | 4529 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 4528 | 4530 | </return-value> | |
| 4529 | 4531 | <parameters> | |
| 4530 | 4532 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4531 | 4533 | <doc xml:space="preserve" | |
| 4532 | 4534 | filename="pango/fonts.c" | |
| 4533 | - | line="2124">a `PangoFont`</doc> | |
| 4535 | + | line="2191">a `PangoFont`</doc> | |
| 4534 | 4536 | <type name="Font" c:type="PangoFont*"/> | |
| 4535 | 4537 | </instance-parameter> | |
| 4536 | 4538 | </parameters> | |
| @@ -4538,12 +4540,12 @@ Use [method@Pango.Font.describe] if you want the font size in points.</doc> | |||
| 4538 | 4540 | <method name="get_coverage" c:identifier="pango_font_get_coverage"> | |
| 4539 | 4541 | <doc xml:space="preserve" | |
| 4540 | 4542 | filename="pango/fonts.c" | |
| 4541 | - | line="2149">Computes the coverage map for a given font and language tag.</doc> | |
| 4542 | - | <source-position filename="pango/pango-font.h" line="625"/> | |
| 4543 | + | line="2216">Computes the coverage map for a given font and language tag.</doc> | |
| 4544 | + | <source-position filename="pango/pango-font.h" line="655"/> | |
| 4543 | 4545 | <return-value transfer-ownership="full"> | |
| 4544 | 4546 | <doc xml:space="preserve" | |
| 4545 | 4547 | filename="pango/fonts.c" | |
| 4546 | - | line="2156">a newly-allocated `PangoCoverage` | |
| 4548 | + | line="2223">a newly-allocated `PangoCoverage` | |
| 4547 | 4549 | object.</doc> | |
| 4548 | 4550 | <type name="Coverage" c:type="PangoCoverage*"/> | |
| 4549 | 4551 | </return-value> | |
| @@ -4551,13 +4553,13 @@ Use [method@Pango.Font.describe] if you want the font size in points.</doc> | |||
| 4551 | 4553 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4552 | 4554 | <doc xml:space="preserve" | |
| 4553 | 4555 | filename="pango/fonts.c" | |
| 4554 | - | line="2151">a `PangoFont`</doc> | |
| 4556 | + | line="2218">a `PangoFont`</doc> | |
| 4555 | 4557 | <type name="Font" c:type="PangoFont*"/> | |
| 4556 | 4558 | </instance-parameter> | |
| 4557 | 4559 | <parameter name="language" transfer-ownership="none"> | |
| 4558 | 4560 | <doc xml:space="preserve" | |
| 4559 | 4561 | filename="pango/fonts.c" | |
| 4560 | - | line="2152">the language tag</doc> | |
| 4562 | + | line="2219">the language tag</doc> | |
| 4561 | 4563 | <type name="Language" c:type="PangoLanguage*"/> | |
| 4562 | 4564 | </parameter> | |
| 4563 | 4565 | </parameters> | |
| @@ -4567,19 +4569,22 @@ Use [method@Pango.Font.describe] if you want the font size in points.</doc> | |||
| 4567 | 4569 | version="1.46"> | |
| 4568 | 4570 | <doc xml:space="preserve" | |
| 4569 | 4571 | filename="pango/fonts.c" | |
| 4570 | - | line="2311">Gets the `PangoFontFace` to which @font belongs.</doc> | |
| 4571 | - | <source-position filename="pango/pango-font.h" line="645"/> | |
| 4572 | - | <return-value transfer-ownership="none"> | |
| 4572 | + | line="2378">Gets the `PangoFontFace` to which @font belongs. | |
| 4573 | + | ||
| 4574 | + | Note that this function can return `NULL` in cases | |
| 4575 | + | where the font outlives its font map.</doc> | |
| 4576 | + | <source-position filename="pango/pango-font.h" line="675"/> | |
| 4577 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 4573 | 4578 | <doc xml:space="preserve" | |
| 4574 | 4579 | filename="pango/fonts.c" | |
| 4575 | - | line="2317">the `PangoFontFace`</doc> | |
| 4580 | + | line="2387">the `PangoFontFace`</doc> | |
| 4576 | 4581 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 4577 | 4582 | </return-value> | |
| 4578 | 4583 | <parameters> | |
| 4579 | 4584 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4580 | 4585 | <doc xml:space="preserve" | |
| 4581 | 4586 | filename="pango/fonts.c" | |
| 4582 | - | line="2313">a `PangoFont`</doc> | |
| 4587 | + | line="2380">a `PangoFont`</doc> | |
| 4583 | 4588 | <type name="Font" c:type="PangoFont*"/> | |
| 4584 | 4589 | </instance-parameter> | |
| 4585 | 4590 | </parameters> | |
| @@ -4589,14 +4594,14 @@ Use [method@Pango.Font.describe] if you want the font size in points.</doc> | |||
| 4589 | 4594 | version="1.44"> | |
| 4590 | 4595 | <doc xml:space="preserve" | |
| 4591 | 4596 | filename="pango/fonts.c" | |
| 4592 | - | line="3127">Obtain the OpenType features that are provided by the font. | |
| 4597 | + | line="3201">Obtain the OpenType features that are provided by the font. | |
| 4593 | 4598 | ||
| 4594 | 4599 | These are passed to the rendering system, together with features | |
| 4595 | 4600 | that have been explicitly set via attributes. | |
| 4596 | 4601 | ||
| 4597 | 4602 | Note that this does not include OpenType features which the | |
| 4598 | 4603 | rendering system enables by default.</doc> | |
| 4599 | - | <source-position filename="pango/pango-font.h" line="651"/> | |
| 4604 | + | <source-position filename="pango/pango-font.h" line="681"/> | |
| 4600 | 4605 | <return-value transfer-ownership="none"> | |
| 4601 | 4606 | <type name="none" c:type="void"/> | |
| 4602 | 4607 | </return-value> | |
| @@ -4604,7 +4609,7 @@ rendering system enables by default.</doc> | |||
| 4604 | 4609 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4605 | 4610 | <doc xml:space="preserve" | |
| 4606 | 4611 | filename="pango/fonts.c" | |
| 4607 | - | line="3129">a `PangoFont`</doc> | |
| 4612 | + | line="3203">a `PangoFont`</doc> | |
| 4608 | 4613 | <type name="Font" c:type="PangoFont*"/> | |
| 4609 | 4614 | </instance-parameter> | |
| 4610 | 4615 | <parameter name="features" | |
| @@ -4613,7 +4618,7 @@ rendering system enables by default.</doc> | |||
| 4613 | 4618 | transfer-ownership="none"> | |
| 4614 | 4619 | <doc xml:space="preserve" | |
| 4615 | 4620 | filename="pango/fonts.c" | |
| 4616 | - | line="3130">Array to features in</doc> | |
| 4621 | + | line="3204">Array to features in</doc> | |
| 4617 | 4622 | <array length="1" zero-terminated="0" c:type="hb_feature_t*"> | |
| 4618 | 4623 | <type name="HarfBuzz.feature_t" c:type="hb_feature_t"/> | |
| 4619 | 4624 | </array> | |
| @@ -4621,7 +4626,7 @@ rendering system enables by default.</doc> | |||
| 4621 | 4626 | <parameter name="len" transfer-ownership="none"> | |
| 4622 | 4627 | <doc xml:space="preserve" | |
| 4623 | 4628 | filename="pango/fonts.c" | |
| 4624 | - | line="3131">the length of @features</doc> | |
| 4629 | + | line="3205">the length of @features</doc> | |
| 4625 | 4630 | <type name="guint" c:type="guint"/> | |
| 4626 | 4631 | </parameter> | |
| 4627 | 4632 | <parameter name="num_features" | |
| @@ -4630,7 +4635,7 @@ rendering system enables by default.</doc> | |||
| 4630 | 4635 | transfer-ownership="full"> | |
| 4631 | 4636 | <doc xml:space="preserve" | |
| 4632 | 4637 | filename="pango/fonts.c" | |
| 4633 | - | line="3132">the number of used items in @features</doc> | |
| 4638 | + | line="3206">the number of used items in @features</doc> | |
| 4634 | 4639 | <type name="guint" c:type="guint*"/> | |
| 4635 | 4640 | </parameter> | |
| 4636 | 4641 | </parameters> | |
| @@ -4640,7 +4645,7 @@ rendering system enables by default.</doc> | |||
| 4640 | 4645 | version="1.10"> | |
| 4641 | 4646 | <doc xml:space="preserve" | |
| 4642 | 4647 | filename="pango/fonts.c" | |
| 4643 | - | line="2278">Gets the font map for which the font was created. | |
| 4648 | + | line="2345">Gets the font map for which the font was created. | |
| 4644 | 4649 | ||
| 4645 | 4650 | Note that the font maintains a *weak* reference to | |
| 4646 | 4651 | the font map, so if all references to font map are | |
| @@ -4651,11 +4656,11 @@ In that case this function will return %NULL. | |||
| 4651 | 4656 | It is the responsibility of the user to ensure that the | |
| 4652 | 4657 | font map is kept alive. In most uses this is not an issue | |
| 4653 | 4658 | as a `PangoContext` holds a reference to the font map.</doc> | |
| 4654 | - | <source-position filename="pango/pango-font.h" line="642"/> | |
| 4659 | + | <source-position filename="pango/pango-font.h" line="672"/> | |
| 4655 | 4660 | <return-value transfer-ownership="none" nullable="1"> | |
| 4656 | 4661 | <doc xml:space="preserve" | |
| 4657 | 4662 | filename="pango/fonts.c" | |
| 4658 | - | line="2294">the `PangoFontMap` | |
| 4663 | + | line="2361">the `PangoFontMap` | |
| 4659 | 4664 | for the font</doc> | |
| 4660 | 4665 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 4661 | 4666 | </return-value> | |
| @@ -4666,7 +4671,7 @@ as a `PangoContext` holds a reference to the font map.</doc> | |||
| 4666 | 4671 | allow-none="1"> | |
| 4667 | 4672 | <doc xml:space="preserve" | |
| 4668 | 4673 | filename="pango/fonts.c" | |
| 4669 | - | line="2280">a `PangoFont`</doc> | |
| 4674 | + | line="2347">a `PangoFont`</doc> | |
| 4670 | 4675 | <type name="Font" c:type="PangoFont*"/> | |
| 4671 | 4676 | </instance-parameter> | |
| 4672 | 4677 | </parameters> | |
| @@ -4675,7 +4680,7 @@ as a `PangoContext` holds a reference to the font map.</doc> | |||
| 4675 | 4680 | c:identifier="pango_font_get_glyph_extents"> | |
| 4676 | 4681 | <doc xml:space="preserve" | |
| 4677 | 4682 | filename="pango/fonts.c" | |
| 4678 | - | line="2188">Gets the logical and ink extents of a glyph within a font. | |
| 4683 | + | line="2255">Gets the logical and ink extents of a glyph within a font. | |
| 4679 | 4684 | ||
| 4680 | 4685 | The coordinate system for each rectangle has its origin at the | |
| 4681 | 4686 | base line and horizontal origin of the character with increasing | |
| @@ -4686,7 +4691,7 @@ of the rectangles are in 1/PANGO_SCALE of a device unit. | |||
| 4686 | 4691 | ||
| 4687 | 4692 | If @font is %NULL, this function gracefully sets some sane values in the | |
| 4688 | 4693 | output variables and returns.</doc> | |
| 4689 | - | <source-position filename="pango/pango-font.h" line="637"/> | |
| 4694 | + | <source-position filename="pango/pango-font.h" line="667"/> | |
| 4690 | 4695 | <return-value transfer-ownership="none"> | |
| 4691 | 4696 | <type name="none" c:type="void"/> | |
| 4692 | 4697 | </return-value> | |
| @@ -4697,13 +4702,13 @@ output variables and returns.</doc> | |||
| 4697 | 4702 | allow-none="1"> | |
| 4698 | 4703 | <doc xml:space="preserve" | |
| 4699 | 4704 | filename="pango/fonts.c" | |
| 4700 | - | line="2190">a `PangoFont`</doc> | |
| 4705 | + | line="2257">a `PangoFont`</doc> | |
| 4701 | 4706 | <type name="Font" c:type="PangoFont*"/> | |
| 4702 | 4707 | </instance-parameter> | |
| 4703 | 4708 | <parameter name="glyph" transfer-ownership="none"> | |
| 4704 | 4709 | <doc xml:space="preserve" | |
| 4705 | 4710 | filename="pango/fonts.c" | |
| 4706 | - | line="2191">the glyph index</doc> | |
| 4711 | + | line="2258">the glyph index</doc> | |
| 4707 | 4712 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 4708 | 4713 | </parameter> | |
| 4709 | 4714 | <parameter name="ink_rect" | |
| @@ -4714,7 +4719,7 @@ output variables and returns.</doc> | |||
| 4714 | 4719 | allow-none="1"> | |
| 4715 | 4720 | <doc xml:space="preserve" | |
| 4716 | 4721 | filename="pango/fonts.c" | |
| 4717 | - | line="2192">rectangle used to store the extents of the glyph as drawn</doc> | |
| 4722 | + | line="2259">rectangle used to store the extents of the glyph as drawn</doc> | |
| 4718 | 4723 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 4719 | 4724 | </parameter> | |
| 4720 | 4725 | <parameter name="logical_rect" | |
| @@ -4725,7 +4730,7 @@ output variables and returns.</doc> | |||
| 4725 | 4730 | allow-none="1"> | |
| 4726 | 4731 | <doc xml:space="preserve" | |
| 4727 | 4732 | filename="pango/fonts.c" | |
| 4728 | - | line="2193">rectangle used to store the logical extents of the glyph</doc> | |
| 4733 | + | line="2260">rectangle used to store the logical extents of the glyph</doc> | |
| 4729 | 4734 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 4730 | 4735 | </parameter> | |
| 4731 | 4736 | </parameters> | |
| @@ -4736,16 +4741,16 @@ output variables and returns.</doc> | |||
| 4736 | 4741 | introspectable="0"> | |
| 4737 | 4742 | <doc xml:space="preserve" | |
| 4738 | 4743 | filename="pango/fonts.c" | |
| 4739 | - | line="2329">Get a `hb_font_t` object backing this font. | |
| 4744 | + | line="2399">Get a `hb_font_t` object backing this font. | |
| 4740 | 4745 | ||
| 4741 | 4746 | Note that the objects returned by this function are cached | |
| 4742 | 4747 | and immutable. If you need to make changes to the `hb_font_t`, | |
| 4743 | 4748 | use [hb_font_create_sub_font()](https://harfbuzz.github.io/harfbuzz-hb-font.html#hb-font-create-sub-font).</doc> | |
| 4744 | - | <source-position filename="pango/pango-font.h" line="656"/> | |
| 4749 | + | <source-position filename="pango/pango-font.h" line="686"/> | |
| 4745 | 4750 | <return-value transfer-ownership="none" nullable="1"> | |
| 4746 | 4751 | <doc xml:space="preserve" | |
| 4747 | 4752 | filename="pango/fonts.c" | |
| 4748 | - | line="2339">the `hb_font_t` object | |
| 4753 | + | line="2409">the `hb_font_t` object | |
| 4749 | 4754 | backing the font</doc> | |
| 4750 | 4755 | <type name="HarfBuzz.font_t" c:type="hb_font_t*"/> | |
| 4751 | 4756 | </return-value> | |
| @@ -4753,7 +4758,7 @@ use [hb_font_create_sub_font()](https://harfbuzz.github.io/harfbuzz-hb-font.html | |||
| 4753 | 4758 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4754 | 4759 | <doc xml:space="preserve" | |
| 4755 | 4760 | filename="pango/fonts.c" | |
| 4756 | - | line="2331">a `PangoFont`</doc> | |
| 4761 | + | line="2401">a `PangoFont`</doc> | |
| 4757 | 4762 | <type name="Font" c:type="PangoFont*"/> | |
| 4758 | 4763 | </instance-parameter> | |
| 4759 | 4764 | </parameters> | |
| @@ -4763,7 +4768,7 @@ use [hb_font_create_sub_font()](https://harfbuzz.github.io/harfbuzz-hb-font.html | |||
| 4763 | 4768 | version="1.50"> | |
| 4764 | 4769 | <doc xml:space="preserve" | |
| 4765 | 4770 | filename="pango/fonts.c" | |
| 4766 | - | line="3154">Returns the languages that are supported by @font. | |
| 4771 | + | line="3228">Returns the languages that are supported by @font. | |
| 4767 | 4772 | ||
| 4768 | 4773 | If the font backend does not provide this information, | |
| 4769 | 4774 | %NULL is returned. For the fontconfig backend, this | |
| @@ -4771,11 +4776,11 @@ corresponds to the FC_LANG member of the FcPattern. | |||
| 4771 | 4776 | ||
| 4772 | 4777 | The returned array is only valid as long as the font | |
| 4773 | 4778 | and its fontmap are valid.</doc> | |
| 4774 | - | <source-position filename="pango/pango-font.h" line="659"/> | |
| 4779 | + | <source-position filename="pango/pango-font.h" line="689"/> | |
| 4775 | 4780 | <return-value transfer-ownership="none" nullable="1"> | |
| 4776 | 4781 | <doc xml:space="preserve" | |
| 4777 | 4782 | filename="pango/fonts.c" | |
| 4778 | - | line="3167">an array of `PangoLanguage`</doc> | |
| 4783 | + | line="3241">an array of `PangoLanguage`</doc> | |
| 4779 | 4784 | <array c:type="PangoLanguage**"> | |
| 4780 | 4785 | <type name="Language"/> | |
| 4781 | 4786 | </array> | |
| @@ -4784,7 +4789,7 @@ and its fontmap are valid.</doc> | |||
| 4784 | 4789 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4785 | 4790 | <doc xml:space="preserve" | |
| 4786 | 4791 | filename="pango/fonts.c" | |
| 4787 | - | line="3156">a `PangoFont`</doc> | |
| 4792 | + | line="3230">a `PangoFont`</doc> | |
| 4788 | 4793 | <type name="Font" c:type="PangoFont*"/> | |
| 4789 | 4794 | </instance-parameter> | |
| 4790 | 4795 | </parameters> | |
| @@ -4792,7 +4797,7 @@ and its fontmap are valid.</doc> | |||
| 4792 | 4797 | <method name="get_metrics" c:identifier="pango_font_get_metrics"> | |
| 4793 | 4798 | <doc xml:space="preserve" | |
| 4794 | 4799 | filename="pango/fonts.c" | |
| 4795 | - | line="2235">Gets overall metric information for a font. | |
| 4800 | + | line="2302">Gets overall metric information for a font. | |
| 4796 | 4801 | ||
| 4797 | 4802 | Since the metrics may be substantially different for different scripts, | |
| 4798 | 4803 | a language tag can be provided to indicate that the metrics should be | |
| @@ -4800,11 +4805,11 @@ retrieved that correspond to the script(s) used by that language. | |||
| 4800 | 4805 | ||
| 4801 | 4806 | If @font is %NULL, this function gracefully sets some sane values in the | |
| 4802 | 4807 | output variables and returns.</doc> | |
| 4803 | - | <source-position filename="pango/pango-font.h" line="634"/> | |
| 4808 | + | <source-position filename="pango/pango-font.h" line="664"/> | |
| 4804 | 4809 | <return-value transfer-ownership="full"> | |
| 4805 | 4810 | <doc xml:space="preserve" | |
| 4806 | 4811 | filename="pango/fonts.c" | |
| 4807 | - | line="2251">a `PangoFontMetrics` object. The caller must call | |
| 4812 | + | line="2318">a `PangoFontMetrics` object. The caller must call | |
| 4808 | 4813 | [method@Pango.FontMetrics.unref] when finished using the object.</doc> | |
| 4809 | 4814 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 4810 | 4815 | </return-value> | |
| @@ -4815,7 +4820,7 @@ output variables and returns.</doc> | |||
| 4815 | 4820 | allow-none="1"> | |
| 4816 | 4821 | <doc xml:space="preserve" | |
| 4817 | 4822 | filename="pango/fonts.c" | |
| 4818 | - | line="2237">a `PangoFont`</doc> | |
| 4823 | + | line="2304">a `PangoFont`</doc> | |
| 4819 | 4824 | <type name="Font" c:type="PangoFont*"/> | |
| 4820 | 4825 | </instance-parameter> | |
| 4821 | 4826 | <parameter name="language" | |
| @@ -4824,7 +4829,7 @@ output variables and returns.</doc> | |||
| 4824 | 4829 | allow-none="1"> | |
| 4825 | 4830 | <doc xml:space="preserve" | |
| 4826 | 4831 | filename="pango/fonts.c" | |
| 4827 | - | line="2238">language tag used to determine which script | |
| 4832 | + | line="2305">language tag used to determine which script | |
| 4828 | 4833 | to get the metrics for, or %NULL to indicate to get the metrics for | |
| 4829 | 4834 | the entire font.</doc> | |
| 4830 | 4835 | <type name="Language" c:type="PangoLanguage*"/> | |
| @@ -4836,25 +4841,25 @@ output variables and returns.</doc> | |||
| 4836 | 4841 | version="1.44"> | |
| 4837 | 4842 | <doc xml:space="preserve" | |
| 4838 | 4843 | filename="pango/fonts.c" | |
| 4839 | - | line="3107">Returns whether the font provides a glyph for this character.</doc> | |
| 4840 | - | <source-position filename="pango/pango-font.h" line="648"/> | |
| 4844 | + | line="3181">Returns whether the font provides a glyph for this character.</doc> | |
| 4845 | + | <source-position filename="pango/pango-font.h" line="678"/> | |
| 4841 | 4846 | <return-value transfer-ownership="none"> | |
| 4842 | 4847 | <doc xml:space="preserve" | |
| 4843 | 4848 | filename="pango/fonts.c" | |
| 4844 | - | line="3114">`TRUE` if @font can render @wc</doc> | |
| 4849 | + | line="3188">`TRUE` if @font can render @wc</doc> | |
| 4845 | 4850 | <type name="gboolean" c:type="gboolean"/> | |
| 4846 | 4851 | </return-value> | |
| 4847 | 4852 | <parameters> | |
| 4848 | 4853 | <instance-parameter name="font" transfer-ownership="none"> | |
| 4849 | 4854 | <doc xml:space="preserve" | |
| 4850 | 4855 | filename="pango/fonts.c" | |
| 4851 | - | line="3109">a `PangoFont`</doc> | |
| 4856 | + | line="3183">a `PangoFont`</doc> | |
| 4852 | 4857 | <type name="Font" c:type="PangoFont*"/> | |
| 4853 | 4858 | </instance-parameter> | |
| 4854 | 4859 | <parameter name="wc" transfer-ownership="none"> | |
| 4855 | 4860 | <doc xml:space="preserve" | |
| 4856 | 4861 | filename="pango/fonts.c" | |
| 4857 | - | line="3110">a Unicode character</doc> | |
| 4862 | + | line="3184">a Unicode character</doc> | |
| 4858 | 4863 | <type name="gunichar" c:type="gunichar"/> | |
| 4859 | 4864 | </parameter> | |
| 4860 | 4865 | </parameters> | |
| @@ -4873,7 +4878,7 @@ The intended use of this function is testing, benchmarking and debugging. | |||
| 4873 | 4878 | The format is not meant as a permanent storage format. | |
| 4874 | 4879 | ||
| 4875 | 4880 | To recreate a font from its serialized form, use [func@Pango.Font.deserialize].</doc> | |
| 4876 | - | <source-position filename="pango/pango-font.h" line="662"/> | |
| 4881 | + | <source-position filename="pango/pango-font.h" line="692"/> | |
| 4877 | 4882 | <return-value transfer-ownership="full"> | |
| 4878 | 4883 | <doc xml:space="preserve" | |
| 4879 | 4884 | filename="pango/serializer.c" | |
| @@ -4896,24 +4901,24 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4896 | 4901 | <record name="FontClass" | |
| 4897 | 4902 | c:type="PangoFontClass" | |
| 4898 | 4903 | glib:is-gtype-struct-for="Font"> | |
| 4899 | - | <source-position filename="pango/pango-font.h" line="613"/> | |
| 4904 | + | <source-position filename="pango/pango-font.h" line="643"/> | |
| 4900 | 4905 | <field name="parent_class"> | |
| 4901 | 4906 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 4902 | 4907 | </field> | |
| 4903 | 4908 | <field name="describe"> | |
| 4904 | 4909 | <callback name="describe"> | |
| 4905 | - | <source-position filename="pango/pango-font.h" line="597"/> | |
| 4910 | + | <source-position filename="pango/pango-font.h" line="627"/> | |
| 4906 | 4911 | <return-value transfer-ownership="full"> | |
| 4907 | 4912 | <doc xml:space="preserve" | |
| 4908 | 4913 | filename="pango/fonts.c" | |
| 4909 | - | line="2112">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4914 | + | line="2179">a newly-allocated `PangoFontDescription` object.</doc> | |
| 4910 | 4915 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 4911 | 4916 | </return-value> | |
| 4912 | 4917 | <parameters> | |
| 4913 | 4918 | <parameter name="font" transfer-ownership="none"> | |
| 4914 | 4919 | <doc xml:space="preserve" | |
| 4915 | 4920 | filename="pango/fonts.c" | |
| 4916 | - | line="2105">a `PangoFont`</doc> | |
| 4921 | + | line="2172">a `PangoFont`</doc> | |
| 4917 | 4922 | <type name="Font" c:type="PangoFont*"/> | |
| 4918 | 4923 | </parameter> | |
| 4919 | 4924 | </parameters> | |
| @@ -4921,11 +4926,11 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4921 | 4926 | </field> | |
| 4922 | 4927 | <field name="get_coverage"> | |
| 4923 | 4928 | <callback name="get_coverage"> | |
| 4924 | - | <source-position filename="pango/pango-font.h" line="598"/> | |
| 4929 | + | <source-position filename="pango/pango-font.h" line="628"/> | |
| 4925 | 4930 | <return-value transfer-ownership="full"> | |
| 4926 | 4931 | <doc xml:space="preserve" | |
| 4927 | 4932 | filename="pango/fonts.c" | |
| 4928 | - | line="2156">a newly-allocated `PangoCoverage` | |
| 4933 | + | line="2223">a newly-allocated `PangoCoverage` | |
| 4929 | 4934 | object.</doc> | |
| 4930 | 4935 | <type name="Coverage" c:type="PangoCoverage*"/> | |
| 4931 | 4936 | </return-value> | |
| @@ -4933,13 +4938,13 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4933 | 4938 | <parameter name="font" transfer-ownership="none"> | |
| 4934 | 4939 | <doc xml:space="preserve" | |
| 4935 | 4940 | filename="pango/fonts.c" | |
| 4936 | - | line="2151">a `PangoFont`</doc> | |
| 4941 | + | line="2218">a `PangoFont`</doc> | |
| 4937 | 4942 | <type name="Font" c:type="PangoFont*"/> | |
| 4938 | 4943 | </parameter> | |
| 4939 | 4944 | <parameter name="language" transfer-ownership="none"> | |
| 4940 | 4945 | <doc xml:space="preserve" | |
| 4941 | 4946 | filename="pango/fonts.c" | |
| 4942 | - | line="2152">the language tag</doc> | |
| 4947 | + | line="2219">the language tag</doc> | |
| 4943 | 4948 | <type name="Language" c:type="PangoLanguage*"/> | |
| 4944 | 4949 | </parameter> | |
| 4945 | 4950 | </parameters> | |
| @@ -4947,7 +4952,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4947 | 4952 | </field> | |
| 4948 | 4953 | <field name="get_glyph_extents"> | |
| 4949 | 4954 | <callback name="get_glyph_extents"> | |
| 4950 | - | <source-position filename="pango/pango-font.h" line="600"/> | |
| 4955 | + | <source-position filename="pango/pango-font.h" line="630"/> | |
| 4951 | 4956 | <return-value transfer-ownership="none"> | |
| 4952 | 4957 | <type name="none" c:type="void"/> | |
| 4953 | 4958 | </return-value> | |
| @@ -4958,13 +4963,13 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4958 | 4963 | allow-none="1"> | |
| 4959 | 4964 | <doc xml:space="preserve" | |
| 4960 | 4965 | filename="pango/fonts.c" | |
| 4961 | - | line="2190">a `PangoFont`</doc> | |
| 4966 | + | line="2257">a `PangoFont`</doc> | |
| 4962 | 4967 | <type name="Font" c:type="PangoFont*"/> | |
| 4963 | 4968 | </parameter> | |
| 4964 | 4969 | <parameter name="glyph" transfer-ownership="none"> | |
| 4965 | 4970 | <doc xml:space="preserve" | |
| 4966 | 4971 | filename="pango/fonts.c" | |
| 4967 | - | line="2191">the glyph index</doc> | |
| 4972 | + | line="2258">the glyph index</doc> | |
| 4968 | 4973 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 4969 | 4974 | </parameter> | |
| 4970 | 4975 | <parameter name="ink_rect" | |
| @@ -4975,7 +4980,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4975 | 4980 | allow-none="1"> | |
| 4976 | 4981 | <doc xml:space="preserve" | |
| 4977 | 4982 | filename="pango/fonts.c" | |
| 4978 | - | line="2192">rectangle used to store the extents of the glyph as drawn</doc> | |
| 4983 | + | line="2259">rectangle used to store the extents of the glyph as drawn</doc> | |
| 4979 | 4984 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 4980 | 4985 | </parameter> | |
| 4981 | 4986 | <parameter name="logical_rect" | |
| @@ -4986,7 +4991,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4986 | 4991 | allow-none="1"> | |
| 4987 | 4992 | <doc xml:space="preserve" | |
| 4988 | 4993 | filename="pango/fonts.c" | |
| 4989 | - | line="2193">rectangle used to store the logical extents of the glyph</doc> | |
| 4994 | + | line="2260">rectangle used to store the logical extents of the glyph</doc> | |
| 4990 | 4995 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 4991 | 4996 | </parameter> | |
| 4992 | 4997 | </parameters> | |
| @@ -4994,11 +4999,11 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 4994 | 4999 | </field> | |
| 4995 | 5000 | <field name="get_metrics"> | |
| 4996 | 5001 | <callback name="get_metrics"> | |
| 4997 | - | <source-position filename="pango/pango-font.h" line="604"/> | |
| 5002 | + | <source-position filename="pango/pango-font.h" line="634"/> | |
| 4998 | 5003 | <return-value transfer-ownership="full"> | |
| 4999 | 5004 | <doc xml:space="preserve" | |
| 5000 | 5005 | filename="pango/fonts.c" | |
| 5001 | - | line="2251">a `PangoFontMetrics` object. The caller must call | |
| 5006 | + | line="2318">a `PangoFontMetrics` object. The caller must call | |
| 5002 | 5007 | [method@Pango.FontMetrics.unref] when finished using the object.</doc> | |
| 5003 | 5008 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 5004 | 5009 | </return-value> | |
| @@ -5009,7 +5014,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5009 | 5014 | allow-none="1"> | |
| 5010 | 5015 | <doc xml:space="preserve" | |
| 5011 | 5016 | filename="pango/fonts.c" | |
| 5012 | - | line="2237">a `PangoFont`</doc> | |
| 5017 | + | line="2304">a `PangoFont`</doc> | |
| 5013 | 5018 | <type name="Font" c:type="PangoFont*"/> | |
| 5014 | 5019 | </parameter> | |
| 5015 | 5020 | <parameter name="language" | |
| @@ -5018,7 +5023,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5018 | 5023 | allow-none="1"> | |
| 5019 | 5024 | <doc xml:space="preserve" | |
| 5020 | 5025 | filename="pango/fonts.c" | |
| 5021 | - | line="2238">language tag used to determine which script | |
| 5026 | + | line="2305">language tag used to determine which script | |
| 5022 | 5027 | to get the metrics for, or %NULL to indicate to get the metrics for | |
| 5023 | 5028 | the entire font.</doc> | |
| 5024 | 5029 | <type name="Language" c:type="PangoLanguage*"/> | |
| @@ -5028,11 +5033,11 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5028 | 5033 | </field> | |
| 5029 | 5034 | <field name="get_font_map"> | |
| 5030 | 5035 | <callback name="get_font_map"> | |
| 5031 | - | <source-position filename="pango/pango-font.h" line="606"/> | |
| 5036 | + | <source-position filename="pango/pango-font.h" line="636"/> | |
| 5032 | 5037 | <return-value transfer-ownership="none" nullable="1"> | |
| 5033 | 5038 | <doc xml:space="preserve" | |
| 5034 | 5039 | filename="pango/fonts.c" | |
| 5035 | - | line="2294">the `PangoFontMap` | |
| 5040 | + | line="2361">the `PangoFontMap` | |
| 5036 | 5041 | for the font</doc> | |
| 5037 | 5042 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 5038 | 5043 | </return-value> | |
| @@ -5043,7 +5048,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5043 | 5048 | allow-none="1"> | |
| 5044 | 5049 | <doc xml:space="preserve" | |
| 5045 | 5050 | filename="pango/fonts.c" | |
| 5046 | - | line="2280">a `PangoFont`</doc> | |
| 5051 | + | line="2347">a `PangoFont`</doc> | |
| 5047 | 5052 | <type name="Font" c:type="PangoFont*"/> | |
| 5048 | 5053 | </parameter> | |
| 5049 | 5054 | </parameters> | |
| @@ -5051,7 +5056,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5051 | 5056 | </field> | |
| 5052 | 5057 | <field name="describe_absolute"> | |
| 5053 | 5058 | <callback name="describe_absolute"> | |
| 5054 | - | <source-position filename="pango/pango-font.h" line="607"/> | |
| 5059 | + | <source-position filename="pango/pango-font.h" line="637"/> | |
| 5055 | 5060 | <return-value transfer-ownership="full"> | |
| 5056 | 5061 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5057 | 5062 | </return-value> | |
| @@ -5064,7 +5069,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5064 | 5069 | </field> | |
| 5065 | 5070 | <field name="get_features"> | |
| 5066 | 5071 | <callback name="get_features"> | |
| 5067 | - | <source-position filename="pango/pango-font.h" line="608"/> | |
| 5072 | + | <source-position filename="pango/pango-font.h" line="638"/> | |
| 5068 | 5073 | <return-value transfer-ownership="none"> | |
| 5069 | 5074 | <type name="none" c:type="void"/> | |
| 5070 | 5075 | </return-value> | |
| @@ -5072,7 +5077,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5072 | 5077 | <parameter name="font" transfer-ownership="none"> | |
| 5073 | 5078 | <doc xml:space="preserve" | |
| 5074 | 5079 | filename="pango/fonts.c" | |
| 5075 | - | line="3129">a `PangoFont`</doc> | |
| 5080 | + | line="3203">a `PangoFont`</doc> | |
| 5076 | 5081 | <type name="Font" c:type="PangoFont*"/> | |
| 5077 | 5082 | </parameter> | |
| 5078 | 5083 | <parameter name="features" | |
| @@ -5081,7 +5086,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5081 | 5086 | transfer-ownership="none"> | |
| 5082 | 5087 | <doc xml:space="preserve" | |
| 5083 | 5088 | filename="pango/fonts.c" | |
| 5084 | - | line="3130">Array to features in</doc> | |
| 5089 | + | line="3204">Array to features in</doc> | |
| 5085 | 5090 | <array length="2" zero-terminated="0" c:type="hb_feature_t*"> | |
| 5086 | 5091 | <type name="HarfBuzz.feature_t" c:type="hb_feature_t"/> | |
| 5087 | 5092 | </array> | |
| @@ -5089,7 +5094,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5089 | 5094 | <parameter name="len" transfer-ownership="none"> | |
| 5090 | 5095 | <doc xml:space="preserve" | |
| 5091 | 5096 | filename="pango/fonts.c" | |
| 5092 | - | line="3131">the length of @features</doc> | |
| 5097 | + | line="3205">the length of @features</doc> | |
| 5093 | 5098 | <type name="guint" c:type="guint"/> | |
| 5094 | 5099 | </parameter> | |
| 5095 | 5100 | <parameter name="num_features" | |
| @@ -5098,7 +5103,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5098 | 5103 | transfer-ownership="full"> | |
| 5099 | 5104 | <doc xml:space="preserve" | |
| 5100 | 5105 | filename="pango/fonts.c" | |
| 5101 | - | line="3132">the number of used items in @features</doc> | |
| 5106 | + | line="3206">the number of used items in @features</doc> | |
| 5102 | 5107 | <type name="guint" c:type="guint*"/> | |
| 5103 | 5108 | </parameter> | |
| 5104 | 5109 | </parameters> | |
| @@ -5106,7 +5111,7 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5106 | 5111 | </field> | |
| 5107 | 5112 | <field name="create_hb_font"> | |
| 5108 | 5113 | <callback name="create_hb_font"> | |
| 5109 | - | <source-position filename="pango/pango-font.h" line="612"/> | |
| 5114 | + | <source-position filename="pango/pango-font.h" line="642"/> | |
| 5110 | 5115 | <return-value transfer-ownership="full"> | |
| 5111 | 5116 | <type name="HarfBuzz.font_t" c:type="hb_font_t*"/> | |
| 5112 | 5117 | </return-value> | |
| @@ -5118,6 +5123,42 @@ To recreate a font from its serialized form, use [func@Pango.Font.deserialize].< | |||
| 5118 | 5123 | </callback> | |
| 5119 | 5124 | </field> | |
| 5120 | 5125 | </record> | |
| 5126 | + | <enumeration name="FontColor" | |
| 5127 | + | version="1.57" | |
| 5128 | + | glib:type-name="PangoFontColor" | |
| 5129 | + | glib:get-type="pango_font_color_get_type" | |
| 5130 | + | c:type="PangoFontColor"> | |
| 5131 | + | <doc xml:space="preserve" | |
| 5132 | + | filename="pango/pango-font.h" | |
| 5133 | + | line="269">Specifies whether a font should or should not have color glyphs.</doc> | |
| 5134 | + | <member name="forbidden" | |
| 5135 | + | value="0" | |
| 5136 | + | c:identifier="PANGO_FONT_COLOR_FORBIDDEN" | |
| 5137 | + | glib:nick="forbidden" | |
| 5138 | + | glib:name="PANGO_FONT_COLOR_FORBIDDEN"> | |
| 5139 | + | <doc xml:space="preserve" | |
| 5140 | + | filename="pango/pango-font.h" | |
| 5141 | + | line="271">The font should not have color glyphs</doc> | |
| 5142 | + | </member> | |
| 5143 | + | <member name="required" | |
| 5144 | + | value="1" | |
| 5145 | + | c:identifier="PANGO_FONT_COLOR_REQUIRED" | |
| 5146 | + | glib:nick="required" | |
| 5147 | + | glib:name="PANGO_FONT_COLOR_REQUIRED"> | |
| 5148 | + | <doc xml:space="preserve" | |
| 5149 | + | filename="pango/pango-font.h" | |
| 5150 | + | line="272">The font should have color glyphs</doc> | |
| 5151 | + | </member> | |
| 5152 | + | <member name="dont_care" | |
| 5153 | + | value="2" | |
| 5154 | + | c:identifier="PANGO_FONT_COLOR_DONT_CARE" | |
| 5155 | + | glib:nick="dont-care" | |
| 5156 | + | glib:name="PANGO_FONT_COLOR_DONT_CARE"> | |
| 5157 | + | <doc xml:space="preserve" | |
| 5158 | + | filename="pango/pango-font.h" | |
| 5159 | + | line="273">The font may or may not use color</doc> | |
| 5160 | + | </member> | |
| 5161 | + | </enumeration> | |
| 5121 | 5162 | <record name="FontDescription" | |
| 5122 | 5163 | c:type="PangoFontDescription" | |
| 5123 | 5164 | opaque="1" | |
| @@ -5136,12 +5177,12 @@ a font to load.</doc> | |||
| 5136 | 5177 | <constructor name="new" c:identifier="pango_font_description_new"> | |
| 5137 | 5178 | <doc xml:space="preserve" | |
| 5138 | 5179 | filename="pango/fonts.c" | |
| 5139 | - | line="81">Creates a new font description structure with all fields unset.</doc> | |
| 5140 | - | <source-position filename="pango/pango-font.h" line="270"/> | |
| 5180 | + | line="83">Creates a new font description structure with all fields unset.</doc> | |
| 5181 | + | <source-position filename="pango/pango-font.h" line="294"/> | |
| 5141 | 5182 | <return-value transfer-ownership="full"> | |
| 5142 | 5183 | <doc xml:space="preserve" | |
| 5143 | 5184 | filename="pango/fonts.c" | |
| 5144 | - | line="86">the newly allocated `PangoFontDescription`, | |
| 5185 | + | line="88">the newly allocated `PangoFontDescription`, | |
| 5145 | 5186 | which should be freed using [method@Pango.FontDescription.free].</doc> | |
| 5146 | 5187 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5147 | 5188 | </return-value> | |
| @@ -5150,7 +5191,7 @@ a font to load.</doc> | |||
| 5150 | 5191 | c:identifier="pango_font_description_better_match"> | |
| 5151 | 5192 | <doc xml:space="preserve" | |
| 5152 | 5193 | filename="pango/fonts.c" | |
| 5153 | - | line="889">Determines if the style attributes of @new_match are a closer match | |
| 5194 | + | line="938">Determines if the style attributes of @new_match are a closer match | |
| 5154 | 5195 | for @desc than those of @old_match are, or if @old_match is %NULL, | |
| 5155 | 5196 | determines if @new_match is a match at all. | |
| 5156 | 5197 | ||
| @@ -5161,18 +5202,18 @@ and size-related attributes. Approximate matching for style considers | |||
| 5161 | 5202 | a match as when the styles are equal. | |
| 5162 | 5203 | ||
| 5163 | 5204 | Note that @old_match must match @desc.</doc> | |
| 5164 | - | <source-position filename="pango/pango-font.h" line="364"/> | |
| 5205 | + | <source-position filename="pango/pango-font.h" line="394"/> | |
| 5165 | 5206 | <return-value transfer-ownership="none"> | |
| 5166 | 5207 | <doc xml:space="preserve" | |
| 5167 | 5208 | filename="pango/fonts.c" | |
| 5168 | - | line="907">%TRUE if @new_match is a better match</doc> | |
| 5209 | + | line="956">%TRUE if @new_match is a better match</doc> | |
| 5169 | 5210 | <type name="gboolean" c:type="gboolean"/> | |
| 5170 | 5211 | </return-value> | |
| 5171 | 5212 | <parameters> | |
| 5172 | 5213 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5173 | 5214 | <doc xml:space="preserve" | |
| 5174 | 5215 | filename="pango/fonts.c" | |
| 5175 | - | line="891">a `PangoFontDescription`</doc> | |
| 5216 | + | line="940">a `PangoFontDescription`</doc> | |
| 5176 | 5217 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5177 | 5218 | </instance-parameter> | |
| 5178 | 5219 | <parameter name="old_match" | |
| @@ -5181,13 +5222,13 @@ Note that @old_match must match @desc.</doc> | |||
| 5181 | 5222 | allow-none="1"> | |
| 5182 | 5223 | <doc xml:space="preserve" | |
| 5183 | 5224 | filename="pango/fonts.c" | |
| 5184 | - | line="892">a `PangoFontDescription`, or %NULL</doc> | |
| 5225 | + | line="941">a `PangoFontDescription`, or %NULL</doc> | |
| 5185 | 5226 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5186 | 5227 | </parameter> | |
| 5187 | 5228 | <parameter name="new_match" transfer-ownership="none"> | |
| 5188 | 5229 | <doc xml:space="preserve" | |
| 5189 | 5230 | filename="pango/fonts.c" | |
| 5190 | - | line="893">a `PangoFontDescription`</doc> | |
| 5231 | + | line="942">a `PangoFontDescription`</doc> | |
| 5191 | 5232 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5192 | 5233 | </parameter> | |
| 5193 | 5234 | </parameters> | |
| @@ -5195,12 +5236,12 @@ Note that @old_match must match @desc.</doc> | |||
| 5195 | 5236 | <method name="copy" c:identifier="pango_font_description_copy"> | |
| 5196 | 5237 | <doc xml:space="preserve" | |
| 5197 | 5238 | filename="pango/fonts.c" | |
| 5198 | - | line="931">Make a copy of a `PangoFontDescription`.</doc> | |
| 5199 | - | <source-position filename="pango/pango-font.h" line="272"/> | |
| 5239 | + | line="982">Make a copy of a `PangoFontDescription`.</doc> | |
| 5240 | + | <source-position filename="pango/pango-font.h" line="296"/> | |
| 5200 | 5241 | <return-value transfer-ownership="full" nullable="1"> | |
| 5201 | 5242 | <doc xml:space="preserve" | |
| 5202 | 5243 | filename="pango/fonts.c" | |
| 5203 | - | line="937">the newly allocated `PangoFontDescription`, | |
| 5244 | + | line="988">the newly allocated `PangoFontDescription`, | |
| 5204 | 5245 | which should be freed with [method@Pango.FontDescription.free], | |
| 5205 | 5246 | or %NULL if @desc was %NULL.</doc> | |
| 5206 | 5247 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| @@ -5212,7 +5253,7 @@ Note that @old_match must match @desc.</doc> | |||
| 5212 | 5253 | allow-none="1"> | |
| 5213 | 5254 | <doc xml:space="preserve" | |
| 5214 | 5255 | filename="pango/fonts.c" | |
| 5215 | - | line="933">a `PangoFontDescription`, may be %NULL</doc> | |
| 5256 | + | line="984">a `PangoFontDescription`, may be %NULL</doc> | |
| 5216 | 5257 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5217 | 5258 | </instance-parameter> | |
| 5218 | 5259 | </parameters> | |
| @@ -5221,18 +5262,18 @@ Note that @old_match must match @desc.</doc> | |||
| 5221 | 5262 | c:identifier="pango_font_description_copy_static"> | |
| 5222 | 5263 | <doc xml:space="preserve" | |
| 5223 | 5264 | filename="pango/fonts.c" | |
| 5224 | - | line="968">Make a copy of a `PangoFontDescription`, but don't duplicate | |
| 5265 | + | line="1019">Make a copy of a `PangoFontDescription`, but don't duplicate | |
| 5225 | 5266 | allocated fields. | |
| 5226 | 5267 | ||
| 5227 | 5268 | This is like [method@Pango.FontDescription.copy], but only a shallow | |
| 5228 | 5269 | copy is made of the family name and other allocated fields. The result | |
| 5229 | 5270 | can only be used until @desc is modified or freed. This is meant | |
| 5230 | 5271 | to be used when the copy is only needed temporarily.</doc> | |
| 5231 | - | <source-position filename="pango/pango-font.h" line="274"/> | |
| 5272 | + | <source-position filename="pango/pango-font.h" line="298"/> | |
| 5232 | 5273 | <return-value transfer-ownership="full" nullable="1"> | |
| 5233 | 5274 | <doc xml:space="preserve" | |
| 5234 | 5275 | filename="pango/fonts.c" | |
| 5235 | - | line="980">the newly allocated `PangoFontDescription`, | |
| 5276 | + | line="1031">the newly allocated `PangoFontDescription`, | |
| 5236 | 5277 | which should be freed with [method@Pango.FontDescription.free], | |
| 5237 | 5278 | or %NULL if @desc was %NULL.</doc> | |
| 5238 | 5279 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| @@ -5244,7 +5285,7 @@ to be used when the copy is only needed temporarily.</doc> | |||
| 5244 | 5285 | allow-none="1"> | |
| 5245 | 5286 | <doc xml:space="preserve" | |
| 5246 | 5287 | filename="pango/fonts.c" | |
| 5247 | - | line="970">a `PangoFontDescription`, may be %NULL</doc> | |
| 5288 | + | line="1021">a `PangoFontDescription`, may be %NULL</doc> | |
| 5248 | 5289 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5249 | 5290 | </instance-parameter> | |
| 5250 | 5291 | </parameters> | |
| @@ -5252,17 +5293,17 @@ to be used when the copy is only needed temporarily.</doc> | |||
| 5252 | 5293 | <method name="equal" c:identifier="pango_font_description_equal"> | |
| 5253 | 5294 | <doc xml:space="preserve" | |
| 5254 | 5295 | filename="pango/fonts.c" | |
| 5255 | - | line="1008">Compares two font descriptions for equality. | |
| 5296 | + | line="1059">Compares two font descriptions for equality. | |
| 5256 | 5297 | ||
| 5257 | 5298 | Two font descriptions are considered equal if the fonts they describe | |
| 5258 | 5299 | are provably identical. This means that their masks do not have to match, | |
| 5259 | 5300 | as long as other fields are all the same. (Two font descriptions may | |
| 5260 | 5301 | result in identical fonts being loaded, but still compare %FALSE.)</doc> | |
| 5261 | - | <source-position filename="pango/pango-font.h" line="278"/> | |
| 5302 | + | <source-position filename="pango/pango-font.h" line="302"/> | |
| 5262 | 5303 | <return-value transfer-ownership="none"> | |
| 5263 | 5304 | <doc xml:space="preserve" | |
| 5264 | 5305 | filename="pango/fonts.c" | |
| 5265 | - | line="1020">%TRUE if the two font descriptions are identical, | |
| 5306 | + | line="1071">%TRUE if the two font descriptions are identical, | |
| 5266 | 5307 | %FALSE otherwise.</doc> | |
| 5267 | 5308 | <type name="gboolean" c:type="gboolean"/> | |
| 5268 | 5309 | </return-value> | |
| @@ -5270,13 +5311,13 @@ result in identical fonts being loaded, but still compare %FALSE.)</doc> | |||
| 5270 | 5311 | <instance-parameter name="desc1" transfer-ownership="none"> | |
| 5271 | 5312 | <doc xml:space="preserve" | |
| 5272 | 5313 | filename="pango/fonts.c" | |
| 5273 | - | line="1010">a `PangoFontDescription`</doc> | |
| 5314 | + | line="1061">a `PangoFontDescription`</doc> | |
| 5274 | 5315 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5275 | 5316 | </instance-parameter> | |
| 5276 | 5317 | <parameter name="desc2" transfer-ownership="none"> | |
| 5277 | 5318 | <doc xml:space="preserve" | |
| 5278 | 5319 | filename="pango/fonts.c" | |
| 5279 | - | line="1011">another `PangoFontDescription`</doc> | |
| 5320 | + | line="1062">another `PangoFontDescription`</doc> | |
| 5280 | 5321 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5281 | 5322 | </parameter> | |
| 5282 | 5323 | </parameters> | |
| @@ -5284,8 +5325,8 @@ result in identical fonts being loaded, but still compare %FALSE.)</doc> | |||
| 5284 | 5325 | <method name="free" c:identifier="pango_font_description_free"> | |
| 5285 | 5326 | <doc xml:space="preserve" | |
| 5286 | 5327 | filename="pango/fonts.c" | |
| 5287 | - | line="1096">Frees a font description.</doc> | |
| 5288 | - | <source-position filename="pango/pango-font.h" line="281"/> | |
| 5328 | + | line="1149">Frees a font description.</doc> | |
| 5329 | + | <source-position filename="pango/pango-font.h" line="305"/> | |
| 5289 | 5330 | <return-value transfer-ownership="none"> | |
| 5290 | 5331 | <type name="none" c:type="void"/> | |
| 5291 | 5332 | </return-value> | |
| @@ -5296,23 +5337,45 @@ result in identical fonts being loaded, but still compare %FALSE.)</doc> | |||
| 5296 | 5337 | allow-none="1"> | |
| 5297 | 5338 | <doc xml:space="preserve" | |
| 5298 | 5339 | filename="pango/fonts.c" | |
| 5299 | - | line="1098">a `PangoFontDescription`, may be %NULL</doc> | |
| 5340 | + | line="1151">a `PangoFontDescription`, may be %NULL</doc> | |
| 5300 | 5341 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5301 | 5342 | </instance-parameter> | |
| 5302 | 5343 | </parameters> | |
| 5303 | 5344 | </method> | |
| 5345 | + | <method name="get_color" | |
| 5346 | + | c:identifier="pango_font_description_get_color" | |
| 5347 | + | version="1.57"> | |
| 5348 | + | <doc xml:space="preserve" | |
| 5349 | + | filename="pango/fonts.c" | |
| 5350 | + | line="743">Returns the color field of the font description. | |
| 5351 | + | ||
| 5352 | + | This field determines whether the font description should | |
| 5353 | + | match fonts that have color glyphs, or fonts that don't.</doc> | |
| 5354 | + | <source-position filename="pango/pango-font.h" line="376"/> | |
| 5355 | + | <return-value transfer-ownership="none"> | |
| 5356 | + | <type name="FontColor" c:type="PangoFontColor"/> | |
| 5357 | + | </return-value> | |
| 5358 | + | <parameters> | |
| 5359 | + | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5360 | + | <doc xml:space="preserve" | |
| 5361 | + | filename="pango/fonts.c" | |
| 5362 | + | line="745">a `PangoFontDescription`</doc> | |
| 5363 | + | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5364 | + | </instance-parameter> | |
| 5365 | + | </parameters> | |
| 5366 | + | </method> | |
| 5304 | 5367 | <method name="get_family" | |
| 5305 | 5368 | c:identifier="pango_font_description_get_family"> | |
| 5306 | 5369 | <doc xml:space="preserve" | |
| 5307 | 5370 | filename="pango/fonts.c" | |
| 5308 | - | line="162">Gets the family name field of a font description. | |
| 5371 | + | line="164">Gets the family name field of a font description. | |
| 5309 | 5372 | ||
| 5310 | 5373 | See [method@Pango.FontDescription.set_family].</doc> | |
| 5311 | - | <source-position filename="pango/pango-font.h" line="293"/> | |
| 5374 | + | <source-position filename="pango/pango-font.h" line="317"/> | |
| 5312 | 5375 | <return-value transfer-ownership="none" nullable="1"> | |
| 5313 | 5376 | <doc xml:space="preserve" | |
| 5314 | 5377 | filename="pango/fonts.c" | |
| 5315 | - | line="170">the family name field for the | |
| 5378 | + | line="172">the family name field for the | |
| 5316 | 5379 | font description, or %NULL if not previously set. This has the same | |
| 5317 | 5380 | life-time as the font description itself and should not be freed.</doc> | |
| 5318 | 5381 | <type name="utf8" c:type="const char*"/> | |
| @@ -5321,7 +5384,7 @@ See [method@Pango.FontDescription.set_family].</doc> | |||
| 5321 | 5384 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5322 | 5385 | <doc xml:space="preserve" | |
| 5323 | 5386 | filename="pango/fonts.c" | |
| 5324 | - | line="164">a `PangoFontDescription`.</doc> | |
| 5387 | + | line="166">a `PangoFontDescription`.</doc> | |
| 5325 | 5388 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5326 | 5389 | </instance-parameter> | |
| 5327 | 5390 | </parameters> | |
| @@ -5331,14 +5394,14 @@ See [method@Pango.FontDescription.set_family].</doc> | |||
| 5331 | 5394 | version="1.56"> | |
| 5332 | 5395 | <doc xml:space="preserve" | |
| 5333 | 5396 | filename="pango/fonts.c" | |
| 5334 | - | line="693">Gets the features field of a font description. | |
| 5397 | + | line="695">Gets the features field of a font description. | |
| 5335 | 5398 | ||
| 5336 | 5399 | See [method@Pango.FontDescription.set_features].</doc> | |
| 5337 | - | <source-position filename="pango/pango-font.h" line="346"/> | |
| 5400 | + | <source-position filename="pango/pango-font.h" line="370"/> | |
| 5338 | 5401 | <return-value transfer-ownership="none" nullable="1"> | |
| 5339 | 5402 | <doc xml:space="preserve" | |
| 5340 | 5403 | filename="pango/fonts.c" | |
| 5341 | - | line="701">the features field for the font | |
| 5404 | + | line="703">the features field for the font | |
| 5342 | 5405 | description, or %NULL if not previously set. This has the same | |
| 5343 | 5406 | life-time as the font description itself and should not be freed.</doc> | |
| 5344 | 5407 | <type name="utf8" c:type="const char*"/> | |
| @@ -5347,7 +5410,7 @@ See [method@Pango.FontDescription.set_features].</doc> | |||
| 5347 | 5410 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5348 | 5411 | <doc xml:space="preserve" | |
| 5349 | 5412 | filename="pango/fonts.c" | |
| 5350 | - | line="695">a `PangoFontDescription`</doc> | |
| 5413 | + | line="697">a `PangoFontDescription`</doc> | |
| 5351 | 5414 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5352 | 5415 | </instance-parameter> | |
| 5353 | 5416 | </parameters> | |
| @@ -5357,14 +5420,14 @@ See [method@Pango.FontDescription.set_features].</doc> | |||
| 5357 | 5420 | version="1.16"> | |
| 5358 | 5421 | <doc xml:space="preserve" | |
| 5359 | 5422 | filename="pango/fonts.c" | |
| 5360 | - | line="487">Gets the gravity field of a font description. | |
| 5423 | + | line="489">Gets the gravity field of a font description. | |
| 5361 | 5424 | ||
| 5362 | 5425 | See [method@Pango.FontDescription.set_gravity].</doc> | |
| 5363 | - | <source-position filename="pango/pango-font.h" line="328"/> | |
| 5426 | + | <source-position filename="pango/pango-font.h" line="352"/> | |
| 5364 | 5427 | <return-value transfer-ownership="none"> | |
| 5365 | 5428 | <doc xml:space="preserve" | |
| 5366 | 5429 | filename="pango/fonts.c" | |
| 5367 | - | line="495">the gravity field for the font description. | |
| 5430 | + | line="497">the gravity field for the font description. | |
| 5368 | 5431 | Use [method@Pango.FontDescription.get_set_fields] to find out | |
| 5369 | 5432 | if the field was explicitly set or not.</doc> | |
| 5370 | 5433 | <type name="Gravity" c:type="PangoGravity"/> | |
| @@ -5373,7 +5436,7 @@ See [method@Pango.FontDescription.set_gravity].</doc> | |||
| 5373 | 5436 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5374 | 5437 | <doc xml:space="preserve" | |
| 5375 | 5438 | filename="pango/fonts.c" | |
| 5376 | - | line="489">a `PangoFontDescription`</doc> | |
| 5439 | + | line="491">a `PangoFontDescription`</doc> | |
| 5377 | 5440 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5378 | 5441 | </instance-parameter> | |
| 5379 | 5442 | </parameters> | |
| @@ -5382,12 +5445,12 @@ See [method@Pango.FontDescription.set_gravity].</doc> | |||
| 5382 | 5445 | c:identifier="pango_font_description_get_set_fields"> | |
| 5383 | 5446 | <doc xml:space="preserve" | |
| 5384 | 5447 | filename="pango/fonts.c" | |
| 5385 | - | line="715">Determines which fields in a font description have been set.</doc> | |
| 5386 | - | <source-position filename="pango/pango-font.h" line="349"/> | |
| 5448 | + | line="762">Determines which fields in a font description have been set.</doc> | |
| 5449 | + | <source-position filename="pango/pango-font.h" line="379"/> | |
| 5387 | 5450 | <return-value transfer-ownership="none"> | |
| 5388 | 5451 | <doc xml:space="preserve" | |
| 5389 | 5452 | filename="pango/fonts.c" | |
| 5390 | - | line="721">a bitmask with bits set corresponding to the | |
| 5453 | + | line="768">a bitmask with bits set corresponding to the | |
| 5391 | 5454 | fields in @desc that have been set.</doc> | |
| 5392 | 5455 | <type name="FontMask" c:type="PangoFontMask"/> | |
| 5393 | 5456 | </return-value> | |
| @@ -5395,7 +5458,7 @@ See [method@Pango.FontDescription.set_gravity].</doc> | |||
| 5395 | 5458 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5396 | 5459 | <doc xml:space="preserve" | |
| 5397 | 5460 | filename="pango/fonts.c" | |
| 5398 | - | line="717">a `PangoFontDescription`</doc> | |
| 5461 | + | line="764">a `PangoFontDescription`</doc> | |
| 5399 | 5462 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5400 | 5463 | </instance-parameter> | |
| 5401 | 5464 | </parameters> | |
| @@ -5403,14 +5466,14 @@ See [method@Pango.FontDescription.set_gravity].</doc> | |||
| 5403 | 5466 | <method name="get_size" c:identifier="pango_font_description_get_size"> | |
| 5404 | 5467 | <doc xml:space="preserve" | |
| 5405 | 5468 | filename="pango/fonts.c" | |
| 5406 | - | line="379">Gets the size field of a font description. | |
| 5469 | + | line="381">Gets the size field of a font description. | |
| 5407 | 5470 | ||
| 5408 | 5471 | See [method@Pango.FontDescription.set_size].</doc> | |
| 5409 | - | <source-position filename="pango/pango-font.h" line="318"/> | |
| 5472 | + | <source-position filename="pango/pango-font.h" line="342"/> | |
| 5410 | 5473 | <return-value transfer-ownership="none"> | |
| 5411 | 5474 | <doc xml:space="preserve" | |
| 5412 | 5475 | filename="pango/fonts.c" | |
| 5413 | - | line="387">the size field for the font description in points | |
| 5476 | + | line="389">the size field for the font description in points | |
| 5414 | 5477 | or device units. You must call | |
| 5415 | 5478 | [method@Pango.FontDescription.get_size_is_absolute] to find out | |
| 5416 | 5479 | which is the case. Returns 0 if the size field has not previously | |
| @@ -5423,7 +5486,7 @@ See [method@Pango.FontDescription.set_size].</doc> | |||
| 5423 | 5486 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5424 | 5487 | <doc xml:space="preserve" | |
| 5425 | 5488 | filename="pango/fonts.c" | |
| 5426 | - | line="381">a `PangoFontDescription`</doc> | |
| 5489 | + | line="383">a `PangoFontDescription`</doc> | |
| 5427 | 5490 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5428 | 5491 | </instance-parameter> | |
| 5429 | 5492 | </parameters> | |
| @@ -5433,16 +5496,16 @@ See [method@Pango.FontDescription.set_size].</doc> | |||
| 5433 | 5496 | version="1.8"> | |
| 5434 | 5497 | <doc xml:space="preserve" | |
| 5435 | 5498 | filename="pango/fonts.c" | |
| 5436 | - | line="429">Determines whether the size of the font is in points (not absolute) | |
| 5499 | + | line="431">Determines whether the size of the font is in points (not absolute) | |
| 5437 | 5500 | or device units (absolute). | |
| 5438 | 5501 | ||
| 5439 | 5502 | See [method@Pango.FontDescription.set_size] | |
| 5440 | 5503 | and [method@Pango.FontDescription.set_absolute_size].</doc> | |
| 5441 | - | <source-position filename="pango/pango-font.h" line="323"/> | |
| 5504 | + | <source-position filename="pango/pango-font.h" line="347"/> | |
| 5442 | 5505 | <return-value transfer-ownership="none"> | |
| 5443 | 5506 | <doc xml:space="preserve" | |
| 5444 | 5507 | filename="pango/fonts.c" | |
| 5445 | - | line="439">whether the size for the font description is in | |
| 5508 | + | line="441">whether the size for the font description is in | |
| 5446 | 5509 | points or device units. Use [method@Pango.FontDescription.get_set_fields] | |
| 5447 | 5510 | to find out if the size field of the font description was explicitly | |
| 5448 | 5511 | set or not.</doc> | |
| @@ -5452,7 +5515,7 @@ and [method@Pango.FontDescription.set_absolute_size].</doc> | |||
| 5452 | 5515 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5453 | 5516 | <doc xml:space="preserve" | |
| 5454 | 5517 | filename="pango/fonts.c" | |
| 5455 | - | line="431">a `PangoFontDescription`</doc> | |
| 5518 | + | line="433">a `PangoFontDescription`</doc> | |
| 5456 | 5519 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5457 | 5520 | </instance-parameter> | |
| 5458 | 5521 | </parameters> | |
| @@ -5461,14 +5524,14 @@ and [method@Pango.FontDescription.set_absolute_size].</doc> | |||
| 5461 | 5524 | c:identifier="pango_font_description_get_stretch"> | |
| 5462 | 5525 | <doc xml:space="preserve" | |
| 5463 | 5526 | filename="pango/fonts.c" | |
| 5464 | - | line="330">Gets the stretch field of a font description. | |
| 5527 | + | line="332">Gets the stretch field of a font description. | |
| 5465 | 5528 | ||
| 5466 | 5529 | See [method@Pango.FontDescription.set_stretch].</doc> | |
| 5467 | - | <source-position filename="pango/pango-font.h" line="313"/> | |
| 5530 | + | <source-position filename="pango/pango-font.h" line="337"/> | |
| 5468 | 5531 | <return-value transfer-ownership="none"> | |
| 5469 | 5532 | <doc xml:space="preserve" | |
| 5470 | 5533 | filename="pango/fonts.c" | |
| 5471 | - | line="338">the stretch field for the font description. | |
| 5534 | + | line="340">the stretch field for the font description. | |
| 5472 | 5535 | Use [method@Pango.FontDescription.get_set_fields] to find | |
| 5473 | 5536 | out if the field was explicitly set or not.</doc> | |
| 5474 | 5537 | <type name="Stretch" c:type="PangoStretch"/> | |
| @@ -5477,7 +5540,7 @@ See [method@Pango.FontDescription.set_stretch].</doc> | |||
| 5477 | 5540 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5478 | 5541 | <doc xml:space="preserve" | |
| 5479 | 5542 | filename="pango/fonts.c" | |
| 5480 | - | line="332">a `PangoFontDescription`.</doc> | |
| 5543 | + | line="334">a `PangoFontDescription`.</doc> | |
| 5481 | 5544 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5482 | 5545 | </instance-parameter> | |
| 5483 | 5546 | </parameters> | |
| @@ -5485,14 +5548,14 @@ See [method@Pango.FontDescription.set_stretch].</doc> | |||
| 5485 | 5548 | <method name="get_style" c:identifier="pango_font_description_get_style"> | |
| 5486 | 5549 | <doc xml:space="preserve" | |
| 5487 | 5550 | filename="pango/fonts.c" | |
| 5488 | - | line="208">Gets the style field of a `PangoFontDescription`. | |
| 5551 | + | line="210">Gets the style field of a `PangoFontDescription`. | |
| 5489 | 5552 | ||
| 5490 | 5553 | See [method@Pango.FontDescription.set_style].</doc> | |
| 5491 | - | <source-position filename="pango/pango-font.h" line="298"/> | |
| 5554 | + | <source-position filename="pango/pango-font.h" line="322"/> | |
| 5492 | 5555 | <return-value transfer-ownership="none"> | |
| 5493 | 5556 | <doc xml:space="preserve" | |
| 5494 | 5557 | filename="pango/fonts.c" | |
| 5495 | - | line="216">the style field for the font description. | |
| 5558 | + | line="218">the style field for the font description. | |
| 5496 | 5559 | Use [method@Pango.FontDescription.get_set_fields] to | |
| 5497 | 5560 | find out if the field was explicitly set or not.</doc> | |
| 5498 | 5561 | <type name="Style" c:type="PangoStyle"/> | |
| @@ -5501,7 +5564,7 @@ See [method@Pango.FontDescription.set_style].</doc> | |||
| 5501 | 5564 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5502 | 5565 | <doc xml:space="preserve" | |
| 5503 | 5566 | filename="pango/fonts.c" | |
| 5504 | - | line="210">a `PangoFontDescription`</doc> | |
| 5567 | + | line="212">a `PangoFontDescription`</doc> | |
| 5505 | 5568 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5506 | 5569 | </instance-parameter> | |
| 5507 | 5570 | </parameters> | |
| @@ -5510,14 +5573,14 @@ See [method@Pango.FontDescription.set_style].</doc> | |||
| 5510 | 5573 | c:identifier="pango_font_description_get_variant"> | |
| 5511 | 5574 | <doc xml:space="preserve" | |
| 5512 | 5575 | filename="pango/fonts.c" | |
| 5513 | - | line="248">Gets the variant field of a `PangoFontDescription`. | |
| 5576 | + | line="250">Gets the variant field of a `PangoFontDescription`. | |
| 5514 | 5577 | ||
| 5515 | 5578 | See [method@Pango.FontDescription.set_variant].</doc> | |
| 5516 | - | <source-position filename="pango/pango-font.h" line="303"/> | |
| 5579 | + | <source-position filename="pango/pango-font.h" line="327"/> | |
| 5517 | 5580 | <return-value transfer-ownership="none"> | |
| 5518 | 5581 | <doc xml:space="preserve" | |
| 5519 | 5582 | filename="pango/fonts.c" | |
| 5520 | - | line="256">the variant field for the font description. | |
| 5583 | + | line="258">the variant field for the font description. | |
| 5521 | 5584 | Use [method@Pango.FontDescription.get_set_fields] to find | |
| 5522 | 5585 | out if the field was explicitly set or not.</doc> | |
| 5523 | 5586 | <type name="Variant" c:type="PangoVariant"/> | |
| @@ -5526,7 +5589,7 @@ See [method@Pango.FontDescription.set_variant].</doc> | |||
| 5526 | 5589 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5527 | 5590 | <doc xml:space="preserve" | |
| 5528 | 5591 | filename="pango/fonts.c" | |
| 5529 | - | line="250">a `PangoFontDescription`.</doc> | |
| 5592 | + | line="252">a `PangoFontDescription`.</doc> | |
| 5530 | 5593 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5531 | 5594 | </instance-parameter> | |
| 5532 | 5595 | </parameters> | |
| @@ -5536,14 +5599,14 @@ See [method@Pango.FontDescription.set_variant].</doc> | |||
| 5536 | 5599 | version="1.42"> | |
| 5537 | 5600 | <doc xml:space="preserve" | |
| 5538 | 5601 | filename="pango/fonts.c" | |
| 5539 | - | line="586">Gets the variations field of a font description. | |
| 5602 | + | line="588">Gets the variations field of a font description. | |
| 5540 | 5603 | ||
| 5541 | 5604 | See [method@Pango.FontDescription.set_variations].</doc> | |
| 5542 | - | <source-position filename="pango/pango-font.h" line="337"/> | |
| 5605 | + | <source-position filename="pango/pango-font.h" line="361"/> | |
| 5543 | 5606 | <return-value transfer-ownership="none" nullable="1"> | |
| 5544 | 5607 | <doc xml:space="preserve" | |
| 5545 | 5608 | filename="pango/fonts.c" | |
| 5546 | - | line="594">the variations field for the font | |
| 5609 | + | line="596">the variations field for the font | |
| 5547 | 5610 | description, or %NULL if not previously set. This has the same | |
| 5548 | 5611 | life-time as the font description itself and should not be freed.</doc> | |
| 5549 | 5612 | <type name="utf8" c:type="const char*"/> | |
| @@ -5552,7 +5615,7 @@ See [method@Pango.FontDescription.set_variations].</doc> | |||
| 5552 | 5615 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5553 | 5616 | <doc xml:space="preserve" | |
| 5554 | 5617 | filename="pango/fonts.c" | |
| 5555 | - | line="588">a `PangoFontDescription`</doc> | |
| 5618 | + | line="590">a `PangoFontDescription`</doc> | |
| 5556 | 5619 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5557 | 5620 | </instance-parameter> | |
| 5558 | 5621 | </parameters> | |
| @@ -5561,14 +5624,14 @@ See [method@Pango.FontDescription.set_variations].</doc> | |||
| 5561 | 5624 | c:identifier="pango_font_description_get_weight"> | |
| 5562 | 5625 | <doc xml:space="preserve" | |
| 5563 | 5626 | filename="pango/fonts.c" | |
| 5564 | - | line="290">Gets the weight field of a font description. | |
| 5627 | + | line="292">Gets the weight field of a font description. | |
| 5565 | 5628 | ||
| 5566 | 5629 | See [method@Pango.FontDescription.set_weight].</doc> | |
| 5567 | - | <source-position filename="pango/pango-font.h" line="308"/> | |
| 5630 | + | <source-position filename="pango/pango-font.h" line="332"/> | |
| 5568 | 5631 | <return-value transfer-ownership="none"> | |
| 5569 | 5632 | <doc xml:space="preserve" | |
| 5570 | 5633 | filename="pango/fonts.c" | |
| 5571 | - | line="298">the weight field for the font description. | |
| 5634 | + | line="300">the weight field for the font description. | |
| 5572 | 5635 | Use [method@Pango.FontDescription.get_set_fields] to find | |
| 5573 | 5636 | out if the field was explicitly set or not.</doc> | |
| 5574 | 5637 | <type name="Weight" c:type="PangoWeight"/> | |
| @@ -5577,7 +5640,7 @@ See [method@Pango.FontDescription.set_weight].</doc> | |||
| 5577 | 5640 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5578 | 5641 | <doc xml:space="preserve" | |
| 5579 | 5642 | filename="pango/fonts.c" | |
| 5580 | - | line="292">a `PangoFontDescription`</doc> | |
| 5643 | + | line="294">a `PangoFontDescription`</doc> | |
| 5581 | 5644 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5582 | 5645 | </instance-parameter> | |
| 5583 | 5646 | </parameters> | |
| @@ -5585,22 +5648,22 @@ See [method@Pango.FontDescription.set_weight].</doc> | |||
| 5585 | 5648 | <method name="hash" c:identifier="pango_font_description_hash"> | |
| 5586 | 5649 | <doc xml:space="preserve" | |
| 5587 | 5650 | filename="pango/fonts.c" | |
| 5588 | - | line="1061">Computes a hash of a `PangoFontDescription` structure. | |
| 5651 | + | line="1113">Computes a hash of a `PangoFontDescription` structure. | |
| 5589 | 5652 | ||
| 5590 | 5653 | This is suitable to be used, for example, as an argument | |
| 5591 | 5654 | to g_hash_table_new(). The hash value is independent of @desc->mask.</doc> | |
| 5592 | - | <source-position filename="pango/pango-font.h" line="276"/> | |
| 5655 | + | <source-position filename="pango/pango-font.h" line="300"/> | |
| 5593 | 5656 | <return-value transfer-ownership="none"> | |
| 5594 | 5657 | <doc xml:space="preserve" | |
| 5595 | 5658 | filename="pango/fonts.c" | |
| 5596 | - | line="1070">the hash value.</doc> | |
| 5659 | + | line="1122">the hash value.</doc> | |
| 5597 | 5660 | <type name="guint" c:type="guint"/> | |
| 5598 | 5661 | </return-value> | |
| 5599 | 5662 | <parameters> | |
| 5600 | 5663 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5601 | 5664 | <doc xml:space="preserve" | |
| 5602 | 5665 | filename="pango/fonts.c" | |
| 5603 | - | line="1063">a `PangoFontDescription`</doc> | |
| 5666 | + | line="1115">a `PangoFontDescription`</doc> | |
| 5604 | 5667 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5605 | 5668 | </instance-parameter> | |
| 5606 | 5669 | </parameters> | |
| @@ -5608,7 +5671,7 @@ to g_hash_table_new(). The hash value is independent of @desc->mask.</doc> | |||
| 5608 | 5671 | <method name="merge" c:identifier="pango_font_description_merge"> | |
| 5609 | 5672 | <doc xml:space="preserve" | |
| 5610 | 5673 | filename="pango/fonts.c" | |
| 5611 | - | line="757">Merges the fields that are set in @desc_to_merge into the fields in | |
| 5674 | + | line="804">Merges the fields that are set in @desc_to_merge into the fields in | |
| 5612 | 5675 | @desc. | |
| 5613 | 5676 | ||
| 5614 | 5677 | If @replace_existing is %FALSE, only fields in @desc that | |
| @@ -5616,7 +5679,7 @@ are not already set are affected. If %TRUE, then fields that are | |||
| 5616 | 5679 | already set will be replaced as well. | |
| 5617 | 5680 | ||
| 5618 | 5681 | If @desc_to_merge is %NULL, this function performs nothing.</doc> | |
| 5619 | - | <source-position filename="pango/pango-font.h" line="355"/> | |
| 5682 | + | <source-position filename="pango/pango-font.h" line="385"/> | |
| 5620 | 5683 | <return-value transfer-ownership="none"> | |
| 5621 | 5684 | <type name="none" c:type="void"/> | |
| 5622 | 5685 | </return-value> | |
| @@ -5624,7 +5687,7 @@ If @desc_to_merge is %NULL, this function performs nothing.</doc> | |||
| 5624 | 5687 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5625 | 5688 | <doc xml:space="preserve" | |
| 5626 | 5689 | filename="pango/fonts.c" | |
| 5627 | - | line="759">a `PangoFontDescription`</doc> | |
| 5690 | + | line="806">a `PangoFontDescription`</doc> | |
| 5628 | 5691 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5629 | 5692 | </instance-parameter> | |
| 5630 | 5693 | <parameter name="desc_to_merge" | |
| @@ -5633,14 +5696,14 @@ If @desc_to_merge is %NULL, this function performs nothing.</doc> | |||
| 5633 | 5696 | allow-none="1"> | |
| 5634 | 5697 | <doc xml:space="preserve" | |
| 5635 | 5698 | filename="pango/fonts.c" | |
| 5636 | - | line="760">the `PangoFontDescription` to merge from, | |
| 5699 | + | line="807">the `PangoFontDescription` to merge from, | |
| 5637 | 5700 | or %NULL</doc> | |
| 5638 | 5701 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5639 | 5702 | </parameter> | |
| 5640 | 5703 | <parameter name="replace_existing" transfer-ownership="none"> | |
| 5641 | 5704 | <doc xml:space="preserve" | |
| 5642 | 5705 | filename="pango/fonts.c" | |
| 5643 | - | line="762">if %TRUE, replace fields in @desc with the | |
| 5706 | + | line="809">if %TRUE, replace fields in @desc with the | |
| 5644 | 5707 | corresponding values from @desc_to_merge, even if they | |
| 5645 | 5708 | are already exist.</doc> | |
| 5646 | 5709 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -5651,14 +5714,14 @@ If @desc_to_merge is %NULL, this function performs nothing.</doc> | |||
| 5651 | 5714 | c:identifier="pango_font_description_merge_static"> | |
| 5652 | 5715 | <doc xml:space="preserve" | |
| 5653 | 5716 | filename="pango/fonts.c" | |
| 5654 | - | line="814">Merges the fields that are set in @desc_to_merge into the fields in | |
| 5717 | + | line="861">Merges the fields that are set in @desc_to_merge into the fields in | |
| 5655 | 5718 | @desc, without copying allocated fields. | |
| 5656 | 5719 | ||
| 5657 | 5720 | This is like [method@Pango.FontDescription.merge], but only a shallow copy | |
| 5658 | 5721 | is made of the family name and other allocated fields. @desc can only | |
| 5659 | 5722 | be used until @desc_to_merge is modified or freed. This is meant to | |
| 5660 | 5723 | be used when the merged font description is only needed temporarily.</doc> | |
| 5661 | - | <source-position filename="pango/pango-font.h" line="359"/> | |
| 5724 | + | <source-position filename="pango/pango-font.h" line="389"/> | |
| 5662 | 5725 | <return-value transfer-ownership="none"> | |
| 5663 | 5726 | <type name="none" c:type="void"/> | |
| 5664 | 5727 | </return-value> | |
| @@ -5666,19 +5729,19 @@ be used when the merged font description is only needed temporarily.</doc> | |||
| 5666 | 5729 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5667 | 5730 | <doc xml:space="preserve" | |
| 5668 | 5731 | filename="pango/fonts.c" | |
| 5669 | - | line="816">a `PangoFontDescription`</doc> | |
| 5732 | + | line="863">a `PangoFontDescription`</doc> | |
| 5670 | 5733 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5671 | 5734 | </instance-parameter> | |
| 5672 | 5735 | <parameter name="desc_to_merge" transfer-ownership="none"> | |
| 5673 | 5736 | <doc xml:space="preserve" | |
| 5674 | 5737 | filename="pango/fonts.c" | |
| 5675 | - | line="817">the `PangoFontDescription` to merge from</doc> | |
| 5738 | + | line="864">the `PangoFontDescription` to merge from</doc> | |
| 5676 | 5739 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 5677 | 5740 | </parameter> | |
| 5678 | 5741 | <parameter name="replace_existing" transfer-ownership="none"> | |
| 5679 | 5742 | <doc xml:space="preserve" | |
| 5680 | 5743 | filename="pango/fonts.c" | |
| 5681 | - | line="818">if %TRUE, replace fields in @desc with the | |
| 5744 | + | line="865">if %TRUE, replace fields in @desc with the | |
| 5682 | 5745 | corresponding values from @desc_to_merge, even if they | |
| 5683 | 5746 | are already exist.</doc> | |
| 5684 | 5747 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -5690,11 +5753,11 @@ be used when the merged font description is only needed temporarily.</doc> | |||
| 5690 | 5753 | version="1.8"> | |
| 5691 | 5754 | <doc xml:space="preserve" | |
| 5692 | 5755 | filename="pango/fonts.c" | |
| 5693 | - | line="403">Sets the size field of a font description, in device units. | |
| 5756 | + | line="405">Sets the size field of a font description, in device units. | |
| 5694 | 5757 | ||
| 5695 | 5758 | This is mutually exclusive with [method@Pango.FontDescription.set_size] | |
| 5696 | 5759 | which sets the font size in points.</doc> | |
| 5697 | - | <source-position filename="pango/pango-font.h" line="320"/> | |
| 5760 | + | <source-position filename="pango/pango-font.h" line="344"/> | |
| 5698 | 5761 | <return-value transfer-ownership="none"> | |
| 5699 | 5762 | <type name="none" c:type="void"/> | |
| 5700 | 5763 | </return-value> | |
| @@ -5702,31 +5765,59 @@ which sets the font size in points.</doc> | |||
| 5702 | 5765 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5703 | 5766 | <doc xml:space="preserve" | |
| 5704 | 5767 | filename="pango/fonts.c" | |
| 5705 | - | line="405">a `PangoFontDescription`</doc> | |
| 5768 | + | line="407">a `PangoFontDescription`</doc> | |
| 5706 | 5769 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5707 | 5770 | </instance-parameter> | |
| 5708 | 5771 | <parameter name="size" transfer-ownership="none"> | |
| 5709 | 5772 | <doc xml:space="preserve" | |
| 5710 | 5773 | filename="pango/fonts.c" | |
| 5711 | - | line="406">the new size, in Pango units. There are %PANGO_SCALE Pango units | |
| 5774 | + | line="408">the new size, in Pango units. There are %PANGO_SCALE Pango units | |
| 5712 | 5775 | in one device unit. For an output backend where a device unit is a pixel, | |
| 5713 | 5776 | a @size value of 10 * PANGO_SCALE gives a 10 pixel font.</doc> | |
| 5714 | 5777 | <type name="gdouble" c:type="double"/> | |
| 5715 | 5778 | </parameter> | |
| 5716 | 5779 | </parameters> | |
| 5717 | 5780 | </method> | |
| 5781 | + | <method name="set_color" | |
| 5782 | + | c:identifier="pango_font_description_set_color" | |
| 5783 | + | version="1.57"> | |
| 5784 | + | <doc xml:space="preserve" | |
| 5785 | + | filename="pango/fonts.c" | |
| 5786 | + | line="717">Sets the color field of a font description. | |
| 5787 | + | ||
| 5788 | + | This field determines whether the font description should | |
| 5789 | + | match fonts that have color glyphs, or fonts that don't.</doc> | |
| 5790 | + | <source-position filename="pango/pango-font.h" line="373"/> | |
| 5791 | + | <return-value transfer-ownership="none"> | |
| 5792 | + | <type name="none" c:type="void"/> | |
| 5793 | + | </return-value> | |
| 5794 | + | <parameters> | |
| 5795 | + | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5796 | + | <doc xml:space="preserve" | |
| 5797 | + | filename="pango/fonts.c" | |
| 5798 | + | line="719">a `PangoFontDescription`.</doc> | |
| 5799 | + | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5800 | + | </instance-parameter> | |
| 5801 | + | <parameter name="color" transfer-ownership="none"> | |
| 5802 | + | <doc xml:space="preserve" | |
| 5803 | + | filename="pango/fonts.c" | |
| 5804 | + | line="720">the `PangoFontColor` value</doc> | |
| 5805 | + | <type name="FontColor" c:type="PangoFontColor"/> | |
| 5806 | + | </parameter> | |
| 5807 | + | </parameters> | |
| 5808 | + | </method> | |
| 5718 | 5809 | <method name="set_family" | |
| 5719 | 5810 | c:identifier="pango_font_description_set_family"> | |
| 5720 | 5811 | <doc xml:space="preserve" | |
| 5721 | 5812 | filename="pango/fonts.c" | |
| 5722 | - | line="99">Sets the family name field of a font description. | |
| 5813 | + | line="101">Sets the family name field of a font description. | |
| 5723 | 5814 | ||
| 5724 | 5815 | The family | |
| 5725 | 5816 | name represents a family of related font styles, and will | |
| 5726 | 5817 | resolve to a particular `PangoFontFamily`. In some uses of | |
| 5727 | 5818 | `PangoFontDescription`, it is also possible to use a comma | |
| 5728 | 5819 | separated list of family names for this field.</doc> | |
| 5729 | - | <source-position filename="pango/pango-font.h" line="287"/> | |
| 5820 | + | <source-position filename="pango/pango-font.h" line="311"/> | |
| 5730 | 5821 | <return-value transfer-ownership="none"> | |
| 5731 | 5822 | <type name="none" c:type="void"/> | |
| 5732 | 5823 | </return-value> | |
| @@ -5734,13 +5825,13 @@ separated list of family names for this field.</doc> | |||
| 5734 | 5825 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5735 | 5826 | <doc xml:space="preserve" | |
| 5736 | 5827 | filename="pango/fonts.c" | |
| 5737 | - | line="101">a `PangoFontDescription`.</doc> | |
| 5828 | + | line="103">a `PangoFontDescription`.</doc> | |
| 5738 | 5829 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5739 | 5830 | </instance-parameter> | |
| 5740 | 5831 | <parameter name="family" transfer-ownership="none"> | |
| 5741 | 5832 | <doc xml:space="preserve" | |
| 5742 | 5833 | filename="pango/fonts.c" | |
| 5743 | - | line="102">a string representing the family name.</doc> | |
| 5834 | + | line="104">a string representing the family name.</doc> | |
| 5744 | 5835 | <type name="utf8" c:type="const char*"/> | |
| 5745 | 5836 | </parameter> | |
| 5746 | 5837 | </parameters> | |
| @@ -5749,14 +5840,14 @@ separated list of family names for this field.</doc> | |||
| 5749 | 5840 | c:identifier="pango_font_description_set_family_static"> | |
| 5750 | 5841 | <doc xml:space="preserve" | |
| 5751 | 5842 | filename="pango/fonts.c" | |
| 5752 | - | line="123">Sets the family name field of a font description, without copying the string. | |
| 5843 | + | line="125">Sets the family name field of a font description, without copying the string. | |
| 5753 | 5844 | ||
| 5754 | 5845 | This is like [method@Pango.FontDescription.set_family], except that no | |
| 5755 | 5846 | copy of @family is made. The caller must make sure that the | |
| 5756 | 5847 | string passed in stays around until @desc has been freed or the | |
| 5757 | 5848 | name is set again. This function can be used if @family is a static | |
| 5758 | 5849 | string such as a C string literal, or if @desc is only needed temporarily.</doc> | |
| 5759 | - | <source-position filename="pango/pango-font.h" line="290"/> | |
| 5850 | + | <source-position filename="pango/pango-font.h" line="314"/> | |
| 5760 | 5851 | <return-value transfer-ownership="none"> | |
| 5761 | 5852 | <type name="none" c:type="void"/> | |
| 5762 | 5853 | </return-value> | |
| @@ -5764,13 +5855,13 @@ string such as a C string literal, or if @desc is only needed temporarily.</doc> | |||
| 5764 | 5855 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5765 | 5856 | <doc xml:space="preserve" | |
| 5766 | 5857 | filename="pango/fonts.c" | |
| 5767 | - | line="125">a `PangoFontDescription`</doc> | |
| 5858 | + | line="127">a `PangoFontDescription`</doc> | |
| 5768 | 5859 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5769 | 5860 | </instance-parameter> | |
| 5770 | 5861 | <parameter name="family" transfer-ownership="none"> | |
| 5771 | 5862 | <doc xml:space="preserve" | |
| 5772 | 5863 | filename="pango/fonts.c" | |
| 5773 | - | line="126">a string representing the family name</doc> | |
| 5864 | + | line="128">a string representing the family name</doc> | |
| 5774 | 5865 | <type name="utf8" c:type="const char*"/> | |
| 5775 | 5866 | </parameter> | |
| 5776 | 5867 | </parameters> | |
| @@ -5780,7 +5871,7 @@ string such as a C string literal, or if @desc is only needed temporarily.</doc> | |||
| 5780 | 5871 | version="1.56"> | |
| 5781 | 5872 | <doc xml:space="preserve" | |
| 5782 | 5873 | filename="pango/fonts.c" | |
| 5783 | - | line="650">Sets the features field of a font description. | |
| 5874 | + | line="652">Sets the features field of a font description. | |
| 5784 | 5875 | ||
| 5785 | 5876 | OpenType font features allow to enable or disable certain optional | |
| 5786 | 5877 | features of a font, such as tabular numbers. | |
| @@ -5804,7 +5895,7 @@ of a font. Both harfbuzz and freetype have API for this. See for example | |||
| 5804 | 5895 | [hb_ot_layout_table_get_feature_tags](https://harfbuzz.github.io/harfbuzz-hb-ot-layout.html#hb-ot-layout-table-get-feature-tags). | |
| 5805 | 5896 | ||
| 5806 | 5897 | Features that are not supported by the font are silently ignored.</doc> | |
| 5807 | - | <source-position filename="pango/pango-font.h" line="343"/> | |
| 5898 | + | <source-position filename="pango/pango-font.h" line="367"/> | |
| 5808 | 5899 | <return-value transfer-ownership="none"> | |
| 5809 | 5900 | <type name="none" c:type="void"/> | |
| 5810 | 5901 | </return-value> | |
| @@ -5812,7 +5903,7 @@ Features that are not supported by the font are silently ignored.</doc> | |||
| 5812 | 5903 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5813 | 5904 | <doc xml:space="preserve" | |
| 5814 | 5905 | filename="pango/fonts.c" | |
| 5815 | - | line="652">a `PangoFontDescription`.</doc> | |
| 5906 | + | line="654">a `PangoFontDescription`.</doc> | |
| 5816 | 5907 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5817 | 5908 | </instance-parameter> | |
| 5818 | 5909 | <parameter name="features" | |
| @@ -5821,7 +5912,7 @@ Features that are not supported by the font are silently ignored.</doc> | |||
| 5821 | 5912 | allow-none="1"> | |
| 5822 | 5913 | <doc xml:space="preserve" | |
| 5823 | 5914 | filename="pango/fonts.c" | |
| 5824 | - | line="653">a string representing the features</doc> | |
| 5915 | + | line="655">a string representing the features</doc> | |
| 5825 | 5916 | <type name="utf8" c:type="const char*"/> | |
| 5826 | 5917 | </parameter> | |
| 5827 | 5918 | </parameters> | |
| @@ -5831,7 +5922,7 @@ Features that are not supported by the font are silently ignored.</doc> | |||
| 5831 | 5922 | version="1.56"> | |
| 5832 | 5923 | <doc xml:space="preserve" | |
| 5833 | 5924 | filename="pango/fonts.c" | |
| 5834 | - | line="608">Sets the features field of a font description. | |
| 5925 | + | line="610">Sets the features field of a font description. | |
| 5835 | 5926 | ||
| 5836 | 5927 | This is like [method@Pango.FontDescription.set_features], except | |
| 5837 | 5928 | that no copy of @featuresis made. The caller must make sure that | |
| @@ -5839,7 +5930,7 @@ the string passed in stays around until @desc has been freed | |||
| 5839 | 5930 | or the name is set again. This function can be used if | |
| 5840 | 5931 | @features is a static string such as a C string literal, | |
| 5841 | 5932 | or if @desc is only needed temporarily.</doc> | |
| 5842 | - | <source-position filename="pango/pango-font.h" line="340"/> | |
| 5933 | + | <source-position filename="pango/pango-font.h" line="364"/> | |
| 5843 | 5934 | <return-value transfer-ownership="none"> | |
| 5844 | 5935 | <type name="none" c:type="void"/> | |
| 5845 | 5936 | </return-value> | |
| @@ -5847,13 +5938,13 @@ or if @desc is only needed temporarily.</doc> | |||
| 5847 | 5938 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5848 | 5939 | <doc xml:space="preserve" | |
| 5849 | 5940 | filename="pango/fonts.c" | |
| 5850 | - | line="610">a `PangoFontDescription`</doc> | |
| 5941 | + | line="612">a `PangoFontDescription`</doc> | |
| 5851 | 5942 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5852 | 5943 | </instance-parameter> | |
| 5853 | 5944 | <parameter name="features" transfer-ownership="none"> | |
| 5854 | 5945 | <doc xml:space="preserve" | |
| 5855 | 5946 | filename="pango/fonts.c" | |
| 5856 | - | line="611">a string representing the features</doc> | |
| 5947 | + | line="613">a string representing the features</doc> | |
| 5857 | 5948 | <type name="utf8" c:type="const char*"/> | |
| 5858 | 5949 | </parameter> | |
| 5859 | 5950 | </parameters> | |
| @@ -5863,7 +5954,7 @@ or if @desc is only needed temporarily.</doc> | |||
| 5863 | 5954 | version="1.16"> | |
| 5864 | 5955 | <doc xml:space="preserve" | |
| 5865 | 5956 | filename="pango/fonts.c" | |
| 5866 | - | line="454">Sets the gravity field of a font description. | |
| 5957 | + | line="456">Sets the gravity field of a font description. | |
| 5867 | 5958 | ||
| 5868 | 5959 | The gravity field | |
| 5869 | 5960 | specifies how the glyphs should be rotated. If @gravity is | |
| @@ -5872,7 +5963,7 @@ the font description. | |||
| 5872 | 5963 | ||
| 5873 | 5964 | This function is seldom useful to the user. Gravity should normally | |
| 5874 | 5965 | be set on a `PangoContext`.</doc> | |
| 5875 | - | <source-position filename="pango/pango-font.h" line="325"/> | |
| 5966 | + | <source-position filename="pango/pango-font.h" line="349"/> | |
| 5876 | 5967 | <return-value transfer-ownership="none"> | |
| 5877 | 5968 | <type name="none" c:type="void"/> | |
| 5878 | 5969 | </return-value> | |
| @@ -5880,13 +5971,13 @@ be set on a `PangoContext`.</doc> | |||
| 5880 | 5971 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5881 | 5972 | <doc xml:space="preserve" | |
| 5882 | 5973 | filename="pango/fonts.c" | |
| 5883 | - | line="456">a `PangoFontDescription`</doc> | |
| 5974 | + | line="458">a `PangoFontDescription`</doc> | |
| 5884 | 5975 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5885 | 5976 | </instance-parameter> | |
| 5886 | 5977 | <parameter name="gravity" transfer-ownership="none"> | |
| 5887 | 5978 | <doc xml:space="preserve" | |
| 5888 | 5979 | filename="pango/fonts.c" | |
| 5889 | - | line="457">the gravity for the font description.</doc> | |
| 5980 | + | line="459">the gravity for the font description.</doc> | |
| 5890 | 5981 | <type name="Gravity" c:type="PangoGravity"/> | |
| 5891 | 5982 | </parameter> | |
| 5892 | 5983 | </parameters> | |
| @@ -5894,11 +5985,11 @@ be set on a `PangoContext`.</doc> | |||
| 5894 | 5985 | <method name="set_size" c:identifier="pango_font_description_set_size"> | |
| 5895 | 5986 | <doc xml:space="preserve" | |
| 5896 | 5987 | filename="pango/fonts.c" | |
| 5897 | - | line="350">Sets the size field of a font description in fractional points. | |
| 5988 | + | line="352">Sets the size field of a font description in fractional points. | |
| 5898 | 5989 | ||
| 5899 | 5990 | This is mutually exclusive with | |
| 5900 | 5991 | [method@Pango.FontDescription.set_absolute_size].</doc> | |
| 5901 | - | <source-position filename="pango/pango-font.h" line="315"/> | |
| 5992 | + | <source-position filename="pango/pango-font.h" line="339"/> | |
| 5902 | 5993 | <return-value transfer-ownership="none"> | |
| 5903 | 5994 | <type name="none" c:type="void"/> | |
| 5904 | 5995 | </return-value> | |
| @@ -5906,13 +5997,13 @@ This is mutually exclusive with | |||
| 5906 | 5997 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5907 | 5998 | <doc xml:space="preserve" | |
| 5908 | 5999 | filename="pango/fonts.c" | |
| 5909 | - | line="352">a `PangoFontDescription`</doc> | |
| 6000 | + | line="354">a `PangoFontDescription`</doc> | |
| 5910 | 6001 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5911 | 6002 | </instance-parameter> | |
| 5912 | 6003 | <parameter name="size" transfer-ownership="none"> | |
| 5913 | 6004 | <doc xml:space="preserve" | |
| 5914 | 6005 | filename="pango/fonts.c" | |
| 5915 | - | line="353">the size of the font in points, scaled by %PANGO_SCALE. | |
| 6006 | + | line="355">the size of the font in points, scaled by %PANGO_SCALE. | |
| 5916 | 6007 | (That is, a @size value of 10 * PANGO_SCALE is a 10 point font. | |
| 5917 | 6008 | The conversion factor between points and device units depends on | |
| 5918 | 6009 | system configuration and the output device. For screen display, a | |
| @@ -5928,11 +6019,11 @@ This is mutually exclusive with | |||
| 5928 | 6019 | c:identifier="pango_font_description_set_stretch"> | |
| 5929 | 6020 | <doc xml:space="preserve" | |
| 5930 | 6021 | filename="pango/fonts.c" | |
| 5931 | - | line="310">Sets the stretch field of a font description. | |
| 6022 | + | line="312">Sets the stretch field of a font description. | |
| 5932 | 6023 | ||
| 5933 | 6024 | The [enum@Pango.Stretch] field specifies how narrow or | |
| 5934 | 6025 | wide the font should be.</doc> | |
| 5935 | - | <source-position filename="pango/pango-font.h" line="310"/> | |
| 6026 | + | <source-position filename="pango/pango-font.h" line="334"/> | |
| 5936 | 6027 | <return-value transfer-ownership="none"> | |
| 5937 | 6028 | <type name="none" c:type="void"/> | |
| 5938 | 6029 | </return-value> | |
| @@ -5940,13 +6031,13 @@ wide the font should be.</doc> | |||
| 5940 | 6031 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5941 | 6032 | <doc xml:space="preserve" | |
| 5942 | 6033 | filename="pango/fonts.c" | |
| 5943 | - | line="312">a `PangoFontDescription`</doc> | |
| 6034 | + | line="314">a `PangoFontDescription`</doc> | |
| 5944 | 6035 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5945 | 6036 | </instance-parameter> | |
| 5946 | 6037 | <parameter name="stretch" transfer-ownership="none"> | |
| 5947 | 6038 | <doc xml:space="preserve" | |
| 5948 | 6039 | filename="pango/fonts.c" | |
| 5949 | - | line="313">the stretch for the font description</doc> | |
| 6040 | + | line="315">the stretch for the font description</doc> | |
| 5950 | 6041 | <type name="Stretch" c:type="PangoStretch"/> | |
| 5951 | 6042 | </parameter> | |
| 5952 | 6043 | </parameters> | |
| @@ -5954,7 +6045,7 @@ wide the font should be.</doc> | |||
| 5954 | 6045 | <method name="set_style" c:identifier="pango_font_description_set_style"> | |
| 5955 | 6046 | <doc xml:space="preserve" | |
| 5956 | 6047 | filename="pango/fonts.c" | |
| 5957 | - | line="182">Sets the style field of a `PangoFontDescription`. | |
| 6048 | + | line="184">Sets the style field of a `PangoFontDescription`. | |
| 5958 | 6049 | ||
| 5959 | 6050 | The [enum@Pango.Style] enumeration describes whether the font is | |
| 5960 | 6051 | slanted and the manner in which it is slanted; it can be either | |
| @@ -5964,7 +6055,7 @@ Most fonts will either have a italic style or an oblique style, | |||
| 5964 | 6055 | but not both, and font matching in Pango will match italic | |
| 5965 | 6056 | specifications with oblique fonts and vice-versa if an exact | |
| 5966 | 6057 | match is not found.</doc> | |
| 5967 | - | <source-position filename="pango/pango-font.h" line="295"/> | |
| 6058 | + | <source-position filename="pango/pango-font.h" line="319"/> | |
| 5968 | 6059 | <return-value transfer-ownership="none"> | |
| 5969 | 6060 | <type name="none" c:type="void"/> | |
| 5970 | 6061 | </return-value> | |
| @@ -5972,13 +6063,13 @@ match is not found.</doc> | |||
| 5972 | 6063 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 5973 | 6064 | <doc xml:space="preserve" | |
| 5974 | 6065 | filename="pango/fonts.c" | |
| 5975 | - | line="184">a `PangoFontDescription`</doc> | |
| 6066 | + | line="186">a `PangoFontDescription`</doc> | |
| 5976 | 6067 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 5977 | 6068 | </instance-parameter> | |
| 5978 | 6069 | <parameter name="style" transfer-ownership="none"> | |
| 5979 | 6070 | <doc xml:space="preserve" | |
| 5980 | 6071 | filename="pango/fonts.c" | |
| 5981 | - | line="185">the style for the font description</doc> | |
| 6072 | + | line="187">the style for the font description</doc> | |
| 5982 | 6073 | <type name="Style" c:type="PangoStyle"/> | |
| 5983 | 6074 | </parameter> | |
| 5984 | 6075 | </parameters> | |
| @@ -5987,11 +6078,11 @@ match is not found.</doc> | |||
| 5987 | 6078 | c:identifier="pango_font_description_set_variant"> | |
| 5988 | 6079 | <doc xml:space="preserve" | |
| 5989 | 6080 | filename="pango/fonts.c" | |
| 5990 | - | line="228">Sets the variant field of a font description. | |
| 6081 | + | line="230">Sets the variant field of a font description. | |
| 5991 | 6082 | ||
| 5992 | 6083 | The [enum@Pango.Variant] can either be %PANGO_VARIANT_NORMAL | |
| 5993 | 6084 | or %PANGO_VARIANT_SMALL_CAPS.</doc> | |
| 5994 | - | <source-position filename="pango/pango-font.h" line="300"/> | |
| 6085 | + | <source-position filename="pango/pango-font.h" line="324"/> | |
| 5995 | 6086 | <return-value transfer-ownership="none"> | |
| 5996 | 6087 | <type name="none" c:type="void"/> | |
| 5997 | 6088 | </return-value> | |
| @@ -5999,13 +6090,13 @@ or %PANGO_VARIANT_SMALL_CAPS.</doc> | |||
| 5999 | 6090 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6000 | 6091 | <doc xml:space="preserve" | |
| 6001 | 6092 | filename="pango/fonts.c" | |
| 6002 | - | line="230">a `PangoFontDescription`</doc> | |
| 6093 | + | line="232">a `PangoFontDescription`</doc> | |
| 6003 | 6094 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 6004 | 6095 | </instance-parameter> | |
| 6005 | 6096 | <parameter name="variant" transfer-ownership="none"> | |
| 6006 | 6097 | <doc xml:space="preserve" | |
| 6007 | 6098 | filename="pango/fonts.c" | |
| 6008 | - | line="231">the variant type for the font description.</doc> | |
| 6099 | + | line="233">the variant type for the font description.</doc> | |
| 6009 | 6100 | <type name="Variant" c:type="PangoVariant"/> | |
| 6010 | 6101 | </parameter> | |
| 6011 | 6102 | </parameters> | |
| @@ -6015,7 +6106,7 @@ or %PANGO_VARIANT_SMALL_CAPS.</doc> | |||
| 6015 | 6106 | version="1.42"> | |
| 6016 | 6107 | <doc xml:space="preserve" | |
| 6017 | 6108 | filename="pango/fonts.c" | |
| 6018 | - | line="551">Sets the variations field of a font description. | |
| 6109 | + | line="553">Sets the variations field of a font description. | |
| 6019 | 6110 | ||
| 6020 | 6111 | OpenType font variations allow to select a font instance by | |
| 6021 | 6112 | specifying values for a number of axes, such as width or weight. | |
| @@ -6031,7 +6122,7 @@ and values are clamped to their allowed range. | |||
| 6031 | 6122 | Pango does not currently have a way to find supported axes of | |
| 6032 | 6123 | a font. Both harfbuzz and freetype have API for this. See | |
| 6033 | 6124 | for example [hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot-var.html#hb-ot-var-get-axis-infos).</doc> | |
| 6034 | - | <source-position filename="pango/pango-font.h" line="334"/> | |
| 6125 | + | <source-position filename="pango/pango-font.h" line="358"/> | |
| 6035 | 6126 | <return-value transfer-ownership="none"> | |
| 6036 | 6127 | <type name="none" c:type="void"/> | |
| 6037 | 6128 | </return-value> | |
| @@ -6039,7 +6130,7 @@ for example [hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot | |||
| 6039 | 6130 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6040 | 6131 | <doc xml:space="preserve" | |
| 6041 | 6132 | filename="pango/fonts.c" | |
| 6042 | - | line="553">a `PangoFontDescription`.</doc> | |
| 6133 | + | line="555">a `PangoFontDescription`.</doc> | |
| 6043 | 6134 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 6044 | 6135 | </instance-parameter> | |
| 6045 | 6136 | <parameter name="variations" | |
| @@ -6048,7 +6139,7 @@ for example [hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot | |||
| 6048 | 6139 | allow-none="1"> | |
| 6049 | 6140 | <doc xml:space="preserve" | |
| 6050 | 6141 | filename="pango/fonts.c" | |
| 6051 | - | line="554">a string representing the variations</doc> | |
| 6142 | + | line="556">a string representing the variations</doc> | |
| 6052 | 6143 | <type name="utf8" c:type="const char*"/> | |
| 6053 | 6144 | </parameter> | |
| 6054 | 6145 | </parameters> | |
| @@ -6058,7 +6149,7 @@ for example [hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot | |||
| 6058 | 6149 | version="1.42"> | |
| 6059 | 6150 | <doc xml:space="preserve" | |
| 6060 | 6151 | filename="pango/fonts.c" | |
| 6061 | - | line="509">Sets the variations field of a font description. | |
| 6152 | + | line="511">Sets the variations field of a font description. | |
| 6062 | 6153 | ||
| 6063 | 6154 | This is like [method@Pango.FontDescription.set_variations], except | |
| 6064 | 6155 | that no copy of @variations is made. The caller must make sure that | |
| @@ -6066,7 +6157,7 @@ the string passed in stays around until @desc has been freed | |||
| 6066 | 6157 | or the name is set again. This function can be used if | |
| 6067 | 6158 | @variations is a static string such as a C string literal, | |
| 6068 | 6159 | or if @desc is only needed temporarily.</doc> | |
| 6069 | - | <source-position filename="pango/pango-font.h" line="331"/> | |
| 6160 | + | <source-position filename="pango/pango-font.h" line="355"/> | |
| 6070 | 6161 | <return-value transfer-ownership="none"> | |
| 6071 | 6162 | <type name="none" c:type="void"/> | |
| 6072 | 6163 | </return-value> | |
| @@ -6074,13 +6165,13 @@ or if @desc is only needed temporarily.</doc> | |||
| 6074 | 6165 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6075 | 6166 | <doc xml:space="preserve" | |
| 6076 | 6167 | filename="pango/fonts.c" | |
| 6077 | - | line="511">a `PangoFontDescription`</doc> | |
| 6168 | + | line="513">a `PangoFontDescription`</doc> | |
| 6078 | 6169 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 6079 | 6170 | </instance-parameter> | |
| 6080 | 6171 | <parameter name="variations" transfer-ownership="none"> | |
| 6081 | 6172 | <doc xml:space="preserve" | |
| 6082 | 6173 | filename="pango/fonts.c" | |
| 6083 | - | line="512">a string representing the variations</doc> | |
| 6174 | + | line="514">a string representing the variations</doc> | |
| 6084 | 6175 | <type name="utf8" c:type="const char*"/> | |
| 6085 | 6176 | </parameter> | |
| 6086 | 6177 | </parameters> | |
| @@ -6089,13 +6180,13 @@ or if @desc is only needed temporarily.</doc> | |||
| 6089 | 6180 | c:identifier="pango_font_description_set_weight"> | |
| 6090 | 6181 | <doc xml:space="preserve" | |
| 6091 | 6182 | filename="pango/fonts.c" | |
| 6092 | - | line="268">Sets the weight field of a font description. | |
| 6183 | + | line="270">Sets the weight field of a font description. | |
| 6093 | 6184 | ||
| 6094 | 6185 | The weight field | |
| 6095 | 6186 | specifies how bold or light the font should be. In addition | |
| 6096 | 6187 | to the values of the [enum@Pango.Weight] enumeration, other | |
| 6097 | 6188 | intermediate numeric values are possible.</doc> | |
| 6098 | - | <source-position filename="pango/pango-font.h" line="305"/> | |
| 6189 | + | <source-position filename="pango/pango-font.h" line="329"/> | |
| 6099 | 6190 | <return-value transfer-ownership="none"> | |
| 6100 | 6191 | <type name="none" c:type="void"/> | |
| 6101 | 6192 | </return-value> | |
| @@ -6103,13 +6194,13 @@ intermediate numeric values are possible.</doc> | |||
| 6103 | 6194 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6104 | 6195 | <doc xml:space="preserve" | |
| 6105 | 6196 | filename="pango/fonts.c" | |
| 6106 | - | line="270">a `PangoFontDescription`</doc> | |
| 6197 | + | line="272">a `PangoFontDescription`</doc> | |
| 6107 | 6198 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 6108 | 6199 | </instance-parameter> | |
| 6109 | 6200 | <parameter name="weight" transfer-ownership="none"> | |
| 6110 | 6201 | <doc xml:space="preserve" | |
| 6111 | 6202 | filename="pango/fonts.c" | |
| 6112 | - | line="271">the weight for the font description.</doc> | |
| 6203 | + | line="273">the weight for the font description.</doc> | |
| 6113 | 6204 | <type name="Weight" c:type="PangoWeight"/> | |
| 6114 | 6205 | </parameter> | |
| 6115 | 6206 | </parameters> | |
| @@ -6118,24 +6209,24 @@ intermediate numeric values are possible.</doc> | |||
| 6118 | 6209 | c:identifier="pango_font_description_to_filename"> | |
| 6119 | 6210 | <doc xml:space="preserve" | |
| 6120 | 6211 | filename="pango/fonts.c" | |
| 6121 | - | line="1808">Creates a filename representation of a font description. | |
| 6212 | + | line="1872">Creates a filename representation of a font description. | |
| 6122 | 6213 | ||
| 6123 | 6214 | The filename is identical to the result from calling | |
| 6124 | 6215 | [method@Pango.FontDescription.to_string], but with underscores | |
| 6125 | 6216 | instead of characters that are untypical in filenames, and in | |
| 6126 | 6217 | lower case only.</doc> | |
| 6127 | - | <source-position filename="pango/pango-font.h" line="373"/> | |
| 6218 | + | <source-position filename="pango/pango-font.h" line="403"/> | |
| 6128 | 6219 | <return-value transfer-ownership="full" nullable="1"> | |
| 6129 | 6220 | <doc xml:space="preserve" | |
| 6130 | 6221 | filename="pango/fonts.c" | |
| 6131 | - | line="1819">a new string that must be freed with g_free().</doc> | |
| 6222 | + | line="1883">a new string that must be freed with g_free().</doc> | |
| 6132 | 6223 | <type name="utf8" c:type="char*"/> | |
| 6133 | 6224 | </return-value> | |
| 6134 | 6225 | <parameters> | |
| 6135 | 6226 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6136 | 6227 | <doc xml:space="preserve" | |
| 6137 | 6228 | filename="pango/fonts.c" | |
| 6138 | - | line="1810">a `PangoFontDescription`</doc> | |
| 6229 | + | line="1874">a `PangoFontDescription`</doc> | |
| 6139 | 6230 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 6140 | 6231 | </instance-parameter> | |
| 6141 | 6232 | </parameters> | |
| @@ -6143,24 +6234,24 @@ lower case only.</doc> | |||
| 6143 | 6234 | <method name="to_string" c:identifier="pango_font_description_to_string"> | |
| 6144 | 6235 | <doc xml:space="preserve" | |
| 6145 | 6236 | filename="pango/fonts.c" | |
| 6146 | - | line="1715">Creates a string representation of a font description. | |
| 6237 | + | line="1777">Creates a string representation of a font description. | |
| 6147 | 6238 | ||
| 6148 | 6239 | See [func@Pango.FontDescription.from_string] for a description | |
| 6149 | 6240 | of the format of the string representation. The family list in | |
| 6150 | 6241 | the string description will only have a terminating comma if | |
| 6151 | 6242 | the last word of the list is a valid style option.</doc> | |
| 6152 | - | <source-position filename="pango/pango-font.h" line="371"/> | |
| 6243 | + | <source-position filename="pango/pango-font.h" line="401"/> | |
| 6153 | 6244 | <return-value transfer-ownership="full"> | |
| 6154 | 6245 | <doc xml:space="preserve" | |
| 6155 | 6246 | filename="pango/fonts.c" | |
| 6156 | - | line="1726">a new string that must be freed with g_free().</doc> | |
| 6247 | + | line="1788">a new string that must be freed with g_free().</doc> | |
| 6157 | 6248 | <type name="utf8" c:type="char*"/> | |
| 6158 | 6249 | </return-value> | |
| 6159 | 6250 | <parameters> | |
| 6160 | 6251 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6161 | 6252 | <doc xml:space="preserve" | |
| 6162 | 6253 | filename="pango/fonts.c" | |
| 6163 | - | line="1717">a `PangoFontDescription`</doc> | |
| 6254 | + | line="1779">a `PangoFontDescription`</doc> | |
| 6164 | 6255 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 6165 | 6256 | </instance-parameter> | |
| 6166 | 6257 | </parameters> | |
| @@ -6169,10 +6260,10 @@ the last word of the list is a valid style option.</doc> | |||
| 6169 | 6260 | c:identifier="pango_font_description_unset_fields"> | |
| 6170 | 6261 | <doc xml:space="preserve" | |
| 6171 | 6262 | filename="pango/fonts.c" | |
| 6172 | - | line="732">Unsets some of the fields in a `PangoFontDescription`. | |
| 6263 | + | line="779">Unsets some of the fields in a `PangoFontDescription`. | |
| 6173 | 6264 | ||
| 6174 | 6265 | The unset fields will get back to their default values.</doc> | |
| 6175 | - | <source-position filename="pango/pango-font.h" line="351"/> | |
| 6266 | + | <source-position filename="pango/pango-font.h" line="381"/> | |
| 6176 | 6267 | <return-value transfer-ownership="none"> | |
| 6177 | 6268 | <type name="none" c:type="void"/> | |
| 6178 | 6269 | </return-value> | |
| @@ -6180,13 +6271,13 @@ The unset fields will get back to their default values.</doc> | |||
| 6180 | 6271 | <instance-parameter name="desc" transfer-ownership="none"> | |
| 6181 | 6272 | <doc xml:space="preserve" | |
| 6182 | 6273 | filename="pango/fonts.c" | |
| 6183 | - | line="734">a `PangoFontDescription`</doc> | |
| 6274 | + | line="781">a `PangoFontDescription`</doc> | |
| 6184 | 6275 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 6185 | 6276 | </instance-parameter> | |
| 6186 | 6277 | <parameter name="to_unset" transfer-ownership="none"> | |
| 6187 | 6278 | <doc xml:space="preserve" | |
| 6188 | 6279 | filename="pango/fonts.c" | |
| 6189 | - | line="735">bitmask of fields in the @desc to unset.</doc> | |
| 6280 | + | line="782">bitmask of fields in the @desc to unset.</doc> | |
| 6190 | 6281 | <type name="FontMask" c:type="PangoFontMask"/> | |
| 6191 | 6282 | </parameter> | |
| 6192 | 6283 | </parameters> | |
| @@ -6195,7 +6286,7 @@ The unset fields will get back to their default values.</doc> | |||
| 6195 | 6286 | c:identifier="pango_font_description_from_string"> | |
| 6196 | 6287 | <doc xml:space="preserve" | |
| 6197 | 6288 | filename="pango/fonts.c" | |
| 6198 | - | line="1403">Creates a new font description from a string representation. | |
| 6289 | + | line="1462">Creates a new font description from a string representation. | |
| 6199 | 6290 | ||
| 6200 | 6291 | The string must have the form | |
| 6201 | 6292 | ||
| @@ -6228,6 +6319,9 @@ The following words are understood as gravity values: | |||
| 6228 | 6319 | "Not-Rotated", "South", "Upside-Down", "North", "Rotated-Left", | |
| 6229 | 6320 | "East", "Rotated-Right", "West". | |
| 6230 | 6321 | ||
| 6322 | + | The following words are understood as color values: | |
| 6323 | + | "With-Color", "Without-Color". | |
| 6324 | + | ||
| 6231 | 6325 | VARIATIONS is a comma-separated list of font variations | |
| 6232 | 6326 | of the form @<U+200D>axis1=value,axis2=value,... | |
| 6233 | 6327 | ||
| @@ -6244,18 +6338,18 @@ size in the resulting font description will be set to 0. | |||
| 6244 | 6338 | A typical example: | |
| 6245 | 6339 | ||
| 6246 | 6340 | Cantarell Italic Light 15 @<U+200D>wght=200 #<U+200D>tnum=1</doc> | |
| 6247 | - | <source-position filename="pango/pango-font.h" line="369"/> | |
| 6341 | + | <source-position filename="pango/pango-font.h" line="399"/> | |
| 6248 | 6342 | <return-value transfer-ownership="full"> | |
| 6249 | 6343 | <doc xml:space="preserve" | |
| 6250 | 6344 | filename="pango/fonts.c" | |
| 6251 | - | line="1457">a new `PangoFontDescription`.</doc> | |
| 6345 | + | line="1519">a new `PangoFontDescription`.</doc> | |
| 6252 | 6346 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 6253 | 6347 | </return-value> | |
| 6254 | 6348 | <parameters> | |
| 6255 | 6349 | <parameter name="str" transfer-ownership="none"> | |
| 6256 | 6350 | <doc xml:space="preserve" | |
| 6257 | 6351 | filename="pango/fonts.c" | |
| 6258 | - | line="1405">string representation of a font description.</doc> | |
| 6352 | + | line="1464">string representation of a font description.</doc> | |
| 6259 | 6353 | <type name="utf8" c:type="const char*"/> | |
| 6260 | 6354 | </parameter> | |
| 6261 | 6355 | </parameters> | |
| @@ -6271,22 +6365,22 @@ A typical example: | |||
| 6271 | 6365 | glib:type-struct="FontFaceClass"> | |
| 6272 | 6366 | <doc xml:space="preserve" | |
| 6273 | 6367 | filename="pango/pango-font.h" | |
| 6274 | - | line="513">A `PangoFontFace` is used to represent a group of fonts with | |
| 6368 | + | line="543">A `PangoFontFace` is used to represent a group of fonts with | |
| 6275 | 6369 | the same family, slant, weight, and width, but varying sizes.</doc> | |
| 6276 | - | <source-position filename="pango/pango-font.h" line="543"/> | |
| 6370 | + | <source-position filename="pango/pango-font.h" line="573"/> | |
| 6277 | 6371 | <virtual-method name="describe" invoker="describe"> | |
| 6278 | 6372 | <doc xml:space="preserve" | |
| 6279 | 6373 | filename="pango/fonts.c" | |
| 6280 | - | line="2983">Returns a font description that matches the face. | |
| 6374 | + | line="3057">Returns a font description that matches the face. | |
| 6281 | 6375 | ||
| 6282 | 6376 | The resulting font description will have the family, style, | |
| 6283 | 6377 | variant, weight and stretch of the face, but its size field | |
| 6284 | 6378 | will be unset.</doc> | |
| 6285 | - | <source-position filename="pango/pango-font.h" line="531"/> | |
| 6379 | + | <source-position filename="pango/pango-font.h" line="561"/> | |
| 6286 | 6380 | <return-value transfer-ownership="full"> | |
| 6287 | 6381 | <doc xml:space="preserve" | |
| 6288 | 6382 | filename="pango/fonts.c" | |
| 6289 | - | line="2993">a newly-created `PangoFontDescription` structure | |
| 6383 | + | line="3067">a newly-created `PangoFontDescription` structure | |
| 6290 | 6384 | holding the description of the face. Use [method@Pango.FontDescription.free] | |
| 6291 | 6385 | to free the result.</doc> | |
| 6292 | 6386 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| @@ -6295,7 +6389,7 @@ will be unset.</doc> | |||
| 6295 | 6389 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6296 | 6390 | <doc xml:space="preserve" | |
| 6297 | 6391 | filename="pango/fonts.c" | |
| 6298 | - | line="2985">a `PangoFontFace`</doc> | |
| 6392 | + | line="3059">a `PangoFontFace`</doc> | |
| 6299 | 6393 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6300 | 6394 | </instance-parameter> | |
| 6301 | 6395 | </parameters> | |
| @@ -6303,16 +6397,16 @@ will be unset.</doc> | |||
| 6303 | 6397 | <virtual-method name="get_face_name" invoker="get_face_name"> | |
| 6304 | 6398 | <doc xml:space="preserve" | |
| 6305 | 6399 | filename="pango/fonts.c" | |
| 6306 | - | line="3030">Gets a name representing the style of this face. | |
| 6400 | + | line="3104">Gets a name representing the style of this face. | |
| 6307 | 6401 | ||
| 6308 | 6402 | Note that a font family may contain multiple faces | |
| 6309 | 6403 | with the same name (e.g. a variable and a non-variable | |
| 6310 | 6404 | face for the same style).</doc> | |
| 6311 | - | <source-position filename="pango/pango-font.h" line="530"/> | |
| 6405 | + | <source-position filename="pango/pango-font.h" line="560"/> | |
| 6312 | 6406 | <return-value transfer-ownership="none"> | |
| 6313 | 6407 | <doc xml:space="preserve" | |
| 6314 | 6408 | filename="pango/fonts.c" | |
| 6315 | - | line="3040">the face name for the face. This string is | |
| 6409 | + | line="3114">the face name for the face. This string is | |
| 6316 | 6410 | owned by the face object and must not be modified or freed.</doc> | |
| 6317 | 6411 | <type name="utf8" c:type="const char*"/> | |
| 6318 | 6412 | </return-value> | |
| @@ -6320,7 +6414,7 @@ face for the same style).</doc> | |||
| 6320 | 6414 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6321 | 6415 | <doc xml:space="preserve" | |
| 6322 | 6416 | filename="pango/fonts.c" | |
| 6323 | - | line="3032">a `PangoFontFace`.</doc> | |
| 6417 | + | line="3106">a `PangoFontFace`.</doc> | |
| 6324 | 6418 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6325 | 6419 | </instance-parameter> | |
| 6326 | 6420 | </parameters> | |
| @@ -6328,19 +6422,19 @@ face for the same style).</doc> | |||
| 6328 | 6422 | <virtual-method name="get_family" invoker="get_family" version="1.46"> | |
| 6329 | 6423 | <doc xml:space="preserve" | |
| 6330 | 6424 | filename="pango/fonts.c" | |
| 6331 | - | line="3089">Gets the `PangoFontFamily` that @face belongs to.</doc> | |
| 6332 | - | <source-position filename="pango/pango-font.h" line="536"/> | |
| 6425 | + | line="3163">Gets the `PangoFontFamily` that @face belongs to.</doc> | |
| 6426 | + | <source-position filename="pango/pango-font.h" line="566"/> | |
| 6333 | 6427 | <return-value transfer-ownership="none"> | |
| 6334 | 6428 | <doc xml:space="preserve" | |
| 6335 | 6429 | filename="pango/fonts.c" | |
| 6336 | - | line="3095">the `PangoFontFamily`</doc> | |
| 6430 | + | line="3169">the `PangoFontFamily`</doc> | |
| 6337 | 6431 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6338 | 6432 | </return-value> | |
| 6339 | 6433 | <parameters> | |
| 6340 | 6434 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6341 | 6435 | <doc xml:space="preserve" | |
| 6342 | 6436 | filename="pango/fonts.c" | |
| 6343 | - | line="3091">a `PangoFontFace`</doc> | |
| 6437 | + | line="3165">a `PangoFontFace`</doc> | |
| 6344 | 6438 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6345 | 6439 | </instance-parameter> | |
| 6346 | 6440 | </parameters> | |
| @@ -6350,23 +6444,23 @@ face for the same style).</doc> | |||
| 6350 | 6444 | version="1.18"> | |
| 6351 | 6445 | <doc xml:space="preserve" | |
| 6352 | 6446 | filename="pango/fonts.c" | |
| 6353 | - | line="3005">Returns whether a `PangoFontFace` is synthesized. | |
| 6447 | + | line="3079">Returns whether a `PangoFontFace` is synthesized. | |
| 6354 | 6448 | ||
| 6355 | 6449 | This will be the case if the underlying font rendering engine | |
| 6356 | 6450 | creates this face from another face, by shearing, emboldening, | |
| 6357 | 6451 | lightening or modifying it in some other way.</doc> | |
| 6358 | - | <source-position filename="pango/pango-font.h" line="535"/> | |
| 6452 | + | <source-position filename="pango/pango-font.h" line="565"/> | |
| 6359 | 6453 | <return-value transfer-ownership="none"> | |
| 6360 | 6454 | <doc xml:space="preserve" | |
| 6361 | 6455 | filename="pango/fonts.c" | |
| 6362 | - | line="3015">whether @face is synthesized</doc> | |
| 6456 | + | line="3089">whether @face is synthesized</doc> | |
| 6363 | 6457 | <type name="gboolean" c:type="gboolean"/> | |
| 6364 | 6458 | </return-value> | |
| 6365 | 6459 | <parameters> | |
| 6366 | 6460 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6367 | 6461 | <doc xml:space="preserve" | |
| 6368 | 6462 | filename="pango/fonts.c" | |
| 6369 | - | line="3007">a `PangoFontFace`</doc> | |
| 6463 | + | line="3081">a `PangoFontFace`</doc> | |
| 6370 | 6464 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6371 | 6465 | </instance-parameter> | |
| 6372 | 6466 | </parameters> | |
| @@ -6374,13 +6468,13 @@ lightening or modifying it in some other way.</doc> | |||
| 6374 | 6468 | <virtual-method name="list_sizes" invoker="list_sizes" version="1.4"> | |
| 6375 | 6469 | <doc xml:space="preserve" | |
| 6376 | 6470 | filename="pango/fonts.c" | |
| 6377 | - | line="3051">List the available sizes for a font. | |
| 6471 | + | line="3125">List the available sizes for a font. | |
| 6378 | 6472 | ||
| 6379 | 6473 | This is only applicable to bitmap fonts. For scalable fonts, stores | |
| 6380 | 6474 | %NULL at the location pointed to by @sizes and 0 at the location pointed | |
| 6381 | 6475 | to by @n_sizes. The sizes returned are in Pango units and are sorted | |
| 6382 | 6476 | in ascending order.</doc> | |
| 6383 | - | <source-position filename="pango/pango-font.h" line="532"/> | |
| 6477 | + | <source-position filename="pango/pango-font.h" line="562"/> | |
| 6384 | 6478 | <return-value transfer-ownership="none"> | |
| 6385 | 6479 | <type name="none" c:type="void"/> | |
| 6386 | 6480 | </return-value> | |
| @@ -6388,7 +6482,7 @@ in ascending order.</doc> | |||
| 6388 | 6482 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6389 | 6483 | <doc xml:space="preserve" | |
| 6390 | 6484 | filename="pango/fonts.c" | |
| 6391 | - | line="3053">a `PangoFontFace`.</doc> | |
| 6485 | + | line="3127">a `PangoFontFace`.</doc> | |
| 6392 | 6486 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6393 | 6487 | </instance-parameter> | |
| 6394 | 6488 | <parameter name="sizes" | |
| @@ -6400,7 +6494,7 @@ in ascending order.</doc> | |||
| 6400 | 6494 | allow-none="1"> | |
| 6401 | 6495 | <doc xml:space="preserve" | |
| 6402 | 6496 | filename="pango/fonts.c" | |
| 6403 | - | line="3054"> | |
| 6497 | + | line="3128"> | |
| 6404 | 6498 | location to store a pointer to an array of int. This array | |
| 6405 | 6499 | should be freed with g_free().</doc> | |
| 6406 | 6500 | <array length="1" zero-terminated="0" c:type="int**"> | |
| @@ -6413,7 +6507,7 @@ in ascending order.</doc> | |||
| 6413 | 6507 | transfer-ownership="full"> | |
| 6414 | 6508 | <doc xml:space="preserve" | |
| 6415 | 6509 | filename="pango/fonts.c" | |
| 6416 | - | line="3057">location to store the number of elements in @sizes</doc> | |
| 6510 | + | line="3131">location to store the number of elements in @sizes</doc> | |
| 6417 | 6511 | <type name="gint" c:type="int*"/> | |
| 6418 | 6512 | </parameter> | |
| 6419 | 6513 | </parameters> | |
| @@ -6421,16 +6515,16 @@ in ascending order.</doc> | |||
| 6421 | 6515 | <method name="describe" c:identifier="pango_font_face_describe"> | |
| 6422 | 6516 | <doc xml:space="preserve" | |
| 6423 | 6517 | filename="pango/fonts.c" | |
| 6424 | - | line="2983">Returns a font description that matches the face. | |
| 6518 | + | line="3057">Returns a font description that matches the face. | |
| 6425 | 6519 | ||
| 6426 | 6520 | The resulting font description will have the family, style, | |
| 6427 | 6521 | variant, weight and stretch of the face, but its size field | |
| 6428 | 6522 | will be unset.</doc> | |
| 6429 | - | <source-position filename="pango/pango-font.h" line="551"/> | |
| 6523 | + | <source-position filename="pango/pango-font.h" line="581"/> | |
| 6430 | 6524 | <return-value transfer-ownership="full"> | |
| 6431 | 6525 | <doc xml:space="preserve" | |
| 6432 | 6526 | filename="pango/fonts.c" | |
| 6433 | - | line="2993">a newly-created `PangoFontDescription` structure | |
| 6527 | + | line="3067">a newly-created `PangoFontDescription` structure | |
| 6434 | 6528 | holding the description of the face. Use [method@Pango.FontDescription.free] | |
| 6435 | 6529 | to free the result.</doc> | |
| 6436 | 6530 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| @@ -6439,7 +6533,7 @@ will be unset.</doc> | |||
| 6439 | 6533 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6440 | 6534 | <doc xml:space="preserve" | |
| 6441 | 6535 | filename="pango/fonts.c" | |
| 6442 | - | line="2985">a `PangoFontFace`</doc> | |
| 6536 | + | line="3059">a `PangoFontFace`</doc> | |
| 6443 | 6537 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6444 | 6538 | </instance-parameter> | |
| 6445 | 6539 | </parameters> | |
| @@ -6448,16 +6542,16 @@ will be unset.</doc> | |||
| 6448 | 6542 | c:identifier="pango_font_face_get_face_name"> | |
| 6449 | 6543 | <doc xml:space="preserve" | |
| 6450 | 6544 | filename="pango/fonts.c" | |
| 6451 | - | line="3030">Gets a name representing the style of this face. | |
| 6545 | + | line="3104">Gets a name representing the style of this face. | |
| 6452 | 6546 | ||
| 6453 | 6547 | Note that a font family may contain multiple faces | |
| 6454 | 6548 | with the same name (e.g. a variable and a non-variable | |
| 6455 | 6549 | face for the same style).</doc> | |
| 6456 | - | <source-position filename="pango/pango-font.h" line="553"/> | |
| 6550 | + | <source-position filename="pango/pango-font.h" line="583"/> | |
| 6457 | 6551 | <return-value transfer-ownership="none"> | |
| 6458 | 6552 | <doc xml:space="preserve" | |
| 6459 | 6553 | filename="pango/fonts.c" | |
| 6460 | - | line="3040">the face name for the face. This string is | |
| 6554 | + | line="3114">the face name for the face. This string is | |
| 6461 | 6555 | owned by the face object and must not be modified or freed.</doc> | |
| 6462 | 6556 | <type name="utf8" c:type="const char*"/> | |
| 6463 | 6557 | </return-value> | |
| @@ -6465,7 +6559,7 @@ face for the same style).</doc> | |||
| 6465 | 6559 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6466 | 6560 | <doc xml:space="preserve" | |
| 6467 | 6561 | filename="pango/fonts.c" | |
| 6468 | - | line="3032">a `PangoFontFace`.</doc> | |
| 6562 | + | line="3106">a `PangoFontFace`.</doc> | |
| 6469 | 6563 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6470 | 6564 | </instance-parameter> | |
| 6471 | 6565 | </parameters> | |
| @@ -6475,19 +6569,19 @@ face for the same style).</doc> | |||
| 6475 | 6569 | version="1.46"> | |
| 6476 | 6570 | <doc xml:space="preserve" | |
| 6477 | 6571 | filename="pango/fonts.c" | |
| 6478 | - | line="3089">Gets the `PangoFontFamily` that @face belongs to.</doc> | |
| 6479 | - | <source-position filename="pango/pango-font.h" line="562"/> | |
| 6572 | + | line="3163">Gets the `PangoFontFamily` that @face belongs to.</doc> | |
| 6573 | + | <source-position filename="pango/pango-font.h" line="592"/> | |
| 6480 | 6574 | <return-value transfer-ownership="none"> | |
| 6481 | 6575 | <doc xml:space="preserve" | |
| 6482 | 6576 | filename="pango/fonts.c" | |
| 6483 | - | line="3095">the `PangoFontFamily`</doc> | |
| 6577 | + | line="3169">the `PangoFontFamily`</doc> | |
| 6484 | 6578 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6485 | 6579 | </return-value> | |
| 6486 | 6580 | <parameters> | |
| 6487 | 6581 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6488 | 6582 | <doc xml:space="preserve" | |
| 6489 | 6583 | filename="pango/fonts.c" | |
| 6490 | - | line="3091">a `PangoFontFace`</doc> | |
| 6584 | + | line="3165">a `PangoFontFace`</doc> | |
| 6491 | 6585 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6492 | 6586 | </instance-parameter> | |
| 6493 | 6587 | </parameters> | |
| @@ -6497,23 +6591,23 @@ face for the same style).</doc> | |||
| 6497 | 6591 | version="1.18"> | |
| 6498 | 6592 | <doc xml:space="preserve" | |
| 6499 | 6593 | filename="pango/fonts.c" | |
| 6500 | - | line="3005">Returns whether a `PangoFontFace` is synthesized. | |
| 6594 | + | line="3079">Returns whether a `PangoFontFace` is synthesized. | |
| 6501 | 6595 | ||
| 6502 | 6596 | This will be the case if the underlying font rendering engine | |
| 6503 | 6597 | creates this face from another face, by shearing, emboldening, | |
| 6504 | 6598 | lightening or modifying it in some other way.</doc> | |
| 6505 | - | <source-position filename="pango/pango-font.h" line="559"/> | |
| 6599 | + | <source-position filename="pango/pango-font.h" line="589"/> | |
| 6506 | 6600 | <return-value transfer-ownership="none"> | |
| 6507 | 6601 | <doc xml:space="preserve" | |
| 6508 | 6602 | filename="pango/fonts.c" | |
| 6509 | - | line="3015">whether @face is synthesized</doc> | |
| 6603 | + | line="3089">whether @face is synthesized</doc> | |
| 6510 | 6604 | <type name="gboolean" c:type="gboolean"/> | |
| 6511 | 6605 | </return-value> | |
| 6512 | 6606 | <parameters> | |
| 6513 | 6607 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6514 | 6608 | <doc xml:space="preserve" | |
| 6515 | 6609 | filename="pango/fonts.c" | |
| 6516 | - | line="3007">a `PangoFontFace`</doc> | |
| 6610 | + | line="3081">a `PangoFontFace`</doc> | |
| 6517 | 6611 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6518 | 6612 | </instance-parameter> | |
| 6519 | 6613 | </parameters> | |
| @@ -6523,13 +6617,13 @@ lightening or modifying it in some other way.</doc> | |||
| 6523 | 6617 | version="1.4"> | |
| 6524 | 6618 | <doc xml:space="preserve" | |
| 6525 | 6619 | filename="pango/fonts.c" | |
| 6526 | - | line="3051">List the available sizes for a font. | |
| 6620 | + | line="3125">List the available sizes for a font. | |
| 6527 | 6621 | ||
| 6528 | 6622 | This is only applicable to bitmap fonts. For scalable fonts, stores | |
| 6529 | 6623 | %NULL at the location pointed to by @sizes and 0 at the location pointed | |
| 6530 | 6624 | to by @n_sizes. The sizes returned are in Pango units and are sorted | |
| 6531 | 6625 | in ascending order.</doc> | |
| 6532 | - | <source-position filename="pango/pango-font.h" line="555"/> | |
| 6626 | + | <source-position filename="pango/pango-font.h" line="585"/> | |
| 6533 | 6627 | <return-value transfer-ownership="none"> | |
| 6534 | 6628 | <type name="none" c:type="void"/> | |
| 6535 | 6629 | </return-value> | |
| @@ -6537,7 +6631,7 @@ in ascending order.</doc> | |||
| 6537 | 6631 | <instance-parameter name="face" transfer-ownership="none"> | |
| 6538 | 6632 | <doc xml:space="preserve" | |
| 6539 | 6633 | filename="pango/fonts.c" | |
| 6540 | - | line="3053">a `PangoFontFace`.</doc> | |
| 6634 | + | line="3127">a `PangoFontFace`.</doc> | |
| 6541 | 6635 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6542 | 6636 | </instance-parameter> | |
| 6543 | 6637 | <parameter name="sizes" | |
| @@ -6549,7 +6643,7 @@ in ascending order.</doc> | |||
| 6549 | 6643 | allow-none="1"> | |
| 6550 | 6644 | <doc xml:space="preserve" | |
| 6551 | 6645 | filename="pango/fonts.c" | |
| 6552 | - | line="3054"> | |
| 6646 | + | line="3128"> | |
| 6553 | 6647 | location to store a pointer to an array of int. This array | |
| 6554 | 6648 | should be freed with g_free().</doc> | |
| 6555 | 6649 | <array length="1" zero-terminated="0" c:type="int**"> | |
| @@ -6562,7 +6656,7 @@ in ascending order.</doc> | |||
| 6562 | 6656 | transfer-ownership="full"> | |
| 6563 | 6657 | <doc xml:space="preserve" | |
| 6564 | 6658 | filename="pango/fonts.c" | |
| 6565 | - | line="3057">location to store the number of elements in @sizes</doc> | |
| 6659 | + | line="3131">location to store the number of elements in @sizes</doc> | |
| 6566 | 6660 | <type name="gint" c:type="int*"/> | |
| 6567 | 6661 | </parameter> | |
| 6568 | 6662 | </parameters> | |
| @@ -6574,17 +6668,17 @@ in ascending order.</doc> | |||
| 6574 | 6668 | <record name="FontFaceClass" | |
| 6575 | 6669 | c:type="PangoFontFaceClass" | |
| 6576 | 6670 | glib:is-gtype-struct-for="FontFace"> | |
| 6577 | - | <source-position filename="pango/pango-font.h" line="543"/> | |
| 6671 | + | <source-position filename="pango/pango-font.h" line="573"/> | |
| 6578 | 6672 | <field name="parent_class"> | |
| 6579 | 6673 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 6580 | 6674 | </field> | |
| 6581 | 6675 | <field name="get_face_name"> | |
| 6582 | 6676 | <callback name="get_face_name"> | |
| 6583 | - | <source-position filename="pango/pango-font.h" line="530"/> | |
| 6677 | + | <source-position filename="pango/pango-font.h" line="560"/> | |
| 6584 | 6678 | <return-value transfer-ownership="none"> | |
| 6585 | 6679 | <doc xml:space="preserve" | |
| 6586 | 6680 | filename="pango/fonts.c" | |
| 6587 | - | line="3040">the face name for the face. This string is | |
| 6681 | + | line="3114">the face name for the face. This string is | |
| 6588 | 6682 | owned by the face object and must not be modified or freed.</doc> | |
| 6589 | 6683 | <type name="utf8" c:type="const char*"/> | |
| 6590 | 6684 | </return-value> | |
| @@ -6592,7 +6686,7 @@ in ascending order.</doc> | |||
| 6592 | 6686 | <parameter name="face" transfer-ownership="none"> | |
| 6593 | 6687 | <doc xml:space="preserve" | |
| 6594 | 6688 | filename="pango/fonts.c" | |
| 6595 | - | line="3032">a `PangoFontFace`.</doc> | |
| 6689 | + | line="3106">a `PangoFontFace`.</doc> | |
| 6596 | 6690 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6597 | 6691 | </parameter> | |
| 6598 | 6692 | </parameters> | |
| @@ -6600,11 +6694,11 @@ in ascending order.</doc> | |||
| 6600 | 6694 | </field> | |
| 6601 | 6695 | <field name="describe"> | |
| 6602 | 6696 | <callback name="describe"> | |
| 6603 | - | <source-position filename="pango/pango-font.h" line="531"/> | |
| 6697 | + | <source-position filename="pango/pango-font.h" line="561"/> | |
| 6604 | 6698 | <return-value transfer-ownership="full"> | |
| 6605 | 6699 | <doc xml:space="preserve" | |
| 6606 | 6700 | filename="pango/fonts.c" | |
| 6607 | - | line="2993">a newly-created `PangoFontDescription` structure | |
| 6701 | + | line="3067">a newly-created `PangoFontDescription` structure | |
| 6608 | 6702 | holding the description of the face. Use [method@Pango.FontDescription.free] | |
| 6609 | 6703 | to free the result.</doc> | |
| 6610 | 6704 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| @@ -6613,7 +6707,7 @@ in ascending order.</doc> | |||
| 6613 | 6707 | <parameter name="face" transfer-ownership="none"> | |
| 6614 | 6708 | <doc xml:space="preserve" | |
| 6615 | 6709 | filename="pango/fonts.c" | |
| 6616 | - | line="2985">a `PangoFontFace`</doc> | |
| 6710 | + | line="3059">a `PangoFontFace`</doc> | |
| 6617 | 6711 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6618 | 6712 | </parameter> | |
| 6619 | 6713 | </parameters> | |
| @@ -6621,7 +6715,7 @@ in ascending order.</doc> | |||
| 6621 | 6715 | </field> | |
| 6622 | 6716 | <field name="list_sizes"> | |
| 6623 | 6717 | <callback name="list_sizes"> | |
| 6624 | - | <source-position filename="pango/pango-font.h" line="532"/> | |
| 6718 | + | <source-position filename="pango/pango-font.h" line="562"/> | |
| 6625 | 6719 | <return-value transfer-ownership="none"> | |
| 6626 | 6720 | <type name="none" c:type="void"/> | |
| 6627 | 6721 | </return-value> | |
| @@ -6629,7 +6723,7 @@ in ascending order.</doc> | |||
| 6629 | 6723 | <parameter name="face" transfer-ownership="none"> | |
| 6630 | 6724 | <doc xml:space="preserve" | |
| 6631 | 6725 | filename="pango/fonts.c" | |
| 6632 | - | line="3053">a `PangoFontFace`.</doc> | |
| 6726 | + | line="3127">a `PangoFontFace`.</doc> | |
| 6633 | 6727 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6634 | 6728 | </parameter> | |
| 6635 | 6729 | <parameter name="sizes" | |
| @@ -6641,7 +6735,7 @@ in ascending order.</doc> | |||
| 6641 | 6735 | allow-none="1"> | |
| 6642 | 6736 | <doc xml:space="preserve" | |
| 6643 | 6737 | filename="pango/fonts.c" | |
| 6644 | - | line="3054"> | |
| 6738 | + | line="3128"> | |
| 6645 | 6739 | location to store a pointer to an array of int. This array | |
| 6646 | 6740 | should be freed with g_free().</doc> | |
| 6647 | 6741 | <array length="2" zero-terminated="0" c:type="int**"> | |
| @@ -6654,7 +6748,7 @@ in ascending order.</doc> | |||
| 6654 | 6748 | transfer-ownership="full"> | |
| 6655 | 6749 | <doc xml:space="preserve" | |
| 6656 | 6750 | filename="pango/fonts.c" | |
| 6657 | - | line="3057">location to store the number of elements in @sizes</doc> | |
| 6751 | + | line="3131">location to store the number of elements in @sizes</doc> | |
| 6658 | 6752 | <type name="gint" c:type="int*"/> | |
| 6659 | 6753 | </parameter> | |
| 6660 | 6754 | </parameters> | |
| @@ -6662,18 +6756,18 @@ in ascending order.</doc> | |||
| 6662 | 6756 | </field> | |
| 6663 | 6757 | <field name="is_synthesized"> | |
| 6664 | 6758 | <callback name="is_synthesized"> | |
| 6665 | - | <source-position filename="pango/pango-font.h" line="535"/> | |
| 6759 | + | <source-position filename="pango/pango-font.h" line="565"/> | |
| 6666 | 6760 | <return-value transfer-ownership="none"> | |
| 6667 | 6761 | <doc xml:space="preserve" | |
| 6668 | 6762 | filename="pango/fonts.c" | |
| 6669 | - | line="3015">whether @face is synthesized</doc> | |
| 6763 | + | line="3089">whether @face is synthesized</doc> | |
| 6670 | 6764 | <type name="gboolean" c:type="gboolean"/> | |
| 6671 | 6765 | </return-value> | |
| 6672 | 6766 | <parameters> | |
| 6673 | 6767 | <parameter name="face" transfer-ownership="none"> | |
| 6674 | 6768 | <doc xml:space="preserve" | |
| 6675 | 6769 | filename="pango/fonts.c" | |
| 6676 | - | line="3007">a `PangoFontFace`</doc> | |
| 6770 | + | line="3081">a `PangoFontFace`</doc> | |
| 6677 | 6771 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6678 | 6772 | </parameter> | |
| 6679 | 6773 | </parameters> | |
| @@ -6681,18 +6775,18 @@ in ascending order.</doc> | |||
| 6681 | 6775 | </field> | |
| 6682 | 6776 | <field name="get_family"> | |
| 6683 | 6777 | <callback name="get_family"> | |
| 6684 | - | <source-position filename="pango/pango-font.h" line="536"/> | |
| 6778 | + | <source-position filename="pango/pango-font.h" line="566"/> | |
| 6685 | 6779 | <return-value transfer-ownership="none"> | |
| 6686 | 6780 | <doc xml:space="preserve" | |
| 6687 | 6781 | filename="pango/fonts.c" | |
| 6688 | - | line="3095">the `PangoFontFamily`</doc> | |
| 6782 | + | line="3169">the `PangoFontFamily`</doc> | |
| 6689 | 6783 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6690 | 6784 | </return-value> | |
| 6691 | 6785 | <parameters> | |
| 6692 | 6786 | <parameter name="face" transfer-ownership="none"> | |
| 6693 | 6787 | <doc xml:space="preserve" | |
| 6694 | 6788 | filename="pango/fonts.c" | |
| 6695 | - | line="3091">a `PangoFontFace`</doc> | |
| 6789 | + | line="3165">a `PangoFontFace`</doc> | |
| 6696 | 6790 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6697 | 6791 | </parameter> | |
| 6698 | 6792 | </parameters> | |
| @@ -6700,7 +6794,7 @@ in ascending order.</doc> | |||
| 6700 | 6794 | </field> | |
| 6701 | 6795 | <field name="_pango_reserved3" introspectable="0"> | |
| 6702 | 6796 | <callback name="_pango_reserved3"> | |
| 6703 | - | <source-position filename="pango/pango-font.h" line="541"/> | |
| 6797 | + | <source-position filename="pango/pango-font.h" line="571"/> | |
| 6704 | 6798 | <return-value transfer-ownership="none"> | |
| 6705 | 6799 | <type name="none" c:type="void"/> | |
| 6706 | 6800 | </return-value> | |
| @@ -6708,7 +6802,7 @@ in ascending order.</doc> | |||
| 6708 | 6802 | </field> | |
| 6709 | 6803 | <field name="_pango_reserved4" introspectable="0"> | |
| 6710 | 6804 | <callback name="_pango_reserved4"> | |
| 6711 | - | <source-position filename="pango/pango-font.h" line="542"/> | |
| 6805 | + | <source-position filename="pango/pango-font.h" line="572"/> | |
| 6712 | 6806 | <return-value transfer-ownership="none"> | |
| 6713 | 6807 | <type name="none" c:type="void"/> | |
| 6714 | 6808 | </return-value> | |
| @@ -6725,22 +6819,22 @@ in ascending order.</doc> | |||
| 6725 | 6819 | glib:type-struct="FontFamilyClass"> | |
| 6726 | 6820 | <doc xml:space="preserve" | |
| 6727 | 6821 | filename="pango/pango-font.h" | |
| 6728 | - | line="440">A `PangoFontFamily` is used to represent a family of related | |
| 6822 | + | line="470">A `PangoFontFamily` is used to represent a family of related | |
| 6729 | 6823 | font faces. | |
| 6730 | 6824 | ||
| 6731 | 6825 | The font faces in a family share a common design, but differ in | |
| 6732 | 6826 | slant, weight, width or other aspects.</doc> | |
| 6733 | - | <source-position filename="pango/pango-font.h" line="475"/> | |
| 6827 | + | <source-position filename="pango/pango-font.h" line="505"/> | |
| 6734 | 6828 | <implements name="Gio.ListModel"/> | |
| 6735 | 6829 | <virtual-method name="get_face" invoker="get_face" version="1.46"> | |
| 6736 | 6830 | <doc xml:space="preserve" | |
| 6737 | 6831 | filename="pango/fonts.c" | |
| 6738 | - | line="2891">Gets the `PangoFontFace` of @family with the given name.</doc> | |
| 6739 | - | <source-position filename="pango/pango-font.h" line="467"/> | |
| 6832 | + | line="2965">Gets the `PangoFontFace` of @family with the given name.</doc> | |
| 6833 | + | <source-position filename="pango/pango-font.h" line="497"/> | |
| 6740 | 6834 | <return-value transfer-ownership="none" nullable="1"> | |
| 6741 | 6835 | <doc xml:space="preserve" | |
| 6742 | 6836 | filename="pango/fonts.c" | |
| 6743 | - | line="2900">the `PangoFontFace`, | |
| 6837 | + | line="2974">the `PangoFontFace`, | |
| 6744 | 6838 | or %NULL if no face with the given name exists.</doc> | |
| 6745 | 6839 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6746 | 6840 | </return-value> | |
| @@ -6748,7 +6842,7 @@ slant, weight, width or other aspects.</doc> | |||
| 6748 | 6842 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6749 | 6843 | <doc xml:space="preserve" | |
| 6750 | 6844 | filename="pango/fonts.c" | |
| 6751 | - | line="2893">a `PangoFontFamily`</doc> | |
| 6845 | + | line="2967">a `PangoFontFamily`</doc> | |
| 6752 | 6846 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6753 | 6847 | </instance-parameter> | |
| 6754 | 6848 | <parameter name="name" | |
| @@ -6757,7 +6851,7 @@ slant, weight, width or other aspects.</doc> | |||
| 6757 | 6851 | allow-none="1"> | |
| 6758 | 6852 | <doc xml:space="preserve" | |
| 6759 | 6853 | filename="pango/fonts.c" | |
| 6760 | - | line="2894">the name of a face. If the name is %NULL, | |
| 6854 | + | line="2968">the name of a face. If the name is %NULL, | |
| 6761 | 6855 | the family's default face (fontconfig calls it "Regular") | |
| 6762 | 6856 | will be returned.</doc> | |
| 6763 | 6857 | <type name="utf8" c:type="const char*"/> | |
| @@ -6767,16 +6861,16 @@ slant, weight, width or other aspects.</doc> | |||
| 6767 | 6861 | <virtual-method name="get_name" invoker="get_name"> | |
| 6768 | 6862 | <doc xml:space="preserve" | |
| 6769 | 6863 | filename="pango/fonts.c" | |
| 6770 | - | line="2807">Gets the name of the family. | |
| 6864 | + | line="2881">Gets the name of the family. | |
| 6771 | 6865 | ||
| 6772 | 6866 | The name is unique among all fonts for the font backend and can | |
| 6773 | 6867 | be used in a `PangoFontDescription` to specify that a face from | |
| 6774 | 6868 | this family is desired.</doc> | |
| 6775 | - | <source-position filename="pango/pango-font.h" line="463"/> | |
| 6869 | + | <source-position filename="pango/pango-font.h" line="493"/> | |
| 6776 | 6870 | <return-value transfer-ownership="none"> | |
| 6777 | 6871 | <doc xml:space="preserve" | |
| 6778 | 6872 | filename="pango/fonts.c" | |
| 6779 | - | line="2817">the name of the family. This string is owned | |
| 6873 | + | line="2891">the name of the family. This string is owned | |
| 6780 | 6874 | by the family object and must not be modified or freed.</doc> | |
| 6781 | 6875 | <type name="utf8" c:type="const char*"/> | |
| 6782 | 6876 | </return-value> | |
| @@ -6784,7 +6878,7 @@ this family is desired.</doc> | |||
| 6784 | 6878 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6785 | 6879 | <doc xml:space="preserve" | |
| 6786 | 6880 | filename="pango/fonts.c" | |
| 6787 | - | line="2809">a `PangoFontFamily`</doc> | |
| 6881 | + | line="2883">a `PangoFontFamily`</doc> | |
| 6788 | 6882 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6789 | 6883 | </instance-parameter> | |
| 6790 | 6884 | </parameters> | |
| @@ -6792,7 +6886,7 @@ this family is desired.</doc> | |||
| 6792 | 6886 | <virtual-method name="is_monospace" invoker="is_monospace" version="1.4"> | |
| 6793 | 6887 | <doc xml:space="preserve" | |
| 6794 | 6888 | filename="pango/fonts.c" | |
| 6795 | - | line="2914">A monospace font is a font designed for text display where the the | |
| 6889 | + | line="2988">A monospace font is a font designed for text display where the the | |
| 6796 | 6890 | characters form a regular grid. | |
| 6797 | 6891 | ||
| 6798 | 6892 | For Western languages this would | |
| @@ -6806,18 +6900,18 @@ The best way to find out the grid-cell size is to call | |||
| 6806 | 6900 | [method@Pango.FontMetrics.get_approximate_digit_width], since the | |
| 6807 | 6901 | results of [method@Pango.FontMetrics.get_approximate_char_width] may | |
| 6808 | 6902 | be affected by double-width characters.</doc> | |
| 6809 | - | <source-position filename="pango/pango-font.h" line="464"/> | |
| 6903 | + | <source-position filename="pango/pango-font.h" line="494"/> | |
| 6810 | 6904 | <return-value transfer-ownership="none"> | |
| 6811 | 6905 | <doc xml:space="preserve" | |
| 6812 | 6906 | filename="pango/fonts.c" | |
| 6813 | - | line="2933">%TRUE if the family is monospace.</doc> | |
| 6907 | + | line="3007">%TRUE if the family is monospace.</doc> | |
| 6814 | 6908 | <type name="gboolean" c:type="gboolean"/> | |
| 6815 | 6909 | </return-value> | |
| 6816 | 6910 | <parameters> | |
| 6817 | 6911 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6818 | 6912 | <doc xml:space="preserve" | |
| 6819 | 6913 | filename="pango/fonts.c" | |
| 6820 | - | line="2916">a `PangoFontFamily`</doc> | |
| 6914 | + | line="2990">a `PangoFontFamily`</doc> | |
| 6821 | 6915 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6822 | 6916 | </instance-parameter> | |
| 6823 | 6917 | </parameters> | |
| @@ -6825,23 +6919,23 @@ be affected by double-width characters.</doc> | |||
| 6825 | 6919 | <virtual-method name="is_variable" invoker="is_variable" version="1.44"> | |
| 6826 | 6920 | <doc xml:space="preserve" | |
| 6827 | 6921 | filename="pango/fonts.c" | |
| 6828 | - | line="2945">A variable font is a font which has axes that can be modified to | |
| 6922 | + | line="3019">A variable font is a font which has axes that can be modified to | |
| 6829 | 6923 | produce different faces. | |
| 6830 | 6924 | ||
| 6831 | 6925 | Such axes are also known as _variations_; see | |
| 6832 | 6926 | [method@Pango.FontDescription.set_variations] for more information.</doc> | |
| 6833 | - | <source-position filename="pango/pango-font.h" line="465"/> | |
| 6927 | + | <source-position filename="pango/pango-font.h" line="495"/> | |
| 6834 | 6928 | <return-value transfer-ownership="none"> | |
| 6835 | 6929 | <doc xml:space="preserve" | |
| 6836 | 6930 | filename="pango/fonts.c" | |
| 6837 | - | line="2955">%TRUE if the family is variable</doc> | |
| 6931 | + | line="3029">%TRUE if the family is variable</doc> | |
| 6838 | 6932 | <type name="gboolean" c:type="gboolean"/> | |
| 6839 | 6933 | </return-value> | |
| 6840 | 6934 | <parameters> | |
| 6841 | 6935 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6842 | 6936 | <doc xml:space="preserve" | |
| 6843 | 6937 | filename="pango/fonts.c" | |
| 6844 | - | line="2947">a `PangoFontFamily`</doc> | |
| 6938 | + | line="3021">a `PangoFontFamily`</doc> | |
| 6845 | 6939 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6846 | 6940 | </instance-parameter> | |
| 6847 | 6941 | </parameters> | |
| @@ -6849,7 +6943,7 @@ Such axes are also known as _variations_; see | |||
| 6849 | 6943 | <virtual-method name="list_faces" invoker="list_faces"> | |
| 6850 | 6944 | <doc xml:space="preserve" | |
| 6851 | 6945 | filename="pango/fonts.c" | |
| 6852 | - | line="2828">Lists the different font faces that make up @family. | |
| 6946 | + | line="2902">Lists the different font faces that make up @family. | |
| 6853 | 6947 | ||
| 6854 | 6948 | The faces in a family share a common design, but differ in slant, weight, | |
| 6855 | 6949 | width and other aspects. | |
| @@ -6859,7 +6953,7 @@ multiple faces may have the same name or characteristics. | |||
| 6859 | 6953 | ||
| 6860 | 6954 | `PangoFontFamily` also implemented the [iface@Gio.ListModel] interface | |
| 6861 | 6955 | for enumerating faces.</doc> | |
| 6862 | - | <source-position filename="pango/pango-font.h" line="460"/> | |
| 6956 | + | <source-position filename="pango/pango-font.h" line="490"/> | |
| 6863 | 6957 | <return-value transfer-ownership="none"> | |
| 6864 | 6958 | <type name="none" c:type="void"/> | |
| 6865 | 6959 | </return-value> | |
| @@ -6867,7 +6961,7 @@ for enumerating faces.</doc> | |||
| 6867 | 6961 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6868 | 6962 | <doc xml:space="preserve" | |
| 6869 | 6963 | filename="pango/fonts.c" | |
| 6870 | - | line="2830">a `PangoFontFamily`</doc> | |
| 6964 | + | line="2904">a `PangoFontFamily`</doc> | |
| 6871 | 6965 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6872 | 6966 | </instance-parameter> | |
| 6873 | 6967 | <parameter name="faces" | |
| @@ -6878,7 +6972,7 @@ for enumerating faces.</doc> | |||
| 6878 | 6972 | allow-none="1"> | |
| 6879 | 6973 | <doc xml:space="preserve" | |
| 6880 | 6974 | filename="pango/fonts.c" | |
| 6881 | - | line="2831"> | |
| 6975 | + | line="2905"> | |
| 6882 | 6976 | location to store an array of pointers to `PangoFontFace` objects, | |
| 6883 | 6977 | or %NULL. This array should be freed with g_free() when it is no | |
| 6884 | 6978 | longer needed.</doc> | |
| @@ -6892,7 +6986,7 @@ for enumerating faces.</doc> | |||
| 6892 | 6986 | transfer-ownership="full"> | |
| 6893 | 6987 | <doc xml:space="preserve" | |
| 6894 | 6988 | filename="pango/fonts.c" | |
| 6895 | - | line="2835">location to store number of elements in @faces.</doc> | |
| 6989 | + | line="2909">location to store number of elements in @faces.</doc> | |
| 6896 | 6990 | <type name="gint" c:type="int*"/> | |
| 6897 | 6991 | </parameter> | |
| 6898 | 6992 | </parameters> | |
| @@ -6902,12 +6996,12 @@ for enumerating faces.</doc> | |||
| 6902 | 6996 | version="1.46"> | |
| 6903 | 6997 | <doc xml:space="preserve" | |
| 6904 | 6998 | filename="pango/fonts.c" | |
| 6905 | - | line="2891">Gets the `PangoFontFace` of @family with the given name.</doc> | |
| 6906 | - | <source-position filename="pango/pango-font.h" line="494"/> | |
| 6999 | + | line="2965">Gets the `PangoFontFace` of @family with the given name.</doc> | |
| 7000 | + | <source-position filename="pango/pango-font.h" line="524"/> | |
| 6907 | 7001 | <return-value transfer-ownership="none" nullable="1"> | |
| 6908 | 7002 | <doc xml:space="preserve" | |
| 6909 | 7003 | filename="pango/fonts.c" | |
| 6910 | - | line="2900">the `PangoFontFace`, | |
| 7004 | + | line="2974">the `PangoFontFace`, | |
| 6911 | 7005 | or %NULL if no face with the given name exists.</doc> | |
| 6912 | 7006 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 6913 | 7007 | </return-value> | |
| @@ -6915,7 +7009,7 @@ for enumerating faces.</doc> | |||
| 6915 | 7009 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6916 | 7010 | <doc xml:space="preserve" | |
| 6917 | 7011 | filename="pango/fonts.c" | |
| 6918 | - | line="2893">a `PangoFontFamily`</doc> | |
| 7012 | + | line="2967">a `PangoFontFamily`</doc> | |
| 6919 | 7013 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6920 | 7014 | </instance-parameter> | |
| 6921 | 7015 | <parameter name="name" | |
| @@ -6924,7 +7018,7 @@ for enumerating faces.</doc> | |||
| 6924 | 7018 | allow-none="1"> | |
| 6925 | 7019 | <doc xml:space="preserve" | |
| 6926 | 7020 | filename="pango/fonts.c" | |
| 6927 | - | line="2894">the name of a face. If the name is %NULL, | |
| 7021 | + | line="2968">the name of a face. If the name is %NULL, | |
| 6928 | 7022 | the family's default face (fontconfig calls it "Regular") | |
| 6929 | 7023 | will be returned.</doc> | |
| 6930 | 7024 | <type name="utf8" c:type="const char*"/> | |
| @@ -6936,16 +7030,16 @@ for enumerating faces.</doc> | |||
| 6936 | 7030 | glib:get-property="name"> | |
| 6937 | 7031 | <doc xml:space="preserve" | |
| 6938 | 7032 | filename="pango/fonts.c" | |
| 6939 | - | line="2807">Gets the name of the family. | |
| 7033 | + | line="2881">Gets the name of the family. | |
| 6940 | 7034 | ||
| 6941 | 7035 | The name is unique among all fonts for the font backend and can | |
| 6942 | 7036 | be used in a `PangoFontDescription` to specify that a face from | |
| 6943 | 7037 | this family is desired.</doc> | |
| 6944 | - | <source-position filename="pango/pango-font.h" line="487"/> | |
| 7038 | + | <source-position filename="pango/pango-font.h" line="517"/> | |
| 6945 | 7039 | <return-value transfer-ownership="none"> | |
| 6946 | 7040 | <doc xml:space="preserve" | |
| 6947 | 7041 | filename="pango/fonts.c" | |
| 6948 | - | line="2817">the name of the family. This string is owned | |
| 7042 | + | line="2891">the name of the family. This string is owned | |
| 6949 | 7043 | by the family object and must not be modified or freed.</doc> | |
| 6950 | 7044 | <type name="utf8" c:type="const char*"/> | |
| 6951 | 7045 | </return-value> | |
| @@ -6953,7 +7047,7 @@ this family is desired.</doc> | |||
| 6953 | 7047 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6954 | 7048 | <doc xml:space="preserve" | |
| 6955 | 7049 | filename="pango/fonts.c" | |
| 6956 | - | line="2809">a `PangoFontFamily`</doc> | |
| 7050 | + | line="2883">a `PangoFontFamily`</doc> | |
| 6957 | 7051 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6958 | 7052 | </instance-parameter> | |
| 6959 | 7053 | </parameters> | |
| @@ -6964,7 +7058,7 @@ this family is desired.</doc> | |||
| 6964 | 7058 | version="1.4"> | |
| 6965 | 7059 | <doc xml:space="preserve" | |
| 6966 | 7060 | filename="pango/fonts.c" | |
| 6967 | - | line="2914">A monospace font is a font designed for text display where the the | |
| 7061 | + | line="2988">A monospace font is a font designed for text display where the the | |
| 6968 | 7062 | characters form a regular grid. | |
| 6969 | 7063 | ||
| 6970 | 7064 | For Western languages this would | |
| @@ -6978,18 +7072,18 @@ The best way to find out the grid-cell size is to call | |||
| 6978 | 7072 | [method@Pango.FontMetrics.get_approximate_digit_width], since the | |
| 6979 | 7073 | results of [method@Pango.FontMetrics.get_approximate_char_width] may | |
| 6980 | 7074 | be affected by double-width characters.</doc> | |
| 6981 | - | <source-position filename="pango/pango-font.h" line="489"/> | |
| 7075 | + | <source-position filename="pango/pango-font.h" line="519"/> | |
| 6982 | 7076 | <return-value transfer-ownership="none"> | |
| 6983 | 7077 | <doc xml:space="preserve" | |
| 6984 | 7078 | filename="pango/fonts.c" | |
| 6985 | - | line="2933">%TRUE if the family is monospace.</doc> | |
| 7079 | + | line="3007">%TRUE if the family is monospace.</doc> | |
| 6986 | 7080 | <type name="gboolean" c:type="gboolean"/> | |
| 6987 | 7081 | </return-value> | |
| 6988 | 7082 | <parameters> | |
| 6989 | 7083 | <instance-parameter name="family" transfer-ownership="none"> | |
| 6990 | 7084 | <doc xml:space="preserve" | |
| 6991 | 7085 | filename="pango/fonts.c" | |
| 6992 | - | line="2916">a `PangoFontFamily`</doc> | |
| 7086 | + | line="2990">a `PangoFontFamily`</doc> | |
| 6993 | 7087 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 6994 | 7088 | </instance-parameter> | |
| 6995 | 7089 | </parameters> | |
| @@ -7000,23 +7094,23 @@ be affected by double-width characters.</doc> | |||
| 7000 | 7094 | version="1.44"> | |
| 7001 | 7095 | <doc xml:space="preserve" | |
| 7002 | 7096 | filename="pango/fonts.c" | |
| 7003 | - | line="2945">A variable font is a font which has axes that can be modified to | |
| 7097 | + | line="3019">A variable font is a font which has axes that can be modified to | |
| 7004 | 7098 | produce different faces. | |
| 7005 | 7099 | ||
| 7006 | 7100 | Such axes are also known as _variations_; see | |
| 7007 | 7101 | [method@Pango.FontDescription.set_variations] for more information.</doc> | |
| 7008 | - | <source-position filename="pango/pango-font.h" line="491"/> | |
| 7102 | + | <source-position filename="pango/pango-font.h" line="521"/> | |
| 7009 | 7103 | <return-value transfer-ownership="none"> | |
| 7010 | 7104 | <doc xml:space="preserve" | |
| 7011 | 7105 | filename="pango/fonts.c" | |
| 7012 | - | line="2955">%TRUE if the family is variable</doc> | |
| 7106 | + | line="3029">%TRUE if the family is variable</doc> | |
| 7013 | 7107 | <type name="gboolean" c:type="gboolean"/> | |
| 7014 | 7108 | </return-value> | |
| 7015 | 7109 | <parameters> | |
| 7016 | 7110 | <instance-parameter name="family" transfer-ownership="none"> | |
| 7017 | 7111 | <doc xml:space="preserve" | |
| 7018 | 7112 | filename="pango/fonts.c" | |
| 7019 | - | line="2947">a `PangoFontFamily`</doc> | |
| 7113 | + | line="3021">a `PangoFontFamily`</doc> | |
| 7020 | 7114 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7021 | 7115 | </instance-parameter> | |
| 7022 | 7116 | </parameters> | |
| @@ -7024,7 +7118,7 @@ Such axes are also known as _variations_; see | |||
| 7024 | 7118 | <method name="list_faces" c:identifier="pango_font_family_list_faces"> | |
| 7025 | 7119 | <doc xml:space="preserve" | |
| 7026 | 7120 | filename="pango/fonts.c" | |
| 7027 | - | line="2828">Lists the different font faces that make up @family. | |
| 7121 | + | line="2902">Lists the different font faces that make up @family. | |
| 7028 | 7122 | ||
| 7029 | 7123 | The faces in a family share a common design, but differ in slant, weight, | |
| 7030 | 7124 | width and other aspects. | |
| @@ -7034,7 +7128,7 @@ multiple faces may have the same name or characteristics. | |||
| 7034 | 7128 | ||
| 7035 | 7129 | `PangoFontFamily` also implemented the [iface@Gio.ListModel] interface | |
| 7036 | 7130 | for enumerating faces.</doc> | |
| 7037 | - | <source-position filename="pango/pango-font.h" line="483"/> | |
| 7131 | + | <source-position filename="pango/pango-font.h" line="513"/> | |
| 7038 | 7132 | <return-value transfer-ownership="none"> | |
| 7039 | 7133 | <type name="none" c:type="void"/> | |
| 7040 | 7134 | </return-value> | |
| @@ -7042,7 +7136,7 @@ for enumerating faces.</doc> | |||
| 7042 | 7136 | <instance-parameter name="family" transfer-ownership="none"> | |
| 7043 | 7137 | <doc xml:space="preserve" | |
| 7044 | 7138 | filename="pango/fonts.c" | |
| 7045 | - | line="2830">a `PangoFontFamily`</doc> | |
| 7139 | + | line="2904">a `PangoFontFamily`</doc> | |
| 7046 | 7140 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7047 | 7141 | </instance-parameter> | |
| 7048 | 7142 | <parameter name="faces" | |
| @@ -7053,7 +7147,7 @@ for enumerating faces.</doc> | |||
| 7053 | 7147 | allow-none="1"> | |
| 7054 | 7148 | <doc xml:space="preserve" | |
| 7055 | 7149 | filename="pango/fonts.c" | |
| 7056 | - | line="2831"> | |
| 7150 | + | line="2905"> | |
| 7057 | 7151 | location to store an array of pointers to `PangoFontFace` objects, | |
| 7058 | 7152 | or %NULL. This array should be freed with g_free() when it is no | |
| 7059 | 7153 | longer needed.</doc> | |
| @@ -7067,7 +7161,7 @@ for enumerating faces.</doc> | |||
| 7067 | 7161 | transfer-ownership="full"> | |
| 7068 | 7162 | <doc xml:space="preserve" | |
| 7069 | 7163 | filename="pango/fonts.c" | |
| 7070 | - | line="2835">location to store number of elements in @faces.</doc> | |
| 7164 | + | line="2909">location to store number of elements in @faces.</doc> | |
| 7071 | 7165 | <type name="gint" c:type="int*"/> | |
| 7072 | 7166 | </parameter> | |
| 7073 | 7167 | </parameters> | |
| @@ -7081,7 +7175,7 @@ for enumerating faces.</doc> | |||
| 7081 | 7175 | value="pango_font_family_is_monospace"/> | |
| 7082 | 7176 | <doc xml:space="preserve" | |
| 7083 | 7177 | filename="pango/fonts.c" | |
| 7084 | - | line="2757">Is this a monospace font</doc> | |
| 7178 | + | line="2827">Is this a monospace font</doc> | |
| 7085 | 7179 | <type name="gboolean" c:type="gboolean"/> | |
| 7086 | 7180 | </property> | |
| 7087 | 7181 | <property name="is-variable" | |
| @@ -7093,19 +7187,22 @@ for enumerating faces.</doc> | |||
| 7093 | 7187 | value="pango_font_family_is_variable"/> | |
| 7094 | 7188 | <doc xml:space="preserve" | |
| 7095 | 7189 | filename="pango/fonts.c" | |
| 7096 | - | line="2768">Is this a variable font</doc> | |
| 7190 | + | line="2838">Is this a variable font</doc> | |
| 7097 | 7191 | <type name="gboolean" c:type="gboolean"/> | |
| 7098 | 7192 | </property> | |
| 7099 | - | <property name="item-type" transfer-ownership="none"> | |
| 7193 | + | <property name="item-type" version="1.52" transfer-ownership="none"> | |
| 7100 | 7194 | <doc xml:space="preserve" | |
| 7101 | 7195 | filename="pango/fonts.c" | |
| 7102 | - | line="2779">The type of items contained in this list.</doc> | |
| 7196 | + | line="2849">The type of items contained in this list.</doc> | |
| 7103 | 7197 | <type name="GType" c:type="GType"/> | |
| 7104 | 7198 | </property> | |
| 7105 | - | <property name="n-items" transfer-ownership="none" default-value="0"> | |
| 7199 | + | <property name="n-items" | |
| 7200 | + | version="1.52" | |
| 7201 | + | transfer-ownership="none" | |
| 7202 | + | default-value="0"> | |
| 7106 | 7203 | <doc xml:space="preserve" | |
| 7107 | 7204 | filename="pango/fonts.c" | |
| 7108 | - | line="2788">The number of items contained in this list.</doc> | |
| 7205 | + | line="2860">The number of items contained in this list.</doc> | |
| 7109 | 7206 | <type name="guint" c:type="guint"/> | |
| 7110 | 7207 | </property> | |
| 7111 | 7208 | <property name="name" | |
| @@ -7117,7 +7214,7 @@ for enumerating faces.</doc> | |||
| 7117 | 7214 | value="pango_font_family_get_name"/> | |
| 7118 | 7215 | <doc xml:space="preserve" | |
| 7119 | 7216 | filename="pango/fonts.c" | |
| 7120 | - | line="2746">The name of the family</doc> | |
| 7217 | + | line="2816">The name of the family</doc> | |
| 7121 | 7218 | <type name="utf8" c:type="gchar*"/> | |
| 7122 | 7219 | </property> | |
| 7123 | 7220 | <field name="parent_instance"> | |
| @@ -7127,13 +7224,13 @@ for enumerating faces.</doc> | |||
| 7127 | 7224 | <record name="FontFamilyClass" | |
| 7128 | 7225 | c:type="PangoFontFamilyClass" | |
| 7129 | 7226 | glib:is-gtype-struct-for="FontFamily"> | |
| 7130 | - | <source-position filename="pango/pango-font.h" line="475"/> | |
| 7227 | + | <source-position filename="pango/pango-font.h" line="505"/> | |
| 7131 | 7228 | <field name="parent_class"> | |
| 7132 | 7229 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 7133 | 7230 | </field> | |
| 7134 | 7231 | <field name="list_faces"> | |
| 7135 | 7232 | <callback name="list_faces"> | |
| 7136 | - | <source-position filename="pango/pango-font.h" line="460"/> | |
| 7233 | + | <source-position filename="pango/pango-font.h" line="490"/> | |
| 7137 | 7234 | <return-value transfer-ownership="none"> | |
| 7138 | 7235 | <type name="none" c:type="void"/> | |
| 7139 | 7236 | </return-value> | |
| @@ -7141,7 +7238,7 @@ for enumerating faces.</doc> | |||
| 7141 | 7238 | <parameter name="family" transfer-ownership="none"> | |
| 7142 | 7239 | <doc xml:space="preserve" | |
| 7143 | 7240 | filename="pango/fonts.c" | |
| 7144 | - | line="2830">a `PangoFontFamily`</doc> | |
| 7241 | + | line="2904">a `PangoFontFamily`</doc> | |
| 7145 | 7242 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7146 | 7243 | </parameter> | |
| 7147 | 7244 | <parameter name="faces" | |
| @@ -7152,7 +7249,7 @@ for enumerating faces.</doc> | |||
| 7152 | 7249 | allow-none="1"> | |
| 7153 | 7250 | <doc xml:space="preserve" | |
| 7154 | 7251 | filename="pango/fonts.c" | |
| 7155 | - | line="2831"> | |
| 7252 | + | line="2905"> | |
| 7156 | 7253 | location to store an array of pointers to `PangoFontFace` objects, | |
| 7157 | 7254 | or %NULL. This array should be freed with g_free() when it is no | |
| 7158 | 7255 | longer needed.</doc> | |
| @@ -7166,7 +7263,7 @@ for enumerating faces.</doc> | |||
| 7166 | 7263 | transfer-ownership="full"> | |
| 7167 | 7264 | <doc xml:space="preserve" | |
| 7168 | 7265 | filename="pango/fonts.c" | |
| 7169 | - | line="2835">location to store number of elements in @faces.</doc> | |
| 7266 | + | line="2909">location to store number of elements in @faces.</doc> | |
| 7170 | 7267 | <type name="gint" c:type="int*"/> | |
| 7171 | 7268 | </parameter> | |
| 7172 | 7269 | </parameters> | |
| @@ -7174,11 +7271,11 @@ for enumerating faces.</doc> | |||
| 7174 | 7271 | </field> | |
| 7175 | 7272 | <field name="get_name"> | |
| 7176 | 7273 | <callback name="get_name"> | |
| 7177 | - | <source-position filename="pango/pango-font.h" line="463"/> | |
| 7274 | + | <source-position filename="pango/pango-font.h" line="493"/> | |
| 7178 | 7275 | <return-value transfer-ownership="none"> | |
| 7179 | 7276 | <doc xml:space="preserve" | |
| 7180 | 7277 | filename="pango/fonts.c" | |
| 7181 | - | line="2817">the name of the family. This string is owned | |
| 7278 | + | line="2891">the name of the family. This string is owned | |
| 7182 | 7279 | by the family object and must not be modified or freed.</doc> | |
| 7183 | 7280 | <type name="utf8" c:type="const char*"/> | |
| 7184 | 7281 | </return-value> | |
| @@ -7186,7 +7283,7 @@ for enumerating faces.</doc> | |||
| 7186 | 7283 | <parameter name="family" transfer-ownership="none"> | |
| 7187 | 7284 | <doc xml:space="preserve" | |
| 7188 | 7285 | filename="pango/fonts.c" | |
| 7189 | - | line="2809">a `PangoFontFamily`</doc> | |
| 7286 | + | line="2883">a `PangoFontFamily`</doc> | |
| 7190 | 7287 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7191 | 7288 | </parameter> | |
| 7192 | 7289 | </parameters> | |
| @@ -7194,18 +7291,18 @@ for enumerating faces.</doc> | |||
| 7194 | 7291 | </field> | |
| 7195 | 7292 | <field name="is_monospace"> | |
| 7196 | 7293 | <callback name="is_monospace"> | |
| 7197 | - | <source-position filename="pango/pango-font.h" line="464"/> | |
| 7294 | + | <source-position filename="pango/pango-font.h" line="494"/> | |
| 7198 | 7295 | <return-value transfer-ownership="none"> | |
| 7199 | 7296 | <doc xml:space="preserve" | |
| 7200 | 7297 | filename="pango/fonts.c" | |
| 7201 | - | line="2933">%TRUE if the family is monospace.</doc> | |
| 7298 | + | line="3007">%TRUE if the family is monospace.</doc> | |
| 7202 | 7299 | <type name="gboolean" c:type="gboolean"/> | |
| 7203 | 7300 | </return-value> | |
| 7204 | 7301 | <parameters> | |
| 7205 | 7302 | <parameter name="family" transfer-ownership="none"> | |
| 7206 | 7303 | <doc xml:space="preserve" | |
| 7207 | 7304 | filename="pango/fonts.c" | |
| 7208 | - | line="2916">a `PangoFontFamily`</doc> | |
| 7305 | + | line="2990">a `PangoFontFamily`</doc> | |
| 7209 | 7306 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7210 | 7307 | </parameter> | |
| 7211 | 7308 | </parameters> | |
| @@ -7213,18 +7310,18 @@ for enumerating faces.</doc> | |||
| 7213 | 7310 | </field> | |
| 7214 | 7311 | <field name="is_variable"> | |
| 7215 | 7312 | <callback name="is_variable"> | |
| 7216 | - | <source-position filename="pango/pango-font.h" line="465"/> | |
| 7313 | + | <source-position filename="pango/pango-font.h" line="495"/> | |
| 7217 | 7314 | <return-value transfer-ownership="none"> | |
| 7218 | 7315 | <doc xml:space="preserve" | |
| 7219 | 7316 | filename="pango/fonts.c" | |
| 7220 | - | line="2955">%TRUE if the family is variable</doc> | |
| 7317 | + | line="3029">%TRUE if the family is variable</doc> | |
| 7221 | 7318 | <type name="gboolean" c:type="gboolean"/> | |
| 7222 | 7319 | </return-value> | |
| 7223 | 7320 | <parameters> | |
| 7224 | 7321 | <parameter name="family" transfer-ownership="none"> | |
| 7225 | 7322 | <doc xml:space="preserve" | |
| 7226 | 7323 | filename="pango/fonts.c" | |
| 7227 | - | line="2947">a `PangoFontFamily`</doc> | |
| 7324 | + | line="3021">a `PangoFontFamily`</doc> | |
| 7228 | 7325 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7229 | 7326 | </parameter> | |
| 7230 | 7327 | </parameters> | |
| @@ -7232,11 +7329,11 @@ for enumerating faces.</doc> | |||
| 7232 | 7329 | </field> | |
| 7233 | 7330 | <field name="get_face"> | |
| 7234 | 7331 | <callback name="get_face"> | |
| 7235 | - | <source-position filename="pango/pango-font.h" line="467"/> | |
| 7332 | + | <source-position filename="pango/pango-font.h" line="497"/> | |
| 7236 | 7333 | <return-value transfer-ownership="none" nullable="1"> | |
| 7237 | 7334 | <doc xml:space="preserve" | |
| 7238 | 7335 | filename="pango/fonts.c" | |
| 7239 | - | line="2900">the `PangoFontFace`, | |
| 7336 | + | line="2974">the `PangoFontFace`, | |
| 7240 | 7337 | or %NULL if no face with the given name exists.</doc> | |
| 7241 | 7338 | <type name="FontFace" c:type="PangoFontFace*"/> | |
| 7242 | 7339 | </return-value> | |
| @@ -7244,7 +7341,7 @@ for enumerating faces.</doc> | |||
| 7244 | 7341 | <parameter name="family" transfer-ownership="none"> | |
| 7245 | 7342 | <doc xml:space="preserve" | |
| 7246 | 7343 | filename="pango/fonts.c" | |
| 7247 | - | line="2893">a `PangoFontFamily`</doc> | |
| 7344 | + | line="2967">a `PangoFontFamily`</doc> | |
| 7248 | 7345 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7249 | 7346 | </parameter> | |
| 7250 | 7347 | <parameter name="name" | |
| @@ -7253,7 +7350,7 @@ for enumerating faces.</doc> | |||
| 7253 | 7350 | allow-none="1"> | |
| 7254 | 7351 | <doc xml:space="preserve" | |
| 7255 | 7352 | filename="pango/fonts.c" | |
| 7256 | - | line="2894">the name of a face. If the name is %NULL, | |
| 7353 | + | line="2968">the name of a face. If the name is %NULL, | |
| 7257 | 7354 | the family's default face (fontconfig calls it "Regular") | |
| 7258 | 7355 | will be returned.</doc> | |
| 7259 | 7356 | <type name="utf8" c:type="const char*"/> | |
| @@ -7263,7 +7360,7 @@ for enumerating faces.</doc> | |||
| 7263 | 7360 | </field> | |
| 7264 | 7361 | <field name="_pango_reserved2" introspectable="0"> | |
| 7265 | 7362 | <callback name="_pango_reserved2"> | |
| 7266 | - | <source-position filename="pango/pango-font.h" line="474"/> | |
| 7363 | + | <source-position filename="pango/pango-font.h" line="504"/> | |
| 7267 | 7364 | <return-value transfer-ownership="none"> | |
| 7268 | 7365 | <type name="none" c:type="void"/> | |
| 7269 | 7366 | </return-value> | |
| @@ -7290,13 +7387,13 @@ particular rendering systems.</doc> | |||
| 7290 | 7387 | <virtual-method name="changed" invoker="changed" version="1.34"> | |
| 7291 | 7388 | <doc xml:space="preserve" | |
| 7292 | 7389 | filename="pango/pango-fontmap.c" | |
| 7293 | - | line="437">Forces a change in the context, which will cause any `PangoContext` | |
| 7390 | + | line="441">Forces a change in the fontmap, which will cause any `PangoContext` | |
| 7294 | 7391 | using this fontmap to change. | |
| 7295 | 7392 | ||
| 7296 | 7393 | This function is only useful when implementing a new backend | |
| 7297 | 7394 | for Pango, something applications won't do. Backends should | |
| 7298 | 7395 | call this function if they have attached extra data to the | |
| 7299 | - | context and such data is changed.</doc> | |
| 7396 | + | fontmap and such data is changed.</doc> | |
| 7300 | 7397 | <source-position filename="pango/pango-fontmap.h" line="92"/> | |
| 7301 | 7398 | <return-value transfer-ownership="none"> | |
| 7302 | 7399 | <type name="none" c:type="void"/> | |
| @@ -7305,7 +7402,7 @@ context and such data is changed.</doc> | |||
| 7305 | 7402 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7306 | 7403 | <doc xml:space="preserve" | |
| 7307 | 7404 | filename="pango/pango-fontmap.c" | |
| 7308 | - | line="439">a `PangoFontMap`</doc> | |
| 7405 | + | line="443">a `PangoFontMap`</doc> | |
| 7309 | 7406 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7310 | 7407 | </instance-parameter> | |
| 7311 | 7408 | </parameters> | |
| @@ -7327,25 +7424,25 @@ context and such data is changed.</doc> | |||
| 7327 | 7424 | <virtual-method name="get_family" invoker="get_family" version="1.46"> | |
| 7328 | 7425 | <doc xml:space="preserve" | |
| 7329 | 7426 | filename="pango/pango-fontmap.c" | |
| 7330 | - | line="487">Gets a font family by name.</doc> | |
| 7427 | + | line="491">Gets a font family by name.</doc> | |
| 7331 | 7428 | <source-position filename="pango/pango-fontmap.h" line="94"/> | |
| 7332 | 7429 | <return-value transfer-ownership="none"> | |
| 7333 | 7430 | <doc xml:space="preserve" | |
| 7334 | 7431 | filename="pango/pango-fontmap.c" | |
| 7335 | - | line="494">the `PangoFontFamily`</doc> | |
| 7432 | + | line="498">the `PangoFontFamily`</doc> | |
| 7336 | 7433 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7337 | 7434 | </return-value> | |
| 7338 | 7435 | <parameters> | |
| 7339 | 7436 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7340 | 7437 | <doc xml:space="preserve" | |
| 7341 | 7438 | filename="pango/pango-fontmap.c" | |
| 7342 | - | line="489">a `PangoFontMap`</doc> | |
| 7439 | + | line="493">a `PangoFontMap`</doc> | |
| 7343 | 7440 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7344 | 7441 | </instance-parameter> | |
| 7345 | 7442 | <parameter name="name" transfer-ownership="none"> | |
| 7346 | 7443 | <doc xml:space="preserve" | |
| 7347 | 7444 | filename="pango/pango-fontmap.c" | |
| 7348 | - | line="490">a family name</doc> | |
| 7445 | + | line="494">a family name</doc> | |
| 7349 | 7446 | <type name="utf8" c:type="const char*"/> | |
| 7350 | 7447 | </parameter> | |
| 7351 | 7448 | </parameters> | |
| @@ -7353,7 +7450,7 @@ context and such data is changed.</doc> | |||
| 7353 | 7450 | <virtual-method name="get_serial" invoker="get_serial" version="1.32.4"> | |
| 7354 | 7451 | <doc xml:space="preserve" | |
| 7355 | 7452 | filename="pango/pango-fontmap.c" | |
| 7356 | - | line="391">Returns the current serial number of @fontmap. | |
| 7453 | + | line="395">Returns the current serial number of @fontmap. | |
| 7357 | 7454 | ||
| 7358 | 7455 | The serial number is initialized to an small number larger than zero | |
| 7359 | 7456 | when a new fontmap is created and is increased whenever the fontmap | |
| @@ -7369,14 +7466,14 @@ like in `PangoContext`.</doc> | |||
| 7369 | 7466 | <return-value transfer-ownership="none"> | |
| 7370 | 7467 | <doc xml:space="preserve" | |
| 7371 | 7468 | filename="pango/pango-fontmap.c" | |
| 7372 | - | line="408">The current serial number of @fontmap.</doc> | |
| 7469 | + | line="412">The current serial number of @fontmap.</doc> | |
| 7373 | 7470 | <type name="guint" c:type="guint"/> | |
| 7374 | 7471 | </return-value> | |
| 7375 | 7472 | <parameters> | |
| 7376 | 7473 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7377 | 7474 | <doc xml:space="preserve" | |
| 7378 | 7475 | filename="pango/pango-fontmap.c" | |
| 7379 | - | line="393">a `PangoFontMap`</doc> | |
| 7476 | + | line="397">a `PangoFontMap`</doc> | |
| 7380 | 7477 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7381 | 7478 | </instance-parameter> | |
| 7382 | 7479 | </parameters> | |
| @@ -7384,7 +7481,7 @@ like in `PangoContext`.</doc> | |||
| 7384 | 7481 | <virtual-method name="list_families" invoker="list_families"> | |
| 7385 | 7482 | <doc xml:space="preserve" | |
| 7386 | 7483 | filename="pango/pango-fontmap.c" | |
| 7387 | - | line="193">List all families for a fontmap. | |
| 7484 | + | line="197">List all families for a fontmap. | |
| 7388 | 7485 | ||
| 7389 | 7486 | Note that the returned families are not in any particular order. | |
| 7390 | 7487 | ||
| @@ -7398,7 +7495,7 @@ for enumerating families.</doc> | |||
| 7398 | 7495 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7399 | 7496 | <doc xml:space="preserve" | |
| 7400 | 7497 | filename="pango/pango-fontmap.c" | |
| 7401 | - | line="195">a `PangoFontMap`</doc> | |
| 7498 | + | line="199">a `PangoFontMap`</doc> | |
| 7402 | 7499 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7403 | 7500 | </instance-parameter> | |
| 7404 | 7501 | <parameter name="families" | |
| @@ -7407,7 +7504,7 @@ for enumerating families.</doc> | |||
| 7407 | 7504 | transfer-ownership="container"> | |
| 7408 | 7505 | <doc xml:space="preserve" | |
| 7409 | 7506 | filename="pango/pango-fontmap.c" | |
| 7410 | - | line="196">location to | |
| 7507 | + | line="200">location to | |
| 7411 | 7508 | store a pointer to an array of `PangoFontFamily` *. | |
| 7412 | 7509 | This array should be freed with g_free().</doc> | |
| 7413 | 7510 | <array length="1" zero-terminated="0" c:type="PangoFontFamily***"> | |
| @@ -7420,7 +7517,7 @@ for enumerating families.</doc> | |||
| 7420 | 7517 | transfer-ownership="full"> | |
| 7421 | 7518 | <doc xml:space="preserve" | |
| 7422 | 7519 | filename="pango/pango-fontmap.c" | |
| 7423 | - | line="199">location to store the number of elements in @families</doc> | |
| 7520 | + | line="203">location to store the number of elements in @families</doc> | |
| 7424 | 7521 | <type name="gint" c:type="int*"/> | |
| 7425 | 7522 | </parameter> | |
| 7426 | 7523 | </parameters> | |
| @@ -7428,12 +7525,12 @@ for enumerating families.</doc> | |||
| 7428 | 7525 | <virtual-method name="load_font" invoker="load_font"> | |
| 7429 | 7526 | <doc xml:space="preserve" | |
| 7430 | 7527 | filename="pango/pango-fontmap.c" | |
| 7431 | - | line="172">Load the font in the fontmap that is the closest match for @desc.</doc> | |
| 7528 | + | line="176">Load the font in the fontmap that is the closest match for @desc.</doc> | |
| 7432 | 7529 | <source-position filename="pango/pango-fontmap.h" line="78"/> | |
| 7433 | 7530 | <return-value transfer-ownership="full" nullable="1"> | |
| 7434 | 7531 | <doc xml:space="preserve" | |
| 7435 | 7532 | filename="pango/pango-fontmap.c" | |
| 7436 | - | line="180">the newly allocated `PangoFont` | |
| 7533 | + | line="184">the newly allocated `PangoFont` | |
| 7437 | 7534 | loaded, or %NULL if no font matched.</doc> | |
| 7438 | 7535 | <type name="Font" c:type="PangoFont*"/> | |
| 7439 | 7536 | </return-value> | |
| @@ -7441,19 +7538,19 @@ for enumerating families.</doc> | |||
| 7441 | 7538 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7442 | 7539 | <doc xml:space="preserve" | |
| 7443 | 7540 | filename="pango/pango-fontmap.c" | |
| 7444 | - | line="174">a `PangoFontMap`</doc> | |
| 7541 | + | line="178">a `PangoFontMap`</doc> | |
| 7445 | 7542 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7446 | 7543 | </instance-parameter> | |
| 7447 | 7544 | <parameter name="context" transfer-ownership="none"> | |
| 7448 | 7545 | <doc xml:space="preserve" | |
| 7449 | 7546 | filename="pango/pango-fontmap.c" | |
| 7450 | - | line="175">the `PangoContext` the font will be used with</doc> | |
| 7547 | + | line="179">the `PangoContext` the font will be used with</doc> | |
| 7451 | 7548 | <type name="Context" c:type="PangoContext*"/> | |
| 7452 | 7549 | </parameter> | |
| 7453 | 7550 | <parameter name="desc" transfer-ownership="none"> | |
| 7454 | 7551 | <doc xml:space="preserve" | |
| 7455 | 7552 | filename="pango/pango-fontmap.c" | |
| 7456 | - | line="176">a `PangoFontDescription` describing the font to load</doc> | |
| 7553 | + | line="180">a `PangoFontDescription` describing the font to load</doc> | |
| 7457 | 7554 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 7458 | 7555 | </parameter> | |
| 7459 | 7556 | </parameters> | |
| @@ -7461,13 +7558,13 @@ for enumerating families.</doc> | |||
| 7461 | 7558 | <virtual-method name="load_fontset" invoker="load_fontset"> | |
| 7462 | 7559 | <doc xml:space="preserve" | |
| 7463 | 7560 | filename="pango/pango-fontmap.c" | |
| 7464 | - | line="222">Load a set of fonts in the fontmap that can be used to render | |
| 7561 | + | line="226">Load a set of fonts in the fontmap that can be used to render | |
| 7465 | 7562 | a font matching @desc.</doc> | |
| 7466 | 7563 | <source-position filename="pango/pango-fontmap.h" line="84"/> | |
| 7467 | 7564 | <return-value transfer-ownership="full" nullable="1"> | |
| 7468 | 7565 | <doc xml:space="preserve" | |
| 7469 | 7566 | filename="pango/pango-fontmap.c" | |
| 7470 | - | line="232">the newly allocated | |
| 7567 | + | line="236">the newly allocated | |
| 7471 | 7568 | `PangoFontset` loaded, or %NULL if no font matched.</doc> | |
| 7472 | 7569 | <type name="Fontset" c:type="PangoFontset*"/> | |
| 7473 | 7570 | </return-value> | |
| @@ -7475,25 +7572,25 @@ a font matching @desc.</doc> | |||
| 7475 | 7572 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7476 | 7573 | <doc xml:space="preserve" | |
| 7477 | 7574 | filename="pango/pango-fontmap.c" | |
| 7478 | - | line="224">a `PangoFontMap`</doc> | |
| 7575 | + | line="228">a `PangoFontMap`</doc> | |
| 7479 | 7576 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7480 | 7577 | </instance-parameter> | |
| 7481 | 7578 | <parameter name="context" transfer-ownership="none"> | |
| 7482 | 7579 | <doc xml:space="preserve" | |
| 7483 | 7580 | filename="pango/pango-fontmap.c" | |
| 7484 | - | line="225">the `PangoContext` the font will be used with</doc> | |
| 7581 | + | line="229">the `PangoContext` the font will be used with</doc> | |
| 7485 | 7582 | <type name="Context" c:type="PangoContext*"/> | |
| 7486 | 7583 | </parameter> | |
| 7487 | 7584 | <parameter name="desc" transfer-ownership="none"> | |
| 7488 | 7585 | <doc xml:space="preserve" | |
| 7489 | 7586 | filename="pango/pango-fontmap.c" | |
| 7490 | - | line="226">a `PangoFontDescription` describing the font to load</doc> | |
| 7587 | + | line="230">a `PangoFontDescription` describing the font to load</doc> | |
| 7491 | 7588 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 7492 | 7589 | </parameter> | |
| 7493 | 7590 | <parameter name="language" transfer-ownership="none"> | |
| 7494 | 7591 | <doc xml:space="preserve" | |
| 7495 | 7592 | filename="pango/pango-fontmap.c" | |
| 7496 | - | line="227">a `PangoLanguage` the fonts will be used for</doc> | |
| 7593 | + | line="231">a `PangoLanguage` the fonts will be used for</doc> | |
| 7497 | 7594 | <type name="Language" c:type="PangoLanguage*"/> | |
| 7498 | 7595 | </parameter> | |
| 7499 | 7596 | </parameters> | |
| @@ -7504,7 +7601,7 @@ a font matching @desc.</doc> | |||
| 7504 | 7601 | throws="1"> | |
| 7505 | 7602 | <doc xml:space="preserve" | |
| 7506 | 7603 | filename="pango/pango-fontmap.c" | |
| 7507 | - | line="595">Loads a font file with one or more fonts into the `PangoFontMap`. | |
| 7604 | + | line="599">Loads a font file with one or more fonts into the `PangoFontMap`. | |
| 7508 | 7605 | ||
| 7509 | 7606 | The added fonts will take precedence over preexisting | |
| 7510 | 7607 | fonts with the same name.</doc> | |
| @@ -7512,7 +7609,7 @@ fonts with the same name.</doc> | |||
| 7512 | 7609 | <return-value transfer-ownership="none"> | |
| 7513 | 7610 | <doc xml:space="preserve" | |
| 7514 | 7611 | filename="pango/pango-fontmap.c" | |
| 7515 | - | line="606">True if the font file is successfully loaded | |
| 7612 | + | line="610">True if the font file is successfully loaded | |
| 7516 | 7613 | into the fontmap, false if an error occurred.</doc> | |
| 7517 | 7614 | <type name="gboolean" c:type="gboolean"/> | |
| 7518 | 7615 | </return-value> | |
| @@ -7520,13 +7617,13 @@ fonts with the same name.</doc> | |||
| 7520 | 7617 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7521 | 7618 | <doc xml:space="preserve" | |
| 7522 | 7619 | filename="pango/pango-fontmap.c" | |
| 7523 | - | line="597">a `PangoFontMap`</doc> | |
| 7620 | + | line="601">a `PangoFontMap`</doc> | |
| 7524 | 7621 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7525 | 7622 | </instance-parameter> | |
| 7526 | 7623 | <parameter name="filename" transfer-ownership="none"> | |
| 7527 | 7624 | <doc xml:space="preserve" | |
| 7528 | 7625 | filename="pango/pango-fontmap.c" | |
| 7529 | - | line="598">Path to the font file</doc> | |
| 7626 | + | line="602">Path to the font file</doc> | |
| 7530 | 7627 | <type name="filename" c:type="const char*"/> | |
| 7531 | 7628 | </parameter> | |
| 7532 | 7629 | </parameters> | |
| @@ -7536,13 +7633,13 @@ fonts with the same name.</doc> | |||
| 7536 | 7633 | version="1.34"> | |
| 7537 | 7634 | <doc xml:space="preserve" | |
| 7538 | 7635 | filename="pango/pango-fontmap.c" | |
| 7539 | - | line="437">Forces a change in the context, which will cause any `PangoContext` | |
| 7636 | + | line="441">Forces a change in the fontmap, which will cause any `PangoContext` | |
| 7540 | 7637 | using this fontmap to change. | |
| 7541 | 7638 | ||
| 7542 | 7639 | This function is only useful when implementing a new backend | |
| 7543 | 7640 | for Pango, something applications won't do. Backends should | |
| 7544 | 7641 | call this function if they have attached extra data to the | |
| 7545 | - | context and such data is changed.</doc> | |
| 7642 | + | fontmap and such data is changed.</doc> | |
| 7546 | 7643 | <source-position filename="pango/pango-fontmap.h" line="121"/> | |
| 7547 | 7644 | <return-value transfer-ownership="none"> | |
| 7548 | 7645 | <type name="none" c:type="void"/> | |
| @@ -7551,7 +7648,7 @@ context and such data is changed.</doc> | |||
| 7551 | 7648 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7552 | 7649 | <doc xml:space="preserve" | |
| 7553 | 7650 | filename="pango/pango-fontmap.c" | |
| 7554 | - | line="439">a `PangoFontMap`</doc> | |
| 7651 | + | line="443">a `PangoFontMap`</doc> | |
| 7555 | 7652 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7556 | 7653 | </instance-parameter> | |
| 7557 | 7654 | </parameters> | |
| @@ -7561,7 +7658,7 @@ context and such data is changed.</doc> | |||
| 7561 | 7658 | version="1.22"> | |
| 7562 | 7659 | <doc xml:space="preserve" | |
| 7563 | 7660 | filename="pango/pango-fontmap.c" | |
| 7564 | - | line="140">Creates a `PangoContext` connected to @fontmap. | |
| 7661 | + | line="144">Creates a `PangoContext` connected to @fontmap. | |
| 7565 | 7662 | ||
| 7566 | 7663 | This is equivalent to [ctor@Pango.Context.new] followed by | |
| 7567 | 7664 | [method@Pango.Context.set_font_map]. | |
| @@ -7574,7 +7671,7 @@ gtk_widget_get_pango_context(). Use those instead.</doc> | |||
| 7574 | 7671 | <return-value transfer-ownership="full"> | |
| 7575 | 7672 | <doc xml:space="preserve" | |
| 7576 | 7673 | filename="pango/pango-fontmap.c" | |
| 7577 | - | line="154">the newly allocated `PangoContext`, | |
| 7674 | + | line="158">the newly allocated `PangoContext`, | |
| 7578 | 7675 | which should be freed with g_object_unref().</doc> | |
| 7579 | 7676 | <type name="Context" c:type="PangoContext*"/> | |
| 7580 | 7677 | </return-value> | |
| @@ -7582,7 +7679,7 @@ gtk_widget_get_pango_context(). Use those instead.</doc> | |||
| 7582 | 7679 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7583 | 7680 | <doc xml:space="preserve" | |
| 7584 | 7681 | filename="pango/pango-fontmap.c" | |
| 7585 | - | line="142">a `PangoFontMap`</doc> | |
| 7682 | + | line="146">a `PangoFontMap`</doc> | |
| 7586 | 7683 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7587 | 7684 | </instance-parameter> | |
| 7588 | 7685 | </parameters> | |
| @@ -7592,25 +7689,25 @@ gtk_widget_get_pango_context(). Use those instead.</doc> | |||
| 7592 | 7689 | version="1.46"> | |
| 7593 | 7690 | <doc xml:space="preserve" | |
| 7594 | 7691 | filename="pango/pango-fontmap.c" | |
| 7595 | - | line="487">Gets a font family by name.</doc> | |
| 7692 | + | line="491">Gets a font family by name.</doc> | |
| 7596 | 7693 | <source-position filename="pango/pango-fontmap.h" line="124"/> | |
| 7597 | 7694 | <return-value transfer-ownership="none"> | |
| 7598 | 7695 | <doc xml:space="preserve" | |
| 7599 | 7696 | filename="pango/pango-fontmap.c" | |
| 7600 | - | line="494">the `PangoFontFamily`</doc> | |
| 7697 | + | line="498">the `PangoFontFamily`</doc> | |
| 7601 | 7698 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 7602 | 7699 | </return-value> | |
| 7603 | 7700 | <parameters> | |
| 7604 | 7701 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7605 | 7702 | <doc xml:space="preserve" | |
| 7606 | 7703 | filename="pango/pango-fontmap.c" | |
| 7607 | - | line="489">a `PangoFontMap`</doc> | |
| 7704 | + | line="493">a `PangoFontMap`</doc> | |
| 7608 | 7705 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7609 | 7706 | </instance-parameter> | |
| 7610 | 7707 | <parameter name="name" transfer-ownership="none"> | |
| 7611 | 7708 | <doc xml:space="preserve" | |
| 7612 | 7709 | filename="pango/pango-fontmap.c" | |
| 7613 | - | line="490">a family name</doc> | |
| 7710 | + | line="494">a family name</doc> | |
| 7614 | 7711 | <type name="utf8" c:type="const char*"/> | |
| 7615 | 7712 | </parameter> | |
| 7616 | 7713 | </parameters> | |
| @@ -7620,7 +7717,7 @@ gtk_widget_get_pango_context(). Use those instead.</doc> | |||
| 7620 | 7717 | version="1.32.4"> | |
| 7621 | 7718 | <doc xml:space="preserve" | |
| 7622 | 7719 | filename="pango/pango-fontmap.c" | |
| 7623 | - | line="391">Returns the current serial number of @fontmap. | |
| 7720 | + | line="395">Returns the current serial number of @fontmap. | |
| 7624 | 7721 | ||
| 7625 | 7722 | The serial number is initialized to an small number larger than zero | |
| 7626 | 7723 | when a new fontmap is created and is increased whenever the fontmap | |
| @@ -7636,14 +7733,14 @@ like in `PangoContext`.</doc> | |||
| 7636 | 7733 | <return-value transfer-ownership="none"> | |
| 7637 | 7734 | <doc xml:space="preserve" | |
| 7638 | 7735 | filename="pango/pango-fontmap.c" | |
| 7639 | - | line="408">The current serial number of @fontmap.</doc> | |
| 7736 | + | line="412">The current serial number of @fontmap.</doc> | |
| 7640 | 7737 | <type name="guint" c:type="guint"/> | |
| 7641 | 7738 | </return-value> | |
| 7642 | 7739 | <parameters> | |
| 7643 | 7740 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7644 | 7741 | <doc xml:space="preserve" | |
| 7645 | 7742 | filename="pango/pango-fontmap.c" | |
| 7646 | - | line="393">a `PangoFontMap`</doc> | |
| 7743 | + | line="397">a `PangoFontMap`</doc> | |
| 7647 | 7744 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7648 | 7745 | </instance-parameter> | |
| 7649 | 7746 | </parameters> | |
| @@ -7651,7 +7748,7 @@ like in `PangoContext`.</doc> | |||
| 7651 | 7748 | <method name="list_families" c:identifier="pango_font_map_list_families"> | |
| 7652 | 7749 | <doc xml:space="preserve" | |
| 7653 | 7750 | filename="pango/pango-fontmap.c" | |
| 7654 | - | line="193">List all families for a fontmap. | |
| 7751 | + | line="197">List all families for a fontmap. | |
| 7655 | 7752 | ||
| 7656 | 7753 | Note that the returned families are not in any particular order. | |
| 7657 | 7754 | ||
| @@ -7665,7 +7762,7 @@ for enumerating families.</doc> | |||
| 7665 | 7762 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7666 | 7763 | <doc xml:space="preserve" | |
| 7667 | 7764 | filename="pango/pango-fontmap.c" | |
| 7668 | - | line="195">a `PangoFontMap`</doc> | |
| 7765 | + | line="199">a `PangoFontMap`</doc> | |
| 7669 | 7766 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7670 | 7767 | </instance-parameter> | |
| 7671 | 7768 | <parameter name="families" | |
| @@ -7674,7 +7771,7 @@ for enumerating families.</doc> | |||
| 7674 | 7771 | transfer-ownership="container"> | |
| 7675 | 7772 | <doc xml:space="preserve" | |
| 7676 | 7773 | filename="pango/pango-fontmap.c" | |
| 7677 | - | line="196">location to | |
| 7774 | + | line="200">location to | |
| 7678 | 7775 | store a pointer to an array of `PangoFontFamily` *. | |
| 7679 | 7776 | This array should be freed with g_free().</doc> | |
| 7680 | 7777 | <array length="1" zero-terminated="0" c:type="PangoFontFamily***"> | |
| @@ -7687,7 +7784,7 @@ for enumerating families.</doc> | |||
| 7687 | 7784 | transfer-ownership="full"> | |
| 7688 | 7785 | <doc xml:space="preserve" | |
| 7689 | 7786 | filename="pango/pango-fontmap.c" | |
| 7690 | - | line="199">location to store the number of elements in @families</doc> | |
| 7787 | + | line="203">location to store the number of elements in @families</doc> | |
| 7691 | 7788 | <type name="gint" c:type="int*"/> | |
| 7692 | 7789 | </parameter> | |
| 7693 | 7790 | </parameters> | |
| @@ -7695,12 +7792,12 @@ for enumerating families.</doc> | |||
| 7695 | 7792 | <method name="load_font" c:identifier="pango_font_map_load_font"> | |
| 7696 | 7793 | <doc xml:space="preserve" | |
| 7697 | 7794 | filename="pango/pango-fontmap.c" | |
| 7698 | - | line="172">Load the font in the fontmap that is the closest match for @desc.</doc> | |
| 7795 | + | line="176">Load the font in the fontmap that is the closest match for @desc.</doc> | |
| 7699 | 7796 | <source-position filename="pango/pango-fontmap.h" line="106"/> | |
| 7700 | 7797 | <return-value transfer-ownership="full" nullable="1"> | |
| 7701 | 7798 | <doc xml:space="preserve" | |
| 7702 | 7799 | filename="pango/pango-fontmap.c" | |
| 7703 | - | line="180">the newly allocated `PangoFont` | |
| 7800 | + | line="184">the newly allocated `PangoFont` | |
| 7704 | 7801 | loaded, or %NULL if no font matched.</doc> | |
| 7705 | 7802 | <type name="Font" c:type="PangoFont*"/> | |
| 7706 | 7803 | </return-value> | |
| @@ -7708,19 +7805,19 @@ for enumerating families.</doc> | |||
| 7708 | 7805 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7709 | 7806 | <doc xml:space="preserve" | |
| 7710 | 7807 | filename="pango/pango-fontmap.c" | |
| 7711 | - | line="174">a `PangoFontMap`</doc> | |
| 7808 | + | line="178">a `PangoFontMap`</doc> | |
| 7712 | 7809 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7713 | 7810 | </instance-parameter> | |
| 7714 | 7811 | <parameter name="context" transfer-ownership="none"> | |
| 7715 | 7812 | <doc xml:space="preserve" | |
| 7716 | 7813 | filename="pango/pango-fontmap.c" | |
| 7717 | - | line="175">the `PangoContext` the font will be used with</doc> | |
| 7814 | + | line="179">the `PangoContext` the font will be used with</doc> | |
| 7718 | 7815 | <type name="Context" c:type="PangoContext*"/> | |
| 7719 | 7816 | </parameter> | |
| 7720 | 7817 | <parameter name="desc" transfer-ownership="none"> | |
| 7721 | 7818 | <doc xml:space="preserve" | |
| 7722 | 7819 | filename="pango/pango-fontmap.c" | |
| 7723 | - | line="176">a `PangoFontDescription` describing the font to load</doc> | |
| 7820 | + | line="180">a `PangoFontDescription` describing the font to load</doc> | |
| 7724 | 7821 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 7725 | 7822 | </parameter> | |
| 7726 | 7823 | </parameters> | |
| @@ -7728,13 +7825,13 @@ for enumerating families.</doc> | |||
| 7728 | 7825 | <method name="load_fontset" c:identifier="pango_font_map_load_fontset"> | |
| 7729 | 7826 | <doc xml:space="preserve" | |
| 7730 | 7827 | filename="pango/pango-fontmap.c" | |
| 7731 | - | line="222">Load a set of fonts in the fontmap that can be used to render | |
| 7828 | + | line="226">Load a set of fonts in the fontmap that can be used to render | |
| 7732 | 7829 | a font matching @desc.</doc> | |
| 7733 | 7830 | <source-position filename="pango/pango-fontmap.h" line="110"/> | |
| 7734 | 7831 | <return-value transfer-ownership="full" nullable="1"> | |
| 7735 | 7832 | <doc xml:space="preserve" | |
| 7736 | 7833 | filename="pango/pango-fontmap.c" | |
| 7737 | - | line="232">the newly allocated | |
| 7834 | + | line="236">the newly allocated | |
| 7738 | 7835 | `PangoFontset` loaded, or %NULL if no font matched.</doc> | |
| 7739 | 7836 | <type name="Fontset" c:type="PangoFontset*"/> | |
| 7740 | 7837 | </return-value> | |
| @@ -7742,25 +7839,25 @@ a font matching @desc.</doc> | |||
| 7742 | 7839 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7743 | 7840 | <doc xml:space="preserve" | |
| 7744 | 7841 | filename="pango/pango-fontmap.c" | |
| 7745 | - | line="224">a `PangoFontMap`</doc> | |
| 7842 | + | line="228">a `PangoFontMap`</doc> | |
| 7746 | 7843 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7747 | 7844 | </instance-parameter> | |
| 7748 | 7845 | <parameter name="context" transfer-ownership="none"> | |
| 7749 | 7846 | <doc xml:space="preserve" | |
| 7750 | 7847 | filename="pango/pango-fontmap.c" | |
| 7751 | - | line="225">the `PangoContext` the font will be used with</doc> | |
| 7848 | + | line="229">the `PangoContext` the font will be used with</doc> | |
| 7752 | 7849 | <type name="Context" c:type="PangoContext*"/> | |
| 7753 | 7850 | </parameter> | |
| 7754 | 7851 | <parameter name="desc" transfer-ownership="none"> | |
| 7755 | 7852 | <doc xml:space="preserve" | |
| 7756 | 7853 | filename="pango/pango-fontmap.c" | |
| 7757 | - | line="226">a `PangoFontDescription` describing the font to load</doc> | |
| 7854 | + | line="230">a `PangoFontDescription` describing the font to load</doc> | |
| 7758 | 7855 | <type name="FontDescription" c:type="const PangoFontDescription*"/> | |
| 7759 | 7856 | </parameter> | |
| 7760 | 7857 | <parameter name="language" transfer-ownership="none"> | |
| 7761 | 7858 | <doc xml:space="preserve" | |
| 7762 | 7859 | filename="pango/pango-fontmap.c" | |
| 7763 | - | line="227">a `PangoLanguage` the fonts will be used for</doc> | |
| 7860 | + | line="231">a `PangoLanguage` the fonts will be used for</doc> | |
| 7764 | 7861 | <type name="Language" c:type="PangoLanguage*"/> | |
| 7765 | 7862 | </parameter> | |
| 7766 | 7863 | </parameters> | |
| @@ -7770,7 +7867,7 @@ a font matching @desc.</doc> | |||
| 7770 | 7867 | version="1.52"> | |
| 7771 | 7868 | <doc xml:space="preserve" | |
| 7772 | 7869 | filename="pango/pango-fontmap.c" | |
| 7773 | - | line="542">Returns a new font that is like @font, except that it is scaled | |
| 7870 | + | line="546">Returns a new font that is like @font, except that it is scaled | |
| 7774 | 7871 | by @scale, its backend-dependent configuration (e.g. cairo font options) | |
| 7775 | 7872 | is replaced by the one in @context, and its variations are replaced | |
| 7776 | 7873 | by @variations. | |
| @@ -7782,26 +7879,26 @@ without changing its optical size.</doc> | |||
| 7782 | 7879 | <return-value transfer-ownership="full"> | |
| 7783 | 7880 | <doc xml:space="preserve" | |
| 7784 | 7881 | filename="pango/pango-fontmap.c" | |
| 7785 | - | line="559">the modified font</doc> | |
| 7882 | + | line="563">the modified font</doc> | |
| 7786 | 7883 | <type name="Font" c:type="PangoFont*"/> | |
| 7787 | 7884 | </return-value> | |
| 7788 | 7885 | <parameters> | |
| 7789 | 7886 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 7790 | 7887 | <doc xml:space="preserve" | |
| 7791 | 7888 | filename="pango/pango-fontmap.c" | |
| 7792 | - | line="544">a `PangoFontMap`</doc> | |
| 7889 | + | line="548">a `PangoFontMap`</doc> | |
| 7793 | 7890 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7794 | 7891 | </instance-parameter> | |
| 7795 | 7892 | <parameter name="font" transfer-ownership="none"> | |
| 7796 | 7893 | <doc xml:space="preserve" | |
| 7797 | 7894 | filename="pango/pango-fontmap.c" | |
| 7798 | - | line="545">a font in @fontmap</doc> | |
| 7895 | + | line="549">a font in @fontmap</doc> | |
| 7799 | 7896 | <type name="Font" c:type="PangoFont*"/> | |
| 7800 | 7897 | </parameter> | |
| 7801 | 7898 | <parameter name="scale" transfer-ownership="none"> | |
| 7802 | 7899 | <doc xml:space="preserve" | |
| 7803 | 7900 | filename="pango/pango-fontmap.c" | |
| 7804 | - | line="546">the scale factor to apply</doc> | |
| 7901 | + | line="550">the scale factor to apply</doc> | |
| 7805 | 7902 | <type name="gdouble" c:type="double"/> | |
| 7806 | 7903 | </parameter> | |
| 7807 | 7904 | <parameter name="context" | |
| @@ -7810,7 +7907,7 @@ without changing its optical size.</doc> | |||
| 7810 | 7907 | allow-none="1"> | |
| 7811 | 7908 | <doc xml:space="preserve" | |
| 7812 | 7909 | filename="pango/pango-fontmap.c" | |
| 7813 | - | line="547">a `PangoContext`</doc> | |
| 7910 | + | line="551">a `PangoContext`</doc> | |
| 7814 | 7911 | <type name="Context" c:type="PangoContext*"/> | |
| 7815 | 7912 | </parameter> | |
| 7816 | 7913 | <parameter name="variations" | |
| @@ -7819,21 +7916,24 @@ without changing its optical size.</doc> | |||
| 7819 | 7916 | allow-none="1"> | |
| 7820 | 7917 | <doc xml:space="preserve" | |
| 7821 | 7918 | filename="pango/pango-fontmap.c" | |
| 7822 | - | line="548">font variations to use</doc> | |
| 7919 | + | line="552">font variations to use</doc> | |
| 7823 | 7920 | <type name="utf8" c:type="const char*"/> | |
| 7824 | 7921 | </parameter> | |
| 7825 | 7922 | </parameters> | |
| 7826 | 7923 | </method> | |
| 7827 | - | <property name="item-type" transfer-ownership="none"> | |
| 7924 | + | <property name="item-type" version="1.52" transfer-ownership="none"> | |
| 7828 | 7925 | <doc xml:space="preserve" | |
| 7829 | 7926 | filename="pango/pango-fontmap.c" | |
| 7830 | 7927 | line="114">The type of items contained in this list.</doc> | |
| 7831 | 7928 | <type name="GType" c:type="GType"/> | |
| 7832 | 7929 | </property> | |
| 7833 | - | <property name="n-items" transfer-ownership="none" default-value="0"> | |
| 7930 | + | <property name="n-items" | |
| 7931 | + | version="1.52" | |
| 7932 | + | transfer-ownership="none" | |
| 7933 | + | default-value="0"> | |
| 7834 | 7934 | <doc xml:space="preserve" | |
| 7835 | 7935 | filename="pango/pango-fontmap.c" | |
| 7836 | - | line="123">The number of items contained in this list.</doc> | |
| 7936 | + | line="125">The number of items contained in this list.</doc> | |
| 7837 | 7937 | <type name="guint" c:type="guint"/> | |
| 7838 | 7938 | </property> | |
| 7839 | 7939 | <field name="parent_instance"> | |
| @@ -7864,7 +7964,7 @@ pango_font_map_load_font().</doc> | |||
| 7864 | 7964 | <return-value transfer-ownership="full" nullable="1"> | |
| 7865 | 7965 | <doc xml:space="preserve" | |
| 7866 | 7966 | filename="pango/pango-fontmap.c" | |
| 7867 | - | line="180">the newly allocated `PangoFont` | |
| 7967 | + | line="184">the newly allocated `PangoFont` | |
| 7868 | 7968 | loaded, or %NULL if no font matched.</doc> | |
| 7869 | 7969 | <type name="Font" c:type="PangoFont*"/> | |
| 7870 | 7970 | </return-value> | |
| @@ -7872,19 +7972,19 @@ pango_font_map_load_font().</doc> | |||
| 7872 | 7972 | <parameter name="fontmap" transfer-ownership="none"> | |
| 7873 | 7973 | <doc xml:space="preserve" | |
| 7874 | 7974 | filename="pango/pango-fontmap.c" | |
| 7875 | - | line="174">a `PangoFontMap`</doc> | |
| 7975 | + | line="178">a `PangoFontMap`</doc> | |
| 7876 | 7976 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7877 | 7977 | </parameter> | |
| 7878 | 7978 | <parameter name="context" transfer-ownership="none"> | |
| 7879 | 7979 | <doc xml:space="preserve" | |
| 7880 | 7980 | filename="pango/pango-fontmap.c" | |
| 7881 | - | line="175">the `PangoContext` the font will be used with</doc> | |
| 7981 | + | line="179">the `PangoContext` the font will be used with</doc> | |
| 7882 | 7982 | <type name="Context" c:type="PangoContext*"/> | |
| 7883 | 7983 | </parameter> | |
| 7884 | 7984 | <parameter name="desc" transfer-ownership="none"> | |
| 7885 | 7985 | <doc xml:space="preserve" | |
| 7886 | 7986 | filename="pango/pango-fontmap.c" | |
| 7887 | - | line="176">a `PangoFontDescription` describing the font to load</doc> | |
| 7987 | + | line="180">a `PangoFontDescription` describing the font to load</doc> | |
| 7888 | 7988 | <type name="FontDescription" | |
| 7889 | 7989 | c:type="const PangoFontDescription*"/> | |
| 7890 | 7990 | </parameter> | |
| @@ -7905,7 +8005,7 @@ pango_font_map_list_families().</doc> | |||
| 7905 | 8005 | <parameter name="fontmap" transfer-ownership="none"> | |
| 7906 | 8006 | <doc xml:space="preserve" | |
| 7907 | 8007 | filename="pango/pango-fontmap.c" | |
| 7908 | - | line="195">a `PangoFontMap`</doc> | |
| 8008 | + | line="199">a `PangoFontMap`</doc> | |
| 7909 | 8009 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7910 | 8010 | </parameter> | |
| 7911 | 8011 | <parameter name="families" | |
| @@ -7914,7 +8014,7 @@ pango_font_map_list_families().</doc> | |||
| 7914 | 8014 | transfer-ownership="container"> | |
| 7915 | 8015 | <doc xml:space="preserve" | |
| 7916 | 8016 | filename="pango/pango-fontmap.c" | |
| 7917 | - | line="196">location to | |
| 8017 | + | line="200">location to | |
| 7918 | 8018 | store a pointer to an array of `PangoFontFamily` *. | |
| 7919 | 8019 | This array should be freed with g_free().</doc> | |
| 7920 | 8020 | <array length="2" | |
| @@ -7929,7 +8029,7 @@ pango_font_map_list_families().</doc> | |||
| 7929 | 8029 | transfer-ownership="full"> | |
| 7930 | 8030 | <doc xml:space="preserve" | |
| 7931 | 8031 | filename="pango/pango-fontmap.c" | |
| 7932 | - | line="199">location to store the number of elements in @families</doc> | |
| 8032 | + | line="203">location to store the number of elements in @families</doc> | |
| 7933 | 8033 | <type name="gint" c:type="int*"/> | |
| 7934 | 8034 | </parameter> | |
| 7935 | 8035 | </parameters> | |
| @@ -7945,7 +8045,7 @@ suitable for a particular language. See pango_font_map_load_fontset().</doc> | |||
| 7945 | 8045 | <return-value transfer-ownership="full" nullable="1"> | |
| 7946 | 8046 | <doc xml:space="preserve" | |
| 7947 | 8047 | filename="pango/pango-fontmap.c" | |
| 7948 | - | line="232">the newly allocated | |
| 8048 | + | line="236">the newly allocated | |
| 7949 | 8049 | `PangoFontset` loaded, or %NULL if no font matched.</doc> | |
| 7950 | 8050 | <type name="Fontset" c:type="PangoFontset*"/> | |
| 7951 | 8051 | </return-value> | |
| @@ -7953,26 +8053,26 @@ suitable for a particular language. See pango_font_map_load_fontset().</doc> | |||
| 7953 | 8053 | <parameter name="fontmap" transfer-ownership="none"> | |
| 7954 | 8054 | <doc xml:space="preserve" | |
| 7955 | 8055 | filename="pango/pango-fontmap.c" | |
| 7956 | - | line="224">a `PangoFontMap`</doc> | |
| 8056 | + | line="228">a `PangoFontMap`</doc> | |
| 7957 | 8057 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 7958 | 8058 | </parameter> | |
| 7959 | 8059 | <parameter name="context" transfer-ownership="none"> | |
| 7960 | 8060 | <doc xml:space="preserve" | |
| 7961 | 8061 | filename="pango/pango-fontmap.c" | |
| 7962 | - | line="225">the `PangoContext` the font will be used with</doc> | |
| 8062 | + | line="229">the `PangoContext` the font will be used with</doc> | |
| 7963 | 8063 | <type name="Context" c:type="PangoContext*"/> | |
| 7964 | 8064 | </parameter> | |
| 7965 | 8065 | <parameter name="desc" transfer-ownership="none"> | |
| 7966 | 8066 | <doc xml:space="preserve" | |
| 7967 | 8067 | filename="pango/pango-fontmap.c" | |
| 7968 | - | line="226">a `PangoFontDescription` describing the font to load</doc> | |
| 8068 | + | line="230">a `PangoFontDescription` describing the font to load</doc> | |
| 7969 | 8069 | <type name="FontDescription" | |
| 7970 | 8070 | c:type="const PangoFontDescription*"/> | |
| 7971 | 8071 | </parameter> | |
| 7972 | 8072 | <parameter name="language" transfer-ownership="none"> | |
| 7973 | 8073 | <doc xml:space="preserve" | |
| 7974 | 8074 | filename="pango/pango-fontmap.c" | |
| 7975 | - | line="227">a `PangoLanguage` the fonts will be used for</doc> | |
| 8075 | + | line="231">a `PangoLanguage` the fonts will be used for</doc> | |
| 7976 | 8076 | <type name="Language" c:type="PangoLanguage*"/> | |
| 7977 | 8077 | </parameter> | |
| 7978 | 8078 | </parameters> | |
| @@ -7995,14 +8095,14 @@ See pango_font_map_get_serial().</doc> | |||
| 7995 | 8095 | <return-value transfer-ownership="none"> | |
| 7996 | 8096 | <doc xml:space="preserve" | |
| 7997 | 8097 | filename="pango/pango-fontmap.c" | |
| 7998 | - | line="408">The current serial number of @fontmap.</doc> | |
| 8098 | + | line="412">The current serial number of @fontmap.</doc> | |
| 7999 | 8099 | <type name="guint" c:type="guint"/> | |
| 8000 | 8100 | </return-value> | |
| 8001 | 8101 | <parameters> | |
| 8002 | 8102 | <parameter name="fontmap" transfer-ownership="none"> | |
| 8003 | 8103 | <doc xml:space="preserve" | |
| 8004 | 8104 | filename="pango/pango-fontmap.c" | |
| 8005 | - | line="393">a `PangoFontMap`</doc> | |
| 8105 | + | line="397">a `PangoFontMap`</doc> | |
| 8006 | 8106 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 8007 | 8107 | </parameter> | |
| 8008 | 8108 | </parameters> | |
| @@ -8021,7 +8121,7 @@ See pango_font_map_get_serial().</doc> | |||
| 8021 | 8121 | <parameter name="fontmap" transfer-ownership="none"> | |
| 8022 | 8122 | <doc xml:space="preserve" | |
| 8023 | 8123 | filename="pango/pango-fontmap.c" | |
| 8024 | - | line="439">a `PangoFontMap`</doc> | |
| 8124 | + | line="443">a `PangoFontMap`</doc> | |
| 8025 | 8125 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 8026 | 8126 | </parameter> | |
| 8027 | 8127 | </parameters> | |
| @@ -8033,20 +8133,20 @@ See pango_font_map_get_serial().</doc> | |||
| 8033 | 8133 | <return-value transfer-ownership="none"> | |
| 8034 | 8134 | <doc xml:space="preserve" | |
| 8035 | 8135 | filename="pango/pango-fontmap.c" | |
| 8036 | - | line="494">the `PangoFontFamily`</doc> | |
| 8136 | + | line="498">the `PangoFontFamily`</doc> | |
| 8037 | 8137 | <type name="FontFamily" c:type="PangoFontFamily*"/> | |
| 8038 | 8138 | </return-value> | |
| 8039 | 8139 | <parameters> | |
| 8040 | 8140 | <parameter name="fontmap" transfer-ownership="none"> | |
| 8041 | 8141 | <doc xml:space="preserve" | |
| 8042 | 8142 | filename="pango/pango-fontmap.c" | |
| 8043 | - | line="489">a `PangoFontMap`</doc> | |
| 8143 | + | line="493">a `PangoFontMap`</doc> | |
| 8044 | 8144 | <type name="FontMap" c:type="PangoFontMap*"/> | |
| 8045 | 8145 | </parameter> | |
| 8046 | 8146 | <parameter name="name" transfer-ownership="none"> | |
| 8047 | 8147 | <doc xml:space="preserve" | |
| 8048 | 8148 | filename="pango/pango-fontmap.c" | |
| 8049 | - | line="490">a family name</doc> | |
| 8149 | + | line="494">a family name</doc> | |
| 8050 | 8150 | <type name="utf8" c:type="const char*"/> | |
| 8051 | 8151 | </parameter> | |
| 8052 | 8152 | </parameters> | |
| @@ -8161,6 +8261,16 @@ See pango_font_map_get_serial().</doc> | |||
| 8161 | 8261 | filename="pango/pango-font.h" | |
| 8162 | 8262 | line="198">OpenType font features are specified.</doc> | |
| 8163 | 8263 | </member> | |
| 8264 | + | <member name="color" | |
| 8265 | + | value="512" | |
| 8266 | + | c:identifier="PANGO_FONT_MASK_COLOR" | |
| 8267 | + | version="1.57" | |
| 8268 | + | glib:nick="color" | |
| 8269 | + | glib:name="PANGO_FONT_MASK_COLOR"> | |
| 8270 | + | <doc xml:space="preserve" | |
| 8271 | + | filename="pango/pango-font.h" | |
| 8272 | + | line="205">Font color is specified.</doc> | |
| 8273 | + | </member> | |
| 8164 | 8274 | </bitfield> | |
| 8165 | 8275 | <record name="FontMetrics" | |
| 8166 | 8276 | c:type="PangoFontMetrics" | |
| @@ -8183,7 +8293,7 @@ For an overview of the most important metrics, see: | |||
| 8183 | 8293 | <source srcset="fontmetrics-dark.png" media="(prefers-color-scheme: dark)"> | |
| 8184 | 8294 | <img alt="Font metrics" src="fontmetrics-light.png"> | |
| 8185 | 8295 | </picture></doc> | |
| 8186 | - | <source-position filename="pango/pango-font.h" line="395"/> | |
| 8296 | + | <source-position filename="pango/pango-font.h" line="425"/> | |
| 8187 | 8297 | <field name="ref_count" readable="0" private="1"> | |
| 8188 | 8298 | <type name="guint" c:type="guint"/> | |
| 8189 | 8299 | </field> | |
| @@ -8218,23 +8328,23 @@ For an overview of the most important metrics, see: | |||
| 8218 | 8328 | c:identifier="pango_font_metrics_get_approximate_char_width"> | |
| 8219 | 8329 | <doc xml:space="preserve" | |
| 8220 | 8330 | filename="pango/fonts.c" | |
| 8221 | - | line="2489">Gets the approximate character width for a font metrics structure. | |
| 8331 | + | line="2559">Gets the approximate character width for a font metrics structure. | |
| 8222 | 8332 | ||
| 8223 | 8333 | This is merely a representative value useful, for example, for | |
| 8224 | 8334 | determining the initial size for a window. Actual characters in | |
| 8225 | 8335 | text will be wider and narrower than this.</doc> | |
| 8226 | - | <source-position filename="pango/pango-font.h" line="410"/> | |
| 8336 | + | <source-position filename="pango/pango-font.h" line="440"/> | |
| 8227 | 8337 | <return-value transfer-ownership="none"> | |
| 8228 | 8338 | <doc xml:space="preserve" | |
| 8229 | 8339 | filename="pango/fonts.c" | |
| 8230 | - | line="2499">the character width, in Pango units.</doc> | |
| 8340 | + | line="2569">the character width, in Pango units.</doc> | |
| 8231 | 8341 | <type name="gint" c:type="int"/> | |
| 8232 | 8342 | </return-value> | |
| 8233 | 8343 | <parameters> | |
| 8234 | 8344 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8235 | 8345 | <doc xml:space="preserve" | |
| 8236 | 8346 | filename="pango/fonts.c" | |
| 8237 | - | line="2491">a `PangoFontMetrics` structure</doc> | |
| 8347 | + | line="2561">a `PangoFontMetrics` structure</doc> | |
| 8238 | 8348 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8239 | 8349 | </instance-parameter> | |
| 8240 | 8350 | </parameters> | |
| @@ -8243,25 +8353,25 @@ text will be wider and narrower than this.</doc> | |||
| 8243 | 8353 | c:identifier="pango_font_metrics_get_approximate_digit_width"> | |
| 8244 | 8354 | <doc xml:space="preserve" | |
| 8245 | 8355 | filename="pango/fonts.c" | |
| 8246 | - | line="2509">Gets the approximate digit width for a font metrics structure. | |
| 8356 | + | line="2579">Gets the approximate digit width for a font metrics structure. | |
| 8247 | 8357 | ||
| 8248 | 8358 | This is merely a representative value useful, for example, for | |
| 8249 | 8359 | determining the initial size for a window. Actual digits in | |
| 8250 | 8360 | text can be wider or narrower than this, though this value | |
| 8251 | 8361 | is generally somewhat more accurate than the result of | |
| 8252 | 8362 | pango_font_metrics_get_approximate_char_width() for digits.</doc> | |
| 8253 | - | <source-position filename="pango/pango-font.h" line="412"/> | |
| 8363 | + | <source-position filename="pango/pango-font.h" line="442"/> | |
| 8254 | 8364 | <return-value transfer-ownership="none"> | |
| 8255 | 8365 | <doc xml:space="preserve" | |
| 8256 | 8366 | filename="pango/fonts.c" | |
| 8257 | - | line="2521">the digit width, in Pango units.</doc> | |
| 8367 | + | line="2591">the digit width, in Pango units.</doc> | |
| 8258 | 8368 | <type name="gint" c:type="int"/> | |
| 8259 | 8369 | </return-value> | |
| 8260 | 8370 | <parameters> | |
| 8261 | 8371 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8262 | 8372 | <doc xml:space="preserve" | |
| 8263 | 8373 | filename="pango/fonts.c" | |
| 8264 | - | line="2511">a `PangoFontMetrics` structure</doc> | |
| 8374 | + | line="2581">a `PangoFontMetrics` structure</doc> | |
| 8265 | 8375 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8266 | 8376 | </instance-parameter> | |
| 8267 | 8377 | </parameters> | |
| @@ -8269,24 +8379,24 @@ pango_font_metrics_get_approximate_char_width() for digits.</doc> | |||
| 8269 | 8379 | <method name="get_ascent" c:identifier="pango_font_metrics_get_ascent"> | |
| 8270 | 8380 | <doc xml:space="preserve" | |
| 8271 | 8381 | filename="pango/fonts.c" | |
| 8272 | - | line="2424">Gets the ascent from a font metrics structure. | |
| 8382 | + | line="2494">Gets the ascent from a font metrics structure. | |
| 8273 | 8383 | ||
| 8274 | 8384 | The ascent is the distance from the baseline to the logical top | |
| 8275 | 8385 | of a line of text. (The logical top may be above or below the top | |
| 8276 | 8386 | of the actual drawn ink. It is necessary to lay out the text to | |
| 8277 | 8387 | figure where the ink will be.)</doc> | |
| 8278 | - | <source-position filename="pango/pango-font.h" line="404"/> | |
| 8388 | + | <source-position filename="pango/pango-font.h" line="434"/> | |
| 8279 | 8389 | <return-value transfer-ownership="none"> | |
| 8280 | 8390 | <doc xml:space="preserve" | |
| 8281 | 8391 | filename="pango/fonts.c" | |
| 8282 | - | line="2435">the ascent, in Pango units.</doc> | |
| 8392 | + | line="2505">the ascent, in Pango units.</doc> | |
| 8283 | 8393 | <type name="gint" c:type="int"/> | |
| 8284 | 8394 | </return-value> | |
| 8285 | 8395 | <parameters> | |
| 8286 | 8396 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8287 | 8397 | <doc xml:space="preserve" | |
| 8288 | 8398 | filename="pango/fonts.c" | |
| 8289 | - | line="2426">a `PangoFontMetrics` structure</doc> | |
| 8399 | + | line="2496">a `PangoFontMetrics` structure</doc> | |
| 8290 | 8400 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8291 | 8401 | </instance-parameter> | |
| 8292 | 8402 | </parameters> | |
| @@ -8294,24 +8404,24 @@ figure where the ink will be.)</doc> | |||
| 8294 | 8404 | <method name="get_descent" c:identifier="pango_font_metrics_get_descent"> | |
| 8295 | 8405 | <doc xml:space="preserve" | |
| 8296 | 8406 | filename="pango/fonts.c" | |
| 8297 | - | line="2445">Gets the descent from a font metrics structure. | |
| 8407 | + | line="2515">Gets the descent from a font metrics structure. | |
| 8298 | 8408 | ||
| 8299 | 8409 | The descent is the distance from the baseline to the logical bottom | |
| 8300 | 8410 | of a line of text. (The logical bottom may be above or below the | |
| 8301 | 8411 | bottom of the actual drawn ink. It is necessary to lay out the text | |
| 8302 | 8412 | to figure where the ink will be.)</doc> | |
| 8303 | - | <source-position filename="pango/pango-font.h" line="406"/> | |
| 8413 | + | <source-position filename="pango/pango-font.h" line="436"/> | |
| 8304 | 8414 | <return-value transfer-ownership="none"> | |
| 8305 | 8415 | <doc xml:space="preserve" | |
| 8306 | 8416 | filename="pango/fonts.c" | |
| 8307 | - | line="2456">the descent, in Pango units.</doc> | |
| 8417 | + | line="2526">the descent, in Pango units.</doc> | |
| 8308 | 8418 | <type name="gint" c:type="int"/> | |
| 8309 | 8419 | </return-value> | |
| 8310 | 8420 | <parameters> | |
| 8311 | 8421 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8312 | 8422 | <doc xml:space="preserve" | |
| 8313 | 8423 | filename="pango/fonts.c" | |
| 8314 | - | line="2447">a `PangoFontMetrics` structure</doc> | |
| 8424 | + | line="2517">a `PangoFontMetrics` structure</doc> | |
| 8315 | 8425 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8316 | 8426 | </instance-parameter> | |
| 8317 | 8427 | </parameters> | |
| @@ -8321,24 +8431,24 @@ to figure where the ink will be.)</doc> | |||
| 8321 | 8431 | version="1.44"> | |
| 8322 | 8432 | <doc xml:space="preserve" | |
| 8323 | 8433 | filename="pango/fonts.c" | |
| 8324 | - | line="2466">Gets the line height from a font metrics structure. | |
| 8434 | + | line="2536">Gets the line height from a font metrics structure. | |
| 8325 | 8435 | ||
| 8326 | 8436 | The line height is the recommended distance between successive | |
| 8327 | 8437 | baselines in wrapped text using this font. | |
| 8328 | 8438 | ||
| 8329 | 8439 | If the line height is not available, 0 is returned.</doc> | |
| 8330 | - | <source-position filename="pango/pango-font.h" line="408"/> | |
| 8440 | + | <source-position filename="pango/pango-font.h" line="438"/> | |
| 8331 | 8441 | <return-value transfer-ownership="none"> | |
| 8332 | 8442 | <doc xml:space="preserve" | |
| 8333 | 8443 | filename="pango/fonts.c" | |
| 8334 | - | line="2477">the height, in Pango units</doc> | |
| 8444 | + | line="2547">the height, in Pango units</doc> | |
| 8335 | 8445 | <type name="gint" c:type="int"/> | |
| 8336 | 8446 | </return-value> | |
| 8337 | 8447 | <parameters> | |
| 8338 | 8448 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8339 | 8449 | <doc xml:space="preserve" | |
| 8340 | 8450 | filename="pango/fonts.c" | |
| 8341 | - | line="2468">a `PangoFontMetrics` structure</doc> | |
| 8451 | + | line="2538">a `PangoFontMetrics` structure</doc> | |
| 8342 | 8452 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8343 | 8453 | </instance-parameter> | |
| 8344 | 8454 | </parameters> | |
| @@ -8348,22 +8458,22 @@ If the line height is not available, 0 is returned.</doc> | |||
| 8348 | 8458 | version="1.6"> | |
| 8349 | 8459 | <doc xml:space="preserve" | |
| 8350 | 8460 | filename="pango/fonts.c" | |
| 8351 | - | line="2571">Gets the suggested position to draw the strikethrough. | |
| 8461 | + | line="2641">Gets the suggested position to draw the strikethrough. | |
| 8352 | 8462 | ||
| 8353 | 8463 | The value returned is the distance *above* the | |
| 8354 | 8464 | baseline of the top of the strikethrough.</doc> | |
| 8355 | - | <source-position filename="pango/pango-font.h" line="418"/> | |
| 8465 | + | <source-position filename="pango/pango-font.h" line="448"/> | |
| 8356 | 8466 | <return-value transfer-ownership="none"> | |
| 8357 | 8467 | <doc xml:space="preserve" | |
| 8358 | 8468 | filename="pango/fonts.c" | |
| 8359 | - | line="2580">the suggested strikethrough position, in Pango units.</doc> | |
| 8469 | + | line="2650">the suggested strikethrough position, in Pango units.</doc> | |
| 8360 | 8470 | <type name="gint" c:type="int"/> | |
| 8361 | 8471 | </return-value> | |
| 8362 | 8472 | <parameters> | |
| 8363 | 8473 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8364 | 8474 | <doc xml:space="preserve" | |
| 8365 | 8475 | filename="pango/fonts.c" | |
| 8366 | - | line="2573">a `PangoFontMetrics` structure</doc> | |
| 8476 | + | line="2643">a `PangoFontMetrics` structure</doc> | |
| 8367 | 8477 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8368 | 8478 | </instance-parameter> | |
| 8369 | 8479 | </parameters> | |
| @@ -8373,19 +8483,19 @@ baseline of the top of the strikethrough.</doc> | |||
| 8373 | 8483 | version="1.6"> | |
| 8374 | 8484 | <doc xml:space="preserve" | |
| 8375 | 8485 | filename="pango/fonts.c" | |
| 8376 | - | line="2592">Gets the suggested thickness to draw for the strikethrough.</doc> | |
| 8377 | - | <source-position filename="pango/pango-font.h" line="420"/> | |
| 8486 | + | line="2662">Gets the suggested thickness to draw for the strikethrough.</doc> | |
| 8487 | + | <source-position filename="pango/pango-font.h" line="450"/> | |
| 8378 | 8488 | <return-value transfer-ownership="none"> | |
| 8379 | 8489 | <doc xml:space="preserve" | |
| 8380 | 8490 | filename="pango/fonts.c" | |
| 8381 | - | line="2598">the suggested strikethrough thickness, in Pango units.</doc> | |
| 8491 | + | line="2668">the suggested strikethrough thickness, in Pango units.</doc> | |
| 8382 | 8492 | <type name="gint" c:type="int"/> | |
| 8383 | 8493 | </return-value> | |
| 8384 | 8494 | <parameters> | |
| 8385 | 8495 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8386 | 8496 | <doc xml:space="preserve" | |
| 8387 | 8497 | filename="pango/fonts.c" | |
| 8388 | - | line="2594">a `PangoFontMetrics` structure</doc> | |
| 8498 | + | line="2664">a `PangoFontMetrics` structure</doc> | |
| 8389 | 8499 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8390 | 8500 | </instance-parameter> | |
| 8391 | 8501 | </parameters> | |
| @@ -8395,23 +8505,23 @@ baseline of the top of the strikethrough.</doc> | |||
| 8395 | 8505 | version="1.6"> | |
| 8396 | 8506 | <doc xml:space="preserve" | |
| 8397 | 8507 | filename="pango/fonts.c" | |
| 8398 | - | line="2531">Gets the suggested position to draw the underline. | |
| 8508 | + | line="2601">Gets the suggested position to draw the underline. | |
| 8399 | 8509 | ||
| 8400 | 8510 | The value returned is the distance *above* the baseline of the top | |
| 8401 | 8511 | of the underline. Since most fonts have underline positions beneath | |
| 8402 | 8512 | the baseline, this value is typically negative.</doc> | |
| 8403 | - | <source-position filename="pango/pango-font.h" line="414"/> | |
| 8513 | + | <source-position filename="pango/pango-font.h" line="444"/> | |
| 8404 | 8514 | <return-value transfer-ownership="none"> | |
| 8405 | 8515 | <doc xml:space="preserve" | |
| 8406 | 8516 | filename="pango/fonts.c" | |
| 8407 | - | line="2541">the suggested underline position, in Pango units.</doc> | |
| 8517 | + | line="2611">the suggested underline position, in Pango units.</doc> | |
| 8408 | 8518 | <type name="gint" c:type="int"/> | |
| 8409 | 8519 | </return-value> | |
| 8410 | 8520 | <parameters> | |
| 8411 | 8521 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8412 | 8522 | <doc xml:space="preserve" | |
| 8413 | 8523 | filename="pango/fonts.c" | |
| 8414 | - | line="2533">a `PangoFontMetrics` structure</doc> | |
| 8524 | + | line="2603">a `PangoFontMetrics` structure</doc> | |
| 8415 | 8525 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8416 | 8526 | </instance-parameter> | |
| 8417 | 8527 | </parameters> | |
| @@ -8421,19 +8531,19 @@ the baseline, this value is typically negative.</doc> | |||
| 8421 | 8531 | version="1.6"> | |
| 8422 | 8532 | <doc xml:space="preserve" | |
| 8423 | 8533 | filename="pango/fonts.c" | |
| 8424 | - | line="2553">Gets the suggested thickness to draw for the underline.</doc> | |
| 8425 | - | <source-position filename="pango/pango-font.h" line="416"/> | |
| 8534 | + | line="2623">Gets the suggested thickness to draw for the underline.</doc> | |
| 8535 | + | <source-position filename="pango/pango-font.h" line="446"/> | |
| 8426 | 8536 | <return-value transfer-ownership="none"> | |
| 8427 | 8537 | <doc xml:space="preserve" | |
| 8428 | 8538 | filename="pango/fonts.c" | |
| 8429 | - | line="2559">the suggested underline thickness, in Pango units.</doc> | |
| 8539 | + | line="2629">the suggested underline thickness, in Pango units.</doc> | |
| 8430 | 8540 | <type name="gint" c:type="int"/> | |
| 8431 | 8541 | </return-value> | |
| 8432 | 8542 | <parameters> | |
| 8433 | 8543 | <instance-parameter name="metrics" transfer-ownership="none"> | |
| 8434 | 8544 | <doc xml:space="preserve" | |
| 8435 | 8545 | filename="pango/fonts.c" | |
| 8436 | - | line="2555">a `PangoFontMetrics` structure</doc> | |
| 8546 | + | line="2625">a `PangoFontMetrics` structure</doc> | |
| 8437 | 8547 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8438 | 8548 | </instance-parameter> | |
| 8439 | 8549 | </parameters> | |
| @@ -8441,12 +8551,12 @@ the baseline, this value is typically negative.</doc> | |||
| 8441 | 8551 | <method name="ref" c:identifier="pango_font_metrics_ref"> | |
| 8442 | 8552 | <doc xml:space="preserve" | |
| 8443 | 8553 | filename="pango/fonts.c" | |
| 8444 | - | line="2385">Increase the reference count of a font metrics structure by one.</doc> | |
| 8445 | - | <source-position filename="pango/pango-font.h" line="400"/> | |
| 8554 | + | line="2455">Increase the reference count of a font metrics structure by one.</doc> | |
| 8555 | + | <source-position filename="pango/pango-font.h" line="430"/> | |
| 8446 | 8556 | <return-value transfer-ownership="full" nullable="1"> | |
| 8447 | 8557 | <doc xml:space="preserve" | |
| 8448 | 8558 | filename="pango/fonts.c" | |
| 8449 | - | line="2391">@metrics</doc> | |
| 8559 | + | line="2461">@metrics</doc> | |
| 8450 | 8560 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8451 | 8561 | </return-value> | |
| 8452 | 8562 | <parameters> | |
| @@ -8456,7 +8566,7 @@ the baseline, this value is typically negative.</doc> | |||
| 8456 | 8566 | allow-none="1"> | |
| 8457 | 8567 | <doc xml:space="preserve" | |
| 8458 | 8568 | filename="pango/fonts.c" | |
| 8459 | - | line="2387">a `PangoFontMetrics` structure, may be %NULL</doc> | |
| 8569 | + | line="2457">a `PangoFontMetrics` structure, may be %NULL</doc> | |
| 8460 | 8570 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8461 | 8571 | </instance-parameter> | |
| 8462 | 8572 | </parameters> | |
| @@ -8464,10 +8574,10 @@ the baseline, this value is typically negative.</doc> | |||
| 8464 | 8574 | <method name="unref" c:identifier="pango_font_metrics_unref"> | |
| 8465 | 8575 | <doc xml:space="preserve" | |
| 8466 | 8576 | filename="pango/fonts.c" | |
| 8467 | - | line="2404">Decrease the reference count of a font metrics structure by one. | |
| 8577 | + | line="2474">Decrease the reference count of a font metrics structure by one. | |
| 8468 | 8578 | ||
| 8469 | 8579 | If the result is zero, frees the structure and any associated memory.</doc> | |
| 8470 | - | <source-position filename="pango/pango-font.h" line="402"/> | |
| 8580 | + | <source-position filename="pango/pango-font.h" line="432"/> | |
| 8471 | 8581 | <return-value transfer-ownership="none"> | |
| 8472 | 8582 | <type name="none" c:type="void"/> | |
| 8473 | 8583 | </return-value> | |
| @@ -8478,7 +8588,7 @@ If the result is zero, frees the structure and any associated memory.</doc> | |||
| 8478 | 8588 | allow-none="1"> | |
| 8479 | 8589 | <doc xml:space="preserve" | |
| 8480 | 8590 | filename="pango/fonts.c" | |
| 8481 | - | line="2406">a `PangoFontMetrics` structure, may be %NULL</doc> | |
| 8591 | + | line="2476">a `PangoFontMetrics` structure, may be %NULL</doc> | |
| 8482 | 8592 | <type name="FontMetrics" c:type="PangoFontMetrics*"/> | |
| 8483 | 8593 | </instance-parameter> | |
| 8484 | 8594 | </parameters> | |
| @@ -9024,26 +9134,26 @@ The fontset takes ownership of @font.</doc> | |||
| 9024 | 9134 | introspectable="0"> | |
| 9025 | 9135 | <doc xml:space="preserve" | |
| 9026 | 9136 | filename="pango/pango-font.h" | |
| 9027 | - | line="699">The way this unknown glyphs are rendered is backend specific. For example, | |
| 9137 | + | line="729">The way this unknown glyphs are rendered is backend specific. For example, | |
| 9028 | 9138 | a box with the hexadecimal Unicode code-point of the character written in it | |
| 9029 | 9139 | is what is done in the most common backends.</doc> | |
| 9030 | - | <source-position filename="pango/pango-font.h" line="712"/> | |
| 9140 | + | <source-position filename="pango/pango-font.h" line="742"/> | |
| 9031 | 9141 | <parameters> | |
| 9032 | 9142 | <parameter name="wc"> | |
| 9033 | 9143 | <doc xml:space="preserve" | |
| 9034 | 9144 | filename="pango/pango-font.h" | |
| 9035 | - | line="701">a Unicode character</doc> | |
| 9145 | + | line="731">a Unicode character</doc> | |
| 9036 | 9146 | </parameter> | |
| 9037 | 9147 | </parameters> | |
| 9038 | 9148 | </function-macro> | |
| 9039 | 9149 | <constant name="GLYPH_EMPTY" value="268435455" c:type="PANGO_GLYPH_EMPTY"> | |
| 9040 | 9150 | <doc xml:space="preserve" | |
| 9041 | 9151 | filename="pango/pango-font.h" | |
| 9042 | - | line="669">A `PangoGlyph` value that indicates a zero-width empty glpyh. | |
| 9152 | + | line="699">A `PangoGlyph` value that indicates a zero-width empty glpyh. | |
| 9043 | 9153 | ||
| 9044 | 9154 | This is useful for example in shaper modules, to use as the glyph for | |
| 9045 | 9155 | various zero-width Unicode characters (those passing [func@is_zero_width]).</doc> | |
| 9046 | - | <source-position filename="pango/pango-font.h" line="709"/> | |
| 9156 | + | <source-position filename="pango/pango-font.h" line="739"/> | |
| 9047 | 9157 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 9048 | 9158 | </constant> | |
| 9049 | 9159 | <constant name="GLYPH_INVALID_INPUT" | |
| @@ -9052,14 +9162,14 @@ various zero-width Unicode characters (those passing [func@is_zero_width]).</doc | |||
| 9052 | 9162 | version="1.20"> | |
| 9053 | 9163 | <doc xml:space="preserve" | |
| 9054 | 9164 | filename="pango/pango-font.h" | |
| 9055 | - | line="678">A `PangoGlyph` value for invalid input. | |
| 9165 | + | line="708">A `PangoGlyph` value for invalid input. | |
| 9056 | 9166 | ||
| 9057 | 9167 | `PangoLayout` produces one such glyph per invalid input UTF-8 byte and such | |
| 9058 | 9168 | a glyph is rendered as a crossed box. | |
| 9059 | 9169 | ||
| 9060 | 9170 | Note that this value is defined such that it has the %PANGO_GLYPH_UNKNOWN_FLAG | |
| 9061 | 9171 | set.</doc> | |
| 9062 | - | <source-position filename="pango/pango-font.h" line="710"/> | |
| 9172 | + | <source-position filename="pango/pango-font.h" line="740"/> | |
| 9063 | 9173 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 9064 | 9174 | </constant> | |
| 9065 | 9175 | <constant name="GLYPH_UNKNOWN_FLAG" | |
| @@ -9067,11 +9177,11 @@ set.</doc> | |||
| 9067 | 9177 | c:type="PANGO_GLYPH_UNKNOWN_FLAG"> | |
| 9068 | 9178 | <doc xml:space="preserve" | |
| 9069 | 9179 | filename="pango/pango-font.h" | |
| 9070 | - | line="691">Flag used in `PangoGlyph` to turn a `gunichar` value of a valid Unicode | |
| 9180 | + | line="721">Flag used in `PangoGlyph` to turn a `gunichar` value of a valid Unicode | |
| 9071 | 9181 | character into an unknown-character glyph for that `gunichar`. | |
| 9072 | 9182 | ||
| 9073 | 9183 | Such unknown-character glyphs may be rendered as a 'hex box'.</doc> | |
| 9074 | - | <source-position filename="pango/pango-font.h" line="711"/> | |
| 9184 | + | <source-position filename="pango/pango-font.h" line="741"/> | |
| 9075 | 9185 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 9076 | 9186 | </constant> | |
| 9077 | 9187 | <function-macro name="GRAVITY_IS_IMPROPER" | |
| @@ -10540,7 +10650,7 @@ See also [enum@Pango.Gravity]</doc> | |||
| 10540 | 10650 | <function-macro name="IS_FONT" | |
| 10541 | 10651 | c:identifier="PANGO_IS_FONT" | |
| 10542 | 10652 | introspectable="0"> | |
| 10543 | - | <source-position filename="pango/pango-font.h" line="571"/> | |
| 10653 | + | <source-position filename="pango/pango-font.h" line="601"/> | |
| 10544 | 10654 | <parameters> | |
| 10545 | 10655 | <parameter name="object"> | |
| 10546 | 10656 | </parameter> | |
| @@ -10576,7 +10686,7 @@ See also [enum@Pango.Gravity]</doc> | |||
| 10576 | 10686 | <function-macro name="IS_FONT_CLASS" | |
| 10577 | 10687 | c:identifier="PANGO_IS_FONT_CLASS" | |
| 10578 | 10688 | introspectable="0"> | |
| 10579 | - | <source-position filename="pango/pango-font.h" line="573"/> | |
| 10689 | + | <source-position filename="pango/pango-font.h" line="603"/> | |
| 10580 | 10690 | <parameters> | |
| 10581 | 10691 | <parameter name="klass"> | |
| 10582 | 10692 | </parameter> | |
| @@ -10585,7 +10695,7 @@ See also [enum@Pango.Gravity]</doc> | |||
| 10585 | 10695 | <function-macro name="IS_FONT_FACE" | |
| 10586 | 10696 | c:identifier="PANGO_IS_FONT_FACE" | |
| 10587 | 10697 | introspectable="0"> | |
| 10588 | - | <source-position filename="pango/pango-font.h" line="504"/> | |
| 10698 | + | <source-position filename="pango/pango-font.h" line="534"/> | |
| 10589 | 10699 | <parameters> | |
| 10590 | 10700 | <parameter name="object"> | |
| 10591 | 10701 | </parameter> | |
| @@ -10594,7 +10704,7 @@ See also [enum@Pango.Gravity]</doc> | |||
| 10594 | 10704 | <function-macro name="IS_FONT_FACE_CLASS" | |
| 10595 | 10705 | c:identifier="PANGO_IS_FONT_FACE_CLASS" | |
| 10596 | 10706 | introspectable="0"> | |
| 10597 | - | <source-position filename="pango/pango-font.h" line="506"/> | |
| 10707 | + | <source-position filename="pango/pango-font.h" line="536"/> | |
| 10598 | 10708 | <parameters> | |
| 10599 | 10709 | <parameter name="klass"> | |
| 10600 | 10710 | </parameter> | |
| @@ -10603,7 +10713,7 @@ See also [enum@Pango.Gravity]</doc> | |||
| 10603 | 10713 | <function-macro name="IS_FONT_FAMILY" | |
| 10604 | 10714 | c:identifier="PANGO_IS_FONT_FAMILY" | |
| 10605 | 10715 | introspectable="0"> | |
| 10606 | - | <source-position filename="pango/pango-font.h" line="429"/> | |
| 10716 | + | <source-position filename="pango/pango-font.h" line="459"/> | |
| 10607 | 10717 | <parameters> | |
| 10608 | 10718 | <parameter name="object"> | |
| 10609 | 10719 | </parameter> | |
| @@ -10612,7 +10722,7 @@ See also [enum@Pango.Gravity]</doc> | |||
| 10612 | 10722 | <function-macro name="IS_FONT_FAMILY_CLASS" | |
| 10613 | 10723 | c:identifier="PANGO_IS_FONT_FAMILY_CLASS" | |
| 10614 | 10724 | introspectable="0"> | |
| 10615 | - | <source-position filename="pango/pango-font.h" line="431"/> | |
| 10725 | + | <source-position filename="pango/pango-font.h" line="461"/> | |
| 10616 | 10726 | <parameters> | |
| 10617 | 10727 | <parameter name="klass"> | |
| 10618 | 10728 | </parameter> | |
| @@ -11845,19 +11955,19 @@ A negative value indicates a hanging indentation.</doc> | |||
| 11845 | 11955 | <method name="get_iter" c:identifier="pango_layout_get_iter"> | |
| 11846 | 11956 | <doc xml:space="preserve" | |
| 11847 | 11957 | filename="pango/pango-layout.c" | |
| 11848 | - | line="7200">Returns an iterator to iterate over the visual extents of the layout.</doc> | |
| 11958 | + | line="7220">Returns an iterator to iterate over the visual extents of the layout.</doc> | |
| 11849 | 11959 | <source-position filename="pango/pango-layout.h" line="495"/> | |
| 11850 | 11960 | <return-value transfer-ownership="full"> | |
| 11851 | 11961 | <doc xml:space="preserve" | |
| 11852 | 11962 | filename="pango/pango-layout.c" | |
| 11853 | - | line="7206">the new `PangoLayoutIter`</doc> | |
| 11963 | + | line="7226">the new `PangoLayoutIter`</doc> | |
| 11854 | 11964 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 11855 | 11965 | </return-value> | |
| 11856 | 11966 | <parameters> | |
| 11857 | 11967 | <instance-parameter name="layout" transfer-ownership="none"> | |
| 11858 | 11968 | <doc xml:space="preserve" | |
| 11859 | 11969 | filename="pango/pango-layout.c" | |
| 11860 | - | line="7202">a `PangoLayout`</doc> | |
| 11970 | + | line="7222">a `PangoLayout`</doc> | |
| 11861 | 11971 | <type name="Layout" c:type="PangoLayout*"/> | |
| 11862 | 11972 | </instance-parameter> | |
| 11863 | 11973 | </parameters> | |
| @@ -13631,19 +13741,19 @@ The `PangoLayoutIter` structure is opaque, and has no user-visible fields.</doc> | |||
| 13631 | 13741 | c:identifier="pango_layout_iter_at_last_line"> | |
| 13632 | 13742 | <doc xml:space="preserve" | |
| 13633 | 13743 | filename="pango/pango-layout.c" | |
| 13634 | - | line="7441">Determines whether @iter is on the last line of the layout.</doc> | |
| 13744 | + | line="7461">Determines whether @iter is on the last line of the layout.</doc> | |
| 13635 | 13745 | <source-position filename="pango/pango-layout.h" line="512"/> | |
| 13636 | 13746 | <return-value transfer-ownership="none"> | |
| 13637 | 13747 | <doc xml:space="preserve" | |
| 13638 | 13748 | filename="pango/pango-layout.c" | |
| 13639 | - | line="7447">%TRUE if @iter is on the last line</doc> | |
| 13749 | + | line="7467">%TRUE if @iter is on the last line</doc> | |
| 13640 | 13750 | <type name="gboolean" c:type="gboolean"/> | |
| 13641 | 13751 | </return-value> | |
| 13642 | 13752 | <parameters> | |
| 13643 | 13753 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13644 | 13754 | <doc xml:space="preserve" | |
| 13645 | 13755 | filename="pango/pango-layout.c" | |
| 13646 | - | line="7443">a `PangoLayoutIter`</doc> | |
| 13756 | + | line="7463">a `PangoLayoutIter`</doc> | |
| 13647 | 13757 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13648 | 13758 | </instance-parameter> | |
| 13649 | 13759 | </parameters> | |
| @@ -13651,12 +13761,12 @@ The `PangoLayoutIter` structure is opaque, and has no user-visible fields.</doc> | |||
| 13651 | 13761 | <method name="copy" c:identifier="pango_layout_iter_copy" version="1.20"> | |
| 13652 | 13762 | <doc xml:space="preserve" | |
| 13653 | 13763 | filename="pango/pango-layout.c" | |
| 13654 | - | line="7140">Copies a `PangoLayoutIter`.</doc> | |
| 13764 | + | line="7160">Copies a `PangoLayoutIter`.</doc> | |
| 13655 | 13765 | <source-position filename="pango/pango-layout.h" line="497"/> | |
| 13656 | 13766 | <return-value transfer-ownership="full" nullable="1"> | |
| 13657 | 13767 | <doc xml:space="preserve" | |
| 13658 | 13768 | filename="pango/pango-layout.c" | |
| 13659 | - | line="7146">the newly allocated `PangoLayoutIter`</doc> | |
| 13769 | + | line="7166">the newly allocated `PangoLayoutIter`</doc> | |
| 13660 | 13770 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13661 | 13771 | </return-value> | |
| 13662 | 13772 | <parameters> | |
| @@ -13666,7 +13776,7 @@ The `PangoLayoutIter` structure is opaque, and has no user-visible fields.</doc> | |||
| 13666 | 13776 | allow-none="1"> | |
| 13667 | 13777 | <doc xml:space="preserve" | |
| 13668 | 13778 | filename="pango/pango-layout.c" | |
| 13669 | - | line="7142">a `PangoLayoutIter`</doc> | |
| 13779 | + | line="7162">a `PangoLayoutIter`</doc> | |
| 13670 | 13780 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13671 | 13781 | </instance-parameter> | |
| 13672 | 13782 | </parameters> | |
| @@ -13674,7 +13784,7 @@ The `PangoLayoutIter` structure is opaque, and has no user-visible fields.</doc> | |||
| 13674 | 13784 | <method name="free" c:identifier="pango_layout_iter_free"> | |
| 13675 | 13785 | <doc xml:space="preserve" | |
| 13676 | 13786 | filename="pango/pango-layout.c" | |
| 13677 | - | line="7285">Frees an iterator that's no longer in use.</doc> | |
| 13787 | + | line="7305">Frees an iterator that's no longer in use.</doc> | |
| 13678 | 13788 | <source-position filename="pango/pango-layout.h" line="499"/> | |
| 13679 | 13789 | <return-value transfer-ownership="none"> | |
| 13680 | 13790 | <type name="none" c:type="void"/> | |
| @@ -13686,7 +13796,7 @@ The `PangoLayoutIter` structure is opaque, and has no user-visible fields.</doc> | |||
| 13686 | 13796 | allow-none="1"> | |
| 13687 | 13797 | <doc xml:space="preserve" | |
| 13688 | 13798 | filename="pango/pango-layout.c" | |
| 13689 | - | line="7287">a `PangoLayoutIter`, may be %NULL</doc> | |
| 13799 | + | line="7307">a `PangoLayoutIter`, may be %NULL</doc> | |
| 13690 | 13800 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13691 | 13801 | </instance-parameter> | |
| 13692 | 13802 | </parameters> | |
| @@ -13695,7 +13805,7 @@ The `PangoLayoutIter` structure is opaque, and has no user-visible fields.</doc> | |||
| 13695 | 13805 | c:identifier="pango_layout_iter_get_baseline"> | |
| 13696 | 13806 | <doc xml:space="preserve" | |
| 13697 | 13807 | filename="pango/pango-layout.c" | |
| 13698 | - | line="8004">Gets the Y position of the current line's baseline, in layout | |
| 13808 | + | line="8024">Gets the Y position of the current line's baseline, in layout | |
| 13699 | 13809 | coordinates. | |
| 13700 | 13810 | ||
| 13701 | 13811 | Layout coordinates have the origin at the top left of the entire layout.</doc> | |
| @@ -13703,14 +13813,14 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 13703 | 13813 | <return-value transfer-ownership="none"> | |
| 13704 | 13814 | <doc xml:space="preserve" | |
| 13705 | 13815 | filename="pango/pango-layout.c" | |
| 13706 | - | line="8013">baseline of current line</doc> | |
| 13816 | + | line="8033">baseline of current line</doc> | |
| 13707 | 13817 | <type name="gint" c:type="int"/> | |
| 13708 | 13818 | </return-value> | |
| 13709 | 13819 | <parameters> | |
| 13710 | 13820 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13711 | 13821 | <doc xml:space="preserve" | |
| 13712 | 13822 | filename="pango/pango-layout.c" | |
| 13713 | - | line="8006">a `PangoLayoutIter`</doc> | |
| 13823 | + | line="8026">a `PangoLayoutIter`</doc> | |
| 13714 | 13824 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13715 | 13825 | </instance-parameter> | |
| 13716 | 13826 | </parameters> | |
| @@ -13719,7 +13829,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 13719 | 13829 | c:identifier="pango_layout_iter_get_char_extents"> | |
| 13720 | 13830 | <doc xml:space="preserve" | |
| 13721 | 13831 | filename="pango/pango-layout.c" | |
| 13722 | - | line="7731">Gets the extents of the current character, in layout coordinates. | |
| 13832 | + | line="7751">Gets the extents of the current character, in layout coordinates. | |
| 13723 | 13833 | ||
| 13724 | 13834 | Layout coordinates have the origin at the top left of the entire layout. | |
| 13725 | 13835 | ||
| @@ -13733,7 +13843,7 @@ ink extents make sense only down to the level of clusters.</doc> | |||
| 13733 | 13843 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13734 | 13844 | <doc xml:space="preserve" | |
| 13735 | 13845 | filename="pango/pango-layout.c" | |
| 13736 | - | line="7733">a `PangoLayoutIter`</doc> | |
| 13846 | + | line="7753">a `PangoLayoutIter`</doc> | |
| 13737 | 13847 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13738 | 13848 | </instance-parameter> | |
| 13739 | 13849 | <parameter name="logical_rect" | |
| @@ -13742,7 +13852,7 @@ ink extents make sense only down to the level of clusters.</doc> | |||
| 13742 | 13852 | transfer-ownership="none"> | |
| 13743 | 13853 | <doc xml:space="preserve" | |
| 13744 | 13854 | filename="pango/pango-layout.c" | |
| 13745 | - | line="7734">rectangle to fill with | |
| 13855 | + | line="7754">rectangle to fill with | |
| 13746 | 13856 | logical extents</doc> | |
| 13747 | 13857 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13748 | 13858 | </parameter> | |
| @@ -13752,7 +13862,7 @@ ink extents make sense only down to the level of clusters.</doc> | |||
| 13752 | 13862 | c:identifier="pango_layout_iter_get_cluster_extents"> | |
| 13753 | 13863 | <doc xml:space="preserve" | |
| 13754 | 13864 | filename="pango/pango-layout.c" | |
| 13755 | - | line="7784">Gets the extents of the current cluster, in layout coordinates. | |
| 13865 | + | line="7804">Gets the extents of the current cluster, in layout coordinates. | |
| 13756 | 13866 | ||
| 13757 | 13867 | Layout coordinates have the origin at the top left of the entire layout.</doc> | |
| 13758 | 13868 | <source-position filename="pango/pango-layout.h" line="529"/> | |
| @@ -13763,7 +13873,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 13763 | 13873 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13764 | 13874 | <doc xml:space="preserve" | |
| 13765 | 13875 | filename="pango/pango-layout.c" | |
| 13766 | - | line="7786">a `PangoLayoutIter`</doc> | |
| 13876 | + | line="7806">a `PangoLayoutIter`</doc> | |
| 13767 | 13877 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13768 | 13878 | </instance-parameter> | |
| 13769 | 13879 | <parameter name="ink_rect" | |
| @@ -13774,7 +13884,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 13774 | 13884 | allow-none="1"> | |
| 13775 | 13885 | <doc xml:space="preserve" | |
| 13776 | 13886 | filename="pango/pango-layout.c" | |
| 13777 | - | line="7787">rectangle to fill with ink extents</doc> | |
| 13887 | + | line="7807">rectangle to fill with ink extents</doc> | |
| 13778 | 13888 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13779 | 13889 | </parameter> | |
| 13780 | 13890 | <parameter name="logical_rect" | |
| @@ -13785,7 +13895,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 13785 | 13895 | allow-none="1"> | |
| 13786 | 13896 | <doc xml:space="preserve" | |
| 13787 | 13897 | filename="pango/pango-layout.c" | |
| 13788 | - | line="7788">rectangle to fill with logical extents</doc> | |
| 13898 | + | line="7808">rectangle to fill with logical extents</doc> | |
| 13789 | 13899 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13790 | 13900 | </parameter> | |
| 13791 | 13901 | </parameters> | |
| @@ -13793,7 +13903,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 13793 | 13903 | <method name="get_index" c:identifier="pango_layout_iter_get_index"> | |
| 13794 | 13904 | <doc xml:space="preserve" | |
| 13795 | 13905 | filename="pango/pango-layout.c" | |
| 13796 | - | line="7301">Gets the current byte index. | |
| 13906 | + | line="7321">Gets the current byte index. | |
| 13797 | 13907 | ||
| 13798 | 13908 | Note that iterating forward by char moves in visual order, | |
| 13799 | 13909 | not logical order, so indexes may not be sequential. Also, | |
| @@ -13803,14 +13913,14 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13803 | 13913 | <return-value transfer-ownership="none"> | |
| 13804 | 13914 | <doc xml:space="preserve" | |
| 13805 | 13915 | filename="pango/pango-layout.c" | |
| 13806 | - | line="7312">current byte index</doc> | |
| 13916 | + | line="7332">current byte index</doc> | |
| 13807 | 13917 | <type name="gint" c:type="int"/> | |
| 13808 | 13918 | </return-value> | |
| 13809 | 13919 | <parameters> | |
| 13810 | 13920 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13811 | 13921 | <doc xml:space="preserve" | |
| 13812 | 13922 | filename="pango/pango-layout.c" | |
| 13813 | - | line="7303">a `PangoLayoutIter`</doc> | |
| 13923 | + | line="7323">a `PangoLayoutIter`</doc> | |
| 13814 | 13924 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13815 | 13925 | </instance-parameter> | |
| 13816 | 13926 | </parameters> | |
| @@ -13820,19 +13930,19 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13820 | 13930 | version="1.20"> | |
| 13821 | 13931 | <doc xml:space="preserve" | |
| 13822 | 13932 | filename="pango/pango-layout.c" | |
| 13823 | - | line="7458">Gets the layout associated with a `PangoLayoutIter`.</doc> | |
| 13933 | + | line="7478">Gets the layout associated with a `PangoLayoutIter`.</doc> | |
| 13824 | 13934 | <source-position filename="pango/pango-layout.h" line="514"/> | |
| 13825 | 13935 | <return-value transfer-ownership="none" nullable="1"> | |
| 13826 | 13936 | <doc xml:space="preserve" | |
| 13827 | 13937 | filename="pango/pango-layout.c" | |
| 13828 | - | line="7464">the layout associated with @iter</doc> | |
| 13938 | + | line="7484">the layout associated with @iter</doc> | |
| 13829 | 13939 | <type name="Layout" c:type="PangoLayout*"/> | |
| 13830 | 13940 | </return-value> | |
| 13831 | 13941 | <parameters> | |
| 13832 | 13942 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13833 | 13943 | <doc xml:space="preserve" | |
| 13834 | 13944 | filename="pango/pango-layout.c" | |
| 13835 | - | line="7460">a `PangoLayoutIter`</doc> | |
| 13945 | + | line="7480">a `PangoLayoutIter`</doc> | |
| 13836 | 13946 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13837 | 13947 | </instance-parameter> | |
| 13838 | 13948 | </parameters> | |
| @@ -13841,7 +13951,7 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13841 | 13951 | c:identifier="pango_layout_iter_get_layout_extents"> | |
| 13842 | 13952 | <doc xml:space="preserve" | |
| 13843 | 13953 | filename="pango/pango-layout.c" | |
| 13844 | - | line="8050">Obtains the extents of the `PangoLayout` being iterated over.</doc> | |
| 13954 | + | line="8070">Obtains the extents of the `PangoLayout` being iterated over.</doc> | |
| 13845 | 13955 | <source-position filename="pango/pango-layout.h" line="548"/> | |
| 13846 | 13956 | <return-value transfer-ownership="none"> | |
| 13847 | 13957 | <type name="none" c:type="void"/> | |
| @@ -13850,7 +13960,7 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13850 | 13960 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13851 | 13961 | <doc xml:space="preserve" | |
| 13852 | 13962 | filename="pango/pango-layout.c" | |
| 13853 | - | line="8052">a `PangoLayoutIter`</doc> | |
| 13963 | + | line="8072">a `PangoLayoutIter`</doc> | |
| 13854 | 13964 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13855 | 13965 | </instance-parameter> | |
| 13856 | 13966 | <parameter name="ink_rect" | |
| @@ -13861,7 +13971,7 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13861 | 13971 | allow-none="1"> | |
| 13862 | 13972 | <doc xml:space="preserve" | |
| 13863 | 13973 | filename="pango/pango-layout.c" | |
| 13864 | - | line="8053">rectangle to fill with ink extents</doc> | |
| 13974 | + | line="8073">rectangle to fill with ink extents</doc> | |
| 13865 | 13975 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13866 | 13976 | </parameter> | |
| 13867 | 13977 | <parameter name="logical_rect" | |
| @@ -13872,7 +13982,7 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13872 | 13982 | allow-none="1"> | |
| 13873 | 13983 | <doc xml:space="preserve" | |
| 13874 | 13984 | filename="pango/pango-layout.c" | |
| 13875 | - | line="8054">rectangle to fill with logical extents</doc> | |
| 13985 | + | line="8074">rectangle to fill with logical extents</doc> | |
| 13876 | 13986 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13877 | 13987 | </parameter> | |
| 13878 | 13988 | </parameters> | |
| @@ -13880,7 +13990,7 @@ layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]).</doc> | |||
| 13880 | 13990 | <method name="get_line" c:identifier="pango_layout_iter_get_line"> | |
| 13881 | 13991 | <doc xml:space="preserve" | |
| 13882 | 13992 | filename="pango/pango-layout.c" | |
| 13883 | - | line="7394">Gets the current line. | |
| 13993 | + | line="7414">Gets the current line. | |
| 13884 | 13994 | ||
| 13885 | 13995 | Use the faster [method@Pango.LayoutIter.get_line_readonly] if | |
| 13886 | 13996 | you do not plan to modify the contents of the line (glyphs, | |
| @@ -13889,14 +13999,14 @@ glyph widths, etc.).</doc> | |||
| 13889 | 13999 | <return-value transfer-ownership="none" nullable="1"> | |
| 13890 | 14000 | <doc xml:space="preserve" | |
| 13891 | 14001 | filename="pango/pango-layout.c" | |
| 13892 | - | line="7404">the current line</doc> | |
| 14002 | + | line="7424">the current line</doc> | |
| 13893 | 14003 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 13894 | 14004 | </return-value> | |
| 13895 | 14005 | <parameters> | |
| 13896 | 14006 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13897 | 14007 | <doc xml:space="preserve" | |
| 13898 | 14008 | filename="pango/pango-layout.c" | |
| 13899 | - | line="7396">a `PangoLayoutIter`</doc> | |
| 14009 | + | line="7416">a `PangoLayoutIter`</doc> | |
| 13900 | 14010 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13901 | 14011 | </instance-parameter> | |
| 13902 | 14012 | </parameters> | |
| @@ -13905,7 +14015,7 @@ glyph widths, etc.).</doc> | |||
| 13905 | 14015 | c:identifier="pango_layout_iter_get_line_extents"> | |
| 13906 | 14016 | <doc xml:space="preserve" | |
| 13907 | 14017 | filename="pango/pango-layout.c" | |
| 13908 | - | line="7908">Obtains the extents of the current line. | |
| 14018 | + | line="7928">Obtains the extents of the current line. | |
| 13909 | 14019 | ||
| 13910 | 14020 | Extents are in layout coordinates (origin is the top-left corner | |
| 13911 | 14021 | of the entire `PangoLayout`). Thus the extents returned by this | |
| @@ -13919,7 +14029,7 @@ as the extents returned from [method@Pango.LayoutLine.get_extents].</doc> | |||
| 13919 | 14029 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13920 | 14030 | <doc xml:space="preserve" | |
| 13921 | 14031 | filename="pango/pango-layout.c" | |
| 13922 | - | line="7910">a `PangoLayoutIter`</doc> | |
| 14032 | + | line="7930">a `PangoLayoutIter`</doc> | |
| 13923 | 14033 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13924 | 14034 | </instance-parameter> | |
| 13925 | 14035 | <parameter name="ink_rect" | |
| @@ -13930,7 +14040,7 @@ as the extents returned from [method@Pango.LayoutLine.get_extents].</doc> | |||
| 13930 | 14040 | allow-none="1"> | |
| 13931 | 14041 | <doc xml:space="preserve" | |
| 13932 | 14042 | filename="pango/pango-layout.c" | |
| 13933 | - | line="7911">rectangle to fill with ink extents</doc> | |
| 14043 | + | line="7931">rectangle to fill with ink extents</doc> | |
| 13934 | 14044 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13935 | 14045 | </parameter> | |
| 13936 | 14046 | <parameter name="logical_rect" | |
| @@ -13941,7 +14051,7 @@ as the extents returned from [method@Pango.LayoutLine.get_extents].</doc> | |||
| 13941 | 14051 | allow-none="1"> | |
| 13942 | 14052 | <doc xml:space="preserve" | |
| 13943 | 14053 | filename="pango/pango-layout.c" | |
| 13944 | - | line="7912">rectangle to fill with logical extents</doc> | |
| 14054 | + | line="7932">rectangle to fill with logical extents</doc> | |
| 13945 | 14055 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 13946 | 14056 | </parameter> | |
| 13947 | 14057 | </parameters> | |
| @@ -13951,7 +14061,7 @@ as the extents returned from [method@Pango.LayoutLine.get_extents].</doc> | |||
| 13951 | 14061 | version="1.16"> | |
| 13952 | 14062 | <doc xml:space="preserve" | |
| 13953 | 14063 | filename="pango/pango-layout.c" | |
| 13954 | - | line="7417">Gets the current line for read-only access. | |
| 14064 | + | line="7437">Gets the current line for read-only access. | |
| 13955 | 14065 | ||
| 13956 | 14066 | This is a faster alternative to [method@Pango.LayoutIter.get_line], | |
| 13957 | 14067 | but the user is not expected to modify the contents of the line | |
| @@ -13960,7 +14070,7 @@ but the user is not expected to modify the contents of the line | |||
| 13960 | 14070 | <return-value transfer-ownership="none" nullable="1"> | |
| 13961 | 14071 | <doc xml:space="preserve" | |
| 13962 | 14072 | filename="pango/pango-layout.c" | |
| 13963 | - | line="7427">the current line, that should not be | |
| 14073 | + | line="7447">the current line, that should not be | |
| 13964 | 14074 | modified</doc> | |
| 13965 | 14075 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 13966 | 14076 | </return-value> | |
| @@ -13968,7 +14078,7 @@ but the user is not expected to modify the contents of the line | |||
| 13968 | 14078 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13969 | 14079 | <doc xml:space="preserve" | |
| 13970 | 14080 | filename="pango/pango-layout.c" | |
| 13971 | - | line="7419">a `PangoLayoutIter`</doc> | |
| 14081 | + | line="7439">a `PangoLayoutIter`</doc> | |
| 13972 | 14082 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 13973 | 14083 | </instance-parameter> | |
| 13974 | 14084 | </parameters> | |
| @@ -13977,7 +14087,7 @@ but the user is not expected to modify the contents of the line | |||
| 13977 | 14087 | c:identifier="pango_layout_iter_get_line_yrange"> | |
| 13978 | 14088 | <doc xml:space="preserve" | |
| 13979 | 14089 | filename="pango/pango-layout.c" | |
| 13980 | - | line="7947">Divides the vertical space in the `PangoLayout` being iterated over | |
| 14090 | + | line="7967">Divides the vertical space in the `PangoLayout` being iterated over | |
| 13981 | 14091 | between the lines in the layout, and returns the space belonging to | |
| 13982 | 14092 | the current line. | |
| 13983 | 14093 | ||
| @@ -13996,7 +14106,7 @@ may be gaps between the ranges returned by this function.</doc> | |||
| 13996 | 14106 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 13997 | 14107 | <doc xml:space="preserve" | |
| 13998 | 14108 | filename="pango/pango-layout.c" | |
| 13999 | - | line="7949">a `PangoLayoutIter`</doc> | |
| 14109 | + | line="7969">a `PangoLayoutIter`</doc> | |
| 14000 | 14110 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14001 | 14111 | </instance-parameter> | |
| 14002 | 14112 | <parameter name="y0_" | |
| @@ -14007,7 +14117,7 @@ may be gaps between the ranges returned by this function.</doc> | |||
| 14007 | 14117 | allow-none="1"> | |
| 14008 | 14118 | <doc xml:space="preserve" | |
| 14009 | 14119 | filename="pango/pango-layout.c" | |
| 14010 | - | line="7950">start of line</doc> | |
| 14120 | + | line="7970">start of line</doc> | |
| 14011 | 14121 | <type name="gint" c:type="int*"/> | |
| 14012 | 14122 | </parameter> | |
| 14013 | 14123 | <parameter name="y1_" | |
| @@ -14018,7 +14128,7 @@ may be gaps between the ranges returned by this function.</doc> | |||
| 14018 | 14128 | allow-none="1"> | |
| 14019 | 14129 | <doc xml:space="preserve" | |
| 14020 | 14130 | filename="pango/pango-layout.c" | |
| 14021 | - | line="7951">end of line</doc> | |
| 14131 | + | line="7971">end of line</doc> | |
| 14022 | 14132 | <type name="gint" c:type="int*"/> | |
| 14023 | 14133 | </parameter> | |
| 14024 | 14134 | </parameters> | |
| @@ -14026,7 +14136,7 @@ may be gaps between the ranges returned by this function.</doc> | |||
| 14026 | 14136 | <method name="get_run" c:identifier="pango_layout_iter_get_run"> | |
| 14027 | 14137 | <doc xml:space="preserve" | |
| 14028 | 14138 | filename="pango/pango-layout.c" | |
| 14029 | - | line="7323">Gets the current run. | |
| 14139 | + | line="7343">Gets the current run. | |
| 14030 | 14140 | ||
| 14031 | 14141 | When iterating by run, at the end of each line, there's a position | |
| 14032 | 14142 | with a %NULL run, so this function can return %NULL. The %NULL run | |
| @@ -14039,14 +14149,14 @@ plan to modify the contents of the run (glyphs, glyph widths, etc.).</doc> | |||
| 14039 | 14149 | <return-value transfer-ownership="none" nullable="1"> | |
| 14040 | 14150 | <doc xml:space="preserve" | |
| 14041 | 14151 | filename="pango/pango-layout.c" | |
| 14042 | - | line="7337">the current run</doc> | |
| 14152 | + | line="7357">the current run</doc> | |
| 14043 | 14153 | <type name="LayoutRun" c:type="PangoLayoutRun*"/> | |
| 14044 | 14154 | </return-value> | |
| 14045 | 14155 | <parameters> | |
| 14046 | 14156 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14047 | 14157 | <doc xml:space="preserve" | |
| 14048 | 14158 | filename="pango/pango-layout.c" | |
| 14049 | - | line="7325">a `PangoLayoutIter`</doc> | |
| 14159 | + | line="7345">a `PangoLayoutIter`</doc> | |
| 14050 | 14160 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14051 | 14161 | </instance-parameter> | |
| 14052 | 14162 | </parameters> | |
| @@ -14056,7 +14166,7 @@ plan to modify the contents of the run (glyphs, glyph widths, etc.).</doc> | |||
| 14056 | 14166 | version="1.50"> | |
| 14057 | 14167 | <doc xml:space="preserve" | |
| 14058 | 14168 | filename="pango/pango-layout.c" | |
| 14059 | - | line="8024">Gets the Y position of the current run's baseline, in layout | |
| 14169 | + | line="8044">Gets the Y position of the current run's baseline, in layout | |
| 14060 | 14170 | coordinates. | |
| 14061 | 14171 | ||
| 14062 | 14172 | Layout coordinates have the origin at the top left of the entire layout. | |
| @@ -14071,7 +14181,7 @@ example due to superscript or subscript positioning.</doc> | |||
| 14071 | 14181 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14072 | 14182 | <doc xml:space="preserve" | |
| 14073 | 14183 | filename="pango/pango-layout.c" | |
| 14074 | - | line="8026">a `PangoLayoutIter`</doc> | |
| 14184 | + | line="8046">a `PangoLayoutIter`</doc> | |
| 14075 | 14185 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14076 | 14186 | </instance-parameter> | |
| 14077 | 14187 | </parameters> | |
| @@ -14080,7 +14190,7 @@ example due to superscript or subscript positioning.</doc> | |||
| 14080 | 14190 | c:identifier="pango_layout_iter_get_run_extents"> | |
| 14081 | 14191 | <doc xml:space="preserve" | |
| 14082 | 14192 | filename="pango/pango-layout.c" | |
| 14083 | - | line="7834">Gets the extents of the current run in layout coordinates. | |
| 14193 | + | line="7854">Gets the extents of the current run in layout coordinates. | |
| 14084 | 14194 | ||
| 14085 | 14195 | Layout coordinates have the origin at the top left of the entire layout.</doc> | |
| 14086 | 14196 | <source-position filename="pango/pango-layout.h" line="533"/> | |
| @@ -14091,7 +14201,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 14091 | 14201 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14092 | 14202 | <doc xml:space="preserve" | |
| 14093 | 14203 | filename="pango/pango-layout.c" | |
| 14094 | - | line="7836">a `PangoLayoutIter`</doc> | |
| 14204 | + | line="7856">a `PangoLayoutIter`</doc> | |
| 14095 | 14205 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14096 | 14206 | </instance-parameter> | |
| 14097 | 14207 | <parameter name="ink_rect" | |
| @@ -14102,7 +14212,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 14102 | 14212 | allow-none="1"> | |
| 14103 | 14213 | <doc xml:space="preserve" | |
| 14104 | 14214 | filename="pango/pango-layout.c" | |
| 14105 | - | line="7837">rectangle to fill with ink extents</doc> | |
| 14215 | + | line="7857">rectangle to fill with ink extents</doc> | |
| 14106 | 14216 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 14107 | 14217 | </parameter> | |
| 14108 | 14218 | <parameter name="logical_rect" | |
| @@ -14113,7 +14223,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 14113 | 14223 | allow-none="1"> | |
| 14114 | 14224 | <doc xml:space="preserve" | |
| 14115 | 14225 | filename="pango/pango-layout.c" | |
| 14116 | - | line="7838">rectangle to fill with logical extents</doc> | |
| 14226 | + | line="7858">rectangle to fill with logical extents</doc> | |
| 14117 | 14227 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 14118 | 14228 | </parameter> | |
| 14119 | 14229 | </parameters> | |
| @@ -14123,7 +14233,7 @@ Layout coordinates have the origin at the top left of the entire layout.</doc> | |||
| 14123 | 14233 | version="1.16"> | |
| 14124 | 14234 | <doc xml:space="preserve" | |
| 14125 | 14235 | filename="pango/pango-layout.c" | |
| 14126 | - | line="7350">Gets the current run for read-only access. | |
| 14236 | + | line="7370">Gets the current run for read-only access. | |
| 14127 | 14237 | ||
| 14128 | 14238 | When iterating by run, at the end of each line, there's a position | |
| 14129 | 14239 | with a %NULL run, so this function can return %NULL. The %NULL run | |
| @@ -14137,7 +14247,7 @@ glyph widths, etc.).</doc> | |||
| 14137 | 14247 | <return-value transfer-ownership="none" nullable="1"> | |
| 14138 | 14248 | <doc xml:space="preserve" | |
| 14139 | 14249 | filename="pango/pango-layout.c" | |
| 14140 | - | line="7365">the current run, that | |
| 14250 | + | line="7385">the current run, that | |
| 14141 | 14251 | should not be modified</doc> | |
| 14142 | 14252 | <type name="LayoutRun" c:type="PangoLayoutRun*"/> | |
| 14143 | 14253 | </return-value> | |
| @@ -14145,7 +14255,7 @@ glyph widths, etc.).</doc> | |||
| 14145 | 14255 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14146 | 14256 | <doc xml:space="preserve" | |
| 14147 | 14257 | filename="pango/pango-layout.c" | |
| 14148 | - | line="7352">a `PangoLayoutIter`</doc> | |
| 14258 | + | line="7372">a `PangoLayoutIter`</doc> | |
| 14149 | 14259 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14150 | 14260 | </instance-parameter> | |
| 14151 | 14261 | </parameters> | |
| @@ -14153,21 +14263,21 @@ glyph widths, etc.).</doc> | |||
| 14153 | 14263 | <method name="next_char" c:identifier="pango_layout_iter_next_char"> | |
| 14154 | 14264 | <doc xml:space="preserve" | |
| 14155 | 14265 | filename="pango/pango-layout.c" | |
| 14156 | - | line="7580">Moves @iter forward to the next character in visual order. | |
| 14266 | + | line="7600">Moves @iter forward to the next character in visual order. | |
| 14157 | 14267 | ||
| 14158 | 14268 | If @iter was already at the end of the layout, returns %FALSE.</doc> | |
| 14159 | 14269 | <source-position filename="pango/pango-layout.h" line="517"/> | |
| 14160 | 14270 | <return-value transfer-ownership="none"> | |
| 14161 | 14271 | <doc xml:space="preserve" | |
| 14162 | 14272 | filename="pango/pango-layout.c" | |
| 14163 | - | line="7588">whether motion was possible</doc> | |
| 14273 | + | line="7608">whether motion was possible</doc> | |
| 14164 | 14274 | <type name="gboolean" c:type="gboolean"/> | |
| 14165 | 14275 | </return-value> | |
| 14166 | 14276 | <parameters> | |
| 14167 | 14277 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14168 | 14278 | <doc xml:space="preserve" | |
| 14169 | 14279 | filename="pango/pango-layout.c" | |
| 14170 | - | line="7582">a `PangoLayoutIter`</doc> | |
| 14280 | + | line="7602">a `PangoLayoutIter`</doc> | |
| 14171 | 14281 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14172 | 14282 | </instance-parameter> | |
| 14173 | 14283 | </parameters> | |
| @@ -14176,21 +14286,21 @@ If @iter was already at the end of the layout, returns %FALSE.</doc> | |||
| 14176 | 14286 | c:identifier="pango_layout_iter_next_cluster"> | |
| 14177 | 14287 | <doc xml:space="preserve" | |
| 14178 | 14288 | filename="pango/pango-layout.c" | |
| 14179 | - | line="7625">Moves @iter forward to the next cluster in visual order. | |
| 14289 | + | line="7645">Moves @iter forward to the next cluster in visual order. | |
| 14180 | 14290 | ||
| 14181 | 14291 | If @iter was already at the end of the layout, returns %FALSE.</doc> | |
| 14182 | 14292 | <source-position filename="pango/pango-layout.h" line="519"/> | |
| 14183 | 14293 | <return-value transfer-ownership="none"> | |
| 14184 | 14294 | <doc xml:space="preserve" | |
| 14185 | 14295 | filename="pango/pango-layout.c" | |
| 14186 | - | line="7633">whether motion was possible</doc> | |
| 14296 | + | line="7653">whether motion was possible</doc> | |
| 14187 | 14297 | <type name="gboolean" c:type="gboolean"/> | |
| 14188 | 14298 | </return-value> | |
| 14189 | 14299 | <parameters> | |
| 14190 | 14300 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14191 | 14301 | <doc xml:space="preserve" | |
| 14192 | 14302 | filename="pango/pango-layout.c" | |
| 14193 | - | line="7627">a `PangoLayoutIter`</doc> | |
| 14303 | + | line="7647">a `PangoLayoutIter`</doc> | |
| 14194 | 14304 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14195 | 14305 | </instance-parameter> | |
| 14196 | 14306 | </parameters> | |
| @@ -14198,21 +14308,21 @@ If @iter was already at the end of the layout, returns %FALSE.</doc> | |||
| 14198 | 14308 | <method name="next_line" c:identifier="pango_layout_iter_next_line"> | |
| 14199 | 14309 | <doc xml:space="preserve" | |
| 14200 | 14310 | filename="pango/pango-layout.c" | |
| 14201 | - | line="7686">Moves @iter forward to the start of the next line. | |
| 14311 | + | line="7706">Moves @iter forward to the start of the next line. | |
| 14202 | 14312 | ||
| 14203 | 14313 | If @iter is already on the last line, returns %FALSE.</doc> | |
| 14204 | 14314 | <source-position filename="pango/pango-layout.h" line="523"/> | |
| 14205 | 14315 | <return-value transfer-ownership="none"> | |
| 14206 | 14316 | <doc xml:space="preserve" | |
| 14207 | 14317 | filename="pango/pango-layout.c" | |
| 14208 | - | line="7694">whether motion was possible</doc> | |
| 14318 | + | line="7714">whether motion was possible</doc> | |
| 14209 | 14319 | <type name="gboolean" c:type="gboolean"/> | |
| 14210 | 14320 | </return-value> | |
| 14211 | 14321 | <parameters> | |
| 14212 | 14322 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14213 | 14323 | <doc xml:space="preserve" | |
| 14214 | 14324 | filename="pango/pango-layout.c" | |
| 14215 | - | line="7688">a `PangoLayoutIter`</doc> | |
| 14325 | + | line="7708">a `PangoLayoutIter`</doc> | |
| 14216 | 14326 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14217 | 14327 | </instance-parameter> | |
| 14218 | 14328 | </parameters> | |
| @@ -14220,21 +14330,21 @@ If @iter is already on the last line, returns %FALSE.</doc> | |||
| 14220 | 14330 | <method name="next_run" c:identifier="pango_layout_iter_next_run"> | |
| 14221 | 14331 | <doc xml:space="preserve" | |
| 14222 | 14332 | filename="pango/pango-layout.c" | |
| 14223 | - | line="7641">Moves @iter forward to the next run in visual order. | |
| 14333 | + | line="7661">Moves @iter forward to the next run in visual order. | |
| 14224 | 14334 | ||
| 14225 | 14335 | If @iter was already at the end of the layout, returns %FALSE.</doc> | |
| 14226 | 14336 | <source-position filename="pango/pango-layout.h" line="521"/> | |
| 14227 | 14337 | <return-value transfer-ownership="none"> | |
| 14228 | 14338 | <doc xml:space="preserve" | |
| 14229 | 14339 | filename="pango/pango-layout.c" | |
| 14230 | - | line="7649">whether motion was possible</doc> | |
| 14340 | + | line="7669">whether motion was possible</doc> | |
| 14231 | 14341 | <type name="gboolean" c:type="gboolean"/> | |
| 14232 | 14342 | </return-value> | |
| 14233 | 14343 | <parameters> | |
| 14234 | 14344 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 14235 | 14345 | <doc xml:space="preserve" | |
| 14236 | 14346 | filename="pango/pango-layout.c" | |
| 14237 | - | line="7643">a `PangoLayoutIter`</doc> | |
| 14347 | + | line="7663">a `PangoLayoutIter`</doc> | |
| 14238 | 14348 | <type name="LayoutIter" c:type="PangoLayoutIter*"/> | |
| 14239 | 14349 | </instance-parameter> | |
| 14240 | 14350 | </parameters> | |
| @@ -14296,7 +14406,7 @@ attributes, or settings of the parent `PangoLayout` are modified.</doc> | |||
| 14296 | 14406 | <method name="get_extents" c:identifier="pango_layout_line_get_extents"> | |
| 14297 | 14407 | <doc xml:space="preserve" | |
| 14298 | 14408 | filename="pango/pango-layout.c" | |
| 14299 | - | line="5914">Computes the logical and ink extents of a layout line. | |
| 14409 | + | line="5934">Computes the logical and ink extents of a layout line. | |
| 14300 | 14410 | ||
| 14301 | 14411 | See [method@Pango.Font.get_glyph_extents] for details | |
| 14302 | 14412 | about the interpretation of the rectangles.</doc> | |
| @@ -14308,7 +14418,7 @@ about the interpretation of the rectangles.</doc> | |||
| 14308 | 14418 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14309 | 14419 | <doc xml:space="preserve" | |
| 14310 | 14420 | filename="pango/pango-layout.c" | |
| 14311 | - | line="5916">a `PangoLayoutLine`</doc> | |
| 14421 | + | line="5936">a `PangoLayoutLine`</doc> | |
| 14312 | 14422 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14313 | 14423 | </instance-parameter> | |
| 14314 | 14424 | <parameter name="ink_rect" | |
| @@ -14319,7 +14429,7 @@ about the interpretation of the rectangles.</doc> | |||
| 14319 | 14429 | allow-none="1"> | |
| 14320 | 14430 | <doc xml:space="preserve" | |
| 14321 | 14431 | filename="pango/pango-layout.c" | |
| 14322 | - | line="5917">rectangle used to store the extents of | |
| 14432 | + | line="5937">rectangle used to store the extents of | |
| 14323 | 14433 | the glyph string as drawn</doc> | |
| 14324 | 14434 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 14325 | 14435 | </parameter> | |
| @@ -14331,7 +14441,7 @@ about the interpretation of the rectangles.</doc> | |||
| 14331 | 14441 | allow-none="1"> | |
| 14332 | 14442 | <doc xml:space="preserve" | |
| 14333 | 14443 | filename="pango/pango-layout.c" | |
| 14334 | - | line="5919">rectangle used to store the logical | |
| 14444 | + | line="5939">rectangle used to store the logical | |
| 14335 | 14445 | extents of the glyph string</doc> | |
| 14336 | 14446 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 14337 | 14447 | </parameter> | |
| @@ -14342,7 +14452,7 @@ about the interpretation of the rectangles.</doc> | |||
| 14342 | 14452 | version="1.44"> | |
| 14343 | 14453 | <doc xml:space="preserve" | |
| 14344 | 14454 | filename="pango/pango-layout.c" | |
| 14345 | - | line="5935">Computes the height of the line, as the maximum of the heights | |
| 14455 | + | line="5955">Computes the height of the line, as the maximum of the heights | |
| 14346 | 14456 | of fonts used in this line. | |
| 14347 | 14457 | ||
| 14348 | 14458 | Note that the actual baseline-to-baseline distance between lines | |
| @@ -14357,7 +14467,7 @@ of text is influenced by other factors, such as | |||
| 14357 | 14467 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14358 | 14468 | <doc xml:space="preserve" | |
| 14359 | 14469 | filename="pango/pango-layout.c" | |
| 14360 | - | line="5937">a `PangoLayoutLine`</doc> | |
| 14470 | + | line="5957">a `PangoLayoutLine`</doc> | |
| 14361 | 14471 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14362 | 14472 | </instance-parameter> | |
| 14363 | 14473 | <parameter name="height" | |
| @@ -14368,7 +14478,7 @@ of text is influenced by other factors, such as | |||
| 14368 | 14478 | allow-none="1"> | |
| 14369 | 14479 | <doc xml:space="preserve" | |
| 14370 | 14480 | filename="pango/pango-layout.c" | |
| 14371 | - | line="5938">return location for the line height</doc> | |
| 14481 | + | line="5958">return location for the line height</doc> | |
| 14372 | 14482 | <type name="gint" c:type="int*"/> | |
| 14373 | 14483 | </parameter> | |
| 14374 | 14484 | </parameters> | |
| @@ -14378,19 +14488,19 @@ of text is influenced by other factors, such as | |||
| 14378 | 14488 | version="1.50"> | |
| 14379 | 14489 | <doc xml:space="preserve" | |
| 14380 | 14490 | filename="pango/pango-layout.c" | |
| 14381 | - | line="5071">Returns the length of the line, in bytes.</doc> | |
| 14491 | + | line="5091">Returns the length of the line, in bytes.</doc> | |
| 14382 | 14492 | <source-position filename="pango/pango-layout.h" line="452"/> | |
| 14383 | 14493 | <return-value transfer-ownership="none"> | |
| 14384 | 14494 | <doc xml:space="preserve" | |
| 14385 | 14495 | filename="pango/pango-layout.c" | |
| 14386 | - | line="5077">the length of the line</doc> | |
| 14496 | + | line="5097">the length of the line</doc> | |
| 14387 | 14497 | <type name="gint" c:type="int"/> | |
| 14388 | 14498 | </return-value> | |
| 14389 | 14499 | <parameters> | |
| 14390 | 14500 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14391 | 14501 | <doc xml:space="preserve" | |
| 14392 | 14502 | filename="pango/pango-layout.c" | |
| 14393 | - | line="5073">a `PangoLayoutLine`</doc> | |
| 14503 | + | line="5093">a `PangoLayoutLine`</doc> | |
| 14394 | 14504 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14395 | 14505 | </instance-parameter> | |
| 14396 | 14506 | </parameters> | |
| @@ -14399,7 +14509,7 @@ of text is influenced by other factors, such as | |||
| 14399 | 14509 | c:identifier="pango_layout_line_get_pixel_extents"> | |
| 14400 | 14510 | <doc xml:space="preserve" | |
| 14401 | 14511 | filename="pango/pango-layout.c" | |
| 14402 | - | line="5974">Computes the logical and ink extents of @layout_line in device units. | |
| 14512 | + | line="5994">Computes the logical and ink extents of @layout_line in device units. | |
| 14403 | 14513 | ||
| 14404 | 14514 | This function just calls [method@Pango.LayoutLine.get_extents] followed by | |
| 14405 | 14515 | two [func@extents_to_pixels] calls, rounding @ink_rect and @logical_rect | |
| @@ -14413,7 +14523,7 @@ passes them as first argument to [func@extents_to_pixels]).</doc> | |||
| 14413 | 14523 | <instance-parameter name="layout_line" transfer-ownership="none"> | |
| 14414 | 14524 | <doc xml:space="preserve" | |
| 14415 | 14525 | filename="pango/pango-layout.c" | |
| 14416 | - | line="5976">a `PangoLayoutLine`</doc> | |
| 14526 | + | line="5996">a `PangoLayoutLine`</doc> | |
| 14417 | 14527 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14418 | 14528 | </instance-parameter> | |
| 14419 | 14529 | <parameter name="ink_rect" | |
| @@ -14424,7 +14534,7 @@ passes them as first argument to [func@extents_to_pixels]).</doc> | |||
| 14424 | 14534 | allow-none="1"> | |
| 14425 | 14535 | <doc xml:space="preserve" | |
| 14426 | 14536 | filename="pango/pango-layout.c" | |
| 14427 | - | line="5977">rectangle used to store the extents of | |
| 14537 | + | line="5997">rectangle used to store the extents of | |
| 14428 | 14538 | the glyph string as drawn</doc> | |
| 14429 | 14539 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 14430 | 14540 | </parameter> | |
| @@ -14436,7 +14546,7 @@ passes them as first argument to [func@extents_to_pixels]).</doc> | |||
| 14436 | 14546 | allow-none="1"> | |
| 14437 | 14547 | <doc xml:space="preserve" | |
| 14438 | 14548 | filename="pango/pango-layout.c" | |
| 14439 | - | line="5979">rectangle used to store the logical | |
| 14549 | + | line="5999">rectangle used to store the logical | |
| 14440 | 14550 | extents of the glyph string</doc> | |
| 14441 | 14551 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 14442 | 14552 | </parameter> | |
| @@ -14447,19 +14557,19 @@ passes them as first argument to [func@extents_to_pixels]).</doc> | |||
| 14447 | 14557 | version="1.50"> | |
| 14448 | 14558 | <doc xml:space="preserve" | |
| 14449 | 14559 | filename="pango/pango-layout.c" | |
| 14450 | - | line="5103">Returns the resolved direction of the line.</doc> | |
| 14560 | + | line="5123">Returns the resolved direction of the line.</doc> | |
| 14451 | 14561 | <source-position filename="pango/pango-layout.h" line="456"/> | |
| 14452 | 14562 | <return-value transfer-ownership="none"> | |
| 14453 | 14563 | <doc xml:space="preserve" | |
| 14454 | 14564 | filename="pango/pango-layout.c" | |
| 14455 | - | line="5109">the resolved direction of the line</doc> | |
| 14565 | + | line="5129">the resolved direction of the line</doc> | |
| 14456 | 14566 | <type name="Direction" c:type="PangoDirection"/> | |
| 14457 | 14567 | </return-value> | |
| 14458 | 14568 | <parameters> | |
| 14459 | 14569 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14460 | 14570 | <doc xml:space="preserve" | |
| 14461 | 14571 | filename="pango/pango-layout.c" | |
| 14462 | - | line="5105">a `PangoLayoutLine`</doc> | |
| 14572 | + | line="5125">a `PangoLayoutLine`</doc> | |
| 14463 | 14573 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14464 | 14574 | </instance-parameter> | |
| 14465 | 14575 | </parameters> | |
| @@ -14469,20 +14579,20 @@ passes them as first argument to [func@extents_to_pixels]).</doc> | |||
| 14469 | 14579 | version="1.50"> | |
| 14470 | 14580 | <doc xml:space="preserve" | |
| 14471 | 14581 | filename="pango/pango-layout.c" | |
| 14472 | - | line="5054">Returns the start index of the line, as byte index | |
| 14582 | + | line="5074">Returns the start index of the line, as byte index | |
| 14473 | 14583 | into the text of the layout.</doc> | |
| 14474 | 14584 | <source-position filename="pango/pango-layout.h" line="450"/> | |
| 14475 | 14585 | <return-value transfer-ownership="none"> | |
| 14476 | 14586 | <doc xml:space="preserve" | |
| 14477 | 14587 | filename="pango/pango-layout.c" | |
| 14478 | - | line="5061">the start index of the line</doc> | |
| 14588 | + | line="5081">the start index of the line</doc> | |
| 14479 | 14589 | <type name="gint" c:type="int"/> | |
| 14480 | 14590 | </return-value> | |
| 14481 | 14591 | <parameters> | |
| 14482 | 14592 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14483 | 14593 | <doc xml:space="preserve" | |
| 14484 | 14594 | filename="pango/pango-layout.c" | |
| 14485 | - | line="5056">a `PangoLayoutLine`</doc> | |
| 14595 | + | line="5076">a `PangoLayoutLine`</doc> | |
| 14486 | 14596 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14487 | 14597 | </instance-parameter> | |
| 14488 | 14598 | </parameters> | |
| @@ -14491,7 +14601,7 @@ into the text of the layout.</doc> | |||
| 14491 | 14601 | c:identifier="pango_layout_line_get_x_ranges"> | |
| 14492 | 14602 | <doc xml:space="preserve" | |
| 14493 | 14603 | filename="pango/pango-layout.c" | |
| 14494 | - | line="5338">Gets a list of visual ranges corresponding to a given logical range. | |
| 14604 | + | line="5358">Gets a list of visual ranges corresponding to a given logical range. | |
| 14495 | 14605 | ||
| 14496 | 14606 | This list is not necessarily minimal - there may be consecutive | |
| 14497 | 14607 | ranges which are adjacent. The ranges will be sorted from left to | |
| @@ -14505,13 +14615,13 @@ layout, not with respect to the line.</doc> | |||
| 14505 | 14615 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14506 | 14616 | <doc xml:space="preserve" | |
| 14507 | 14617 | filename="pango/pango-layout.c" | |
| 14508 | - | line="5340">a `PangoLayoutLine`</doc> | |
| 14618 | + | line="5360">a `PangoLayoutLine`</doc> | |
| 14509 | 14619 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14510 | 14620 | </instance-parameter> | |
| 14511 | 14621 | <parameter name="start_index" transfer-ownership="none"> | |
| 14512 | 14622 | <doc xml:space="preserve" | |
| 14513 | 14623 | filename="pango/pango-layout.c" | |
| 14514 | - | line="5341">Start byte index of the logical range. If this value | |
| 14624 | + | line="5361">Start byte index of the logical range. If this value | |
| 14515 | 14625 | is less than the start index for the line, then the first range | |
| 14516 | 14626 | will extend all the way to the leading edge of the layout. Otherwise, | |
| 14517 | 14627 | it will start at the leading edge of the first character.</doc> | |
| @@ -14520,7 +14630,7 @@ layout, not with respect to the line.</doc> | |||
| 14520 | 14630 | <parameter name="end_index" transfer-ownership="none"> | |
| 14521 | 14631 | <doc xml:space="preserve" | |
| 14522 | 14632 | filename="pango/pango-layout.c" | |
| 14523 | - | line="5345">Ending byte index of the logical range. If this value is | |
| 14633 | + | line="5365">Ending byte index of the logical range. If this value is | |
| 14524 | 14634 | greater than the end index for the line, then the last range will | |
| 14525 | 14635 | extend all the way to the trailing edge of the layout. Otherwise, | |
| 14526 | 14636 | it will end at the trailing edge of the last character.</doc> | |
| @@ -14532,7 +14642,7 @@ layout, not with respect to the line.</doc> | |||
| 14532 | 14642 | transfer-ownership="full"> | |
| 14533 | 14643 | <doc xml:space="preserve" | |
| 14534 | 14644 | filename="pango/pango-layout.c" | |
| 14535 | - | line="5349">location to | |
| 14645 | + | line="5369">location to | |
| 14536 | 14646 | store a pointer to an array of ranges. The array will be of length | |
| 14537 | 14647 | `2*n_ranges`, with each range starting at `(*ranges)[2*n]` and of | |
| 14538 | 14648 | width `(*ranges)[2*n + 1] - (*ranges)[2*n]`. This array must be freed | |
| @@ -14548,7 +14658,7 @@ layout, not with respect to the line.</doc> | |||
| 14548 | 14658 | transfer-ownership="full"> | |
| 14549 | 14659 | <doc xml:space="preserve" | |
| 14550 | 14660 | filename="pango/pango-layout.c" | |
| 14551 | - | line="5355">The number of ranges stored in @ranges</doc> | |
| 14661 | + | line="5375">The number of ranges stored in @ranges</doc> | |
| 14552 | 14662 | <type name="gint" c:type="int*"/> | |
| 14553 | 14663 | </parameter> | |
| 14554 | 14664 | </parameters> | |
| @@ -14598,19 +14708,19 @@ layout, not with respect to the line.</doc> | |||
| 14598 | 14708 | version="1.50"> | |
| 14599 | 14709 | <doc xml:space="preserve" | |
| 14600 | 14710 | filename="pango/pango-layout.c" | |
| 14601 | - | line="5087">Returns whether this is the first line of the paragraph.</doc> | |
| 14711 | + | line="5107">Returns whether this is the first line of the paragraph.</doc> | |
| 14602 | 14712 | <source-position filename="pango/pango-layout.h" line="454"/> | |
| 14603 | 14713 | <return-value transfer-ownership="none"> | |
| 14604 | 14714 | <doc xml:space="preserve" | |
| 14605 | 14715 | filename="pango/pango-layout.c" | |
| 14606 | - | line="5093">%TRUE if this is the first line</doc> | |
| 14716 | + | line="5113">%TRUE if this is the first line</doc> | |
| 14607 | 14717 | <type name="gboolean" c:type="gboolean"/> | |
| 14608 | 14718 | </return-value> | |
| 14609 | 14719 | <parameters> | |
| 14610 | 14720 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14611 | 14721 | <doc xml:space="preserve" | |
| 14612 | 14722 | filename="pango/pango-layout.c" | |
| 14613 | - | line="5089">a `PangoLayoutLine`</doc> | |
| 14723 | + | line="5109">a `PangoLayoutLine`</doc> | |
| 14614 | 14724 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14615 | 14725 | </instance-parameter> | |
| 14616 | 14726 | </parameters> | |
| @@ -14618,12 +14728,12 @@ layout, not with respect to the line.</doc> | |||
| 14618 | 14728 | <method name="ref" c:identifier="pango_layout_line_ref" version="1.10"> | |
| 14619 | 14729 | <doc xml:space="preserve" | |
| 14620 | 14730 | filename="pango/pango-layout.c" | |
| 14621 | - | line="5000">Increase the reference count of a `PangoLayoutLine` by one.</doc> | |
| 14731 | + | line="5020">Increase the reference count of a `PangoLayoutLine` by one.</doc> | |
| 14622 | 14732 | <source-position filename="pango/pango-layout.h" line="445"/> | |
| 14623 | 14733 | <return-value transfer-ownership="full" nullable="1"> | |
| 14624 | 14734 | <doc xml:space="preserve" | |
| 14625 | 14735 | filename="pango/pango-layout.c" | |
| 14626 | - | line="5006">the line passed in.</doc> | |
| 14736 | + | line="5026">the line passed in.</doc> | |
| 14627 | 14737 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14628 | 14738 | </return-value> | |
| 14629 | 14739 | <parameters> | |
| @@ -14633,7 +14743,7 @@ layout, not with respect to the line.</doc> | |||
| 14633 | 14743 | allow-none="1"> | |
| 14634 | 14744 | <doc xml:space="preserve" | |
| 14635 | 14745 | filename="pango/pango-layout.c" | |
| 14636 | - | line="5002">a `PangoLayoutLine`</doc> | |
| 14746 | + | line="5022">a `PangoLayoutLine`</doc> | |
| 14637 | 14747 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14638 | 14748 | </instance-parameter> | |
| 14639 | 14749 | </parameters> | |
| @@ -14641,7 +14751,7 @@ layout, not with respect to the line.</doc> | |||
| 14641 | 14751 | <method name="unref" c:identifier="pango_layout_line_unref"> | |
| 14642 | 14752 | <doc xml:space="preserve" | |
| 14643 | 14753 | filename="pango/pango-layout.c" | |
| 14644 | - | line="5023">Decrease the reference count of a `PangoLayoutLine` by one. | |
| 14754 | + | line="5043">Decrease the reference count of a `PangoLayoutLine` by one. | |
| 14645 | 14755 | ||
| 14646 | 14756 | If the result is zero, the line and all associated memory | |
| 14647 | 14757 | will be freed.</doc> | |
| @@ -14653,7 +14763,7 @@ will be freed.</doc> | |||
| 14653 | 14763 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14654 | 14764 | <doc xml:space="preserve" | |
| 14655 | 14765 | filename="pango/pango-layout.c" | |
| 14656 | - | line="5025">a `PangoLayoutLine`</doc> | |
| 14766 | + | line="5045">a `PangoLayoutLine`</doc> | |
| 14657 | 14767 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14658 | 14768 | </instance-parameter> | |
| 14659 | 14769 | </parameters> | |
| @@ -14661,7 +14771,7 @@ will be freed.</doc> | |||
| 14661 | 14771 | <method name="x_to_index" c:identifier="pango_layout_line_x_to_index"> | |
| 14662 | 14772 | <doc xml:space="preserve" | |
| 14663 | 14773 | filename="pango/pango-layout.c" | |
| 14664 | - | line="5119">Converts from x offset to the byte index of the corresponding character | |
| 14774 | + | line="5139">Converts from x offset to the byte index of the corresponding character | |
| 14665 | 14775 | within the text of the layout. | |
| 14666 | 14776 | ||
| 14667 | 14777 | If @x_pos is outside the line, @index_ and @trailing will point to the very | |
| @@ -14676,20 +14786,20 @@ grapheme. The reverse is true for a left-to-right line.</doc> | |||
| 14676 | 14786 | <return-value transfer-ownership="none"> | |
| 14677 | 14787 | <doc xml:space="preserve" | |
| 14678 | 14788 | filename="pango/pango-layout.c" | |
| 14679 | - | line="5141">%FALSE if @x_pos was outside the line, %TRUE if inside</doc> | |
| 14789 | + | line="5161">%FALSE if @x_pos was outside the line, %TRUE if inside</doc> | |
| 14680 | 14790 | <type name="gboolean" c:type="gboolean"/> | |
| 14681 | 14791 | </return-value> | |
| 14682 | 14792 | <parameters> | |
| 14683 | 14793 | <instance-parameter name="line" transfer-ownership="none"> | |
| 14684 | 14794 | <doc xml:space="preserve" | |
| 14685 | 14795 | filename="pango/pango-layout.c" | |
| 14686 | - | line="5121">a `PangoLayoutLine`</doc> | |
| 14796 | + | line="5141">a `PangoLayoutLine`</doc> | |
| 14687 | 14797 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 14688 | 14798 | </instance-parameter> | |
| 14689 | 14799 | <parameter name="x_pos" transfer-ownership="none"> | |
| 14690 | 14800 | <doc xml:space="preserve" | |
| 14691 | 14801 | filename="pango/pango-layout.c" | |
| 14692 | - | line="5122">the X offset (in Pango units) from the left edge of the line.</doc> | |
| 14802 | + | line="5142">the X offset (in Pango units) from the left edge of the line.</doc> | |
| 14693 | 14803 | <type name="gint" c:type="int"/> | |
| 14694 | 14804 | </parameter> | |
| 14695 | 14805 | <parameter name="index_" | |
| @@ -14698,7 +14808,7 @@ grapheme. The reverse is true for a left-to-right line.</doc> | |||
| 14698 | 14808 | transfer-ownership="full"> | |
| 14699 | 14809 | <doc xml:space="preserve" | |
| 14700 | 14810 | filename="pango/pango-layout.c" | |
| 14701 | - | line="5123">location to store calculated byte index for the grapheme | |
| 14811 | + | line="5143">location to store calculated byte index for the grapheme | |
| 14702 | 14812 | in which the user clicked</doc> | |
| 14703 | 14813 | <type name="gint" c:type="int*"/> | |
| 14704 | 14814 | </parameter> | |
| @@ -14708,7 +14818,7 @@ grapheme. The reverse is true for a left-to-right line.</doc> | |||
| 14708 | 14818 | transfer-ownership="full"> | |
| 14709 | 14819 | <doc xml:space="preserve" | |
| 14710 | 14820 | filename="pango/pango-layout.c" | |
| 14711 | - | line="5125">location to store an integer indicating where in the | |
| 14821 | + | line="5145">location to store an integer indicating where in the | |
| 14712 | 14822 | grapheme the user clicked. It will either be zero, or the number of | |
| 14713 | 14823 | characters in the grapheme. 0 represents the leading edge of the grapheme.</doc> | |
| 14714 | 14824 | <type name="gint" c:type="int*"/> | |
| @@ -15639,7 +15749,7 @@ backends and destinations can be created.</doc> | |||
| 15639 | 15749 | version="1.8"> | |
| 15640 | 15750 | <doc xml:space="preserve" | |
| 15641 | 15751 | filename="pango/pango-renderer.c" | |
| 15642 | - | line="1015">Draw a squiggly line that approximately covers the given rectangle | |
| 15752 | + | line="1014">Draw a squiggly line that approximately covers the given rectangle | |
| 15643 | 15753 | in the style of an underline used to indicate a spelling error. | |
| 15644 | 15754 | ||
| 15645 | 15755 | The width of the underline is rounded to an integer number | |
| @@ -15656,31 +15766,31 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 15656 | 15766 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 15657 | 15767 | <doc xml:space="preserve" | |
| 15658 | 15768 | filename="pango/pango-renderer.c" | |
| 15659 | - | line="1017">a `PangoRenderer`</doc> | |
| 15769 | + | line="1016">a `PangoRenderer`</doc> | |
| 15660 | 15770 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 15661 | 15771 | </instance-parameter> | |
| 15662 | 15772 | <parameter name="x" transfer-ownership="none"> | |
| 15663 | 15773 | <doc xml:space="preserve" | |
| 15664 | 15774 | filename="pango/pango-renderer.c" | |
| 15665 | - | line="1018">X coordinate of underline, in Pango units in user coordinate system</doc> | |
| 15775 | + | line="1017">X coordinate of underline, in Pango units in user coordinate system</doc> | |
| 15666 | 15776 | <type name="gint" c:type="int"/> | |
| 15667 | 15777 | </parameter> | |
| 15668 | 15778 | <parameter name="y" transfer-ownership="none"> | |
| 15669 | 15779 | <doc xml:space="preserve" | |
| 15670 | 15780 | filename="pango/pango-renderer.c" | |
| 15671 | - | line="1019">Y coordinate of underline, in Pango units in user coordinate system</doc> | |
| 15781 | + | line="1018">Y coordinate of underline, in Pango units in user coordinate system</doc> | |
| 15672 | 15782 | <type name="gint" c:type="int"/> | |
| 15673 | 15783 | </parameter> | |
| 15674 | 15784 | <parameter name="width" transfer-ownership="none"> | |
| 15675 | 15785 | <doc xml:space="preserve" | |
| 15676 | 15786 | filename="pango/pango-renderer.c" | |
| 15677 | - | line="1020">width of underline, in Pango units in user coordinate system</doc> | |
| 15787 | + | line="1019">width of underline, in Pango units in user coordinate system</doc> | |
| 15678 | 15788 | <type name="gint" c:type="int"/> | |
| 15679 | 15789 | </parameter> | |
| 15680 | 15790 | <parameter name="height" transfer-ownership="none"> | |
| 15681 | 15791 | <doc xml:space="preserve" | |
| 15682 | 15792 | filename="pango/pango-renderer.c" | |
| 15683 | - | line="1021">height of underline, in Pango units in user coordinate system</doc> | |
| 15793 | + | line="1020">height of underline, in Pango units in user coordinate system</doc> | |
| 15684 | 15794 | <type name="gint" c:type="int"/> | |
| 15685 | 15795 | </parameter> | |
| 15686 | 15796 | </parameters> | |
| @@ -15688,7 +15798,7 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 15688 | 15798 | <virtual-method name="draw_glyph" invoker="draw_glyph" version="1.8"> | |
| 15689 | 15799 | <doc xml:space="preserve" | |
| 15690 | 15800 | filename="pango/pango-renderer.c" | |
| 15691 | - | line="1210">Draws a single glyph with coordinates in device space.</doc> | |
| 15801 | + | line="1209">Draws a single glyph with coordinates in device space.</doc> | |
| 15692 | 15802 | <source-position filename="pango/pango-renderer.h" line="168"/> | |
| 15693 | 15803 | <return-value transfer-ownership="none"> | |
| 15694 | 15804 | <type name="none" c:type="void"/> | |
| @@ -15697,31 +15807,31 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 15697 | 15807 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 15698 | 15808 | <doc xml:space="preserve" | |
| 15699 | 15809 | filename="pango/pango-renderer.c" | |
| 15700 | - | line="1212">a `PangoRenderer`</doc> | |
| 15810 | + | line="1211">a `PangoRenderer`</doc> | |
| 15701 | 15811 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 15702 | 15812 | </instance-parameter> | |
| 15703 | 15813 | <parameter name="font" transfer-ownership="none"> | |
| 15704 | 15814 | <doc xml:space="preserve" | |
| 15705 | 15815 | filename="pango/pango-renderer.c" | |
| 15706 | - | line="1213">a `PangoFont`</doc> | |
| 15816 | + | line="1212">a `PangoFont`</doc> | |
| 15707 | 15817 | <type name="Font" c:type="PangoFont*"/> | |
| 15708 | 15818 | </parameter> | |
| 15709 | 15819 | <parameter name="glyph" transfer-ownership="none"> | |
| 15710 | 15820 | <doc xml:space="preserve" | |
| 15711 | 15821 | filename="pango/pango-renderer.c" | |
| 15712 | - | line="1214">the glyph index of a single glyph</doc> | |
| 15822 | + | line="1213">the glyph index of a single glyph</doc> | |
| 15713 | 15823 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 15714 | 15824 | </parameter> | |
| 15715 | 15825 | <parameter name="x" transfer-ownership="none"> | |
| 15716 | 15826 | <doc xml:space="preserve" | |
| 15717 | 15827 | filename="pango/pango-renderer.c" | |
| 15718 | - | line="1215">X coordinate of left edge of baseline of glyph</doc> | |
| 15828 | + | line="1214">X coordinate of left edge of baseline of glyph</doc> | |
| 15719 | 15829 | <type name="gdouble" c:type="double"/> | |
| 15720 | 15830 | </parameter> | |
| 15721 | 15831 | <parameter name="y" transfer-ownership="none"> | |
| 15722 | 15832 | <doc xml:space="preserve" | |
| 15723 | 15833 | filename="pango/pango-renderer.c" | |
| 15724 | - | line="1216">Y coordinate of left edge of baseline of glyph</doc> | |
| 15834 | + | line="1215">Y coordinate of left edge of baseline of glyph</doc> | |
| 15725 | 15835 | <type name="gdouble" c:type="double"/> | |
| 15726 | 15836 | </parameter> | |
| 15727 | 15837 | </parameters> | |
| @@ -15731,7 +15841,7 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 15731 | 15841 | version="1.22"> | |
| 15732 | 15842 | <doc xml:space="preserve" | |
| 15733 | 15843 | filename="pango/pango-renderer.c" | |
| 15734 | - | line="805">Draws the glyphs in @glyph_item with the specified `PangoRenderer`, | |
| 15844 | + | line="804">Draws the glyphs in @glyph_item with the specified `PangoRenderer`, | |
| 15735 | 15845 | embedding the text associated with the glyphs in the output if the | |
| 15736 | 15846 | output format supports it. | |
| 15737 | 15847 | ||
| @@ -15757,7 +15867,7 @@ The default implementation of this method simply falls back to | |||
| 15757 | 15867 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 15758 | 15868 | <doc xml:space="preserve" | |
| 15759 | 15869 | filename="pango/pango-renderer.c" | |
| 15760 | - | line="807">a `PangoRenderer`</doc> | |
| 15870 | + | line="806">a `PangoRenderer`</doc> | |
| 15761 | 15871 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 15762 | 15872 | </instance-parameter> | |
| 15763 | 15873 | <parameter name="text" | |
| @@ -15766,26 +15876,26 @@ The default implementation of this method simply falls back to | |||
| 15766 | 15876 | allow-none="1"> | |
| 15767 | 15877 | <doc xml:space="preserve" | |
| 15768 | 15878 | filename="pango/pango-renderer.c" | |
| 15769 | - | line="808">the UTF-8 text that @glyph_item refers to</doc> | |
| 15879 | + | line="807">the UTF-8 text that @glyph_item refers to</doc> | |
| 15770 | 15880 | <type name="utf8" c:type="const char*"/> | |
| 15771 | 15881 | </parameter> | |
| 15772 | 15882 | <parameter name="glyph_item" transfer-ownership="none"> | |
| 15773 | 15883 | <doc xml:space="preserve" | |
| 15774 | 15884 | filename="pango/pango-renderer.c" | |
| 15775 | - | line="809">a `PangoGlyphItem`</doc> | |
| 15885 | + | line="808">a `PangoGlyphItem`</doc> | |
| 15776 | 15886 | <type name="GlyphItem" c:type="PangoGlyphItem*"/> | |
| 15777 | 15887 | </parameter> | |
| 15778 | 15888 | <parameter name="x" transfer-ownership="none"> | |
| 15779 | 15889 | <doc xml:space="preserve" | |
| 15780 | 15890 | filename="pango/pango-renderer.c" | |
| 15781 | - | line="810">X position of left edge of baseline, in user space coordinates | |
| 15891 | + | line="809">X position of left edge of baseline, in user space coordinates | |
| 15782 | 15892 | in Pango units</doc> | |
| 15783 | 15893 | <type name="gint" c:type="int"/> | |
| 15784 | 15894 | </parameter> | |
| 15785 | 15895 | <parameter name="y" transfer-ownership="none"> | |
| 15786 | 15896 | <doc xml:space="preserve" | |
| 15787 | 15897 | filename="pango/pango-renderer.c" | |
| 15788 | - | line="812">Y position of left edge of baseline, in user space coordinates | |
| 15898 | + | line="811">Y position of left edge of baseline, in user space coordinates | |
| 15789 | 15899 | in Pango units</doc> | |
| 15790 | 15900 | <type name="gint" c:type="int"/> | |
| 15791 | 15901 | </parameter> | |
| @@ -15794,7 +15904,7 @@ The default implementation of this method simply falls back to | |||
| 15794 | 15904 | <virtual-method name="draw_glyphs" invoker="draw_glyphs" version="1.8"> | |
| 15795 | 15905 | <doc xml:space="preserve" | |
| 15796 | 15906 | filename="pango/pango-renderer.c" | |
| 15797 | - | line="749">Draws the glyphs in @glyphs with the specified `PangoRenderer`.</doc> | |
| 15907 | + | line="748">Draws the glyphs in @glyphs with the specified `PangoRenderer`.</doc> | |
| 15798 | 15908 | <source-position filename="pango/pango-renderer.h" line="139"/> | |
| 15799 | 15909 | <return-value transfer-ownership="none"> | |
| 15800 | 15910 | <type name="none" c:type="void"/> | |
| @@ -15803,32 +15913,32 @@ The default implementation of this method simply falls back to | |||
| 15803 | 15913 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 15804 | 15914 | <doc xml:space="preserve" | |
| 15805 | 15915 | filename="pango/pango-renderer.c" | |
| 15806 | - | line="751">a `PangoRenderer`</doc> | |
| 15916 | + | line="750">a `PangoRenderer`</doc> | |
| 15807 | 15917 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 15808 | 15918 | </instance-parameter> | |
| 15809 | 15919 | <parameter name="font" transfer-ownership="none"> | |
| 15810 | 15920 | <doc xml:space="preserve" | |
| 15811 | 15921 | filename="pango/pango-renderer.c" | |
| 15812 | - | line="752">a `PangoFont`</doc> | |
| 15922 | + | line="751">a `PangoFont`</doc> | |
| 15813 | 15923 | <type name="Font" c:type="PangoFont*"/> | |
| 15814 | 15924 | </parameter> | |
| 15815 | 15925 | <parameter name="glyphs" transfer-ownership="none"> | |
| 15816 | 15926 | <doc xml:space="preserve" | |
| 15817 | 15927 | filename="pango/pango-renderer.c" | |
| 15818 | - | line="753">a `PangoGlyphString`</doc> | |
| 15928 | + | line="752">a `PangoGlyphString`</doc> | |
| 15819 | 15929 | <type name="GlyphString" c:type="PangoGlyphString*"/> | |
| 15820 | 15930 | </parameter> | |
| 15821 | 15931 | <parameter name="x" transfer-ownership="none"> | |
| 15822 | 15932 | <doc xml:space="preserve" | |
| 15823 | 15933 | filename="pango/pango-renderer.c" | |
| 15824 | - | line="754">X position of left edge of baseline, in user space coordinates | |
| 15934 | + | line="753">X position of left edge of baseline, in user space coordinates | |
| 15825 | 15935 | in Pango units.</doc> | |
| 15826 | 15936 | <type name="gint" c:type="int"/> | |
| 15827 | 15937 | </parameter> | |
| 15828 | 15938 | <parameter name="y" transfer-ownership="none"> | |
| 15829 | 15939 | <doc xml:space="preserve" | |
| 15830 | 15940 | filename="pango/pango-renderer.c" | |
| 15831 | - | line="756">Y position of left edge of baseline, in user space coordinates | |
| 15941 | + | line="755">Y position of left edge of baseline, in user space coordinates | |
| 15832 | 15942 | in Pango units.</doc> | |
| 15833 | 15943 | <type name="gint" c:type="int"/> | |
| 15834 | 15944 | </parameter> | |
| @@ -15839,7 +15949,7 @@ The default implementation of this method simply falls back to | |||
| 15839 | 15949 | version="1.8"> | |
| 15840 | 15950 | <doc xml:space="preserve" | |
| 15841 | 15951 | filename="pango/pango-renderer.c" | |
| 15842 | - | line="874">Draws an axis-aligned rectangle in user space coordinates with the | |
| 15952 | + | line="873">Draws an axis-aligned rectangle in user space coordinates with the | |
| 15843 | 15953 | specified `PangoRenderer`. | |
| 15844 | 15954 | ||
| 15845 | 15955 | This should be called while @renderer is already active. | |
| @@ -15852,39 +15962,39 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 15852 | 15962 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 15853 | 15963 | <doc xml:space="preserve" | |
| 15854 | 15964 | filename="pango/pango-renderer.c" | |
| 15855 | - | line="876">a `PangoRenderer`</doc> | |
| 15965 | + | line="875">a `PangoRenderer`</doc> | |
| 15856 | 15966 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 15857 | 15967 | </instance-parameter> | |
| 15858 | 15968 | <parameter name="part" transfer-ownership="none"> | |
| 15859 | 15969 | <doc xml:space="preserve" | |
| 15860 | 15970 | filename="pango/pango-renderer.c" | |
| 15861 | - | line="877">type of object this rectangle is part of</doc> | |
| 15971 | + | line="876">type of object this rectangle is part of</doc> | |
| 15862 | 15972 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 15863 | 15973 | </parameter> | |
| 15864 | 15974 | <parameter name="x" transfer-ownership="none"> | |
| 15865 | 15975 | <doc xml:space="preserve" | |
| 15866 | 15976 | filename="pango/pango-renderer.c" | |
| 15867 | - | line="878">X position at which to draw rectangle, in user space coordinates | |
| 15977 | + | line="877">X position at which to draw rectangle, in user space coordinates | |
| 15868 | 15978 | in Pango units</doc> | |
| 15869 | 15979 | <type name="gint" c:type="int"/> | |
| 15870 | 15980 | </parameter> | |
| 15871 | 15981 | <parameter name="y" transfer-ownership="none"> | |
| 15872 | 15982 | <doc xml:space="preserve" | |
| 15873 | 15983 | filename="pango/pango-renderer.c" | |
| 15874 | - | line="880">Y position at which to draw rectangle, in user space coordinates | |
| 15984 | + | line="879">Y position at which to draw rectangle, in user space coordinates | |
| 15875 | 15985 | in Pango units</doc> | |
| 15876 | 15986 | <type name="gint" c:type="int"/> | |
| 15877 | 15987 | </parameter> | |
| 15878 | 15988 | <parameter name="width" transfer-ownership="none"> | |
| 15879 | 15989 | <doc xml:space="preserve" | |
| 15880 | 15990 | filename="pango/pango-renderer.c" | |
| 15881 | - | line="882">width of rectangle in Pango units</doc> | |
| 15991 | + | line="881">width of rectangle in Pango units</doc> | |
| 15882 | 15992 | <type name="gint" c:type="int"/> | |
| 15883 | 15993 | </parameter> | |
| 15884 | 15994 | <parameter name="height" transfer-ownership="none"> | |
| 15885 | 15995 | <doc xml:space="preserve" | |
| 15886 | 15996 | filename="pango/pango-renderer.c" | |
| 15887 | - | line="883">height of rectangle in Pango units</doc> | |
| 15997 | + | line="882">height of rectangle in Pango units</doc> | |
| 15888 | 15998 | <type name="gint" c:type="int"/> | |
| 15889 | 15999 | </parameter> | |
| 15890 | 16000 | </parameters> | |
| @@ -15919,7 +16029,7 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 15919 | 16029 | version="1.8"> | |
| 15920 | 16030 | <doc xml:space="preserve" | |
| 15921 | 16031 | filename="pango/pango-renderer.c" | |
| 15922 | - | line="1175">Draws a trapezoid with the parallel sides aligned with the X axis | |
| 16032 | + | line="1174">Draws a trapezoid with the parallel sides aligned with the X axis | |
| 15923 | 16033 | using the given `PangoRenderer`; coordinates are in device space.</doc> | |
| 15924 | 16034 | <source-position filename="pango/pango-renderer.h" line="160"/> | |
| 15925 | 16035 | <return-value transfer-ownership="none"> | |
| @@ -15929,49 +16039,49 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 15929 | 16039 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 15930 | 16040 | <doc xml:space="preserve" | |
| 15931 | 16041 | filename="pango/pango-renderer.c" | |
| 15932 | - | line="1177">a `PangoRenderer`</doc> | |
| 16042 | + | line="1176">a `PangoRenderer`</doc> | |
| 15933 | 16043 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 15934 | 16044 | </instance-parameter> | |
| 15935 | 16045 | <parameter name="part" transfer-ownership="none"> | |
| 15936 | 16046 | <doc xml:space="preserve" | |
| 15937 | 16047 | filename="pango/pango-renderer.c" | |
| 15938 | - | line="1178">type of object this trapezoid is part of</doc> | |
| 16048 | + | line="1177">type of object this trapezoid is part of</doc> | |
| 15939 | 16049 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 15940 | 16050 | </parameter> | |
| 15941 | 16051 | <parameter name="y1_" transfer-ownership="none"> | |
| 15942 | 16052 | <doc xml:space="preserve" | |
| 15943 | 16053 | filename="pango/pango-renderer.c" | |
| 15944 | - | line="1179">Y coordinate of top of trapezoid</doc> | |
| 16054 | + | line="1178">Y coordinate of top of trapezoid</doc> | |
| 15945 | 16055 | <type name="gdouble" c:type="double"/> | |
| 15946 | 16056 | </parameter> | |
| 15947 | 16057 | <parameter name="x11" transfer-ownership="none"> | |
| 15948 | 16058 | <doc xml:space="preserve" | |
| 15949 | 16059 | filename="pango/pango-renderer.c" | |
| 15950 | - | line="1180">X coordinate of left end of top of trapezoid</doc> | |
| 16060 | + | line="1179">X coordinate of left end of top of trapezoid</doc> | |
| 15951 | 16061 | <type name="gdouble" c:type="double"/> | |
| 15952 | 16062 | </parameter> | |
| 15953 | 16063 | <parameter name="x21" transfer-ownership="none"> | |
| 15954 | 16064 | <doc xml:space="preserve" | |
| 15955 | 16065 | filename="pango/pango-renderer.c" | |
| 15956 | - | line="1181">X coordinate of right end of top of trapezoid</doc> | |
| 16066 | + | line="1180">X coordinate of right end of top of trapezoid</doc> | |
| 15957 | 16067 | <type name="gdouble" c:type="double"/> | |
| 15958 | 16068 | </parameter> | |
| 15959 | 16069 | <parameter name="y2" transfer-ownership="none"> | |
| 15960 | 16070 | <doc xml:space="preserve" | |
| 15961 | 16071 | filename="pango/pango-renderer.c" | |
| 15962 | - | line="1182">Y coordinate of bottom of trapezoid</doc> | |
| 16072 | + | line="1181">Y coordinate of bottom of trapezoid</doc> | |
| 15963 | 16073 | <type name="gdouble" c:type="double"/> | |
| 15964 | 16074 | </parameter> | |
| 15965 | 16075 | <parameter name="x12" transfer-ownership="none"> | |
| 15966 | 16076 | <doc xml:space="preserve" | |
| 15967 | 16077 | filename="pango/pango-renderer.c" | |
| 15968 | - | line="1183">X coordinate of left end of bottom of trapezoid</doc> | |
| 16078 | + | line="1182">X coordinate of left end of bottom of trapezoid</doc> | |
| 15969 | 16079 | <type name="gdouble" c:type="double"/> | |
| 15970 | 16080 | </parameter> | |
| 15971 | 16081 | <parameter name="x22" transfer-ownership="none"> | |
| 15972 | 16082 | <doc xml:space="preserve" | |
| 15973 | 16083 | filename="pango/pango-renderer.c" | |
| 15974 | - | line="1184">X coordinate of right end of bottom of trapezoid</doc> | |
| 16084 | + | line="1183">X coordinate of right end of bottom of trapezoid</doc> | |
| 15975 | 16085 | <type name="gdouble" c:type="double"/> | |
| 15976 | 16086 | </parameter> | |
| 15977 | 16087 | </parameters> | |
| @@ -15993,7 +16103,7 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 15993 | 16103 | <virtual-method name="part_changed" invoker="part_changed" version="1.8"> | |
| 15994 | 16104 | <doc xml:space="preserve" | |
| 15995 | 16105 | filename="pango/pango-renderer.c" | |
| 15996 | - | line="1412">Informs Pango that the way that the rendering is done | |
| 16106 | + | line="1411">Informs Pango that the way that the rendering is done | |
| 15997 | 16107 | for @part has changed. | |
| 15998 | 16108 | ||
| 15999 | 16109 | This should be called if the rendering changes in a way that would | |
| @@ -16016,13 +16126,13 @@ changes to colors. (See [method@Pango.Renderer.set_color])</doc> | |||
| 16016 | 16126 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16017 | 16127 | <doc xml:space="preserve" | |
| 16018 | 16128 | filename="pango/pango-renderer.c" | |
| 16019 | - | line="1414">a `PangoRenderer`</doc> | |
| 16129 | + | line="1413">a `PangoRenderer`</doc> | |
| 16020 | 16130 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16021 | 16131 | </instance-parameter> | |
| 16022 | 16132 | <parameter name="part" transfer-ownership="none"> | |
| 16023 | 16133 | <doc xml:space="preserve" | |
| 16024 | 16134 | filename="pango/pango-renderer.c" | |
| 16025 | - | line="1415">the part for which rendering has changed.</doc> | |
| 16135 | + | line="1414">the part for which rendering has changed.</doc> | |
| 16026 | 16136 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16027 | 16137 | </parameter> | |
| 16028 | 16138 | </parameters> | |
| @@ -16049,7 +16159,7 @@ changes to colors. (See [method@Pango.Renderer.set_color])</doc> | |||
| 16049 | 16159 | version="1.8"> | |
| 16050 | 16160 | <doc xml:space="preserve" | |
| 16051 | 16161 | filename="pango/pango-renderer.c" | |
| 16052 | - | line="1239">Does initial setup before rendering operations on @renderer. | |
| 16162 | + | line="1238">Does initial setup before rendering operations on @renderer. | |
| 16053 | 16163 | ||
| 16054 | 16164 | [method@Pango.Renderer.deactivate] should be called when done drawing. | |
| 16055 | 16165 | Calls such as [method@Pango.Renderer.draw_layout] automatically | |
| @@ -16066,7 +16176,7 @@ renderer will only be initialized and deinitialized once.</doc> | |||
| 16066 | 16176 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16067 | 16177 | <doc xml:space="preserve" | |
| 16068 | 16178 | filename="pango/pango-renderer.c" | |
| 16069 | - | line="1241">a `PangoRenderer`</doc> | |
| 16179 | + | line="1240">a `PangoRenderer`</doc> | |
| 16070 | 16180 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16071 | 16181 | </instance-parameter> | |
| 16072 | 16182 | </parameters> | |
| @@ -16076,7 +16186,7 @@ renderer will only be initialized and deinitialized once.</doc> | |||
| 16076 | 16186 | version="1.8"> | |
| 16077 | 16187 | <doc xml:space="preserve" | |
| 16078 | 16188 | filename="pango/pango-renderer.c" | |
| 16079 | - | line="1268">Cleans up after rendering operations on @renderer. | |
| 16189 | + | line="1267">Cleans up after rendering operations on @renderer. | |
| 16080 | 16190 | ||
| 16081 | 16191 | See docs for [method@Pango.Renderer.activate].</doc> | |
| 16082 | 16192 | <source-position filename="pango/pango-renderer.h" line="254"/> | |
| @@ -16087,7 +16197,7 @@ See docs for [method@Pango.Renderer.activate].</doc> | |||
| 16087 | 16197 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16088 | 16198 | <doc xml:space="preserve" | |
| 16089 | 16199 | filename="pango/pango-renderer.c" | |
| 16090 | - | line="1270">a `PangoRenderer`</doc> | |
| 16200 | + | line="1269">a `PangoRenderer`</doc> | |
| 16091 | 16201 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16092 | 16202 | </instance-parameter> | |
| 16093 | 16203 | </parameters> | |
| @@ -16097,7 +16207,7 @@ See docs for [method@Pango.Renderer.activate].</doc> | |||
| 16097 | 16207 | version="1.8"> | |
| 16098 | 16208 | <doc xml:space="preserve" | |
| 16099 | 16209 | filename="pango/pango-renderer.c" | |
| 16100 | - | line="1015">Draw a squiggly line that approximately covers the given rectangle | |
| 16210 | + | line="1014">Draw a squiggly line that approximately covers the given rectangle | |
| 16101 | 16211 | in the style of an underline used to indicate a spelling error. | |
| 16102 | 16212 | ||
| 16103 | 16213 | The width of the underline is rounded to an integer number | |
| @@ -16114,31 +16224,31 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 16114 | 16224 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16115 | 16225 | <doc xml:space="preserve" | |
| 16116 | 16226 | filename="pango/pango-renderer.c" | |
| 16117 | - | line="1017">a `PangoRenderer`</doc> | |
| 16227 | + | line="1016">a `PangoRenderer`</doc> | |
| 16118 | 16228 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16119 | 16229 | </instance-parameter> | |
| 16120 | 16230 | <parameter name="x" transfer-ownership="none"> | |
| 16121 | 16231 | <doc xml:space="preserve" | |
| 16122 | 16232 | filename="pango/pango-renderer.c" | |
| 16123 | - | line="1018">X coordinate of underline, in Pango units in user coordinate system</doc> | |
| 16233 | + | line="1017">X coordinate of underline, in Pango units in user coordinate system</doc> | |
| 16124 | 16234 | <type name="gint" c:type="int"/> | |
| 16125 | 16235 | </parameter> | |
| 16126 | 16236 | <parameter name="y" transfer-ownership="none"> | |
| 16127 | 16237 | <doc xml:space="preserve" | |
| 16128 | 16238 | filename="pango/pango-renderer.c" | |
| 16129 | - | line="1019">Y coordinate of underline, in Pango units in user coordinate system</doc> | |
| 16239 | + | line="1018">Y coordinate of underline, in Pango units in user coordinate system</doc> | |
| 16130 | 16240 | <type name="gint" c:type="int"/> | |
| 16131 | 16241 | </parameter> | |
| 16132 | 16242 | <parameter name="width" transfer-ownership="none"> | |
| 16133 | 16243 | <doc xml:space="preserve" | |
| 16134 | 16244 | filename="pango/pango-renderer.c" | |
| 16135 | - | line="1020">width of underline, in Pango units in user coordinate system</doc> | |
| 16245 | + | line="1019">width of underline, in Pango units in user coordinate system</doc> | |
| 16136 | 16246 | <type name="gint" c:type="int"/> | |
| 16137 | 16247 | </parameter> | |
| 16138 | 16248 | <parameter name="height" transfer-ownership="none"> | |
| 16139 | 16249 | <doc xml:space="preserve" | |
| 16140 | 16250 | filename="pango/pango-renderer.c" | |
| 16141 | - | line="1021">height of underline, in Pango units in user coordinate system</doc> | |
| 16251 | + | line="1020">height of underline, in Pango units in user coordinate system</doc> | |
| 16142 | 16252 | <type name="gint" c:type="int"/> | |
| 16143 | 16253 | </parameter> | |
| 16144 | 16254 | </parameters> | |
| @@ -16148,7 +16258,7 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 16148 | 16258 | version="1.8"> | |
| 16149 | 16259 | <doc xml:space="preserve" | |
| 16150 | 16260 | filename="pango/pango-renderer.c" | |
| 16151 | - | line="1210">Draws a single glyph with coordinates in device space.</doc> | |
| 16261 | + | line="1209">Draws a single glyph with coordinates in device space.</doc> | |
| 16152 | 16262 | <source-position filename="pango/pango-renderer.h" line="245"/> | |
| 16153 | 16263 | <return-value transfer-ownership="none"> | |
| 16154 | 16264 | <type name="none" c:type="void"/> | |
| @@ -16157,31 +16267,31 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 16157 | 16267 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16158 | 16268 | <doc xml:space="preserve" | |
| 16159 | 16269 | filename="pango/pango-renderer.c" | |
| 16160 | - | line="1212">a `PangoRenderer`</doc> | |
| 16270 | + | line="1211">a `PangoRenderer`</doc> | |
| 16161 | 16271 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16162 | 16272 | </instance-parameter> | |
| 16163 | 16273 | <parameter name="font" transfer-ownership="none"> | |
| 16164 | 16274 | <doc xml:space="preserve" | |
| 16165 | 16275 | filename="pango/pango-renderer.c" | |
| 16166 | - | line="1213">a `PangoFont`</doc> | |
| 16276 | + | line="1212">a `PangoFont`</doc> | |
| 16167 | 16277 | <type name="Font" c:type="PangoFont*"/> | |
| 16168 | 16278 | </parameter> | |
| 16169 | 16279 | <parameter name="glyph" transfer-ownership="none"> | |
| 16170 | 16280 | <doc xml:space="preserve" | |
| 16171 | 16281 | filename="pango/pango-renderer.c" | |
| 16172 | - | line="1214">the glyph index of a single glyph</doc> | |
| 16282 | + | line="1213">the glyph index of a single glyph</doc> | |
| 16173 | 16283 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 16174 | 16284 | </parameter> | |
| 16175 | 16285 | <parameter name="x" transfer-ownership="none"> | |
| 16176 | 16286 | <doc xml:space="preserve" | |
| 16177 | 16287 | filename="pango/pango-renderer.c" | |
| 16178 | - | line="1215">X coordinate of left edge of baseline of glyph</doc> | |
| 16288 | + | line="1214">X coordinate of left edge of baseline of glyph</doc> | |
| 16179 | 16289 | <type name="gdouble" c:type="double"/> | |
| 16180 | 16290 | </parameter> | |
| 16181 | 16291 | <parameter name="y" transfer-ownership="none"> | |
| 16182 | 16292 | <doc xml:space="preserve" | |
| 16183 | 16293 | filename="pango/pango-renderer.c" | |
| 16184 | - | line="1216">Y coordinate of left edge of baseline of glyph</doc> | |
| 16294 | + | line="1215">Y coordinate of left edge of baseline of glyph</doc> | |
| 16185 | 16295 | <type name="gdouble" c:type="double"/> | |
| 16186 | 16296 | </parameter> | |
| 16187 | 16297 | </parameters> | |
| @@ -16191,7 +16301,7 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 16191 | 16301 | version="1.22"> | |
| 16192 | 16302 | <doc xml:space="preserve" | |
| 16193 | 16303 | filename="pango/pango-renderer.c" | |
| 16194 | - | line="805">Draws the glyphs in @glyph_item with the specified `PangoRenderer`, | |
| 16304 | + | line="804">Draws the glyphs in @glyph_item with the specified `PangoRenderer`, | |
| 16195 | 16305 | embedding the text associated with the glyphs in the output if the | |
| 16196 | 16306 | output format supports it. | |
| 16197 | 16307 | ||
| @@ -16217,7 +16327,7 @@ The default implementation of this method simply falls back to | |||
| 16217 | 16327 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16218 | 16328 | <doc xml:space="preserve" | |
| 16219 | 16329 | filename="pango/pango-renderer.c" | |
| 16220 | - | line="807">a `PangoRenderer`</doc> | |
| 16330 | + | line="806">a `PangoRenderer`</doc> | |
| 16221 | 16331 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16222 | 16332 | </instance-parameter> | |
| 16223 | 16333 | <parameter name="text" | |
| @@ -16226,26 +16336,26 @@ The default implementation of this method simply falls back to | |||
| 16226 | 16336 | allow-none="1"> | |
| 16227 | 16337 | <doc xml:space="preserve" | |
| 16228 | 16338 | filename="pango/pango-renderer.c" | |
| 16229 | - | line="808">the UTF-8 text that @glyph_item refers to</doc> | |
| 16339 | + | line="807">the UTF-8 text that @glyph_item refers to</doc> | |
| 16230 | 16340 | <type name="utf8" c:type="const char*"/> | |
| 16231 | 16341 | </parameter> | |
| 16232 | 16342 | <parameter name="glyph_item" transfer-ownership="none"> | |
| 16233 | 16343 | <doc xml:space="preserve" | |
| 16234 | 16344 | filename="pango/pango-renderer.c" | |
| 16235 | - | line="809">a `PangoGlyphItem`</doc> | |
| 16345 | + | line="808">a `PangoGlyphItem`</doc> | |
| 16236 | 16346 | <type name="GlyphItem" c:type="PangoGlyphItem*"/> | |
| 16237 | 16347 | </parameter> | |
| 16238 | 16348 | <parameter name="x" transfer-ownership="none"> | |
| 16239 | 16349 | <doc xml:space="preserve" | |
| 16240 | 16350 | filename="pango/pango-renderer.c" | |
| 16241 | - | line="810">X position of left edge of baseline, in user space coordinates | |
| 16351 | + | line="809">X position of left edge of baseline, in user space coordinates | |
| 16242 | 16352 | in Pango units</doc> | |
| 16243 | 16353 | <type name="gint" c:type="int"/> | |
| 16244 | 16354 | </parameter> | |
| 16245 | 16355 | <parameter name="y" transfer-ownership="none"> | |
| 16246 | 16356 | <doc xml:space="preserve" | |
| 16247 | 16357 | filename="pango/pango-renderer.c" | |
| 16248 | - | line="812">Y position of left edge of baseline, in user space coordinates | |
| 16358 | + | line="811">Y position of left edge of baseline, in user space coordinates | |
| 16249 | 16359 | in Pango units</doc> | |
| 16250 | 16360 | <type name="gint" c:type="int"/> | |
| 16251 | 16361 | </parameter> | |
| @@ -16256,7 +16366,7 @@ The default implementation of this method simply falls back to | |||
| 16256 | 16366 | version="1.8"> | |
| 16257 | 16367 | <doc xml:space="preserve" | |
| 16258 | 16368 | filename="pango/pango-renderer.c" | |
| 16259 | - | line="749">Draws the glyphs in @glyphs with the specified `PangoRenderer`.</doc> | |
| 16369 | + | line="748">Draws the glyphs in @glyphs with the specified `PangoRenderer`.</doc> | |
| 16260 | 16370 | <source-position filename="pango/pango-renderer.h" line="211"/> | |
| 16261 | 16371 | <return-value transfer-ownership="none"> | |
| 16262 | 16372 | <type name="none" c:type="void"/> | |
| @@ -16265,32 +16375,32 @@ The default implementation of this method simply falls back to | |||
| 16265 | 16375 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16266 | 16376 | <doc xml:space="preserve" | |
| 16267 | 16377 | filename="pango/pango-renderer.c" | |
| 16268 | - | line="751">a `PangoRenderer`</doc> | |
| 16378 | + | line="750">a `PangoRenderer`</doc> | |
| 16269 | 16379 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16270 | 16380 | </instance-parameter> | |
| 16271 | 16381 | <parameter name="font" transfer-ownership="none"> | |
| 16272 | 16382 | <doc xml:space="preserve" | |
| 16273 | 16383 | filename="pango/pango-renderer.c" | |
| 16274 | - | line="752">a `PangoFont`</doc> | |
| 16384 | + | line="751">a `PangoFont`</doc> | |
| 16275 | 16385 | <type name="Font" c:type="PangoFont*"/> | |
| 16276 | 16386 | </parameter> | |
| 16277 | 16387 | <parameter name="glyphs" transfer-ownership="none"> | |
| 16278 | 16388 | <doc xml:space="preserve" | |
| 16279 | 16389 | filename="pango/pango-renderer.c" | |
| 16280 | - | line="753">a `PangoGlyphString`</doc> | |
| 16390 | + | line="752">a `PangoGlyphString`</doc> | |
| 16281 | 16391 | <type name="GlyphString" c:type="PangoGlyphString*"/> | |
| 16282 | 16392 | </parameter> | |
| 16283 | 16393 | <parameter name="x" transfer-ownership="none"> | |
| 16284 | 16394 | <doc xml:space="preserve" | |
| 16285 | 16395 | filename="pango/pango-renderer.c" | |
| 16286 | - | line="754">X position of left edge of baseline, in user space coordinates | |
| 16396 | + | line="753">X position of left edge of baseline, in user space coordinates | |
| 16287 | 16397 | in Pango units.</doc> | |
| 16288 | 16398 | <type name="gint" c:type="int"/> | |
| 16289 | 16399 | </parameter> | |
| 16290 | 16400 | <parameter name="y" transfer-ownership="none"> | |
| 16291 | 16401 | <doc xml:space="preserve" | |
| 16292 | 16402 | filename="pango/pango-renderer.c" | |
| 16293 | - | line="756">Y position of left edge of baseline, in user space coordinates | |
| 16403 | + | line="755">Y position of left edge of baseline, in user space coordinates | |
| 16294 | 16404 | in Pango units.</doc> | |
| 16295 | 16405 | <type name="gint" c:type="int"/> | |
| 16296 | 16406 | </parameter> | |
| @@ -16301,7 +16411,7 @@ The default implementation of this method simply falls back to | |||
| 16301 | 16411 | version="1.8"> | |
| 16302 | 16412 | <doc xml:space="preserve" | |
| 16303 | 16413 | filename="pango/pango-renderer.c" | |
| 16304 | - | line="149">Draws @layout with the specified `PangoRenderer`. | |
| 16414 | + | line="148">Draws @layout with the specified `PangoRenderer`. | |
| 16305 | 16415 | ||
| 16306 | 16416 | This is equivalent to drawing the lines of the layout, at their | |
| 16307 | 16417 | respective positions relative to @x, @y.</doc> | |
| @@ -16313,26 +16423,26 @@ respective positions relative to @x, @y.</doc> | |||
| 16313 | 16423 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16314 | 16424 | <doc xml:space="preserve" | |
| 16315 | 16425 | filename="pango/pango-renderer.c" | |
| 16316 | - | line="151">a `PangoRenderer`</doc> | |
| 16426 | + | line="150">a `PangoRenderer`</doc> | |
| 16317 | 16427 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16318 | 16428 | </instance-parameter> | |
| 16319 | 16429 | <parameter name="layout" transfer-ownership="none"> | |
| 16320 | 16430 | <doc xml:space="preserve" | |
| 16321 | 16431 | filename="pango/pango-renderer.c" | |
| 16322 | - | line="152">a `PangoLayout`</doc> | |
| 16432 | + | line="151">a `PangoLayout`</doc> | |
| 16323 | 16433 | <type name="Layout" c:type="PangoLayout*"/> | |
| 16324 | 16434 | </parameter> | |
| 16325 | 16435 | <parameter name="x" transfer-ownership="none"> | |
| 16326 | 16436 | <doc xml:space="preserve" | |
| 16327 | 16437 | filename="pango/pango-renderer.c" | |
| 16328 | - | line="153">X position of left edge of baseline, in user space coordinates | |
| 16438 | + | line="152">X position of left edge of baseline, in user space coordinates | |
| 16329 | 16439 | in Pango units.</doc> | |
| 16330 | 16440 | <type name="gint" c:type="int"/> | |
| 16331 | 16441 | </parameter> | |
| 16332 | 16442 | <parameter name="y" transfer-ownership="none"> | |
| 16333 | 16443 | <doc xml:space="preserve" | |
| 16334 | 16444 | filename="pango/pango-renderer.c" | |
| 16335 | - | line="155">Y position of left edge of baseline, in user space coordinates | |
| 16445 | + | line="154">Y position of left edge of baseline, in user space coordinates | |
| 16336 | 16446 | in Pango units.</doc> | |
| 16337 | 16447 | <type name="gint" c:type="int"/> | |
| 16338 | 16448 | </parameter> | |
| @@ -16343,7 +16453,7 @@ respective positions relative to @x, @y.</doc> | |||
| 16343 | 16453 | version="1.8"> | |
| 16344 | 16454 | <doc xml:space="preserve" | |
| 16345 | 16455 | filename="pango/pango-renderer.c" | |
| 16346 | - | line="553">Draws @line with the specified `PangoRenderer`. | |
| 16456 | + | line="552">Draws @line with the specified `PangoRenderer`. | |
| 16347 | 16457 | ||
| 16348 | 16458 | This draws the glyph items that make up the line, as well as | |
| 16349 | 16459 | shapes, backgrounds and lines that are specified by the attributes | |
| @@ -16356,26 +16466,26 @@ of those items.</doc> | |||
| 16356 | 16466 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16357 | 16467 | <doc xml:space="preserve" | |
| 16358 | 16468 | filename="pango/pango-renderer.c" | |
| 16359 | - | line="555">a `PangoRenderer`</doc> | |
| 16469 | + | line="554">a `PangoRenderer`</doc> | |
| 16360 | 16470 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16361 | 16471 | </instance-parameter> | |
| 16362 | 16472 | <parameter name="line" transfer-ownership="none"> | |
| 16363 | 16473 | <doc xml:space="preserve" | |
| 16364 | 16474 | filename="pango/pango-renderer.c" | |
| 16365 | - | line="556">a `PangoLayoutLine`</doc> | |
| 16475 | + | line="555">a `PangoLayoutLine`</doc> | |
| 16366 | 16476 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 16367 | 16477 | </parameter> | |
| 16368 | 16478 | <parameter name="x" transfer-ownership="none"> | |
| 16369 | 16479 | <doc xml:space="preserve" | |
| 16370 | 16480 | filename="pango/pango-renderer.c" | |
| 16371 | - | line="557">X position of left edge of baseline, in user space coordinates | |
| 16481 | + | line="556">X position of left edge of baseline, in user space coordinates | |
| 16372 | 16482 | in Pango units.</doc> | |
| 16373 | 16483 | <type name="gint" c:type="int"/> | |
| 16374 | 16484 | </parameter> | |
| 16375 | 16485 | <parameter name="y" transfer-ownership="none"> | |
| 16376 | 16486 | <doc xml:space="preserve" | |
| 16377 | 16487 | filename="pango/pango-renderer.c" | |
| 16378 | - | line="559">Y position of left edge of baseline, in user space coordinates | |
| 16488 | + | line="558">Y position of left edge of baseline, in user space coordinates | |
| 16379 | 16489 | in Pango units.</doc> | |
| 16380 | 16490 | <type name="gint" c:type="int"/> | |
| 16381 | 16491 | </parameter> | |
| @@ -16386,7 +16496,7 @@ of those items.</doc> | |||
| 16386 | 16496 | version="1.8"> | |
| 16387 | 16497 | <doc xml:space="preserve" | |
| 16388 | 16498 | filename="pango/pango-renderer.c" | |
| 16389 | - | line="874">Draws an axis-aligned rectangle in user space coordinates with the | |
| 16499 | + | line="873">Draws an axis-aligned rectangle in user space coordinates with the | |
| 16390 | 16500 | specified `PangoRenderer`. | |
| 16391 | 16501 | ||
| 16392 | 16502 | This should be called while @renderer is already active. | |
| @@ -16399,39 +16509,39 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 16399 | 16509 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16400 | 16510 | <doc xml:space="preserve" | |
| 16401 | 16511 | filename="pango/pango-renderer.c" | |
| 16402 | - | line="876">a `PangoRenderer`</doc> | |
| 16512 | + | line="875">a `PangoRenderer`</doc> | |
| 16403 | 16513 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16404 | 16514 | </instance-parameter> | |
| 16405 | 16515 | <parameter name="part" transfer-ownership="none"> | |
| 16406 | 16516 | <doc xml:space="preserve" | |
| 16407 | 16517 | filename="pango/pango-renderer.c" | |
| 16408 | - | line="877">type of object this rectangle is part of</doc> | |
| 16518 | + | line="876">type of object this rectangle is part of</doc> | |
| 16409 | 16519 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16410 | 16520 | </parameter> | |
| 16411 | 16521 | <parameter name="x" transfer-ownership="none"> | |
| 16412 | 16522 | <doc xml:space="preserve" | |
| 16413 | 16523 | filename="pango/pango-renderer.c" | |
| 16414 | - | line="878">X position at which to draw rectangle, in user space coordinates | |
| 16524 | + | line="877">X position at which to draw rectangle, in user space coordinates | |
| 16415 | 16525 | in Pango units</doc> | |
| 16416 | 16526 | <type name="gint" c:type="int"/> | |
| 16417 | 16527 | </parameter> | |
| 16418 | 16528 | <parameter name="y" transfer-ownership="none"> | |
| 16419 | 16529 | <doc xml:space="preserve" | |
| 16420 | 16530 | filename="pango/pango-renderer.c" | |
| 16421 | - | line="880">Y position at which to draw rectangle, in user space coordinates | |
| 16531 | + | line="879">Y position at which to draw rectangle, in user space coordinates | |
| 16422 | 16532 | in Pango units</doc> | |
| 16423 | 16533 | <type name="gint" c:type="int"/> | |
| 16424 | 16534 | </parameter> | |
| 16425 | 16535 | <parameter name="width" transfer-ownership="none"> | |
| 16426 | 16536 | <doc xml:space="preserve" | |
| 16427 | 16537 | filename="pango/pango-renderer.c" | |
| 16428 | - | line="882">width of rectangle in Pango units</doc> | |
| 16538 | + | line="881">width of rectangle in Pango units</doc> | |
| 16429 | 16539 | <type name="gint" c:type="int"/> | |
| 16430 | 16540 | </parameter> | |
| 16431 | 16541 | <parameter name="height" transfer-ownership="none"> | |
| 16432 | 16542 | <doc xml:space="preserve" | |
| 16433 | 16543 | filename="pango/pango-renderer.c" | |
| 16434 | - | line="883">height of rectangle in Pango units</doc> | |
| 16544 | + | line="882">height of rectangle in Pango units</doc> | |
| 16435 | 16545 | <type name="gint" c:type="int"/> | |
| 16436 | 16546 | </parameter> | |
| 16437 | 16547 | </parameters> | |
| @@ -16441,7 +16551,7 @@ Use [method@Pango.Renderer.activate] to activate a renderer.</doc> | |||
| 16441 | 16551 | version="1.8"> | |
| 16442 | 16552 | <doc xml:space="preserve" | |
| 16443 | 16553 | filename="pango/pango-renderer.c" | |
| 16444 | - | line="1175">Draws a trapezoid with the parallel sides aligned with the X axis | |
| 16554 | + | line="1174">Draws a trapezoid with the parallel sides aligned with the X axis | |
| 16445 | 16555 | using the given `PangoRenderer`; coordinates are in device space.</doc> | |
| 16446 | 16556 | <source-position filename="pango/pango-renderer.h" line="236"/> | |
| 16447 | 16557 | <return-value transfer-ownership="none"> | |
| @@ -16451,49 +16561,49 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 16451 | 16561 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16452 | 16562 | <doc xml:space="preserve" | |
| 16453 | 16563 | filename="pango/pango-renderer.c" | |
| 16454 | - | line="1177">a `PangoRenderer`</doc> | |
| 16564 | + | line="1176">a `PangoRenderer`</doc> | |
| 16455 | 16565 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16456 | 16566 | </instance-parameter> | |
| 16457 | 16567 | <parameter name="part" transfer-ownership="none"> | |
| 16458 | 16568 | <doc xml:space="preserve" | |
| 16459 | 16569 | filename="pango/pango-renderer.c" | |
| 16460 | - | line="1178">type of object this trapezoid is part of</doc> | |
| 16570 | + | line="1177">type of object this trapezoid is part of</doc> | |
| 16461 | 16571 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16462 | 16572 | </parameter> | |
| 16463 | 16573 | <parameter name="y1_" transfer-ownership="none"> | |
| 16464 | 16574 | <doc xml:space="preserve" | |
| 16465 | 16575 | filename="pango/pango-renderer.c" | |
| 16466 | - | line="1179">Y coordinate of top of trapezoid</doc> | |
| 16576 | + | line="1178">Y coordinate of top of trapezoid</doc> | |
| 16467 | 16577 | <type name="gdouble" c:type="double"/> | |
| 16468 | 16578 | </parameter> | |
| 16469 | 16579 | <parameter name="x11" transfer-ownership="none"> | |
| 16470 | 16580 | <doc xml:space="preserve" | |
| 16471 | 16581 | filename="pango/pango-renderer.c" | |
| 16472 | - | line="1180">X coordinate of left end of top of trapezoid</doc> | |
| 16582 | + | line="1179">X coordinate of left end of top of trapezoid</doc> | |
| 16473 | 16583 | <type name="gdouble" c:type="double"/> | |
| 16474 | 16584 | </parameter> | |
| 16475 | 16585 | <parameter name="x21" transfer-ownership="none"> | |
| 16476 | 16586 | <doc xml:space="preserve" | |
| 16477 | 16587 | filename="pango/pango-renderer.c" | |
| 16478 | - | line="1181">X coordinate of right end of top of trapezoid</doc> | |
| 16588 | + | line="1180">X coordinate of right end of top of trapezoid</doc> | |
| 16479 | 16589 | <type name="gdouble" c:type="double"/> | |
| 16480 | 16590 | </parameter> | |
| 16481 | 16591 | <parameter name="y2" transfer-ownership="none"> | |
| 16482 | 16592 | <doc xml:space="preserve" | |
| 16483 | 16593 | filename="pango/pango-renderer.c" | |
| 16484 | - | line="1182">Y coordinate of bottom of trapezoid</doc> | |
| 16594 | + | line="1181">Y coordinate of bottom of trapezoid</doc> | |
| 16485 | 16595 | <type name="gdouble" c:type="double"/> | |
| 16486 | 16596 | </parameter> | |
| 16487 | 16597 | <parameter name="x12" transfer-ownership="none"> | |
| 16488 | 16598 | <doc xml:space="preserve" | |
| 16489 | 16599 | filename="pango/pango-renderer.c" | |
| 16490 | - | line="1183">X coordinate of left end of bottom of trapezoid</doc> | |
| 16600 | + | line="1182">X coordinate of left end of bottom of trapezoid</doc> | |
| 16491 | 16601 | <type name="gdouble" c:type="double"/> | |
| 16492 | 16602 | </parameter> | |
| 16493 | 16603 | <parameter name="x22" transfer-ownership="none"> | |
| 16494 | 16604 | <doc xml:space="preserve" | |
| 16495 | 16605 | filename="pango/pango-renderer.c" | |
| 16496 | - | line="1184">X coordinate of right end of bottom of trapezoid</doc> | |
| 16606 | + | line="1183">X coordinate of right end of bottom of trapezoid</doc> | |
| 16497 | 16607 | <type name="gdouble" c:type="double"/> | |
| 16498 | 16608 | </parameter> | |
| 16499 | 16609 | </parameters> | |
| @@ -16503,12 +16613,12 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 16503 | 16613 | version="1.38"> | |
| 16504 | 16614 | <doc xml:space="preserve" | |
| 16505 | 16615 | filename="pango/pango-renderer.c" | |
| 16506 | - | line="1389">Gets the current alpha for the specified part.</doc> | |
| 16616 | + | line="1388">Gets the current alpha for the specified part.</doc> | |
| 16507 | 16617 | <source-position filename="pango/pango-renderer.h" line="273"/> | |
| 16508 | 16618 | <return-value transfer-ownership="none"> | |
| 16509 | 16619 | <doc xml:space="preserve" | |
| 16510 | 16620 | filename="pango/pango-renderer.c" | |
| 16511 | - | line="1396">the alpha for the specified part, | |
| 16621 | + | line="1395">the alpha for the specified part, | |
| 16512 | 16622 | or 0 if it hasn't been set and should be | |
| 16513 | 16623 | inherited from the environment.</doc> | |
| 16514 | 16624 | <type name="guint16" c:type="guint16"/> | |
| @@ -16517,13 +16627,13 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 16517 | 16627 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16518 | 16628 | <doc xml:space="preserve" | |
| 16519 | 16629 | filename="pango/pango-renderer.c" | |
| 16520 | - | line="1391">a `PangoRenderer`</doc> | |
| 16630 | + | line="1390">a `PangoRenderer`</doc> | |
| 16521 | 16631 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16522 | 16632 | </instance-parameter> | |
| 16523 | 16633 | <parameter name="part" transfer-ownership="none"> | |
| 16524 | 16634 | <doc xml:space="preserve" | |
| 16525 | 16635 | filename="pango/pango-renderer.c" | |
| 16526 | - | line="1392">the part to get the alpha for</doc> | |
| 16636 | + | line="1391">the part to get the alpha for</doc> | |
| 16527 | 16637 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16528 | 16638 | </parameter> | |
| 16529 | 16639 | </parameters> | |
| @@ -16533,12 +16643,12 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 16533 | 16643 | version="1.8"> | |
| 16534 | 16644 | <doc xml:space="preserve" | |
| 16535 | 16645 | filename="pango/pango-renderer.c" | |
| 16536 | - | line="1332">Gets the current rendering color for the specified part.</doc> | |
| 16646 | + | line="1331">Gets the current rendering color for the specified part.</doc> | |
| 16537 | 16647 | <source-position filename="pango/pango-renderer.h" line="265"/> | |
| 16538 | 16648 | <return-value transfer-ownership="none" nullable="1"> | |
| 16539 | 16649 | <doc xml:space="preserve" | |
| 16540 | 16650 | filename="pango/pango-renderer.c" | |
| 16541 | - | line="1339">the color for the | |
| 16651 | + | line="1338">the color for the | |
| 16542 | 16652 | specified part, or %NULL if it hasn't been set and should be | |
| 16543 | 16653 | inherited from the environment.</doc> | |
| 16544 | 16654 | <type name="Color" c:type="PangoColor*"/> | |
| @@ -16547,13 +16657,13 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 16547 | 16657 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16548 | 16658 | <doc xml:space="preserve" | |
| 16549 | 16659 | filename="pango/pango-renderer.c" | |
| 16550 | - | line="1334">a `PangoRenderer`</doc> | |
| 16660 | + | line="1333">a `PangoRenderer`</doc> | |
| 16551 | 16661 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16552 | 16662 | </instance-parameter> | |
| 16553 | 16663 | <parameter name="part" transfer-ownership="none"> | |
| 16554 | 16664 | <doc xml:space="preserve" | |
| 16555 | 16665 | filename="pango/pango-renderer.c" | |
| 16556 | - | line="1335">the part to get the color for</doc> | |
| 16666 | + | line="1334">the part to get the color for</doc> | |
| 16557 | 16667 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16558 | 16668 | </parameter> | |
| 16559 | 16669 | </parameters> | |
| @@ -16563,7 +16673,7 @@ using the given `PangoRenderer`; coordinates are in device space.</doc> | |||
| 16563 | 16673 | version="1.20"> | |
| 16564 | 16674 | <doc xml:space="preserve" | |
| 16565 | 16675 | filename="pango/pango-renderer.c" | |
| 16566 | - | line="1600">Gets the layout currently being rendered using @renderer. | |
| 16676 | + | line="1599">Gets the layout currently being rendered using @renderer. | |
| 16567 | 16677 | ||
| 16568 | 16678 | Calling this function only makes sense from inside a subclass's | |
| 16569 | 16679 | methods, like in its draw_shape vfunc, for example. | |
| @@ -16574,7 +16684,7 @@ rendered.</doc> | |||
| 16574 | 16684 | <return-value transfer-ownership="none" nullable="1"> | |
| 16575 | 16685 | <doc xml:space="preserve" | |
| 16576 | 16686 | filename="pango/pango-renderer.c" | |
| 16577 | - | line="1612">the layout, or %NULL if | |
| 16687 | + | line="1611">the layout, or %NULL if | |
| 16578 | 16688 | no layout is being rendered using @renderer at this time.</doc> | |
| 16579 | 16689 | <type name="Layout" c:type="PangoLayout*"/> | |
| 16580 | 16690 | </return-value> | |
| @@ -16582,7 +16692,7 @@ rendered.</doc> | |||
| 16582 | 16692 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16583 | 16693 | <doc xml:space="preserve" | |
| 16584 | 16694 | filename="pango/pango-renderer.c" | |
| 16585 | - | line="1602">a `PangoRenderer`</doc> | |
| 16695 | + | line="1601">a `PangoRenderer`</doc> | |
| 16586 | 16696 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16587 | 16697 | </instance-parameter> | |
| 16588 | 16698 | </parameters> | |
| @@ -16592,7 +16702,7 @@ rendered.</doc> | |||
| 16592 | 16702 | version="1.20"> | |
| 16593 | 16703 | <doc xml:space="preserve" | |
| 16594 | 16704 | filename="pango/pango-renderer.c" | |
| 16595 | - | line="1626">Gets the layout line currently being rendered using @renderer. | |
| 16705 | + | line="1625">Gets the layout line currently being rendered using @renderer. | |
| 16596 | 16706 | ||
| 16597 | 16707 | Calling this function only makes sense from inside a subclass's | |
| 16598 | 16708 | methods, like in its draw_shape vfunc, for example. | |
| @@ -16603,7 +16713,7 @@ rendered.</doc> | |||
| 16603 | 16713 | <return-value transfer-ownership="none" nullable="1"> | |
| 16604 | 16714 | <doc xml:space="preserve" | |
| 16605 | 16715 | filename="pango/pango-renderer.c" | |
| 16606 | - | line="1638">the layout line, or %NULL | |
| 16716 | + | line="1637">the layout line, or %NULL | |
| 16607 | 16717 | if no layout line is being rendered using @renderer at this time.</doc> | |
| 16608 | 16718 | <type name="LayoutLine" c:type="PangoLayoutLine*"/> | |
| 16609 | 16719 | </return-value> | |
| @@ -16611,7 +16721,7 @@ rendered.</doc> | |||
| 16611 | 16721 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16612 | 16722 | <doc xml:space="preserve" | |
| 16613 | 16723 | filename="pango/pango-renderer.c" | |
| 16614 | - | line="1628">a `PangoRenderer`</doc> | |
| 16724 | + | line="1627">a `PangoRenderer`</doc> | |
| 16615 | 16725 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16616 | 16726 | </instance-parameter> | |
| 16617 | 16727 | </parameters> | |
| @@ -16621,7 +16731,7 @@ rendered.</doc> | |||
| 16621 | 16731 | version="1.8"> | |
| 16622 | 16732 | <doc xml:space="preserve" | |
| 16623 | 16733 | filename="pango/pango-renderer.c" | |
| 16624 | - | line="1577">Gets the transformation matrix that will be applied when | |
| 16734 | + | line="1576">Gets the transformation matrix that will be applied when | |
| 16625 | 16735 | rendering. | |
| 16626 | 16736 | ||
| 16627 | 16737 | See [method@Pango.Renderer.set_matrix].</doc> | |
| @@ -16629,7 +16739,7 @@ See [method@Pango.Renderer.set_matrix].</doc> | |||
| 16629 | 16739 | <return-value transfer-ownership="none" nullable="1"> | |
| 16630 | 16740 | <doc xml:space="preserve" | |
| 16631 | 16741 | filename="pango/pango-renderer.c" | |
| 16632 | - | line="1586">the matrix, or %NULL if no matrix has | |
| 16742 | + | line="1585">the matrix, or %NULL if no matrix has | |
| 16633 | 16743 | been set (which is the same as the identity matrix). The returned | |
| 16634 | 16744 | matrix is owned by Pango and must not be modified or freed.</doc> | |
| 16635 | 16745 | <type name="Matrix" c:type="const PangoMatrix*"/> | |
| @@ -16638,7 +16748,7 @@ See [method@Pango.Renderer.set_matrix].</doc> | |||
| 16638 | 16748 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16639 | 16749 | <doc xml:space="preserve" | |
| 16640 | 16750 | filename="pango/pango-renderer.c" | |
| 16641 | - | line="1579">a `PangoRenderer`</doc> | |
| 16751 | + | line="1578">a `PangoRenderer`</doc> | |
| 16642 | 16752 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16643 | 16753 | </instance-parameter> | |
| 16644 | 16754 | </parameters> | |
| @@ -16648,7 +16758,7 @@ See [method@Pango.Renderer.set_matrix].</doc> | |||
| 16648 | 16758 | version="1.8"> | |
| 16649 | 16759 | <doc xml:space="preserve" | |
| 16650 | 16760 | filename="pango/pango-renderer.c" | |
| 16651 | - | line="1412">Informs Pango that the way that the rendering is done | |
| 16761 | + | line="1411">Informs Pango that the way that the rendering is done | |
| 16652 | 16762 | for @part has changed. | |
| 16653 | 16763 | ||
| 16654 | 16764 | This should be called if the rendering changes in a way that would | |
| @@ -16671,13 +16781,13 @@ changes to colors. (See [method@Pango.Renderer.set_color])</doc> | |||
| 16671 | 16781 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16672 | 16782 | <doc xml:space="preserve" | |
| 16673 | 16783 | filename="pango/pango-renderer.c" | |
| 16674 | - | line="1414">a `PangoRenderer`</doc> | |
| 16784 | + | line="1413">a `PangoRenderer`</doc> | |
| 16675 | 16785 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16676 | 16786 | </instance-parameter> | |
| 16677 | 16787 | <parameter name="part" transfer-ownership="none"> | |
| 16678 | 16788 | <doc xml:space="preserve" | |
| 16679 | 16789 | filename="pango/pango-renderer.c" | |
| 16680 | - | line="1415">the part for which rendering has changed.</doc> | |
| 16790 | + | line="1414">the part for which rendering has changed.</doc> | |
| 16681 | 16791 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16682 | 16792 | </parameter> | |
| 16683 | 16793 | </parameters> | |
| @@ -16687,7 +16797,7 @@ changes to colors. (See [method@Pango.Renderer.set_color])</doc> | |||
| 16687 | 16797 | version="1.38"> | |
| 16688 | 16798 | <doc xml:space="preserve" | |
| 16689 | 16799 | filename="pango/pango-renderer.c" | |
| 16690 | - | line="1358">Sets the alpha for part of the rendering. | |
| 16800 | + | line="1357">Sets the alpha for part of the rendering. | |
| 16691 | 16801 | ||
| 16692 | 16802 | Note that the alpha may only be used if a color is | |
| 16693 | 16803 | specified for @part as well.</doc> | |
| @@ -16699,19 +16809,19 @@ specified for @part as well.</doc> | |||
| 16699 | 16809 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16700 | 16810 | <doc xml:space="preserve" | |
| 16701 | 16811 | filename="pango/pango-renderer.c" | |
| 16702 | - | line="1360">a `PangoRenderer`</doc> | |
| 16812 | + | line="1359">a `PangoRenderer`</doc> | |
| 16703 | 16813 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16704 | 16814 | </instance-parameter> | |
| 16705 | 16815 | <parameter name="part" transfer-ownership="none"> | |
| 16706 | 16816 | <doc xml:space="preserve" | |
| 16707 | 16817 | filename="pango/pango-renderer.c" | |
| 16708 | - | line="1361">the part to set the alpha for</doc> | |
| 16818 | + | line="1360">the part to set the alpha for</doc> | |
| 16709 | 16819 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16710 | 16820 | </parameter> | |
| 16711 | 16821 | <parameter name="alpha" transfer-ownership="none"> | |
| 16712 | 16822 | <doc xml:space="preserve" | |
| 16713 | 16823 | filename="pango/pango-renderer.c" | |
| 16714 | - | line="1362">an alpha value between 1 and 65536, or 0 to unset the alpha</doc> | |
| 16824 | + | line="1361">an alpha value between 1 and 65536, or 0 to unset the alpha</doc> | |
| 16715 | 16825 | <type name="guint16" c:type="guint16"/> | |
| 16716 | 16826 | </parameter> | |
| 16717 | 16827 | </parameters> | |
| @@ -16721,7 +16831,7 @@ specified for @part as well.</doc> | |||
| 16721 | 16831 | version="1.8"> | |
| 16722 | 16832 | <doc xml:space="preserve" | |
| 16723 | 16833 | filename="pango/pango-renderer.c" | |
| 16724 | - | line="1292">Sets the color for part of the rendering. | |
| 16834 | + | line="1291">Sets the color for part of the rendering. | |
| 16725 | 16835 | ||
| 16726 | 16836 | Also see [method@Pango.Renderer.set_alpha].</doc> | |
| 16727 | 16837 | <source-position filename="pango/pango-renderer.h" line="261"/> | |
| @@ -16732,13 +16842,13 @@ Also see [method@Pango.Renderer.set_alpha].</doc> | |||
| 16732 | 16842 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16733 | 16843 | <doc xml:space="preserve" | |
| 16734 | 16844 | filename="pango/pango-renderer.c" | |
| 16735 | - | line="1294">a `PangoRenderer`</doc> | |
| 16845 | + | line="1293">a `PangoRenderer`</doc> | |
| 16736 | 16846 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16737 | 16847 | </instance-parameter> | |
| 16738 | 16848 | <parameter name="part" transfer-ownership="none"> | |
| 16739 | 16849 | <doc xml:space="preserve" | |
| 16740 | 16850 | filename="pango/pango-renderer.c" | |
| 16741 | - | line="1295">the part to change the color of</doc> | |
| 16851 | + | line="1294">the part to change the color of</doc> | |
| 16742 | 16852 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16743 | 16853 | </parameter> | |
| 16744 | 16854 | <parameter name="color" | |
| @@ -16747,7 +16857,7 @@ Also see [method@Pango.Renderer.set_alpha].</doc> | |||
| 16747 | 16857 | allow-none="1"> | |
| 16748 | 16858 | <doc xml:space="preserve" | |
| 16749 | 16859 | filename="pango/pango-renderer.c" | |
| 16750 | - | line="1296">the new color or %NULL to unset the current color</doc> | |
| 16860 | + | line="1295">the new color or %NULL to unset the current color</doc> | |
| 16751 | 16861 | <type name="Color" c:type="const PangoColor*"/> | |
| 16752 | 16862 | </parameter> | |
| 16753 | 16863 | </parameters> | |
| @@ -16757,7 +16867,7 @@ Also see [method@Pango.Renderer.set_alpha].</doc> | |||
| 16757 | 16867 | version="1.8"> | |
| 16758 | 16868 | <doc xml:space="preserve" | |
| 16759 | 16869 | filename="pango/pango-renderer.c" | |
| 16760 | - | line="1557">Sets the transformation matrix that will be applied when rendering.</doc> | |
| 16870 | + | line="1556">Sets the transformation matrix that will be applied when rendering.</doc> | |
| 16761 | 16871 | <source-position filename="pango/pango-renderer.h" line="277"/> | |
| 16762 | 16872 | <return-value transfer-ownership="none"> | |
| 16763 | 16873 | <type name="none" c:type="void"/> | |
| @@ -16766,7 +16876,7 @@ Also see [method@Pango.Renderer.set_alpha].</doc> | |||
| 16766 | 16876 | <instance-parameter name="renderer" transfer-ownership="none"> | |
| 16767 | 16877 | <doc xml:space="preserve" | |
| 16768 | 16878 | filename="pango/pango-renderer.c" | |
| 16769 | - | line="1559">a `PangoRenderer`</doc> | |
| 16879 | + | line="1558">a `PangoRenderer`</doc> | |
| 16770 | 16880 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16771 | 16881 | </instance-parameter> | |
| 16772 | 16882 | <parameter name="matrix" | |
| @@ -16775,7 +16885,7 @@ Also see [method@Pango.Renderer.set_alpha].</doc> | |||
| 16775 | 16885 | allow-none="1"> | |
| 16776 | 16886 | <doc xml:space="preserve" | |
| 16777 | 16887 | filename="pango/pango-renderer.c" | |
| 16778 | - | line="1560">a `PangoMatrix`, or %NULL to unset any existing matrix | |
| 16888 | + | line="1559">a `PangoMatrix`, or %NULL to unset any existing matrix | |
| 16779 | 16889 | (No matrix set is the same as setting the identity matrix.)</doc> | |
| 16780 | 16890 | <type name="Matrix" c:type="const PangoMatrix*"/> | |
| 16781 | 16891 | </parameter> | |
| @@ -16844,32 +16954,32 @@ and must be implemented: | |||
| 16844 | 16954 | <parameter name="renderer" transfer-ownership="none"> | |
| 16845 | 16955 | <doc xml:space="preserve" | |
| 16846 | 16956 | filename="pango/pango-renderer.c" | |
| 16847 | - | line="751">a `PangoRenderer`</doc> | |
| 16957 | + | line="750">a `PangoRenderer`</doc> | |
| 16848 | 16958 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16849 | 16959 | </parameter> | |
| 16850 | 16960 | <parameter name="font" transfer-ownership="none"> | |
| 16851 | 16961 | <doc xml:space="preserve" | |
| 16852 | 16962 | filename="pango/pango-renderer.c" | |
| 16853 | - | line="752">a `PangoFont`</doc> | |
| 16963 | + | line="751">a `PangoFont`</doc> | |
| 16854 | 16964 | <type name="Font" c:type="PangoFont*"/> | |
| 16855 | 16965 | </parameter> | |
| 16856 | 16966 | <parameter name="glyphs" transfer-ownership="none"> | |
| 16857 | 16967 | <doc xml:space="preserve" | |
| 16858 | 16968 | filename="pango/pango-renderer.c" | |
| 16859 | - | line="753">a `PangoGlyphString`</doc> | |
| 16969 | + | line="752">a `PangoGlyphString`</doc> | |
| 16860 | 16970 | <type name="GlyphString" c:type="PangoGlyphString*"/> | |
| 16861 | 16971 | </parameter> | |
| 16862 | 16972 | <parameter name="x" transfer-ownership="none"> | |
| 16863 | 16973 | <doc xml:space="preserve" | |
| 16864 | 16974 | filename="pango/pango-renderer.c" | |
| 16865 | - | line="754">X position of left edge of baseline, in user space coordinates | |
| 16975 | + | line="753">X position of left edge of baseline, in user space coordinates | |
| 16866 | 16976 | in Pango units.</doc> | |
| 16867 | 16977 | <type name="gint" c:type="int"/> | |
| 16868 | 16978 | </parameter> | |
| 16869 | 16979 | <parameter name="y" transfer-ownership="none"> | |
| 16870 | 16980 | <doc xml:space="preserve" | |
| 16871 | 16981 | filename="pango/pango-renderer.c" | |
| 16872 | - | line="756">Y position of left edge of baseline, in user space coordinates | |
| 16982 | + | line="755">Y position of left edge of baseline, in user space coordinates | |
| 16873 | 16983 | in Pango units.</doc> | |
| 16874 | 16984 | <type name="gint" c:type="int"/> | |
| 16875 | 16985 | </parameter> | |
| @@ -16889,39 +16999,39 @@ and must be implemented: | |||
| 16889 | 16999 | <parameter name="renderer" transfer-ownership="none"> | |
| 16890 | 17000 | <doc xml:space="preserve" | |
| 16891 | 17001 | filename="pango/pango-renderer.c" | |
| 16892 | - | line="876">a `PangoRenderer`</doc> | |
| 17002 | + | line="875">a `PangoRenderer`</doc> | |
| 16893 | 17003 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16894 | 17004 | </parameter> | |
| 16895 | 17005 | <parameter name="part" transfer-ownership="none"> | |
| 16896 | 17006 | <doc xml:space="preserve" | |
| 16897 | 17007 | filename="pango/pango-renderer.c" | |
| 16898 | - | line="877">type of object this rectangle is part of</doc> | |
| 17008 | + | line="876">type of object this rectangle is part of</doc> | |
| 16899 | 17009 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 16900 | 17010 | </parameter> | |
| 16901 | 17011 | <parameter name="x" transfer-ownership="none"> | |
| 16902 | 17012 | <doc xml:space="preserve" | |
| 16903 | 17013 | filename="pango/pango-renderer.c" | |
| 16904 | - | line="878">X position at which to draw rectangle, in user space coordinates | |
| 17014 | + | line="877">X position at which to draw rectangle, in user space coordinates | |
| 16905 | 17015 | in Pango units</doc> | |
| 16906 | 17016 | <type name="gint" c:type="int"/> | |
| 16907 | 17017 | </parameter> | |
| 16908 | 17018 | <parameter name="y" transfer-ownership="none"> | |
| 16909 | 17019 | <doc xml:space="preserve" | |
| 16910 | 17020 | filename="pango/pango-renderer.c" | |
| 16911 | - | line="880">Y position at which to draw rectangle, in user space coordinates | |
| 17021 | + | line="879">Y position at which to draw rectangle, in user space coordinates | |
| 16912 | 17022 | in Pango units</doc> | |
| 16913 | 17023 | <type name="gint" c:type="int"/> | |
| 16914 | 17024 | </parameter> | |
| 16915 | 17025 | <parameter name="width" transfer-ownership="none"> | |
| 16916 | 17026 | <doc xml:space="preserve" | |
| 16917 | 17027 | filename="pango/pango-renderer.c" | |
| 16918 | - | line="882">width of rectangle in Pango units</doc> | |
| 17028 | + | line="881">width of rectangle in Pango units</doc> | |
| 16919 | 17029 | <type name="gint" c:type="int"/> | |
| 16920 | 17030 | </parameter> | |
| 16921 | 17031 | <parameter name="height" transfer-ownership="none"> | |
| 16922 | 17032 | <doc xml:space="preserve" | |
| 16923 | 17033 | filename="pango/pango-renderer.c" | |
| 16924 | - | line="883">height of rectangle in Pango units</doc> | |
| 17034 | + | line="882">height of rectangle in Pango units</doc> | |
| 16925 | 17035 | <type name="gint" c:type="int"/> | |
| 16926 | 17036 | </parameter> | |
| 16927 | 17037 | </parameters> | |
| @@ -16942,31 +17052,31 @@ indicate a spelling error.</doc> | |||
| 16942 | 17052 | <parameter name="renderer" transfer-ownership="none"> | |
| 16943 | 17053 | <doc xml:space="preserve" | |
| 16944 | 17054 | filename="pango/pango-renderer.c" | |
| 16945 | - | line="1017">a `PangoRenderer`</doc> | |
| 17055 | + | line="1016">a `PangoRenderer`</doc> | |
| 16946 | 17056 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 16947 | 17057 | </parameter> | |
| 16948 | 17058 | <parameter name="x" transfer-ownership="none"> | |
| 16949 | 17059 | <doc xml:space="preserve" | |
| 16950 | 17060 | filename="pango/pango-renderer.c" | |
| 16951 | - | line="1018">X coordinate of underline, in Pango units in user coordinate system</doc> | |
| 17061 | + | line="1017">X coordinate of underline, in Pango units in user coordinate system</doc> | |
| 16952 | 17062 | <type name="gint" c:type="int"/> | |
| 16953 | 17063 | </parameter> | |
| 16954 | 17064 | <parameter name="y" transfer-ownership="none"> | |
| 16955 | 17065 | <doc xml:space="preserve" | |
| 16956 | 17066 | filename="pango/pango-renderer.c" | |
| 16957 | - | line="1019">Y coordinate of underline, in Pango units in user coordinate system</doc> | |
| 17067 | + | line="1018">Y coordinate of underline, in Pango units in user coordinate system</doc> | |
| 16958 | 17068 | <type name="gint" c:type="int"/> | |
| 16959 | 17069 | </parameter> | |
| 16960 | 17070 | <parameter name="width" transfer-ownership="none"> | |
| 16961 | 17071 | <doc xml:space="preserve" | |
| 16962 | 17072 | filename="pango/pango-renderer.c" | |
| 16963 | - | line="1020">width of underline, in Pango units in user coordinate system</doc> | |
| 17073 | + | line="1019">width of underline, in Pango units in user coordinate system</doc> | |
| 16964 | 17074 | <type name="gint" c:type="int"/> | |
| 16965 | 17075 | </parameter> | |
| 16966 | 17076 | <parameter name="height" transfer-ownership="none"> | |
| 16967 | 17077 | <doc xml:space="preserve" | |
| 16968 | 17078 | filename="pango/pango-renderer.c" | |
| 16969 | - | line="1021">height of underline, in Pango units in user coordinate system</doc> | |
| 17079 | + | line="1020">height of underline, in Pango units in user coordinate system</doc> | |
| 16970 | 17080 | <type name="gint" c:type="int"/> | |
| 16971 | 17081 | </parameter> | |
| 16972 | 17082 | </parameters> | |
| @@ -17012,49 +17122,49 @@ indicate a spelling error.</doc> | |||
| 17012 | 17122 | <parameter name="renderer" transfer-ownership="none"> | |
| 17013 | 17123 | <doc xml:space="preserve" | |
| 17014 | 17124 | filename="pango/pango-renderer.c" | |
| 17015 | - | line="1177">a `PangoRenderer`</doc> | |
| 17125 | + | line="1176">a `PangoRenderer`</doc> | |
| 17016 | 17126 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 17017 | 17127 | </parameter> | |
| 17018 | 17128 | <parameter name="part" transfer-ownership="none"> | |
| 17019 | 17129 | <doc xml:space="preserve" | |
| 17020 | 17130 | filename="pango/pango-renderer.c" | |
| 17021 | - | line="1178">type of object this trapezoid is part of</doc> | |
| 17131 | + | line="1177">type of object this trapezoid is part of</doc> | |
| 17022 | 17132 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 17023 | 17133 | </parameter> | |
| 17024 | 17134 | <parameter name="y1_" transfer-ownership="none"> | |
| 17025 | 17135 | <doc xml:space="preserve" | |
| 17026 | 17136 | filename="pango/pango-renderer.c" | |
| 17027 | - | line="1179">Y coordinate of top of trapezoid</doc> | |
| 17137 | + | line="1178">Y coordinate of top of trapezoid</doc> | |
| 17028 | 17138 | <type name="gdouble" c:type="double"/> | |
| 17029 | 17139 | </parameter> | |
| 17030 | 17140 | <parameter name="x11" transfer-ownership="none"> | |
| 17031 | 17141 | <doc xml:space="preserve" | |
| 17032 | 17142 | filename="pango/pango-renderer.c" | |
| 17033 | - | line="1180">X coordinate of left end of top of trapezoid</doc> | |
| 17143 | + | line="1179">X coordinate of left end of top of trapezoid</doc> | |
| 17034 | 17144 | <type name="gdouble" c:type="double"/> | |
| 17035 | 17145 | </parameter> | |
| 17036 | 17146 | <parameter name="x21" transfer-ownership="none"> | |
| 17037 | 17147 | <doc xml:space="preserve" | |
| 17038 | 17148 | filename="pango/pango-renderer.c" | |
| 17039 | - | line="1181">X coordinate of right end of top of trapezoid</doc> | |
| 17149 | + | line="1180">X coordinate of right end of top of trapezoid</doc> | |
| 17040 | 17150 | <type name="gdouble" c:type="double"/> | |
| 17041 | 17151 | </parameter> | |
| 17042 | 17152 | <parameter name="y2" transfer-ownership="none"> | |
| 17043 | 17153 | <doc xml:space="preserve" | |
| 17044 | 17154 | filename="pango/pango-renderer.c" | |
| 17045 | - | line="1182">Y coordinate of bottom of trapezoid</doc> | |
| 17155 | + | line="1181">Y coordinate of bottom of trapezoid</doc> | |
| 17046 | 17156 | <type name="gdouble" c:type="double"/> | |
| 17047 | 17157 | </parameter> | |
| 17048 | 17158 | <parameter name="x12" transfer-ownership="none"> | |
| 17049 | 17159 | <doc xml:space="preserve" | |
| 17050 | 17160 | filename="pango/pango-renderer.c" | |
| 17051 | - | line="1183">X coordinate of left end of bottom of trapezoid</doc> | |
| 17161 | + | line="1182">X coordinate of left end of bottom of trapezoid</doc> | |
| 17052 | 17162 | <type name="gdouble" c:type="double"/> | |
| 17053 | 17163 | </parameter> | |
| 17054 | 17164 | <parameter name="x22" transfer-ownership="none"> | |
| 17055 | 17165 | <doc xml:space="preserve" | |
| 17056 | 17166 | filename="pango/pango-renderer.c" | |
| 17057 | - | line="1184">X coordinate of right end of bottom of trapezoid</doc> | |
| 17167 | + | line="1183">X coordinate of right end of bottom of trapezoid</doc> | |
| 17058 | 17168 | <type name="gdouble" c:type="double"/> | |
| 17059 | 17169 | </parameter> | |
| 17060 | 17170 | </parameters> | |
| @@ -17073,31 +17183,31 @@ indicate a spelling error.</doc> | |||
| 17073 | 17183 | <parameter name="renderer" transfer-ownership="none"> | |
| 17074 | 17184 | <doc xml:space="preserve" | |
| 17075 | 17185 | filename="pango/pango-renderer.c" | |
| 17076 | - | line="1212">a `PangoRenderer`</doc> | |
| 17186 | + | line="1211">a `PangoRenderer`</doc> | |
| 17077 | 17187 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 17078 | 17188 | </parameter> | |
| 17079 | 17189 | <parameter name="font" transfer-ownership="none"> | |
| 17080 | 17190 | <doc xml:space="preserve" | |
| 17081 | 17191 | filename="pango/pango-renderer.c" | |
| 17082 | - | line="1213">a `PangoFont`</doc> | |
| 17192 | + | line="1212">a `PangoFont`</doc> | |
| 17083 | 17193 | <type name="Font" c:type="PangoFont*"/> | |
| 17084 | 17194 | </parameter> | |
| 17085 | 17195 | <parameter name="glyph" transfer-ownership="none"> | |
| 17086 | 17196 | <doc xml:space="preserve" | |
| 17087 | 17197 | filename="pango/pango-renderer.c" | |
| 17088 | - | line="1214">the glyph index of a single glyph</doc> | |
| 17198 | + | line="1213">the glyph index of a single glyph</doc> | |
| 17089 | 17199 | <type name="Glyph" c:type="PangoGlyph"/> | |
| 17090 | 17200 | </parameter> | |
| 17091 | 17201 | <parameter name="x" transfer-ownership="none"> | |
| 17092 | 17202 | <doc xml:space="preserve" | |
| 17093 | 17203 | filename="pango/pango-renderer.c" | |
| 17094 | - | line="1215">X coordinate of left edge of baseline of glyph</doc> | |
| 17204 | + | line="1214">X coordinate of left edge of baseline of glyph</doc> | |
| 17095 | 17205 | <type name="gdouble" c:type="double"/> | |
| 17096 | 17206 | </parameter> | |
| 17097 | 17207 | <parameter name="y" transfer-ownership="none"> | |
| 17098 | 17208 | <doc xml:space="preserve" | |
| 17099 | 17209 | filename="pango/pango-renderer.c" | |
| 17100 | - | line="1216">Y coordinate of left edge of baseline of glyph</doc> | |
| 17210 | + | line="1215">Y coordinate of left edge of baseline of glyph</doc> | |
| 17101 | 17211 | <type name="gdouble" c:type="double"/> | |
| 17102 | 17212 | </parameter> | |
| 17103 | 17213 | </parameters> | |
| @@ -17117,13 +17227,13 @@ indicate a spelling error.</doc> | |||
| 17117 | 17227 | <parameter name="renderer" transfer-ownership="none"> | |
| 17118 | 17228 | <doc xml:space="preserve" | |
| 17119 | 17229 | filename="pango/pango-renderer.c" | |
| 17120 | - | line="1414">a `PangoRenderer`</doc> | |
| 17230 | + | line="1413">a `PangoRenderer`</doc> | |
| 17121 | 17231 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 17122 | 17232 | </parameter> | |
| 17123 | 17233 | <parameter name="part" transfer-ownership="none"> | |
| 17124 | 17234 | <doc xml:space="preserve" | |
| 17125 | 17235 | filename="pango/pango-renderer.c" | |
| 17126 | - | line="1415">the part for which rendering has changed.</doc> | |
| 17236 | + | line="1414">the part for which rendering has changed.</doc> | |
| 17127 | 17237 | <type name="RenderPart" c:type="PangoRenderPart"/> | |
| 17128 | 17238 | </parameter> | |
| 17129 | 17239 | </parameters> | |
| @@ -17193,7 +17303,7 @@ indicate a spelling error.</doc> | |||
| 17193 | 17303 | <parameter name="renderer" transfer-ownership="none"> | |
| 17194 | 17304 | <doc xml:space="preserve" | |
| 17195 | 17305 | filename="pango/pango-renderer.c" | |
| 17196 | - | line="807">a `PangoRenderer`</doc> | |
| 17306 | + | line="806">a `PangoRenderer`</doc> | |
| 17197 | 17307 | <type name="Renderer" c:type="PangoRenderer*"/> | |
| 17198 | 17308 | </parameter> | |
| 17199 | 17309 | <parameter name="text" | |
| @@ -17202,26 +17312,26 @@ indicate a spelling error.</doc> | |||
| 17202 | 17312 | allow-none="1"> | |
| 17203 | 17313 | <doc xml:space="preserve" | |
| 17204 | 17314 | filename="pango/pango-renderer.c" | |
| 17205 | - | line="808">the UTF-8 text that @glyph_item refers to</doc> | |
| 17315 | + | line="807">the UTF-8 text that @glyph_item refers to</doc> | |
| 17206 | 17316 | <type name="utf8" c:type="const char*"/> | |
| 17207 | 17317 | </parameter> | |
| 17208 | 17318 | <parameter name="glyph_item" transfer-ownership="none"> | |
| 17209 | 17319 | <doc xml:space="preserve" | |
| 17210 | 17320 | filename="pango/pango-renderer.c" | |
| 17211 | - | line="809">a `PangoGlyphItem`</doc> | |
| 17321 | + | line="808">a `PangoGlyphItem`</doc> | |
| 17212 | 17322 | <type name="GlyphItem" c:type="PangoGlyphItem*"/> | |
| 17213 | 17323 | </parameter> | |
| 17214 | 17324 | <parameter name="x" transfer-ownership="none"> | |
| 17215 | 17325 | <doc xml:space="preserve" | |
| 17216 | 17326 | filename="pango/pango-renderer.c" | |
| 17217 | - | line="810">X position of left edge of baseline, in user space coordinates | |
| 17327 | + | line="809">X position of left edge of baseline, in user space coordinates | |
| 17218 | 17328 | in Pango units</doc> | |
| 17219 | 17329 | <type name="gint" c:type="int"/> | |
| 17220 | 17330 | </parameter> | |
| 17221 | 17331 | <parameter name="y" transfer-ownership="none"> | |
| 17222 | 17332 | <doc xml:space="preserve" | |
| 17223 | 17333 | filename="pango/pango-renderer.c" | |
| 17224 | - | line="812">Y position of left edge of baseline, in user space coordinates | |
| 17334 | + | line="811">Y position of left edge of baseline, in user space coordinates | |
| 17225 | 17335 | in Pango units</doc> | |
| 17226 | 17336 | <type name="gint" c:type="int"/> | |
| 17227 | 17337 | </parameter> | |
| @@ -19602,14 +19712,14 @@ Two encoded version numbers can be compared as integers.</doc> | |||
| 19602 | 19712 | <source-position filename="pango/pango-features.h" line="4"/> | |
| 19603 | 19713 | <type name="gint" c:type="gint"/> | |
| 19604 | 19714 | </constant> | |
| 19605 | - | <constant name="VERSION_MICRO" value="3" c:type="PANGO_VERSION_MICRO"> | |
| 19715 | + | <constant name="VERSION_MICRO" value="0" c:type="PANGO_VERSION_MICRO"> | |
| 19606 | 19716 | <doc xml:space="preserve" | |
| 19607 | 19717 | filename="pango/pango-utils.h" | |
| 19608 | 19718 | line="147">The micro component of the version of Pango available at compile-time.</doc> | |
| 19609 | 19719 | <source-position filename="pango/pango-features.h" line="6"/> | |
| 19610 | 19720 | <type name="gint" c:type="gint"/> | |
| 19611 | 19721 | </constant> | |
| 19612 | - | <constant name="VERSION_MINOR" value="56" c:type="PANGO_VERSION_MINOR"> | |
| 19722 | + | <constant name="VERSION_MINOR" value="57" c:type="PANGO_VERSION_MINOR"> | |
| 19613 | 19723 | <doc xml:space="preserve" | |
| 19614 | 19724 | filename="pango/pango-utils.h" | |
| 19615 | 19725 | line="142">The minor component of the version of Pango available at compile-time.</doc> | |
| @@ -19617,7 +19727,7 @@ Two encoded version numbers can be compared as integers.</doc> | |||
| 19617 | 19727 | <type name="gint" c:type="gint"/> | |
| 19618 | 19728 | </constant> | |
| 19619 | 19729 | <constant name="VERSION_STRING" | |
| 19620 | - | value="1.56.3" | |
| 19730 | + | value="1.57.0" | |
| 19621 | 19731 | c:type="PANGO_VERSION_STRING"> | |
| 19622 | 19732 | <doc xml:space="preserve" | |
| 19623 | 19733 | filename="pango/pango-utils.h" | |
| @@ -19998,7 +20108,7 @@ relative to the run of preceding run. | |||
| 19998 | 20108 | <function name="attr_break" c:identifier="pango_attr_break" version="1.50"> | |
| 19999 | 20109 | <doc xml:space="preserve" | |
| 20000 | 20110 | filename="pango/break.c" | |
| 20001 | - | line="2544">Apply customization from attributes to the breaks in @attrs. | |
| 20111 | + | line="2525">Apply customization from attributes to the breaks in @attrs. | |
| 20002 | 20112 | ||
| 20003 | 20113 | The line breaks are assumed to have been produced | |
| 20004 | 20114 | by [func@Pango.default_break] and [func@Pango.tailor_break].</doc> | |
| @@ -20010,25 +20120,25 @@ by [func@Pango.default_break] and [func@Pango.tailor_break].</doc> | |||
| 20010 | 20120 | <parameter name="text" transfer-ownership="none"> | |
| 20011 | 20121 | <doc xml:space="preserve" | |
| 20012 | 20122 | filename="pango/break.c" | |
| 20013 | - | line="2546">text to break. Must be valid UTF-8</doc> | |
| 20123 | + | line="2527">text to break. Must be valid UTF-8</doc> | |
| 20014 | 20124 | <type name="utf8" c:type="const char*"/> | |
| 20015 | 20125 | </parameter> | |
| 20016 | 20126 | <parameter name="length" transfer-ownership="none"> | |
| 20017 | 20127 | <doc xml:space="preserve" | |
| 20018 | 20128 | filename="pango/break.c" | |
| 20019 | - | line="2547">length of text in bytes (may be -1 if @text is nul-terminated)</doc> | |
| 20129 | + | line="2528">length of text in bytes (may be -1 if @text is nul-terminated)</doc> | |
| 20020 | 20130 | <type name="gint" c:type="int"/> | |
| 20021 | 20131 | </parameter> | |
| 20022 | 20132 | <parameter name="attr_list" transfer-ownership="none"> | |
| 20023 | 20133 | <doc xml:space="preserve" | |
| 20024 | 20134 | filename="pango/break.c" | |
| 20025 | - | line="2548">`PangoAttrList` to apply</doc> | |
| 20135 | + | line="2529">`PangoAttrList` to apply</doc> | |
| 20026 | 20136 | <type name="AttrList" c:type="PangoAttrList*"/> | |
| 20027 | 20137 | </parameter> | |
| 20028 | 20138 | <parameter name="offset" transfer-ownership="none"> | |
| 20029 | 20139 | <doc xml:space="preserve" | |
| 20030 | 20140 | filename="pango/break.c" | |
| 20031 | - | line="2549">Byte offset of @text from the beginning of the paragraph</doc> | |
| 20141 | + | line="2530">Byte offset of @text from the beginning of the paragraph</doc> | |
| 20032 | 20142 | <type name="gint" c:type="int"/> | |
| 20033 | 20143 | </parameter> | |
| 20034 | 20144 | <parameter name="attrs" | |
| @@ -20037,7 +20147,7 @@ by [func@Pango.default_break] and [func@Pango.tailor_break].</doc> | |||
| 20037 | 20147 | transfer-ownership="none"> | |
| 20038 | 20148 | <doc xml:space="preserve" | |
| 20039 | 20149 | filename="pango/break.c" | |
| 20040 | - | line="2550">array with one | |
| 20150 | + | line="2531">array with one | |
| 20041 | 20151 | `PangoLogAttr` per character in @text, plus one extra, to be filled in</doc> | |
| 20042 | 20152 | <array length="5" zero-terminated="0" c:type="PangoLogAttr*"> | |
| 20043 | 20153 | <type name="LogAttr" c:type="PangoLogAttr"/> | |
| @@ -20046,7 +20156,7 @@ by [func@Pango.default_break] and [func@Pango.tailor_break].</doc> | |||
| 20046 | 20156 | <parameter name="attrs_len" transfer-ownership="none"> | |
| 20047 | 20157 | <doc xml:space="preserve" | |
| 20048 | 20158 | filename="pango/break.c" | |
| 20049 | - | line="2552">length of @attrs array</doc> | |
| 20159 | + | line="2533">length of @attrs array</doc> | |
| 20050 | 20160 | <type name="gint" c:type="int"/> | |
| 20051 | 20161 | </parameter> | |
| 20052 | 20162 | </parameters> | |
| @@ -21099,7 +21209,7 @@ Unicode bidirectional algorithm.</doc> | |||
| 21099 | 21209 | deprecated-version="1.44"> | |
| 21100 | 21210 | <doc xml:space="preserve" | |
| 21101 | 21211 | filename="pango/break.c" | |
| 21102 | - | line="2465">Determines possible line, word, and character breaks | |
| 21212 | + | line="2446">Determines possible line, word, and character breaks | |
| 21103 | 21213 | for a string of Unicode text with a single analysis. | |
| 21104 | 21214 | ||
| 21105 | 21215 | For most purposes you may want to use [func@Pango.get_log_attrs].</doc> | |
| @@ -21113,19 +21223,19 @@ For most purposes you may want to use [func@Pango.get_log_attrs].</doc> | |||
| 21113 | 21223 | <parameter name="text" transfer-ownership="none"> | |
| 21114 | 21224 | <doc xml:space="preserve" | |
| 21115 | 21225 | filename="pango/break.c" | |
| 21116 | - | line="2467">the text to process. Must be valid UTF-8</doc> | |
| 21226 | + | line="2448">the text to process. Must be valid UTF-8</doc> | |
| 21117 | 21227 | <type name="utf8" c:type="const char*"/> | |
| 21118 | 21228 | </parameter> | |
| 21119 | 21229 | <parameter name="length" transfer-ownership="none"> | |
| 21120 | 21230 | <doc xml:space="preserve" | |
| 21121 | 21231 | filename="pango/break.c" | |
| 21122 | - | line="2468">length of @text in bytes (may be -1 if @text is nul-terminated)</doc> | |
| 21232 | + | line="2449">length of @text in bytes (may be -1 if @text is nul-terminated)</doc> | |
| 21123 | 21233 | <type name="gint" c:type="int"/> | |
| 21124 | 21234 | </parameter> | |
| 21125 | 21235 | <parameter name="analysis" transfer-ownership="none"> | |
| 21126 | 21236 | <doc xml:space="preserve" | |
| 21127 | 21237 | filename="pango/break.c" | |
| 21128 | - | line="2469">`PangoAnalysis` structure for @text</doc> | |
| 21238 | + | line="2450">`PangoAnalysis` structure for @text</doc> | |
| 21129 | 21239 | <type name="Analysis" c:type="PangoAnalysis*"/> | |
| 21130 | 21240 | </parameter> | |
| 21131 | 21241 | <parameter name="attrs" | |
| @@ -21134,7 +21244,7 @@ For most purposes you may want to use [func@Pango.get_log_attrs].</doc> | |||
| 21134 | 21244 | transfer-ownership="none"> | |
| 21135 | 21245 | <doc xml:space="preserve" | |
| 21136 | 21246 | filename="pango/break.c" | |
| 21137 | - | line="2470">an array to | |
| 21247 | + | line="2451">an array to | |
| 21138 | 21248 | store character information in</doc> | |
| 21139 | 21249 | <array length="4" zero-terminated="0" c:type="PangoLogAttr*"> | |
| 21140 | 21250 | <type name="LogAttr" c:type="PangoLogAttr"/> | |
| @@ -21143,7 +21253,7 @@ For most purposes you may want to use [func@Pango.get_log_attrs].</doc> | |||
| 21143 | 21253 | <parameter name="attrs_len" transfer-ownership="none"> | |
| 21144 | 21254 | <doc xml:space="preserve" | |
| 21145 | 21255 | filename="pango/break.c" | |
| 21146 | - | line="2472">size of the array passed as @attrs</doc> | |
| 21256 | + | line="2453">size of the array passed as @attrs</doc> | |
| 21147 | 21257 | <type name="gint" c:type="int"/> | |
| 21148 | 21258 | </parameter> | |
| 21149 | 21259 | </parameters> | |
| @@ -21151,7 +21261,7 @@ For most purposes you may want to use [func@Pango.get_log_attrs].</doc> | |||
| 21151 | 21261 | <function name="default_break" c:identifier="pango_default_break"> | |
| 21152 | 21262 | <doc xml:space="preserve" | |
| 21153 | 21263 | filename="pango/break.c" | |
| 21154 | - | line="2430">This is the default break algorithm. | |
| 21264 | + | line="2411">This is the default break algorithm. | |
| 21155 | 21265 | ||
| 21156 | 21266 | It applies rules from the [Unicode Line Breaking Algorithm](http://www.unicode.org/unicode/reports/tr14/) | |
| 21157 | 21267 | without language-specific tailoring, therefore the @analyis argument is unused | |
| @@ -21168,13 +21278,13 @@ See [func@Pango.attr_break] for attribute-based customization.</doc> | |||
| 21168 | 21278 | <parameter name="text" transfer-ownership="none"> | |
| 21169 | 21279 | <doc xml:space="preserve" | |
| 21170 | 21280 | filename="pango/break.c" | |
| 21171 | - | line="2432">text to break. Must be valid UTF-8</doc> | |
| 21281 | + | line="2413">text to break. Must be valid UTF-8</doc> | |
| 21172 | 21282 | <type name="utf8" c:type="const char*"/> | |
| 21173 | 21283 | </parameter> | |
| 21174 | 21284 | <parameter name="length" transfer-ownership="none"> | |
| 21175 | 21285 | <doc xml:space="preserve" | |
| 21176 | 21286 | filename="pango/break.c" | |
| 21177 | - | line="2433">length of text in bytes (may be -1 if @text is nul-terminated)</doc> | |
| 21287 | + | line="2414">length of text in bytes (may be -1 if @text is nul-terminated)</doc> | |
| 21178 | 21288 | <type name="gint" c:type="int"/> | |
| 21179 | 21289 | </parameter> | |
| 21180 | 21290 | <parameter name="analysis" | |
| @@ -21183,7 +21293,7 @@ See [func@Pango.attr_break] for attribute-based customization.</doc> | |||
| 21183 | 21293 | allow-none="1"> | |
| 21184 | 21294 | <doc xml:space="preserve" | |
| 21185 | 21295 | filename="pango/break.c" | |
| 21186 | - | line="2434">a `PangoAnalysis` structure for the @text</doc> | |
| 21296 | + | line="2415">a `PangoAnalysis` structure for the @text</doc> | |
| 21187 | 21297 | <type name="Analysis" c:type="PangoAnalysis*"/> | |
| 21188 | 21298 | </parameter> | |
| 21189 | 21299 | <parameter name="attrs" | |
| @@ -21192,7 +21302,7 @@ See [func@Pango.attr_break] for attribute-based customization.</doc> | |||
| 21192 | 21302 | transfer-ownership="none"> | |
| 21193 | 21303 | <doc xml:space="preserve" | |
| 21194 | 21304 | filename="pango/break.c" | |
| 21195 | - | line="2435">logical | |
| 21305 | + | line="2416">logical | |
| 21196 | 21306 | attributes to fill in</doc> | |
| 21197 | 21307 | <array length="4" zero-terminated="0" c:type="PangoLogAttr*"> | |
| 21198 | 21308 | <type name="LogAttr" c:type="PangoLogAttr"/> | |
| @@ -21201,7 +21311,7 @@ See [func@Pango.attr_break] for attribute-based customization.</doc> | |||
| 21201 | 21311 | <parameter name="attrs_len" transfer-ownership="none"> | |
| 21202 | 21312 | <doc xml:space="preserve" | |
| 21203 | 21313 | filename="pango/break.c" | |
| 21204 | - | line="2437">size of the array passed as @attrs</doc> | |
| 21314 | + | line="2418">size of the array passed as @attrs</doc> | |
| 21205 | 21315 | <type name="gint" c:type="int"/> | |
| 21206 | 21316 | </parameter> | |
| 21207 | 21317 | </parameters> | |
| @@ -21234,18 +21344,20 @@ as @nearest.</doc> | |||
| 21234 | 21344 | </return-value> | |
| 21235 | 21345 | <parameters> | |
| 21236 | 21346 | <parameter name="inclusive" | |
| 21237 | - | transfer-ownership="none" | |
| 21238 | - | nullable="1" | |
| 21239 | - | allow-none="1"> | |
| 21347 | + | direction="inout" | |
| 21348 | + | caller-allocates="0" | |
| 21349 | + | transfer-ownership="full" | |
| 21350 | + | optional="1"> | |
| 21240 | 21351 | <doc xml:space="preserve" | |
| 21241 | 21352 | filename="pango/pango-utils.c" | |
| 21242 | 21353 | line="1026">rectangle to round to pixels inclusively</doc> | |
| 21243 | 21354 | <type name="Rectangle" c:type="PangoRectangle*"/> | |
| 21244 | 21355 | </parameter> | |
| 21245 | 21356 | <parameter name="nearest" | |
| 21246 | - | transfer-ownership="none" | |
| 21247 | - | nullable="1" | |
| 21248 | - | allow-none="1"> | |
| 21357 | + | direction="inout" | |
| 21358 | + | caller-allocates="0" | |
| 21359 | + | transfer-ownership="full" | |
| 21360 | + | optional="1"> | |
| 21249 | 21361 | <doc xml:space="preserve" | |
| 21250 | 21362 | filename="pango/pango-utils.c" | |
| 21251 | 21363 | line="1027">rectangle to round to nearest pixels</doc> | |
| @@ -21321,21 +21433,25 @@ and @next_paragraph_start are filled with the length of @text | |||
| 21321 | 21433 | <parameter name="paragraph_delimiter_index" | |
| 21322 | 21434 | direction="out" | |
| 21323 | 21435 | caller-allocates="0" | |
| 21324 | - | transfer-ownership="full"> | |
| 21436 | + | transfer-ownership="full" | |
| 21437 | + | optional="1" | |
| 21438 | + | allow-none="1"> | |
| 21325 | 21439 | <doc xml:space="preserve" | |
| 21326 | 21440 | filename="pango/pango-utils.c" | |
| 21327 | - | line="1158">return location for index of | |
| 21328 | - | delimiter</doc> | |
| 21441 | + | line="1158">return location | |
| 21442 | + | for index of delimiter</doc> | |
| 21329 | 21443 | <type name="gint" c:type="int*"/> | |
| 21330 | 21444 | </parameter> | |
| 21331 | 21445 | <parameter name="next_paragraph_start" | |
| 21332 | 21446 | direction="out" | |
| 21333 | 21447 | caller-allocates="0" | |
| 21334 | - | transfer-ownership="full"> | |
| 21448 | + | transfer-ownership="full" | |
| 21449 | + | optional="1" | |
| 21450 | + | allow-none="1"> | |
| 21335 | 21451 | <doc xml:space="preserve" | |
| 21336 | 21452 | filename="pango/pango-utils.c" | |
| 21337 | - | line="1160">return location for start of next | |
| 21338 | - | paragraph</doc> | |
| 21453 | + | line="1160">return location for | |
| 21454 | + | start of next paragraph</doc> | |
| 21339 | 21455 | <type name="gint" c:type="int*"/> | |
| 21340 | 21456 | </parameter> | |
| 21341 | 21457 | </parameters> | |
| @@ -21345,7 +21461,7 @@ and @next_paragraph_start are filled with the length of @text | |||
| 21345 | 21461 | moved-to="FontDescription.from_string"> | |
| 21346 | 21462 | <doc xml:space="preserve" | |
| 21347 | 21463 | filename="pango/fonts.c" | |
| 21348 | - | line="1403">Creates a new font description from a string representation. | |
| 21464 | + | line="1462">Creates a new font description from a string representation. | |
| 21349 | 21465 | ||
| 21350 | 21466 | The string must have the form | |
| 21351 | 21467 | ||
| @@ -21378,6 +21494,9 @@ The following words are understood as gravity values: | |||
| 21378 | 21494 | "Not-Rotated", "South", "Upside-Down", "North", "Rotated-Left", | |
| 21379 | 21495 | "East", "Rotated-Right", "West". | |
| 21380 | 21496 | ||
| 21497 | + | The following words are understood as color values: | |
| 21498 | + | "With-Color", "Without-Color". | |
| 21499 | + | ||
| 21381 | 21500 | VARIATIONS is a comma-separated list of font variations | |
| 21382 | 21501 | of the form @<U+200D>axis1=value,axis2=value,... | |
| 21383 | 21502 | ||
| @@ -21394,18 +21513,18 @@ size in the resulting font description will be set to 0. | |||
| 21394 | 21513 | A typical example: | |
| 21395 | 21514 | ||
| 21396 | 21515 | Cantarell Italic Light 15 @<U+200D>wght=200 #<U+200D>tnum=1</doc> | |
| 21397 | - | <source-position filename="pango/pango-font.h" line="369"/> | |
| 21516 | + | <source-position filename="pango/pango-font.h" line="399"/> | |
| 21398 | 21517 | <return-value transfer-ownership="full"> | |
| 21399 | 21518 | <doc xml:space="preserve" | |
| 21400 | 21519 | filename="pango/fonts.c" | |
| 21401 | - | line="1457">a new `PangoFontDescription`.</doc> | |
| 21520 | + | line="1519">a new `PangoFontDescription`.</doc> | |
| 21402 | 21521 | <type name="FontDescription" c:type="PangoFontDescription*"/> | |
| 21403 | 21522 | </return-value> | |
| 21404 | 21523 | <parameters> | |
| 21405 | 21524 | <parameter name="str" transfer-ownership="none"> | |
| 21406 | 21525 | <doc xml:space="preserve" | |
| 21407 | 21526 | filename="pango/fonts.c" | |
| 21408 | - | line="1405">string representation of a font description.</doc> | |
| 21527 | + | line="1464">string representation of a font description.</doc> | |
| 21409 | 21528 | <type name="utf8" c:type="const char*"/> | |
| 21410 | 21529 | </parameter> | |
| 21411 | 21530 | </parameters> | |
| @@ -21413,7 +21532,7 @@ A typical example: | |||
| 21413 | 21532 | <function name="get_log_attrs" c:identifier="pango_get_log_attrs"> | |
| 21414 | 21533 | <doc xml:space="preserve" | |
| 21415 | 21534 | filename="pango/break.c" | |
| 21416 | - | line="2590">Computes a `PangoLogAttr` for each character in @text. | |
| 21535 | + | line="2571">Computes a `PangoLogAttr` for each character in @text. | |
| 21417 | 21536 | ||
| 21418 | 21537 | The @attrs array must have one `PangoLogAttr` for | |
| 21419 | 21538 | each position in @text; if @text contains N characters, | |
| @@ -21430,25 +21549,25 @@ a word to know the word is a word).</doc> | |||
| 21430 | 21549 | <parameter name="text" transfer-ownership="none"> | |
| 21431 | 21550 | <doc xml:space="preserve" | |
| 21432 | 21551 | filename="pango/break.c" | |
| 21433 | - | line="2592">text to process. Must be valid UTF-8</doc> | |
| 21552 | + | line="2573">text to process. Must be valid UTF-8</doc> | |
| 21434 | 21553 | <type name="utf8" c:type="const char*"/> | |
| 21435 | 21554 | </parameter> | |
| 21436 | 21555 | <parameter name="length" transfer-ownership="none"> | |
| 21437 | 21556 | <doc xml:space="preserve" | |
| 21438 | 21557 | filename="pango/break.c" | |
| 21439 | - | line="2593">length in bytes of @text</doc> | |
| 21558 | + | line="2574">length in bytes of @text</doc> | |
| 21440 | 21559 | <type name="gint" c:type="int"/> | |
| 21441 | 21560 | </parameter> | |
| 21442 | 21561 | <parameter name="level" transfer-ownership="none"> | |
| 21443 | 21562 | <doc xml:space="preserve" | |
| 21444 | 21563 | filename="pango/break.c" | |
| 21445 | - | line="2594">embedding level, or -1 if unknown</doc> | |
| 21564 | + | line="2575">embedding level, or -1 if unknown</doc> | |
| 21446 | 21565 | <type name="gint" c:type="int"/> | |
| 21447 | 21566 | </parameter> | |
| 21448 | 21567 | <parameter name="language" transfer-ownership="none"> | |
| 21449 | 21568 | <doc xml:space="preserve" | |
| 21450 | 21569 | filename="pango/break.c" | |
| 21451 | - | line="2595">language tag</doc> | |
| 21570 | + | line="2576">language tag</doc> | |
| 21452 | 21571 | <type name="Language" c:type="PangoLanguage*"/> | |
| 21453 | 21572 | </parameter> | |
| 21454 | 21573 | <parameter name="attrs" | |
| @@ -21457,7 +21576,7 @@ a word to know the word is a word).</doc> | |||
| 21457 | 21576 | transfer-ownership="none"> | |
| 21458 | 21577 | <doc xml:space="preserve" | |
| 21459 | 21578 | filename="pango/break.c" | |
| 21460 | - | line="2596">array with one | |
| 21579 | + | line="2577">array with one | |
| 21461 | 21580 | `PangoLogAttr` per character in @text, plus one extra, to be filled in</doc> | |
| 21462 | 21581 | <array length="5" zero-terminated="0" c:type="PangoLogAttr*"> | |
| 21463 | 21582 | <type name="LogAttr" c:type="PangoLogAttr"/> | |
| @@ -21466,7 +21585,7 @@ a word to know the word is a word).</doc> | |||
| 21466 | 21585 | <parameter name="attrs_len" transfer-ownership="none"> | |
| 21467 | 21586 | <doc xml:space="preserve" | |
| 21468 | 21587 | filename="pango/break.c" | |
| 21469 | - | line="2598">length of @attrs array</doc> | |
| 21588 | + | line="2579">length of @attrs array</doc> | |
| 21470 | 21589 | <type name="gint" c:type="int"/> | |
| 21471 | 21590 | </parameter> | |
| 21472 | 21591 | </parameters> | |
| @@ -21693,7 +21812,7 @@ This is totally different from [func@GLib.unichar_iszerowidth] and is at best mi | |||
| 21693 | 21812 | <function name="itemize" c:identifier="pango_itemize"> | |
| 21694 | 21813 | <doc xml:space="preserve" | |
| 21695 | 21814 | filename="pango/itemize.c" | |
| 21696 | - | line="1645">Breaks a piece of text into segments with consistent directional | |
| 21815 | + | line="1662">Breaks a piece of text into segments with consistent directional | |
| 21697 | 21816 | level and font. | |
| 21698 | 21817 | ||
| 21699 | 21818 | Each byte of @text will be contained in exactly one of the items in the | |
| @@ -21709,7 +21828,7 @@ in the same @cached_iter).</doc> | |||
| 21709 | 21828 | <return-value transfer-ownership="full"> | |
| 21710 | 21829 | <doc xml:space="preserve" | |
| 21711 | 21830 | filename="pango/itemize.c" | |
| 21712 | - | line="1669">a `GList` of | |
| 21831 | + | line="1686">a `GList` of | |
| 21713 | 21832 | [struct@Pango.Item] structures. The items should be freed using | |
| 21714 | 21833 | [method@Pango.Item.free] in combination with [func@GLib.List.free_full].</doc> | |
| 21715 | 21834 | <type name="GLib.List" c:type="GList*"> | |
| @@ -21720,33 +21839,33 @@ in the same @cached_iter).</doc> | |||
| 21720 | 21839 | <parameter name="context" transfer-ownership="none"> | |
| 21721 | 21840 | <doc xml:space="preserve" | |
| 21722 | 21841 | filename="pango/itemize.c" | |
| 21723 | - | line="1647">a structure holding information that affects | |
| 21842 | + | line="1664">a structure holding information that affects | |
| 21724 | 21843 | the itemization process.</doc> | |
| 21725 | 21844 | <type name="Context" c:type="PangoContext*"/> | |
| 21726 | 21845 | </parameter> | |
| 21727 | 21846 | <parameter name="text" transfer-ownership="none"> | |
| 21728 | 21847 | <doc xml:space="preserve" | |
| 21729 | 21848 | filename="pango/itemize.c" | |
| 21730 | - | line="1649">the text to itemize. Must be valid UTF-8</doc> | |
| 21849 | + | line="1666">the text to itemize. Must be valid UTF-8</doc> | |
| 21731 | 21850 | <type name="utf8" c:type="const char*"/> | |
| 21732 | 21851 | </parameter> | |
| 21733 | 21852 | <parameter name="start_index" transfer-ownership="none"> | |
| 21734 | 21853 | <doc xml:space="preserve" | |
| 21735 | 21854 | filename="pango/itemize.c" | |
| 21736 | - | line="1650">first byte in @text to process</doc> | |
| 21855 | + | line="1667">first byte in @text to process</doc> | |
| 21737 | 21856 | <type name="gint" c:type="int"/> | |
| 21738 | 21857 | </parameter> | |
| 21739 | 21858 | <parameter name="length" transfer-ownership="none"> | |
| 21740 | 21859 | <doc xml:space="preserve" | |
| 21741 | 21860 | filename="pango/itemize.c" | |
| 21742 | - | line="1651">the number of bytes (not characters) to process | |
| 21861 | + | line="1668">the number of bytes (not characters) to process | |
| 21743 | 21862 | after @start_index. This must be >= 0.</doc> | |
| 21744 | 21863 | <type name="gint" c:type="int"/> | |
| 21745 | 21864 | </parameter> | |
| 21746 | 21865 | <parameter name="attrs" transfer-ownership="none"> | |
| 21747 | 21866 | <doc xml:space="preserve" | |
| 21748 | 21867 | filename="pango/itemize.c" | |
| 21749 | - | line="1653">the set of attributes that apply to @text.</doc> | |
| 21868 | + | line="1670">the set of attributes that apply to @text.</doc> | |
| 21750 | 21869 | <type name="AttrList" c:type="PangoAttrList*"/> | |
| 21751 | 21870 | </parameter> | |
| 21752 | 21871 | <parameter name="cached_iter" | |
| @@ -21755,7 +21874,7 @@ in the same @cached_iter).</doc> | |||
| 21755 | 21874 | allow-none="1"> | |
| 21756 | 21875 | <doc xml:space="preserve" | |
| 21757 | 21876 | filename="pango/itemize.c" | |
| 21758 | - | line="1654">Cached attribute iterator</doc> | |
| 21877 | + | line="1671">Cached attribute iterator</doc> | |
| 21759 | 21878 | <type name="AttrIterator" c:type="PangoAttrIterator*"/> | |
| 21760 | 21879 | </parameter> | |
| 21761 | 21880 | </parameters> | |
| @@ -21765,7 +21884,7 @@ in the same @cached_iter).</doc> | |||
| 21765 | 21884 | version="1.4"> | |
| 21766 | 21885 | <doc xml:space="preserve" | |
| 21767 | 21886 | filename="pango/itemize.c" | |
| 21768 | - | line="1597">Like `pango_itemize()`, but with an explicitly specified base direction. | |
| 21887 | + | line="1614">Like `pango_itemize()`, but with an explicitly specified base direction. | |
| 21769 | 21888 | ||
| 21770 | 21889 | The base direction is used when computing bidirectional levels. | |
| 21771 | 21890 | [func@itemize] gets the base direction from the `PangoContext` | |
| @@ -21774,7 +21893,7 @@ The base direction is used when computing bidirectional levels. | |||
| 21774 | 21893 | <return-value transfer-ownership="full"> | |
| 21775 | 21894 | <doc xml:space="preserve" | |
| 21776 | 21895 | filename="pango/itemize.c" | |
| 21777 | - | line="1615">a `GList` of | |
| 21896 | + | line="1632">a `GList` of | |
| 21778 | 21897 | [struct@Pango.Item] structures. The items should be freed using | |
| 21779 | 21898 | [method@Pango.Item.free] probably in combination with [func@GLib.List.free_full].</doc> | |
| 21780 | 21899 | <type name="GLib.List" c:type="GList*"> | |
| @@ -21785,39 +21904,39 @@ The base direction is used when computing bidirectional levels. | |||
| 21785 | 21904 | <parameter name="context" transfer-ownership="none"> | |
| 21786 | 21905 | <doc xml:space="preserve" | |
| 21787 | 21906 | filename="pango/itemize.c" | |
| 21788 | - | line="1599">a structure holding information that affects | |
| 21907 | + | line="1616">a structure holding information that affects | |
| 21789 | 21908 | the itemization process.</doc> | |
| 21790 | 21909 | <type name="Context" c:type="PangoContext*"/> | |
| 21791 | 21910 | </parameter> | |
| 21792 | 21911 | <parameter name="base_dir" transfer-ownership="none"> | |
| 21793 | 21912 | <doc xml:space="preserve" | |
| 21794 | 21913 | filename="pango/itemize.c" | |
| 21795 | - | line="1601">base direction to use for bidirectional processing</doc> | |
| 21914 | + | line="1618">base direction to use for bidirectional processing</doc> | |
| 21796 | 21915 | <type name="Direction" c:type="PangoDirection"/> | |
| 21797 | 21916 | </parameter> | |
| 21798 | 21917 | <parameter name="text" transfer-ownership="none"> | |
| 21799 | 21918 | <doc xml:space="preserve" | |
| 21800 | 21919 | filename="pango/itemize.c" | |
| 21801 | - | line="1602">the text to itemize.</doc> | |
| 21920 | + | line="1619">the text to itemize.</doc> | |
| 21802 | 21921 | <type name="utf8" c:type="const char*"/> | |
| 21803 | 21922 | </parameter> | |
| 21804 | 21923 | <parameter name="start_index" transfer-ownership="none"> | |
| 21805 | 21924 | <doc xml:space="preserve" | |
| 21806 | 21925 | filename="pango/itemize.c" | |
| 21807 | - | line="1603">first byte in @text to process</doc> | |
| 21926 | + | line="1620">first byte in @text to process</doc> | |
| 21808 | 21927 | <type name="gint" c:type="int"/> | |
| 21809 | 21928 | </parameter> | |
| 21810 | 21929 | <parameter name="length" transfer-ownership="none"> | |
| 21811 | 21930 | <doc xml:space="preserve" | |
| 21812 | 21931 | filename="pango/itemize.c" | |
| 21813 | - | line="1604">the number of bytes (not characters) to process | |
| 21932 | + | line="1621">the number of bytes (not characters) to process | |
| 21814 | 21933 | after @start_index. This must be >= 0.</doc> | |
| 21815 | 21934 | <type name="gint" c:type="int"/> | |
| 21816 | 21935 | </parameter> | |
| 21817 | 21936 | <parameter name="attrs" transfer-ownership="none"> | |
| 21818 | 21937 | <doc xml:space="preserve" | |
| 21819 | 21938 | filename="pango/itemize.c" | |
| 21820 | - | line="1606">the set of attributes that apply to @text.</doc> | |
| 21939 | + | line="1623">the set of attributes that apply to @text.</doc> | |
| 21821 | 21940 | <type name="AttrList" c:type="PangoAttrList*"/> | |
| 21822 | 21941 | </parameter> | |
| 21823 | 21942 | <parameter name="cached_iter" | |
| @@ -21826,7 +21945,7 @@ The base direction is used when computing bidirectional levels. | |||
| 21826 | 21945 | allow-none="1"> | |
| 21827 | 21946 | <doc xml:space="preserve" | |
| 21828 | 21947 | filename="pango/itemize.c" | |
| 21829 | - | line="1607">Cached attribute iterator</doc> | |
| 21948 | + | line="1624">Cached attribute iterator</doc> | |
| 21830 | 21949 | <type name="AttrIterator" c:type="PangoAttrIterator*"/> | |
| 21831 | 21950 | </parameter> | |
| 21832 | 21951 | </parameters> | |
| @@ -22255,7 +22374,7 @@ for @error.</doc> | |||
| 22255 | 22374 | <function name="parse_stretch" c:identifier="pango_parse_stretch"> | |
| 22256 | 22375 | <doc xml:space="preserve" | |
| 22257 | 22376 | filename="pango/fonts.c" | |
| 22258 | - | line="1969">Parses a font stretch. | |
| 22377 | + | line="2033">Parses a font stretch. | |
| 22259 | 22378 | ||
| 22260 | 22379 | The allowed values are | |
| 22261 | 22380 | "ultra_condensed", "extra_condensed", "condensed", | |
| @@ -22266,14 +22385,14 @@ ignored and the '_' characters may be omitted.</doc> | |||
| 22266 | 22385 | <return-value transfer-ownership="none"> | |
| 22267 | 22386 | <doc xml:space="preserve" | |
| 22268 | 22387 | filename="pango/fonts.c" | |
| 22269 | - | line="1983">%TRUE if @str was successfully parsed.</doc> | |
| 22388 | + | line="2047">%TRUE if @str was successfully parsed.</doc> | |
| 22270 | 22389 | <type name="gboolean" c:type="gboolean"/> | |
| 22271 | 22390 | </return-value> | |
| 22272 | 22391 | <parameters> | |
| 22273 | 22392 | <parameter name="str" transfer-ownership="none"> | |
| 22274 | 22393 | <doc xml:space="preserve" | |
| 22275 | 22394 | filename="pango/fonts.c" | |
| 22276 | - | line="1971">a string to parse.</doc> | |
| 22395 | + | line="2035">a string to parse.</doc> | |
| 22277 | 22396 | <type name="utf8" c:type="const char*"/> | |
| 22278 | 22397 | </parameter> | |
| 22279 | 22398 | <parameter name="stretch" | |
| @@ -22282,13 +22401,13 @@ ignored and the '_' characters may be omitted.</doc> | |||
| 22282 | 22401 | transfer-ownership="full"> | |
| 22283 | 22402 | <doc xml:space="preserve" | |
| 22284 | 22403 | filename="pango/fonts.c" | |
| 22285 | - | line="1972">a `PangoStretch` to store the result in.</doc> | |
| 22404 | + | line="2036">a `PangoStretch` to store the result in.</doc> | |
| 22286 | 22405 | <type name="Stretch" c:type="PangoStretch*"/> | |
| 22287 | 22406 | </parameter> | |
| 22288 | 22407 | <parameter name="warn" transfer-ownership="none"> | |
| 22289 | 22408 | <doc xml:space="preserve" | |
| 22290 | 22409 | filename="pango/fonts.c" | |
| 22291 | - | line="1973">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22410 | + | line="2037">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22292 | 22411 | <type name="gboolean" c:type="gboolean"/> | |
| 22293 | 22412 | </parameter> | |
| 22294 | 22413 | </parameters> | |
| @@ -22296,7 +22415,7 @@ ignored and the '_' characters may be omitted.</doc> | |||
| 22296 | 22415 | <function name="parse_style" c:identifier="pango_parse_style"> | |
| 22297 | 22416 | <doc xml:space="preserve" | |
| 22298 | 22417 | filename="pango/fonts.c" | |
| 22299 | - | line="1903">Parses a font style. | |
| 22418 | + | line="1967">Parses a font style. | |
| 22300 | 22419 | ||
| 22301 | 22420 | The allowed values are "normal", "italic" and "oblique", case | |
| 22302 | 22421 | variations being | |
| @@ -22305,14 +22424,14 @@ ignored.</doc> | |||
| 22305 | 22424 | <return-value transfer-ownership="none"> | |
| 22306 | 22425 | <doc xml:space="preserve" | |
| 22307 | 22426 | filename="pango/fonts.c" | |
| 22308 | - | line="1915">%TRUE if @str was successfully parsed.</doc> | |
| 22427 | + | line="1979">%TRUE if @str was successfully parsed.</doc> | |
| 22309 | 22428 | <type name="gboolean" c:type="gboolean"/> | |
| 22310 | 22429 | </return-value> | |
| 22311 | 22430 | <parameters> | |
| 22312 | 22431 | <parameter name="str" transfer-ownership="none"> | |
| 22313 | 22432 | <doc xml:space="preserve" | |
| 22314 | 22433 | filename="pango/fonts.c" | |
| 22315 | - | line="1905">a string to parse.</doc> | |
| 22434 | + | line="1969">a string to parse.</doc> | |
| 22316 | 22435 | <type name="utf8" c:type="const char*"/> | |
| 22317 | 22436 | </parameter> | |
| 22318 | 22437 | <parameter name="style" | |
| @@ -22321,13 +22440,13 @@ ignored.</doc> | |||
| 22321 | 22440 | transfer-ownership="full"> | |
| 22322 | 22441 | <doc xml:space="preserve" | |
| 22323 | 22442 | filename="pango/fonts.c" | |
| 22324 | - | line="1906">a `PangoStyle` to store the result in.</doc> | |
| 22443 | + | line="1970">a `PangoStyle` to store the result in.</doc> | |
| 22325 | 22444 | <type name="Style" c:type="PangoStyle*"/> | |
| 22326 | 22445 | </parameter> | |
| 22327 | 22446 | <parameter name="warn" transfer-ownership="none"> | |
| 22328 | 22447 | <doc xml:space="preserve" | |
| 22329 | 22448 | filename="pango/fonts.c" | |
| 22330 | - | line="1907">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22449 | + | line="1971">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22331 | 22450 | <type name="gboolean" c:type="gboolean"/> | |
| 22332 | 22451 | </parameter> | |
| 22333 | 22452 | </parameters> | |
| @@ -22335,7 +22454,7 @@ ignored.</doc> | |||
| 22335 | 22454 | <function name="parse_variant" c:identifier="pango_parse_variant"> | |
| 22336 | 22455 | <doc xml:space="preserve" | |
| 22337 | 22456 | filename="pango/fonts.c" | |
| 22338 | - | line="1925">Parses a font variant. | |
| 22457 | + | line="1989">Parses a font variant. | |
| 22339 | 22458 | ||
| 22340 | 22459 | The allowed values are "normal", "small-caps", "all-small-caps", | |
| 22341 | 22460 | "petite-caps", "all-petite-caps", "unicase" and "title-caps", | |
| @@ -22344,14 +22463,14 @@ case variations being ignored.</doc> | |||
| 22344 | 22463 | <return-value transfer-ownership="none"> | |
| 22345 | 22464 | <doc xml:space="preserve" | |
| 22346 | 22465 | filename="pango/fonts.c" | |
| 22347 | - | line="1937">%TRUE if @str was successfully parsed.</doc> | |
| 22466 | + | line="2001">%TRUE if @str was successfully parsed.</doc> | |
| 22348 | 22467 | <type name="gboolean" c:type="gboolean"/> | |
| 22349 | 22468 | </return-value> | |
| 22350 | 22469 | <parameters> | |
| 22351 | 22470 | <parameter name="str" transfer-ownership="none"> | |
| 22352 | 22471 | <doc xml:space="preserve" | |
| 22353 | 22472 | filename="pango/fonts.c" | |
| 22354 | - | line="1927">a string to parse.</doc> | |
| 22473 | + | line="1991">a string to parse.</doc> | |
| 22355 | 22474 | <type name="utf8" c:type="const char*"/> | |
| 22356 | 22475 | </parameter> | |
| 22357 | 22476 | <parameter name="variant" | |
| @@ -22360,13 +22479,13 @@ case variations being ignored.</doc> | |||
| 22360 | 22479 | transfer-ownership="full"> | |
| 22361 | 22480 | <doc xml:space="preserve" | |
| 22362 | 22481 | filename="pango/fonts.c" | |
| 22363 | - | line="1928">a `PangoVariant` to store the result in.</doc> | |
| 22482 | + | line="1992">a `PangoVariant` to store the result in.</doc> | |
| 22364 | 22483 | <type name="Variant" c:type="PangoVariant*"/> | |
| 22365 | 22484 | </parameter> | |
| 22366 | 22485 | <parameter name="warn" transfer-ownership="none"> | |
| 22367 | 22486 | <doc xml:space="preserve" | |
| 22368 | 22487 | filename="pango/fonts.c" | |
| 22369 | - | line="1929">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22488 | + | line="1993">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22370 | 22489 | <type name="gboolean" c:type="gboolean"/> | |
| 22371 | 22490 | </parameter> | |
| 22372 | 22491 | </parameters> | |
| @@ -22374,7 +22493,7 @@ case variations being ignored.</doc> | |||
| 22374 | 22493 | <function name="parse_weight" c:identifier="pango_parse_weight"> | |
| 22375 | 22494 | <doc xml:space="preserve" | |
| 22376 | 22495 | filename="pango/fonts.c" | |
| 22377 | - | line="1947">Parses a font weight. | |
| 22496 | + | line="2011">Parses a font weight. | |
| 22378 | 22497 | ||
| 22379 | 22498 | The allowed values are "heavy", | |
| 22380 | 22499 | "ultrabold", "bold", "normal", "light", "ultraleight" | |
| @@ -22383,14 +22502,14 @@ and integers. Case variations are ignored.</doc> | |||
| 22383 | 22502 | <return-value transfer-ownership="none"> | |
| 22384 | 22503 | <doc xml:space="preserve" | |
| 22385 | 22504 | filename="pango/fonts.c" | |
| 22386 | - | line="1959">%TRUE if @str was successfully parsed.</doc> | |
| 22505 | + | line="2023">%TRUE if @str was successfully parsed.</doc> | |
| 22387 | 22506 | <type name="gboolean" c:type="gboolean"/> | |
| 22388 | 22507 | </return-value> | |
| 22389 | 22508 | <parameters> | |
| 22390 | 22509 | <parameter name="str" transfer-ownership="none"> | |
| 22391 | 22510 | <doc xml:space="preserve" | |
| 22392 | 22511 | filename="pango/fonts.c" | |
| 22393 | - | line="1949">a string to parse.</doc> | |
| 22512 | + | line="2013">a string to parse.</doc> | |
| 22394 | 22513 | <type name="utf8" c:type="const char*"/> | |
| 22395 | 22514 | </parameter> | |
| 22396 | 22515 | <parameter name="weight" | |
| @@ -22399,13 +22518,13 @@ and integers. Case variations are ignored.</doc> | |||
| 22399 | 22518 | transfer-ownership="full"> | |
| 22400 | 22519 | <doc xml:space="preserve" | |
| 22401 | 22520 | filename="pango/fonts.c" | |
| 22402 | - | line="1950">a `PangoWeight` to store the result in.</doc> | |
| 22521 | + | line="2014">a `PangoWeight` to store the result in.</doc> | |
| 22403 | 22522 | <type name="Weight" c:type="PangoWeight*"/> | |
| 22404 | 22523 | </parameter> | |
| 22405 | 22524 | <parameter name="warn" transfer-ownership="none"> | |
| 22406 | 22525 | <doc xml:space="preserve" | |
| 22407 | 22526 | filename="pango/fonts.c" | |
| 22408 | - | line="1951">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22527 | + | line="2015">if %TRUE, issue a g_warning() on bad input.</doc> | |
| 22409 | 22528 | <type name="gboolean" c:type="gboolean"/> | |
| 22410 | 22529 | </parameter> | |
| 22411 | 22530 | </parameters> | |
| @@ -23081,7 +23200,7 @@ See that functions for details about the format.</doc> | |||
| 23081 | 23200 | version="1.44"> | |
| 23082 | 23201 | <doc xml:space="preserve" | |
| 23083 | 23202 | filename="pango/break.c" | |
| 23084 | - | line="2496">Apply language-specific tailoring to the breaks in @attrs. | |
| 23203 | + | line="2477">Apply language-specific tailoring to the breaks in @attrs. | |
| 23085 | 23204 | ||
| 23086 | 23205 | The line breaks are assumed to have been produced by [func@Pango.default_break]. | |
| 23087 | 23206 | ||
| @@ -23098,25 +23217,25 @@ to apply attributes to the whole paragraph.</doc> | |||
| 23098 | 23217 | <parameter name="text" transfer-ownership="none"> | |
| 23099 | 23218 | <doc xml:space="preserve" | |
| 23100 | 23219 | filename="pango/break.c" | |
| 23101 | - | line="2498">text to process. Must be valid UTF-8</doc> | |
| 23220 | + | line="2479">text to process. Must be valid UTF-8</doc> | |
| 23102 | 23221 | <type name="utf8" c:type="const char*"/> | |
| 23103 | 23222 | </parameter> | |
| 23104 | 23223 | <parameter name="length" transfer-ownership="none"> | |
| 23105 | 23224 | <doc xml:space="preserve" | |
| 23106 | 23225 | filename="pango/break.c" | |
| 23107 | - | line="2499">length in bytes of @text</doc> | |
| 23226 | + | line="2480">length in bytes of @text</doc> | |
| 23108 | 23227 | <type name="gint" c:type="int"/> | |
| 23109 | 23228 | </parameter> | |
| 23110 | 23229 | <parameter name="analysis" transfer-ownership="none"> | |
| 23111 | 23230 | <doc xml:space="preserve" | |
| 23112 | 23231 | filename="pango/break.c" | |
| 23113 | - | line="2500">`PangoAnalysis` for @text</doc> | |
| 23232 | + | line="2481">`PangoAnalysis` for @text</doc> | |
| 23114 | 23233 | <type name="Analysis" c:type="PangoAnalysis*"/> | |
| 23115 | 23234 | </parameter> | |
| 23116 | 23235 | <parameter name="offset" transfer-ownership="none"> | |
| 23117 | 23236 | <doc xml:space="preserve" | |
| 23118 | 23237 | filename="pango/break.c" | |
| 23119 | - | line="2501">Byte offset of @text from the beginning of the | |
| 23238 | + | line="2482">Byte offset of @text from the beginning of the | |
| 23120 | 23239 | paragraph, or -1 to ignore attributes from @analysis</doc> | |
| 23121 | 23240 | <type name="gint" c:type="int"/> | |
| 23122 | 23241 | </parameter> | |
| @@ -23126,7 +23245,7 @@ to apply attributes to the whole paragraph.</doc> | |||
| 23126 | 23245 | transfer-ownership="none"> | |
| 23127 | 23246 | <doc xml:space="preserve" | |
| 23128 | 23247 | filename="pango/break.c" | |
| 23129 | - | line="2503">array with one | |
| 23248 | + | line="2484">array with one | |
| 23130 | 23249 | `PangoLogAttr` per character in @text, plus one extra, to be filled in</doc> | |
| 23131 | 23250 | <array length="5" zero-terminated="0" c:type="PangoLogAttr*"> | |
| 23132 | 23251 | <type name="LogAttr" c:type="PangoLogAttr"/> | |
| @@ -23135,7 +23254,7 @@ to apply attributes to the whole paragraph.</doc> | |||
| 23135 | 23254 | <parameter name="attrs_len" transfer-ownership="none"> | |
| 23136 | 23255 | <doc xml:space="preserve" | |
| 23137 | 23256 | filename="pango/break.c" | |
| 23138 | - | line="2505">length of @attrs array</doc> | |
| 23257 | + | line="2486">length of @attrs array</doc> | |
| 23139 | 23258 | <type name="gint" c:type="int"/> | |
| 23140 | 23259 | </parameter> | |
| 23141 | 23260 | </parameters> | |
M internal/gir/spec/PangoCairo-1.0.gir +1 -1
| @@ -12,7 +12,7 @@ and/or use gtk-doc annotations. --> | |||
| 12 | 12 | <include name="cairo" version="1.0"/> | |
| 13 | 13 | <package name="pangocairo"/> | |
| 14 | 14 | <c:include name="pango/pangocairo.h"/> | |
| 15 | - | <doc:format name="unknown"/> | |
| 15 | + | <doc:format name="gi-docgen"/> | |
| 16 | 16 | <namespace name="PangoCairo" | |
| 17 | 17 | version="1.0" | |
| 18 | 18 | shared-library="libpangocairo-1.0.so.0" | |
M internal/gir/spec/cairo-1.0.gir +24 -0
| @@ -3,6 +3,7 @@ | |||
| 3 | 3 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 4 | 4 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 5 | 5 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 6 | + | <include name="GObject" version="2.0"/> | |
| 6 | 7 | <package name="cairo-gobject"/> | |
| 7 | 8 | <c:include name="cairo-gobject.h"/> | |
| 8 | 9 | <namespace name="cairo" version="1.0" | |
| @@ -677,6 +678,29 @@ | |||
| 677 | 678 | <type name="gint" c:type="gint"/> | |
| 678 | 679 | </field> | |
| 679 | 680 | </record> | |
| 681 | + | <record name="Glyph" c:type="cairo_glyph_t" | |
| 682 | + | glib:type-name="CairoGlyph" | |
| 683 | + | glib:get-type="cairo_gobject_glyph_get_type"> | |
| 684 | + | <field name="index" writable="1"> | |
| 685 | + | <type name="gulong" c:type="unsigned long"/> | |
| 686 | + | </field> | |
| 687 | + | <field name="x" writable="1"> | |
| 688 | + | <type name="gdouble" c:type="double"/> | |
| 689 | + | </field> | |
| 690 | + | <field name="y" writable="1"> | |
| 691 | + | <type name="gdouble" c:type="double"/> | |
| 692 | + | </field> | |
| 693 | + | </record> | |
| 694 | + | <record name="TextCluster" c:type="cairo_text_cluster_t" | |
| 695 | + | glib:type-name="CairoTextCluster" | |
| 696 | + | glib:get-type="cairo_gobject_text_cluster_get_type"> | |
| 697 | + | <field name="num_bytes" writable="1"> | |
| 698 | + | <type name="gint" c:type="int"/> | |
| 699 | + | </field> | |
| 700 | + | <field name="num_glyphs" writable="1"> | |
| 701 | + | <type name="gint" c:type="int"/> | |
| 702 | + | </field> | |
| 703 | + | </record> | |
| 680 | 704 | <function name="image_surface_create" c:identifier="cairo_image_surface_create"> | |
| 681 | 705 | <return-value transfer-ownership="none"> | |
| 682 | 706 | <type name="none" c:type="void"/> | |