pikapython/package/pika_lvgl/pika_lvgl_lv_point_t.c
2024-01-02 15:33:06 +08:00

17 lines
362 B
C

#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_point_t.h"
void pika_lvgl_point_t___init__(PikaObj* self) {
lv_point_t lv_point = {0};
obj_setStruct(self, "lv_point_struct", lv_point);
obj_setPtr(self, "lv_point", obj_getStruct(self, "lv_point_struct"));
}
#endif