Clean up return code types
* Remove dds_return_t / dds_retcode_t distinction (now there is only dds_return_t and all error codes are always negative) * Remove Q_ERR_... error codes and replace them by DDS_RETCODE_... ones so that there is only one set of error codes * Replace a whole bunch "int" return types that were used to return Q_ERR_... codes by "dds_return_t" return types Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
a652ecb78e
commit
19aec98b8a
126 changed files with 1565 additions and 1722 deletions
|
@ -121,10 +121,10 @@ list(APPEND sources
|
|||
"${source_path}/strtol.c")
|
||||
|
||||
list(APPEND headers
|
||||
"${source_path}/dds/ddsrt/avl.h"
|
||||
"${source_path}/dds/ddsrt/fibheap.h"
|
||||
"${source_path}/dds/ddsrt/hopscotch.h"
|
||||
"${source_path}/dds/ddsrt/thread_pool.h")
|
||||
"${include_path}/dds/ddsrt/avl.h"
|
||||
"${include_path}/dds/ddsrt/fibheap.h"
|
||||
"${include_path}/dds/ddsrt/hopscotch.h"
|
||||
"${include_path}/dds/ddsrt/thread_pool.h")
|
||||
|
||||
list(APPEND sources
|
||||
"${source_path}/avl.c"
|
||||
|
@ -221,7 +221,7 @@ foreach(feature atomics cdtors environ heap ifaddrs random rusage
|
|||
endif()
|
||||
endforeach()
|
||||
|
||||
target_sources(ddsrt INTERFACE ${sources})
|
||||
target_sources(ddsrt INTERFACE ${sources} ${headers})
|
||||
|
||||
set(HAVE_MULTI_PROCESS ${HAVE_MULTI_PROCESS} PARENT_SCOPE)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue