DOC: caller has to handle the memory of returned pointers
This commit is contained in:
parent
617e32b9cf
commit
b33b0c6b1a
@ -42,7 +42,7 @@ void init_integer(mp_int *new_int)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize a Polynom with a pb_poly and a mp_int as characteristic.
|
* Initialize a Polynom with a pb_poly and a mp_int as characteristic.
|
||||||
* Checks if everything went fine.
|
* Checks if everything went fine. The caller must free new_poly.
|
||||||
*
|
*
|
||||||
* @param new_poly the pb_poly you want to initialize
|
* @param new_poly the pb_poly you want to initialize
|
||||||
* @param chara the characteristic
|
* @param chara the characteristic
|
||||||
@ -58,8 +58,8 @@ void init_polynom(pb_poly *new_poly, mp_int *chara)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize a Polynom with a pb_poly adn a mp_int as characteristic
|
* Initialize a Polynom with a pb_poly adn a mp_int as characteristic
|
||||||
* with size.
|
* with size. Checks if everything went fine. The caller must free
|
||||||
* Checks if everything went fine.
|
* new_poly.
|
||||||
*
|
*
|
||||||
* @param new_poly the pb_poly you want to initialize
|
* @param new_poly the pb_poly you want to initialize
|
||||||
* @param chara the characteristic
|
* @param chara the characteristic
|
||||||
|
Loading…
Reference in New Issue
Block a user