mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
fix: wasm-ld: error: duplicate symbol: self
This commit is contained in:
@@ -40,7 +40,7 @@ typedef struct CanvasRec_ {
|
||||
LinkedList contexts;
|
||||
} CanvasRec, *Canvas;
|
||||
|
||||
struct {
|
||||
static struct {
|
||||
LCUI_WidgetPrototype proto;
|
||||
} self;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ typedef struct ImageRefRec_ {
|
||||
ImageCache cache;
|
||||
} ImageRefRec, *ImageRef;
|
||||
|
||||
struct LCUI_WidgetBackgroundModule {
|
||||
static struct LCUI_WidgetBackgroundModule {
|
||||
LCUI_BOOL active;
|
||||
DictType dtype;
|
||||
Dict *images;
|
||||
|
||||
Reference in New Issue
Block a user