Phase 28: add project diagnostics, dependency inspection and durability regressions
This commit is contained in:
parent
c4daef7c42
commit
ca6c869b0b
16 changed files with 495 additions and 42 deletions
|
|
@ -224,6 +224,17 @@ xtc_result xtc_project_sample_to_tick(const xtc_project *project, uint64_t sampl
|
|||
* @return XTC_OK on success, or an error code describing the failure.
|
||||
*/
|
||||
xtc_result xtc_project_save(const xtc_project *project, const char *path);
|
||||
/* Optional copied control-thread diagnostics. line is 1-based for syntax errors,
|
||||
* 0 for I/O/whole-model validation; record identifies the expected record or
|
||||
* validation stage, never untrusted file text. format_version is 0 if unknown.
|
||||
* No media/plugin loading, engine creation or mutation on load failure. */
|
||||
typedef struct {
|
||||
xtc_result result;
|
||||
uint64_t format_version;
|
||||
size_t line;
|
||||
char record[32], message[192];
|
||||
} xtc_project_diagnostic;
|
||||
xtc_result xtc_project_load_diagnostic(xtc_project *project, const char *path, xtc_project_diagnostic *diagnostic);
|
||||
/**
|
||||
* @brief Loads and validates a project before transactionally replacing the current state.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue