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 38dd190ff4
commit a03a99b9c7
35 changed files with 311 additions and 372 deletions

View File

@@ -20,7 +20,7 @@ gu_hash_byte(GuHash h, uint8_t u)
}
GuHash
GU_API GuHash
gu_hash_bytes(GuHash h, const uint8_t* buf, size_t len);
typedef const struct GuHasher GuHasher;
@@ -31,10 +31,10 @@ struct GuHasher {
};
GU_API_DATA_DECL GuHasher gu_int_hasher[1];
GU_API_DECL extern GuHasher gu_int_hasher[1];
GU_API_DATA_DECL GuHasher gu_addr_hasher[1];
GU_API_DECL extern GuHasher gu_addr_hasher[1];
GU_API_DATA_DECL GuHasher gu_word_hasher[1];
GU_API_DECL extern GuHasher gu_word_hasher[1];
#endif // GU_HASH_H_