ipc: Add float to supported types in proto

This commit is contained in:
Christoph Haag 2022-03-30 22:32:40 +02:00
parent 4f1dfa7ae4
commit 1eeb870a2d
2 changed files with 4 additions and 2 deletions

View file

@ -56,7 +56,8 @@ class Arg:
SCALAR_TYPES = set(("uint32_t", SCALAR_TYPES = set(("uint32_t",
"int64_t", "int64_t",
"uint64_t", "uint64_t",
"bool")) "bool",
"float"))
AGGREGATE_RE = re.compile(r"((const )?struct|union) (xrt|ipc)_[a-z_]+") AGGREGATE_RE = re.compile(r"((const )?struct|union) (xrt|ipc)_[a-z_]+")
ENUM_RE = re.compile(r"enum xrt_[a-z_]+") ENUM_RE = re.compile(r"enum xrt_[a-z_]+")

View file

@ -13,7 +13,8 @@
"uint32_t", "uint32_t",
"int64_t", "int64_t",
"uint64_t", "uint64_t",
"bool" "bool",
"float"
] ]
}, },
"aggregate": { "aggregate": {