#include <glibconfig.h>
#include <assert.h>
#include <lib/salloc.h>
Include dependency graph for sconfig.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | _LIB_SCONFIG_H_ 1 |
#define | _GNU_SOURCE |
#define | USE_PRIVATE__PTHREADS 0 |
#define | USE_PRIVATE__POSIX_SEMAPHORES 0 |
#define | USE_PRIVATE__ATOMIC 0 |
#define | _constfn_ |
#define | _purefn_ |
#define | _deprecated_ |
#define | _packed_ |
#define | _fnformat_(A, B, C) |
#define | _unused_ |
#define | INIT_FIELD(x) .x= |
#define | USE_STATIC_CONST_FP_MEMB 0 |
#define | likely(x) (x) |
#define | unlikely(x) (x) |
#define | Assert(X) do { if(!likely(X)) assert(X); } while(0) |
(Non-critical) assertion. | |
#define | CritAssert(X) do { if(!likely(X)) assert(X); } while(0) |
Critical assertion. | |
#define | LMALLOC_DEBUGGING 1 |
LMALLOC_DEBUGGING switches allocation debugging on/off. | |
#define | USE_MALLOC_USABLE_SIZE HAVE_MALLOC_USABLE_SIZE |
Typedefs | |
typedef unsigned char | uchar |
unsigned char, when used as character and not as integer | |
typedef unsigned int | uint |
uint, an unsigned integer (one word on the system, i.e. 4 bytes on a 32 bit system) | |
typedef unsigned char | uint8 |
uint8, an 8 bit unsigned integer (unsigned char) | |
typedef signed char | int8 |
int8, an 8 bit signed integer (signed char) | |
typedef guint16 | uint16 |
uint16, a 16 bit unsigned integer | |
typedef gint16 | int16 |
int16, a 16 bit signed integer | |
typedef guint32 | uint32 |
uint32, a 32 bit unsigned integer | |
typedef gint32 | int32 |
int32, a 32 bit signed integer | |
typedef guint64 | uint64 |
uint64, a 64 bit unsigned integer | |
typedef gint64 | int64 |
int64, a 64 bit signed integer | |
typedef int64 | filepos_t |
What to use for file positions... (MUST be signed). | |
typedef double | dbl |
Standard 8-byte floating point type. | |
typedef float | flt |
Standard 4-byte floating point type. | |
typedef signed int | ssize_t |
Definition in file sconfig.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LMALLOC_DEBUGGING switches allocation debugging on/off. Allocation debugging will check all allocated and freed memory chunks; it is fairly fast since it uses a B-tree. Definition at line 417 of file sconfig.h. Referenced by _LMallocPrintStats(). |
|
|
|
Definition at line 421 of file sconfig.h. Referenced by _LMallocPrintStats(). |
|
NOTE: USE_PRIVATE__ATOMIC is 1 or 0. Undefined means default which causes the symbol to be defined to 1 or 0 just here. Definition at line 175 of file sconfig.h. Referenced by AtomicInt::add(), AtomicInt::AtomicInt(), AtomicInt::dec(), AtomicInt::DecAndTest(), AtomicInt::inc(), AtomicInt::set(), AtomicInt::sub(), and AtomicInt::SubAndTest(). |
|
NOTE: USE_PRIVATE__POSIX_SEMAPHORES is 1 or 0. Undefined means default which causes the symbol to be defined to 1 or 0 just here. Definition at line 164 of file sconfig.h. Referenced by Semaphore::Semaphore(), Semaphore::value(), and Semaphore::~Semaphore(). |
|
NOTE: USE_PRIVATE__PTHREADS is 1 or 0. Undefined means default which causes the symbol to be defined to 1 or 0 just here. Definition at line 153 of file sconfig.h. Referenced by WaitCondition::broadcast(), ThreadKey::get(), RecursiveMutex::lock(), FastMutex::lock(), ThreadKey::set(), WaitCondition::signal(), RecursiveMutex::test(), FastMutex::test(), ThreadKey::ThreadKey(), RecursiveMutex::unlock(), FastMutex::unlock(), WaitCondition::wait(), FastMutex::~FastMutex(), RecursiveMutex::~RecursiveMutex(), and ThreadKey::~ThreadKey(). |
|
|
|
|
What to use for file positions... (MUST be signed).
Definition at line 223 of file sconfig.h. Referenced by SourcePositionArchive::IncludeFile(). |
|
|
int16, a 16 bit signed integer
Definition at line 207 of file sconfig.h. Referenced by FastInt2String(), and ParseInt(). |
|
|
int64, a 64 bit signed integer
Definition at line 219 of file sconfig.h. Referenced by FastInt2String(), and ParseInt(). |
|
int8, an 8 bit signed integer (signed char)
Definition at line 201 of file sconfig.h. Referenced by FastInt2String(), ParseInt(), and TLString::ParseString(). |
|
|
unsigned char, when used as character and not as integer
Definition at line 191 of file sconfig.h. Referenced by _UInt2String(). |
|
|
|
|
uint64, a 64 bit unsigned integer
Definition at line 216 of file sconfig.h. Referenced by VM::InstructionStorage::append(), VM::InstructionStorage::DumpInstruction(), VM::InstructionStorage::extract(), FastInt2String(), SecureHashBase::FedBytes(), SHA1Hash::FedBytes(), SHA0Hash::FedBytes(), RMD160Hash::FedBytes(), CRC32Hash::FedBytes(), SHA1Hash::feed(), SHA0Hash::feed(), RMD160Hash::feed(), SHA1Hash::final(), SHA0Hash::final(), RMD160Hash::final(), CRC32Hash::final(), and ParseInt(). |
|