Commit d92916ab authored by Botond Baranyi's avatar Botond Baranyi

Integer constructor with BIGNUM argument was made public (issue #551)

Signed-off-by: Botond Baranyi's avatarBotond Baranyi <>
parent 4e68d5fd
......@@ -41,9 +41,7 @@ template<typename T>
class INTEGER : public Base_Type {
// Private constructor for internal initialization. It's not part of the
// public API.
explicit INTEGER(BIGNUM *other_value);
int from_string(const char *);
int get_nof_digits();
......@@ -82,6 +80,7 @@ public:
INTEGER(const INTEGER& other_value);
INTEGER(int other_value);
explicit INTEGER(const char *other_value);
explicit INTEGER(BIGNUM *other_value);
void clean_up();
......@@ -60,6 +60,7 @@ The class `INTEGER` has the following public member functions:
|`INTEGER(int)` |Initializes to a given value.
|`INTEGER(const INTEGER&`) |Copy constructor.
|`explicit INTEGER(const char *)` |Initializes with the (NUL terminated) string representation of an integer.
|`explicit INTEGER(BIGNUM *other_value)` |Initializes with a BIGNUM object.
|`˜INTEGER()` |
.2+^.^|_Assignment operators_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment