Api Symbols: replace asserts with checks

merge ofw commit
This commit is contained in:
MX
2024-03-25 13:53:32 +03:00
parent 81a16e5a28
commit 585b7f963d
565 changed files with 3544 additions and 2691 deletions

View File

@@ -6,7 +6,7 @@ struct PulseGlue {
int32_t next_hi_period;
};
PulseGlue* pulse_glue_alloc() {
PulseGlue* pulse_glue_alloc(void) {
PulseGlue* pulse_glue = malloc(sizeof(PulseGlue));
pulse_glue_reset(pulse_glue);
return pulse_glue;

View File

@@ -14,7 +14,7 @@ extern "C" {
typedef struct PulseGlue PulseGlue;
PulseGlue* pulse_glue_alloc();
PulseGlue* pulse_glue_alloc(void);
void pulse_glue_free(PulseGlue* pulse_glue);
void pulse_glue_reset(PulseGlue* pulse_glue);