diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-07 22:53:45 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-07 22:53:45 -0500 |
| commit | 19c8450aa0a9ea008a3e5fd4ec44f7c3761db663 (patch) | |
| tree | 52295560cc8081d7af0c87b5fbb31bfbaf46a25f /src/stdlib/result.h | |
| parent | 544b1fb6a70d55bf368b827136cf0f37a26e8288 (diff) | |
Switch paths to use Result return values instead of fail()
Diffstat (limited to 'src/stdlib/result.h')
| -rw-r--r-- | src/stdlib/result.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stdlib/result.h b/src/stdlib/result.h new file mode 100644 index 00000000..328480e7 --- /dev/null +++ b/src/stdlib/result.h @@ -0,0 +1,9 @@ +#pragma once + +// Result type for Success/Failure + +#include "types.h" + +extern const TypeInfo_t Result$Success$$info; +extern const TypeInfo_t Result$Failure$$info; +extern const TypeInfo_t Result$$info; |
