Making a few functions static inline
This commit is contained in:
parent
98c86c7885
commit
fd8fda9937
4 changed files with 13 additions and 15 deletions
|
@ -63,7 +63,7 @@ static void ec_enc_carry_out(ec_enc *_this,int _c){
|
|||
else _this->ext++;
|
||||
}
|
||||
|
||||
static void ec_enc_normalize(ec_enc *_this){
|
||||
static inline void ec_enc_normalize(ec_enc *_this){
|
||||
/*If the range is too small, output some bits and rescale it.*/
|
||||
while(_this->rng<=EC_CODE_BOT){
|
||||
ec_enc_carry_out(_this,(int)(_this->low>>EC_CODE_SHIFT));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue