From 3d0c6a6c288a6eba532dbe9bc8596a6034b9694b Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Sat, 23 Jan 2016 17:55:44 -0800 Subject: [PATCH] typedef Wrapped is no longer private for scalar and point --- src/gen_headers/decaf_hxx.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/gen_headers/decaf_hxx.py b/src/gen_headers/decaf_hxx.py index 825a2b6..09cad05 100644 --- a/src/gen_headers/decaf_hxx.py +++ b/src/gen_headers/decaf_hxx.py @@ -65,11 +65,10 @@ class Precomputed; * Supports the usual arithmetic operations, all in constant time. */ class Scalar : public Serializable { -private: +public: /** wrapped C type */ typedef %(c_ns)s_scalar_t Wrapped; - -public: + /** Size of a serialized element */ static const size_t SER_BYTES = %(C_NS)s_SCALAR_BYTES; @@ -203,11 +202,10 @@ public: * Element of prime-order group. */ class Point : public Serializable { -private: +public: /** wrapped C type */ typedef %(c_ns)s_point_t Wrapped; -public: /** Size of a serialized element */ static const size_t SER_BYTES = %(C_NS)s_SER_BYTES;