blobmsg: add support for double
authorAndré Gaul <andre@gaul.io>
Sat, 19 Nov 2016 17:55:49 +0000 (18:55 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 4 Jan 2017 20:36:31 +0000 (21:36 +0100)
commit7f671b1e68a6664b5baf3e3cffc1bb0880984267
treeb8c212bc9c1fcf230975f5a0e2d86bfec6420c5c
parent0fe13749d095ca22c788e55902979323e85367c3
blobmsg: add support for double

This adds support for double floating point type to make it more JSON
compatible. For type checking it also adds a stub BLOB_ATTR_DOUBLE type.
If necessary, the accessor functions for blob can be added later

Signed-off-by: André Gaul <andre@gaul.io>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
blob.c
blob.h
blobmsg.c
blobmsg.h
blobmsg_json.c
examples/blobmsg-example.c