1
0
forked from GitHub/gf-core

in libgu mark explicitly all functions that belong to the API

This commit is contained in:
krasimir
2017-04-19 12:30:40 +00:00
parent 74ce52d761
commit 5c93f2fba5
35 changed files with 311 additions and 372 deletions

View File

@@ -7,7 +7,8 @@
#include <stdlib.h>
#include <math.h>
unsigned gu_ceil2e(unsigned u)
GU_INTERNAL unsigned
gu_ceil2e(unsigned u)
{
u--;
u |= u >> 1;
@@ -24,7 +25,7 @@ unsigned gu_ceil2e(unsigned u)
return u;
}
double
GU_INTERNAL double
gu_decode_double(uint64_t u)
{
bool sign = u >> 63;