omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / src / omega_runtime_api.h
| 1 | #ifndef OMEGA_RUNTIME_API_H |
| 2 | #define OMEGA_RUNTIME_API_H |
| 3 | /* |
| 4 | * Omega Runtime API version (R1, omega-mv#594). Defines the version and nothing else; includes nothing. |
| 5 | * |
| 6 | * The API is the set of entries listed in docs/runtime/omega_runtime_api.manifest and described in |
| 7 | * docs/runtime/API.md, which also states the compatibility rule: |
| 8 | * MINOR goes up when something is added; MAJOR goes up when a STABLE entry is removed, renamed or changes |
| 9 | * signature, layout, constant value or documented behaviour. MAJOR 0 is the first, written-down version. |
| 10 | * tools/runtime_api_check.sh (make test-runtime-api) fails when this header, the manifest and API.md disagree. |
| 11 | */ |
| 12 | #define OMEGA_RUNTIME_API_VERSION_MAJOR 0 |
| 13 | #define OMEGA_RUNTIME_API_VERSION_MINOR 1 |
| 14 | /* One number for #if comparisons: (MAJOR << 16) | MINOR. */ |
| 15 | #define OMEGA_RUNTIME_API_VERSION ((OMEGA_RUNTIME_API_VERSION_MAJOR << 16) | OMEGA_RUNTIME_API_VERSION_MINOR) |
| 16 | #endif |