SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Compat.h File Reference
#include <cinttypes>
#include <stddef.h>
#include "swcdb/core/Malloc.h"
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <csignal>
#include <cstdlib>
#include <cstddef>
#include <memory>
#include <cstring>
#include <string>
#include <vector>
#include <functional>
#include <thread>
#include <unordered_map>
#include <map>
#include "swcdb/core/Atomic.h"
#include "swcdb/core/BitFieldInt.h"
#include "swcdb/core/Comparators_basic.h"
#include "swcdb/core/MutexLock.h"
#include "swcdb/core/Vector.h"
+ Include dependency graph for Compat.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SWC
 The SWC-DB C++ namespace 'SWC'.
 
 SWC::Core
 The SWC-DB Core Components C++ namespace 'SWC::Core'.
 

Macros

#define SWC_STRINGIFY(s)   #s
 
#define SWC_ATTRIBS(attrs)   __attribute__(attrs)
 
#define SWC_ATTR_NOTHROW   __nothrow__
 
#define SWC_ATTR_INLINE   __always_inline__
 
#define SWC_SHOULD_INLINE
 
#define SWC_FMT_LU   SWC_STRINGIFY(%) PRIu64
 
#define SWC_FMT_LD   SWC_STRINGIFY(%) PRId64
 
#define SWC_CAN_INLINE
 
#define SWC_CONST_FUNC   SWC_ATTRIBS((const))
 
#define SWC_PURE_FUNC   SWC_ATTRIBS((pure))
 
#define SWC_MALLOC_FUNC   SWC_ATTRIBS((malloc))
 
#define SWC_COLD_FUNC   SWC_ATTRIBS((cold))
 
#define SWC_NONULL_RET_FUNC   SWC_ATTRIBS((returns_nonnull))
 
#define SWC_HIDE   SWC_ATTRIBS((visibility ("hidden")))
 
#define SWC_ABORT   std::raise(SIGABRT)
 
#define SWC_QUICK_EXIT(_CODE_)   std::quick_exit(_CODE_)
 
#define SWC_DSO_EXT   ".so"
 
#define SWC_CAN_QUICK_EXIT(_CODE_)   SWC_QUICK_EXIT(_CODE_)
 

Functions

template<typename T >
SWC_CAN_INLINE const char * SWC::Core::type_name (const T &obj) noexcept