From 0a48a2e14a04e7124c820ea528e4e97b60f6b8b0 Mon Sep 17 00:00:00 2001 From: Vincent Bernardoff Date: Thu, 30 Mar 2017 14:32:46 +0200 Subject: [PATCH] alpha: expose to_int32 for some types --- src/proto/alpha/tezos_context.mli | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/proto/alpha/tezos_context.mli b/src/proto/alpha/tezos_context.mli index 2e6c7ad2a..c806f2520 100644 --- a/src/proto/alpha/tezos_context.mli +++ b/src/proto/alpha/tezos_context.mli @@ -93,6 +93,7 @@ module Raw_level : sig val root: raw_level val succ: raw_level -> raw_level val pred: raw_level -> raw_level option + val to_int32: raw_level -> int32 end @@ -105,6 +106,7 @@ module Cycle : sig val root: cycle val succ: cycle -> cycle val pred: cycle -> cycle option + val to_int32: cycle -> int32 end @@ -222,6 +224,7 @@ module Voting_period : sig | Testing | Promotion_vote val kind_encoding: kind Data_encoding.encoding + val to_int32: voting_period -> int32 end