11 lines
333 B
Diff
11 lines
333 B
Diff
--- a/dbus/private/value.nim
|
|
+++ b/dbus/private/value.nim
|
|
@@ -93,6 +93,8 @@ type DbusNativePrimitive = bool | float64 | int32 | int16 | uint16 | uint64 | ui
|
|
|
|
proc getPrimitive(val: DbusValue): pointer =
|
|
case val.kind
|
|
+ of dtBool:
|
|
+ return addr val.uint32Value
|
|
of dtDouble:
|
|
return addr val.doubleValue
|
|
of dtInt32:
|