aboutsummaryrefslogtreecommitdiff
path: root/kernel/cPrimitives.mli
diff options
context:
space:
mode:
authorMaxime Dénès2017-08-18 22:14:59 +0200
committerMaxime Dénès2017-08-18 22:14:59 +0200
commit325890a83a2b073d9654b5615c585cd65a376fbd (patch)
treee8df2e678ae250675d9c1f1dca48647d598e1a38 /kernel/cPrimitives.mli
parent809cf4676c75d9a00f1fcd47e3c7d871a3dec83e (diff)
parent07335670c4339f9c4ae620088d9352be67a77714 (diff)
Merge PR #965: Moving file primitive.ml to cPrimitive.ml to avoid conflict with OCaml.
Diffstat (limited to 'kernel/cPrimitives.mli')
-rw-r--r--kernel/cPrimitives.mli39
1 files changed, 39 insertions, 0 deletions
diff --git a/kernel/cPrimitives.mli b/kernel/cPrimitives.mli
new file mode 100644
index 0000000000..8cdffb6702
--- /dev/null
+++ b/kernel/cPrimitives.mli
@@ -0,0 +1,39 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2017 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+type t =
+ | Int31head0
+ | Int31tail0
+ | Int31add
+ | Int31sub
+ | Int31mul
+ | Int31div
+ | Int31mod
+(*
+ | Int31lsr
+ | Int31lsl
+ *)
+ | Int31land
+ | Int31lor
+ | Int31lxor
+ | Int31addc
+ | Int31subc
+ | Int31addcarryc
+ | Int31subcarryc
+ | Int31mulc
+ | Int31diveucl
+ | Int31div21
+ | Int31addmuldiv
+ | Int31eq
+ | Int31lt
+ | Int31le
+ | Int31compare
+
+val hash : t -> int
+
+val to_string : t -> string