From 05b9f48393d8b6b813788daa7c9171ffe88626f2 Mon Sep 17 00:00:00 2001 From: "Mayeul@Zama" <69792125+mayeul-zama@users.noreply.github.com> Date: Fri, 15 Nov 2024 10:34:57 +0100 Subject: [PATCH] chore(hlapi): stabilize FheTypes --- tfhe/src/c_api/high_level_api/mod.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tfhe/src/c_api/high_level_api/mod.rs b/tfhe/src/c_api/high_level_api/mod.rs index 6aba60b66d..49fda297d2 100644 --- a/tfhe/src/c_api/high_level_api/mod.rs +++ b/tfhe/src/c_api/high_level_api/mod.rs @@ -22,23 +22,23 @@ mod zk; #[repr(C)] #[allow(non_camel_case_types)] pub enum FheTypes { - Type_FheBool, + Type_FheBool = 0, Type_FheUint2, - Type_FheUint4, + Type_FheUint4 = 1, Type_FheUint6, - Type_FheUint8, + Type_FheUint8 = 2, Type_FheUint10, Type_FheUint12, Type_FheUint14, - Type_FheUint16, - Type_FheUint32, - Type_FheUint64, - Type_FheUint128, - Type_FheUint160, - Type_FheUint256, - Type_FheUint512, - Type_FheUint1024, - Type_FheUint2048, + Type_FheUint16 = 3, + Type_FheUint32 = 4, + Type_FheUint64 = 5, + Type_FheUint128 = 6, + Type_FheUint160 = 7, + Type_FheUint256 = 8, + Type_FheUint512 = 9, + Type_FheUint1024 = 10, + Type_FheUint2048 = 11, Type_FheInt2, Type_FheInt4, Type_FheInt6,