feat(avs-api): Introduce AVS error type

Supports improving expressiveness of the API interface
This commit is contained in:
icex2
2024-01-29 22:02:14 +01:00
parent 4ac0ac50ca
commit ed21aa20ef
+5
View File
@@ -182,6 +182,11 @@ void avs_boot(
void avs_shutdown(void);
typedef uint32_t avs_desc;
typedef int avs_error;
#define AVS_IS_ERROR(x) x < 0
void log_body_fatal(const char *module, const char *fmt, ...);
void log_body_info(const char *module, const char *fmt, ...);
void log_body_misc(const char *module, const char *fmt, ...);