diff options
| author | krangelov <kr.angelov@gmail.com> | 2019-02-18 11:23:01 +0100 |
|---|---|---|
| committer | krangelov <kr.angelov@gmail.com> | 2019-02-18 11:23:01 +0100 |
| commit | c32cd7133f0e2e370998ed8ca863133133dfde57 (patch) | |
| tree | 674ef8ec85daa7d0e2008df51ae2c65a066b5ea4 /src/runtime/c/gu | |
| parent | 409731413e96a8056ca94a1ec6583f4f61bc6144 (diff) | |
fixes in the headers for compilation on Windows
Diffstat (limited to 'src/runtime/c/gu')
| -rw-r--r-- | src/runtime/c/gu/mem.h | 4 | ||||
| -rw-r--r-- | src/runtime/c/gu/seq.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/c/gu/mem.h b/src/runtime/c/gu/mem.h index f26e4d3a4..1d4a52bf9 100644 --- a/src/runtime/c/gu/mem.h +++ b/src/runtime/c/gu/mem.h @@ -57,7 +57,7 @@ gu_local_pool_(uint8_t* init_buf, size_t sz); /// Create a pool where each chunk is corresponds to one or /// more pages. -GU_API GuPool* +GU_API_DECL GuPool* gu_new_page_pool(void); /// Create a pool stored in a memory mapped file. @@ -204,7 +204,7 @@ gu_mem_buf_realloc( size_t* real_size_out); /// Allocate enough memory pages to contain min_size bytes. -GU_API void* +GU_API_DECL void* gu_mem_page_alloc(size_t min_size, size_t* real_size_out); /// Free a memory buffer. diff --git a/src/runtime/c/gu/seq.h b/src/runtime/c/gu/seq.h index 3b345be61..b639369c3 100644 --- a/src/runtime/c/gu/seq.h +++ b/src/runtime/c/gu/seq.h @@ -183,7 +183,7 @@ gu_buf_heapify(GuBuf *buf, GuOrder *order); GU_API_DECL GuSeq* gu_buf_freeze(GuBuf* buf, GuPool* pool); -GU_API void +GU_API_DECL void gu_buf_evacuate(GuBuf* buf, GuPool* pool); #endif // GU_SEQ_H_ |
