Index: tools/json_schema_compiler/cpp_util.py |
diff --git a/tools/json_schema_compiler/cpp_util.py b/tools/json_schema_compiler/cpp_util.py |
index e58ff1d045da13434beecb8fa470172818d78351..fd13235e8bd7e8800273345f4072d46fabf7e6c6 100644 |
--- a/tools/json_schema_compiler/cpp_util.py |
+++ b/tools/json_schema_compiler/cpp_util.py |
@@ -55,6 +55,7 @@ def GetValueType(type_): |
PropertyType.DOUBLE: 'Value::TYPE_DOUBLE', |
PropertyType.ENUM: 'Value::TYPE_STRING', |
PropertyType.OBJECT: 'Value::TYPE_DICTIONARY', |
+ PropertyType.FUNCTION: 'Value::TYPE_DICTIONARY', |
PropertyType.ARRAY: 'Value::TYPE_LIST', |
PropertyType.BINARY: 'Value::TYPE_BINARY', |
}[type_] |