mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-28 08:48:27 +02:00
23ffc3ddfb
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
22 lines
431 B
C++
22 lines
431 B
C++
//
|
|
// Created by Clyde Stubbs on 20/9/2023.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
#define EXTERNC extern "C"
|
|
#include <cstddef>
|
|
namespace esphome {
|
|
namespace lvgl {}
|
|
} // namespace esphome
|
|
#else
|
|
#define EXTERNC extern
|
|
#include <stddef.h>
|
|
#endif
|
|
|
|
EXTERNC size_t lv_millis(void);
|
|
EXTERNC void *lv_custom_mem_alloc(size_t size);
|
|
EXTERNC void lv_custom_mem_free(void *ptr);
|
|
EXTERNC void *lv_custom_mem_realloc(void *ptr, size_t size);
|