| Index: mojo/public/bindings/parser/mojo_translate.py
|
| diff --git a/mojo/public/bindings/parser/mojo_translate.py b/mojo/public/bindings/parser/mojo_translate.py
|
| index c562b528661240878c37b337d7eef445ddf6aeb2..46aa071c487504392178dfaceb407b5c21e0a22b 100755
|
| --- a/mojo/public/bindings/parser/mojo_translate.py
|
| +++ b/mojo/public/bindings/parser/mojo_translate.py
|
| @@ -10,7 +10,6 @@ import sys
|
|
|
|
|
| def MapKind(kind):
|
| - # todo: add more types
|
| map_to_kind = { 'bool': 'b',
|
| 'int8': 'i8',
|
| 'int16': 'i16',
|
| @@ -20,6 +19,8 @@ def MapKind(kind):
|
| 'uint16': 'u16',
|
| 'uint32': 'u32',
|
| 'uint64': 'u64',
|
| + 'float': 'f',
|
| + 'double': 'd',
|
| 'string': 's',
|
| 'handle': 'h' }
|
| if kind.endswith('[]'):
|
|
|