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..100444ad13ebfd221c55c97c2ef223e5c7cfbf69 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_BOOLEAN', |
not at google - send to devlin
2012/07/25 01:32:33
Should this be DICTIONARY if it serializes to an e
chebert
2012/07/25 18:38:30
Done.
|
PropertyType.ARRAY: 'Value::TYPE_LIST', |
PropertyType.BINARY: 'Value::TYPE_BINARY', |
}[type_] |