Top | ![]() |
![]() |
![]() |
![]() |
IdeDiagnostics * | ide_diagnostics_ref () |
void | ide_diagnostics_unref () |
gsize | ide_diagnostics_get_size () |
IdeDiagnostic * | ide_diagnostics_index () |
void | ide_diagnostics_merge () |
IdeDiagnostics * | ide_diagnostics_new () |
void | ide_diagnostics_add () |
void | ide_diagnostics_take () |
gsize
ide_diagnostics_get_size (IdeDiagnostics *self
);
Retrieves the number of diagnostics that can be accessed via
ide_diagnostics_index()
.
IdeDiagnostic * ide_diagnostics_index (IdeDiagnostics *self
,gsize index
);
Retrieves the diagnostic at index
.
void ide_diagnostics_merge (IdeDiagnostics *self
,IdeDiagnostics *other
);
Copies the contents of other
into self
.
This is performed by taking a reference to the immutable IdeDiagnostic instances.
IdeDiagnostics *
ide_diagnostics_new (GPtrArray *ar
);
Creates a new IdeDiagnostics container structure for ar
.
Ownership of ar
is transfered to the resulting structure.
void ide_diagnostics_take (IdeDiagnostics *self
,IdeDiagnostic *diagnostic
);
Like ide_diagnostics_add()
but steals the reference to diagnostic
.
Since: 3.30