summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2019-01-16 19:40:17 -0800
committerGitHub <noreply@github.com>2019-01-16 19:40:17 -0800
commitc7870e0f77d6331babfdb89f8c83e4e0279b5e70 (patch)
treec846e5482a1d70b03e9b5eb957c119156fdd19a3 /tools
parent87b59f445b7be42685491b816416a4e360e30b33 (diff)
Supprot FieldMask json encoding/decoding. (#147)
Diffstat (limited to 'tools')
-rw-r--r--tools/dump_cinit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dump_cinit.lua b/tools/dump_cinit.lua
index 34d9dd1..34d6ac6 100644
--- a/tools/dump_cinit.lua
+++ b/tools/dump_cinit.lua
@@ -351,6 +351,7 @@ end
local function well_known_type(m)
local type_map = {}
type_map["google.protobuf.Any"] = "UPB_WELLKNOWN_ANY"
+ type_map["google.protobuf.FieldMask"] = "UPB_WELLKNOWN_FIELDMASK"
type_map["google.protobuf.Duration"] = "UPB_WELLKNOWN_DURATION"
type_map["google.protobuf.Timestamp"] = "UPB_WELLKNOWN_TIMESTAMP"
type_map["google.protobuf.Value"] = "UPB_WELLKNOWN_VALUE"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback