Skip to content

Commit b388e38

Browse files
committed
Expose const_sizes as a pub field of GarbleProgram
1 parent 47a299f commit b388e38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ pub struct GarbleProgram {
139139
pub circuit: Circuit,
140140
/// The constants used for compiling the circuit.
141141
pub consts: HashMap<String, HashMap<String, Literal>>,
142-
const_sizes: HashMap<String, usize>,
142+
/// The values of usize constants used for compiling the circuit.
143+
pub const_sizes: HashMap<String, usize>,
143144
}
144145

145146
/// An input argument for a Garble program and circuit.

0 commit comments

Comments
 (0)