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

@@ -101,7 +101,7 @@ static bool gpio_usb_uart_input_callback(InputEvent* event, void* context) {
return consumed;
}
GpioUsbUart* gpio_usb_uart_alloc() {
GpioUsbUart* gpio_usb_uart_alloc(void) {
GpioUsbUart* usb_uart = malloc(sizeof(GpioUsbUart));
usb_uart->view = view_alloc();

View File

@@ -7,7 +7,7 @@
typedef struct GpioUsbUart GpioUsbUart;
typedef void (*GpioUsbUartCallback)(GpioCustomEvent event, void* context);
GpioUsbUart* gpio_usb_uart_alloc();
GpioUsbUart* gpio_usb_uart_alloc(void);
void gpio_usb_uart_free(GpioUsbUart* usb_uart);