Skip to content

Commit

Permalink
chore(tools/ispx): complete spx upgrade with go generate (#1274)
Browse files Browse the repository at this point in the history
This follows up on #1239.

Signed-off-by: Aofei Sheng <[email protected]>
  • Loading branch information
aofei authored Jan 24, 2025
1 parent 19d52cd commit 62a9b43
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tools/ispx/pkg/github.com/goplus/spx/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,15 @@ func init() {
"Value": reflect.TypeOf((*q.Value)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{
"Color": reflect.TypeOf((*q.Color)(nil)).Elem(),
"Key": reflect.TypeOf((*q.Key)(nil)).Elem(),
"Pos": reflect.TypeOf((*int)(nil)).Elem(),
"BackdropName": reflect.TypeOf((*string)(nil)).Elem(),
"Color": reflect.TypeOf((*q.Color)(nil)).Elem(),
"Key": reflect.TypeOf((*q.Key)(nil)).Elem(),
"Pos": reflect.TypeOf((*int)(nil)).Elem(),
"SoundName": reflect.TypeOf((*string)(nil)).Elem(),
"SpriteAnimationName": reflect.TypeOf((*string)(nil)).Elem(),
"SpriteCostumeName": reflect.TypeOf((*string)(nil)).Elem(),
"SpriteName": reflect.TypeOf((*string)(nil)).Elem(),
"WidgetName": reflect.TypeOf((*string)(nil)).Elem(),
},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
Expand Down

0 comments on commit 62a9b43

Please sign in to comment.