fix: wasm-ld: error: duplicate symbol: self

This commit is contained in:
Liu
2020-04-04 14:16:04 +08:00
parent 8ddbdf9d17
commit 2b0424c4ab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ typedef struct CanvasRec_ {
LinkedList contexts;
} CanvasRec, *Canvas;
struct {
static struct {
LCUI_WidgetPrototype proto;
} self;
+1 -1
View File
@@ -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;