diff --git a/wasm/codegen/generators/constants.py b/wasm/codegen/generators/constants.py index 64b030cf..acfcac22 100644 --- a/wasm/codegen/generators/constants.py +++ b/wasm/codegen/generators/constants.py @@ -23,14 +23,20 @@ PRIMITIVE_TYPES: Set[str] = { "double", "float", "int", - "mjtByte", + "int16_t", + "int32_t", + "int8_t", "mjtBool", + "mjtByte", "mjtMeshBuiltin", "mjtNum", "mjtObj", # Adding this to the primitives because it is used as int, "mjtSize", "size_t", + "uint16_t", + "uint32_t", "uint64_t", + "uint8_t", "uintptr_t", "unsigned char", "unsigned int",