diff options
| author | unwox <me@unwox.com> | 2024-12-09 14:33:25 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-12-09 14:42:04 +0600 |
| commit | 9ab527b9be01de1b9a294869bfcdb0c0c0989bee (patch) | |
| tree | bea373a06b771721f0474e04d3ac0e41e42fb348 /luajit.go | |
| parent | ab4a82dc0b267d48315fbb8c0bcf1d0939d7590e (diff) | |
add -D flag for development
Diffstat (limited to 'luajit.go')
| -rw-r--r-- | luajit.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -217,6 +217,9 @@ func (l *Lua) PushAny(v any) error { case float64: v, _ := v.(float64) l.PushFloatNumber(v) + case bool: + v, _ := v.(bool) + l.PushBoolean(v) case map[string]any: v, _ := v.(map[string]any) err := l.PushObject(v) |
