You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tdclass="parameter_description"><p>A YAML file containing the module metadata and other
489
-
related information such as default streams. </p></td>
488
+
<tdclass="parameter_description"><p>A name of a YAML file containing the module metadata and
489
+
other related information such as default streams. </p></td>
490
490
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for input. Default is transfer none."><spanclass="acronym">in</span></acronym>]</span></td>
<tdclass="parameter_description"><p>An array containing any subdocuments from the YAML file that failed to parse.
501
-
See <aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a> for more details. </p></td>
500
+
<tdclass="parameter_description"><p>On output, an array containing any subdocuments (pointers to
501
+
<aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a>) from the YAML file that failed to parse. On
502
+
input, it must be a non-<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> pointer. If that pointer points to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a>, this
503
+
call will allocate a new array (regardless of any failures) with an element
504
+
destructor set to <ahref="https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-unref"><codeclass="function">g_object_unref()</code></a>. Otherwise, the pointed array is reused
505
+
without emptying before adding the failed subdocuments. The caller is
506
+
responsible for freeing the array. </p></td>
502
507
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>][<acronymtitle="Generics and defining elements of containers and arrays."><spanclass="acronym">element-type</span></acronym> ModulemdSubdocumentInfo][<acronymtitle="Free data container after the code is done."><spanclass="acronym">transfer container</span></acronym>]</span></td>
503
508
</tr>
504
509
<tr>
505
510
<tdclass="parameter_name"><p>error</p></td>
506
511
<tdclass="parameter_description"><p>A <ahref="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><spanclass="type">GError</span></a> containing additional information if this function
507
-
fails in a way that prevents program continuation. </p></td>
512
+
fails in a way that prevents program continuation. On input, it must be
513
+
<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you don't care) or a pointer to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you want to know the
514
+
error). On output, it will become allocated only if an error occured. </p></td>
508
515
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>]</span></td>
<p> TRUE if the update was successful. Returns FALSE and sets <emclass="parameter"><code>failures</code></em>
516
-
appropriately if any of the YAML subdocuments were invalid or sets <emclass="parameter"><code>error</code></em>
517
-
if
518
-
there was a fatal parse error.</p>
522
+
<p><ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><codeclass="literal">TRUE</code></a> if the update was successful. Returns <ahref="../glib/glib-Standard-Macros.html#FALSE:CAPS"><codeclass="literal">FALSE</code></a> and sets
523
+
<emclass="parameter"><code>failures</code></em>
524
+
appropriately if any of the YAML subdocuments were invalid or
<tdclass="parameter_description"><p>An array containing any subdocuments from the YAML file that failed to parse.
561
-
See <aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a> for more details. </p></td>
568
+
<tdclass="parameter_description"><p>On output, an array containing any subdocuments (pointers to
569
+
<aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a>) from the YAML file that failed to parse. On
570
+
input, it must be a non-<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> pointer. If that pointer points to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a>, this
571
+
call will allocate a new array (regardless of any failures) with an element
572
+
destructor set to <ahref="https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-unref"><codeclass="function">g_object_unref()</code></a>. Otherwise, the pointed array is reused
573
+
without emptying before adding the failed subdocuments. The caller is
574
+
responsible for freeing the array. </p></td>
562
575
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>][<acronymtitle="Generics and defining elements of containers and arrays."><spanclass="acronym">element-type</span></acronym> ModulemdSubdocumentInfo][<acronymtitle="Free data container after the code is done."><spanclass="acronym">transfer container</span></acronym>]</span></td>
563
576
</tr>
564
577
<tr>
565
578
<tdclass="parameter_name"><p>error</p></td>
566
579
<tdclass="parameter_description"><p>A <ahref="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><spanclass="type">GError</span></a> containing additional information if this function
567
-
fails in a way that prevents program continuation. </p></td>
580
+
fails in a way that prevents program continuation. On input, it must be
581
+
<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you don't care) or a pointer to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you want to know the
582
+
error). On output, it will become allocated only if an error occured. </p></td>
568
583
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>]</span></td>
<p> TRUE if the update was successful. Returns FALSE and sets <emclass="parameter"><code>failures</code></em>
576
-
appropriately if any of the YAML subdocuments were invalid or sets <emclass="parameter"><code>error</code></em>
577
-
if
578
-
there was a fatal parse error.</p>
590
+
<p><ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><codeclass="literal">TRUE</code></a> if the update was successful. Returns <ahref="../glib/glib-Standard-Macros.html#FALSE:CAPS"><codeclass="literal">FALSE</code></a> and sets
591
+
<emclass="parameter"><code>failures</code></em>
592
+
appropriately if any of the YAML subdocuments were invalid or
<tdclass="parameter_description"><p>An array containing any subdocuments from the YAML file that failed to parse.
622
-
See <aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a> for more details. </p></td>
637
+
<tdclass="parameter_description"><p>On output, an array containing any subdocuments (pointers to
638
+
<aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a>) from the YAML file that failed to parse. On
639
+
input, it must be a non-<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> pointer. If that pointer points to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a>, this
640
+
call will allocate a new array (regardless of any failures) with an element
641
+
destructor set to <ahref="https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-unref"><codeclass="function">g_object_unref()</code></a>. Otherwise, the pointed array is reused
642
+
without emptying before adding the failed subdocuments. The caller is
643
+
responsible for freeing the array. </p></td>
623
644
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>][<acronymtitle="Generics and defining elements of containers and arrays."><spanclass="acronym">element-type</span></acronym> ModulemdSubdocumentInfo][<acronymtitle="Free data container after the code is done."><spanclass="acronym">transfer container</span></acronym>]</span></td>
624
645
</tr>
625
646
<tr>
626
647
<tdclass="parameter_name"><p>error</p></td>
627
648
<tdclass="parameter_description"><p>A <ahref="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><spanclass="type">GError</span></a> containing additional information if this function
628
-
fails in a way that prevents program continuation. </p></td>
649
+
fails in a way that prevents program continuation. On input, it must be
650
+
<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you don't care) or a pointer to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you want to know the
651
+
error). On output, it will become allocated only if an error occured. </p></td>
629
652
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>]</span></td>
<p> TRUE if the update was successful. Returns FALSE and sets <emclass="parameter"><code>failures</code></em>
637
-
appropriately if any of the YAML subdocuments were invalid or sets <emclass="parameter"><code>error</code></em>
638
-
if
639
-
there was a fatal parse error.</p>
659
+
<p><ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><codeclass="literal">TRUE</code></a> if the update was successful. Returns <ahref="../glib/glib-Standard-Macros.html#FALSE:CAPS"><codeclass="literal">FALSE</code></a> and sets
660
+
<emclass="parameter"><code>failures</code></em>
661
+
appropriately if any of the YAML subdocuments were invalid or
<tdclass="parameter_description"><p>An array containing any subdocuments from the YAML file that failed to parse.
688
-
See <aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a> for more details. </p></td>
711
+
<tdclass="parameter_description"><p>On output, an array containing any subdocuments (pointers to
712
+
<aclass="link" href="modulemd-2.0-Modulemd.SubdocumentInfo.html#ModulemdSubdocumentInfo"><spanclass="type">ModulemdSubdocumentInfo</span></a>) from the YAML file that failed to parse. On
713
+
input, it must be a non-<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> pointer. If that pointer points to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a>, this
714
+
call will allocate a new array (regardless of any failures) with an element
715
+
destructor set to <ahref="https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-unref"><codeclass="function">g_object_unref()</code></a>. Otherwise, the pointed array is reused
716
+
without emptying before adding the failed subdocuments. The caller is
717
+
responsible for freeing the array. </p></td>
689
718
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>][<acronymtitle="Generics and defining elements of containers and arrays."><spanclass="acronym">element-type</span></acronym> ModulemdSubdocumentInfo][<acronymtitle="Free data container after the code is done."><spanclass="acronym">transfer container</span></acronym>]</span></td>
690
719
</tr>
691
720
<tr>
692
721
<tdclass="parameter_name"><p>error</p></td>
693
722
<tdclass="parameter_description"><p>A <ahref="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><spanclass="type">GError</span></a> containing additional information if this function
694
-
fails in a way that prevents program continuation. </p></td>
723
+
fails in a way that prevents program continuation. On input, it must be
724
+
<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you don't care) or a pointer to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you want to know the
725
+
error). On output, it will become allocated only if an error occured. </p></td>
695
726
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>]</span></td>
<p> TRUE if the update was successful. Returns FALSE and sets <emclass="parameter"><code>failures</code></em>
703
-
appropriately if any of the YAML subdocuments were invalid or sets <emclass="parameter"><code>error</code></em>
704
-
if
705
-
there was a fatal parse error.</p>
733
+
<p><ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><codeclass="literal">TRUE</code></a> if the update was successful. Returns <ahref="../glib/glib-Standard-Macros.html#FALSE:CAPS"><codeclass="literal">FALSE</code></a> and sets
734
+
<emclass="parameter"><code>failures</code></em>
735
+
appropriately if any of the YAML subdocuments were invalid or
adding any files with the suffix ".yaml" to <emclass="parameter"><code>self</code></em>
722
754
. If <emclass="parameter"><code>overrides_path</code></em>
723
755
is
724
-
non-NULL, it will also open any files with the suffix ".yaml" in that
756
+
non-<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a>, it will also open any files with the suffix ".yaml" in that
725
757
location and import them, overriding any conflicts with the existing
726
758
defaults.</p>
727
759
<p>Note: If you need detailed information about what failed and why, it is
<tdclass="parameter_description"><p>If non-NULL, the path to a directory
790
+
<tdclass="parameter_description"><p>If non-<ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a>, the path to a directory
759
791
containing defaults documents that should override those in <emclass="parameter"><code>path</code></em>
760
792
. </p></td>
761
793
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for input. Default is transfer none."><spanclass="acronym">in</span></acronym>][<acronymtitle="NULL may be passed as the value in, out, in-out; or as a return value."><spanclass="acronym">nullable</span></acronym>]</span></td>
762
794
</tr>
763
795
<tr>
764
796
<tdclass="parameter_name"><p>error</p></td>
765
-
<tdclass="parameter_description"><p>A <ahref="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><spanclass="type">GError</span></a> indicating why this function failed. </p></td>
797
+
<tdclass="parameter_description"><p>A <ahref="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><spanclass="type">GError</span></a> indicating why this function failed. On input, it
798
+
must be <ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you don't care) or a pointer to <ahref="../glib/glib-Standard-Macros.html#NULL:CAPS"><codeclass="literal">NULL</code></a> (if you want to
799
+
know the error). On output, it will become allocated only if an error
800
+
occured. </p></td>
766
801
<tdclass="parameter_annotations"><spanclass="annotation">[<acronymtitle="Parameter for returning results. Default is transfer full."><spanclass="acronym">out</span></acronym>]</span></td>
<p> TRUE if all ".yaml" files in the directory were imported
774
-
successfully (this includes if no ".yaml" files were present). FALSE if one
808
+
<p><ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><codeclass="literal">TRUE</code></a> if all ".yaml" files in the directory were imported
809
+
successfully (this includes if no ".yaml" files were present). <ahref="https://developer.gnome.org/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><codeclass="literal">FALSE</code></a> if one
775
810
or more files could not be read successfully and sets <emclass="parameter"><code>error</code></em>
0 commit comments