summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlexander <AKutsan@luxoft.com>2016-03-29 14:54:08 +0300
committerAlexander <AKutsan@luxoft.com>2016-03-29 16:25:04 +0300
commitf3ea595f4d2c2add596d5c0429c1adf2d8082aca (patch)
tree909360b5cc12b0f4cb597cf5f2f021db3a9a9982 /tools
parentdabc030bb83876fa10444dbd9e307a63f99c0cd3 (diff)
downloadsdl_core-f3ea595f4d2c2add596d5c0429c1adf2d8082aca.tar.gz
Add double datatype in API
Add supporing of generation API with Double Data types
Diffstat (limited to 'tools')
-rwxr-xr-xtools/InterfaceGenerator/generator/parsers/RPCBase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/InterfaceGenerator/generator/parsers/RPCBase.py b/tools/InterfaceGenerator/generator/parsers/RPCBase.py
index 2b3db62d56..22f3fd2c2d 100755
--- a/tools/InterfaceGenerator/generator/parsers/RPCBase.py
+++ b/tools/InterfaceGenerator/generator/parsers/RPCBase.py
@@ -568,7 +568,8 @@ class Parser(object):
default_value = self._get_bool_from_string(default_value);
param_type = Model.Boolean(default_value=default_value)
elif type_name == "Integer" or \
- type_name == "Float":
+ type_name == "Float" or \
+ type_name == "Double" :
min_value = self._extract_optional_number_attrib(
attrib, "minvalue", int if type_name == "Integer" else float)
max_value = self._extract_optional_number_attrib(