diff options
Diffstat (limited to 'subprojects/exess/include/exess/exess.h')
-rw-r--r-- | subprojects/exess/include/exess/exess.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/subprojects/exess/include/exess/exess.h b/subprojects/exess/include/exess/exess.h index f327eb2e..13e9cf82 100644 --- a/subprojects/exess/include/exess/exess.h +++ b/subprojects/exess/include/exess/exess.h @@ -1415,6 +1415,11 @@ EXESS_PURE_API const uint8_t* EXESS_NULLABLE exess_get_ubyte(const ExessVariant* EXESS_NONNULL variant); +/// Return a pointer to the value if `variant` is a date, otherwise null +EXESS_PURE_API +const ExessBlob* EXESS_NULLABLE +exess_get_blob(const ExessVariant* EXESS_NONNULL variant); + /// Return a pointer to the value if `variant` is a duration, otherwise null EXESS_PURE_API const ExessDuration* EXESS_NULLABLE @@ -1435,10 +1440,15 @@ EXESS_PURE_API const ExessDate* EXESS_NULLABLE exess_get_date(const ExessVariant* EXESS_NONNULL variant); -/// Return a pointer to the value if `variant` is a date, otherwise null +/** + @} + @defgroup exess_variant_coparison Comparison + @{ +*/ + EXESS_PURE_API -const ExessBlob* EXESS_NULLABLE -exess_get_blob(const ExessVariant* EXESS_NONNULL variant); +int +exess_compare(ExessVariant lhs, ExessVariant rhs); /** @} |