Commit c0f66510 authored by darin@chromium.org's avatar darin@chromium.org

Mojo: Add support for float and double types in IDL files.

R=davemoore@chromium.org

Review URL: https://codereview.chromium.org/60013007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233282 0039d316-1c4b-4281-b951-d872f2087c98
parent 2ed09c77
......@@ -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('[]'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment