diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/shm_rdrbuff.h | 16 | ||||
-rw-r--r-- | include/ouroboros/wrap/CMakeLists.txt | 3 |
2 files changed, 11 insertions, 8 deletions
diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h index 09256c56..6cdaa7bf 100644 --- a/include/ouroboros/shm_rdrbuff.h +++ b/include/ouroboros/shm_rdrbuff.h @@ -67,18 +67,18 @@ int shm_rdrbuff_remove(struct shm_rdrbuff * rdrb, uint8_t * shm_du_buff_head_alloc(struct shm_rdrbuff * rdrb, - int idx, - ssize_t size); + ssize_t idx, + size_t size); uint8_t * shm_du_buff_tail_alloc(struct shm_rdrbuff * rdrb, - int idx, - ssize_t size); + ssize_t idx, + size_t size); int shm_du_buff_head_release(struct shm_rdrbuff * rdrb, - int idx, - ssize_t size); + ssize_t idx, + size_t size); int shm_du_buff_tail_release(struct shm_rdrbuff * rdrb, - int idx, - ssize_t size); + ssize_t idx, + size_t size); #endif /* OUROBOROS_SHM_RDRBUFF_H */ diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt index 39737bbc..16c86611 100644 --- a/include/ouroboros/wrap/CMakeLists.txt +++ b/include/ouroboros/wrap/CMakeLists.txt @@ -1,5 +1,8 @@ find_package(SWIG) +include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_BINARY_DIR}/include) + if (NOT SWIG_FOUND) message("-- SWIG not found: Bindings for other languages disabled.") else () |