aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/schema.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljcc/schema.clj')
-rw-r--r--src/cljcc/schema.clj7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cljcc/schema.clj b/src/cljcc/schema.clj
index 8b5d3a8..dd3e729 100644
--- a/src/cljcc/schema.clj
+++ b/src/cljcc/schema.clj
@@ -316,10 +316,15 @@
[:type [:= :ulong-init]]
[:value int?]])
+(def DoubleInit
+ [:map
+ [:type [:= :double-init]]
+ [:value double?]])
+
(def Initial
[:map
[:type [:= :initial]]
- [:static-init [:or IntInit LongInit UIntInit ULongInit]]])
+ [:static-init [:or IntInit LongInit UIntInit ULongInit DoubleInit]]])
(def InitialValue
[:or