projects
/
tatoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
077801b
)
Add an int_of_bool cast function.
author
Kim Nguyễn
<kn@lri.fr>
Wed, 17 Jul 2013 16:00:43 +0000
(18:00 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Wed, 17 Jul 2013 16:09:51 +0000
(18:09 +0200)
src/misc.ml
patch
|
blob
|
history
diff --git
a/src/misc.ml
b/src/misc.ml
index
65c3a0e
..
dc14fdd
100644
(file)
--- a/
src/misc.ml
+++ b/
src/misc.ml
@@
-45,3
+45,5
@@
struct
let x1, y1 = p1
and x2, y2 = p2 in X.equal x1 x2 && Y.equal y1 y2
end
+
+external int_of_bool : bool -> int = "%identity"