Bugfix, there was one entry too much.
It failed when mixed (int double) table is used as input variable e.g | 1 | 1.2 | TINYCHANGE
This commit is contained in:
parent
938e1ef3bf
commit
af23a276a3
|
@ -264,7 +264,7 @@ FORMAT can be either a format string or a function which is called with VAL."
|
||||||
(when (and type (not (string= type-name tmp-type-name)))
|
(when (and type (not (string= type-name tmp-type-name)))
|
||||||
(if (and (member type-name '("int" "double" "int32_t"))
|
(if (and (member type-name '("int" "double" "int32_t"))
|
||||||
(member tmp-type-name '("int" "double" "int32_t")))
|
(member tmp-type-name '("int" "double" "int32_t")))
|
||||||
(setq tmp-type '("double" "" "%f"))
|
(setq tmp-type '("double" "%f"))
|
||||||
(error "Only homogeneous lists are supported by C. You can not mix %s and %s"
|
(error "Only homogeneous lists are supported by C. You can not mix %s and %s"
|
||||||
type-name
|
type-name
|
||||||
tmp-type-name)))
|
tmp-type-name)))
|
||||||
|
|
Loading…
Reference in New Issue