Support mapping primitive arrays as non-arrays (eg numbers)
authorMatt Corallo <git@bluematt.me>
Mon, 10 Jan 2022 00:55:04 +0000 (00:55 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 Jan 2022 06:33:14 +0000 (06:33 +0000)
commitdbce8d1aa627e4a632610895c5ea1fddfd9a24f1
tree9fe103912b5c836dd5d313d2fbbe68419a6686bf
parent881986121da34a688292ef77baf5b30d7e4f9fb5
Support mapping primitive arrays as non-arrays (eg numbers)

TypeScript can't pass an array through to C, so we have to pass a
pointer to a constructed array. This adds support in the relevant
type-conversion logic to enable this (and uses it in TS).
gen_type_mapping.py
genbindings.py
java_strings.py
typescript_strings.py