fixed spurious assert
This commit is contained in:
parent
d0f0f35bb1
commit
8dbad94581
2 changed files with 7 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "0.4.20"
|
version = "0.4.22"
|
||||||
author = "Stefan Salewski"
|
author = "Stefan Salewski"
|
||||||
description = "High level GObject-Introspection based GTK3 bindings"
|
description = "High level GObject-Introspection based GTK3 bindings"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# High level gobject-introspection based GTK3 bindings for the Nim programming language
|
# High level gobject-introspection based GTK3 bindings for the Nim programming language
|
||||||
# v 0.4.20 2019-JUN-05
|
# v 0.4.22 2019-JUN-05
|
||||||
# (c) S. Salewski 2018
|
# (c) S. Salewski 2018
|
||||||
|
|
||||||
# https://wiki.gnome.org/Projects/GObjectIntrospection
|
# https://wiki.gnome.org/Projects/GObjectIntrospection
|
||||||
|
|
@ -1451,7 +1451,11 @@ proc processInfo(i: GIBaseInfo) =
|
||||||
writeEnum(i)
|
writeEnum(i)
|
||||||
elif gBaseInfoGetType(i) == GIInfoType.CONSTANT:
|
elif gBaseInfoGetType(i) == GIInfoType.CONSTANT:
|
||||||
writeConst(i)
|
writeConst(i)
|
||||||
else: assert(false)
|
#else: assert(false)
|
||||||
|
elif gBaseInfoGetType(i) == GIInfoType.Boxed:
|
||||||
|
echo "gBaseInfoGetType(i) == GIInfoType.Boxed:"
|
||||||
|
else:
|
||||||
|
assert(false)
|
||||||
|
|
||||||
|
|
||||||
# Gtk objects builder may provide. Only for Gtk module, so Gtk prefix is assume.
|
# Gtk objects builder may provide. Only for Gtk module, so Gtk prefix is assume.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue