diff options
Diffstat (limited to 'data/gen-code.pl')
-rwxr-xr-x | data/gen-code.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/gen-code.pl b/data/gen-code.pl index 63871a0..5245bde 100755 --- a/data/gen-code.pl +++ b/data/gen-code.pl @@ -19,6 +19,7 @@ my %tlv_get = ( guint32 => "le32_to_cpu(*(uint32_t *) get_next(4))", gint64 => "le64_to_cpu(*(uint64_t *) get_next(8))", guint64 => "le64_to_cpu(*(uint64_t *) get_next(8))", + gfloat => "({ uint32_t data = le32_to_cpu(*(uint32_t *) get_next(4)); *((float *) &data); })" ); my %tlv_get_be = ( |