Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Platform.h File Reference
#include <vector>
#include <functional>
#include "Inline/BasicTypes.h"
#include "Inline/Errors.h"
Include dependency graph for Platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Platform
 

Macros

#define THREAD_LOCAL   __thread
 
#define DLL_EXPORT
 
#define DLL_IMPORT
 
#define FORCEINLINE   inline __attribute__((always_inline))
 
#define SUPPRESS_UNUSED(variable)
 
#define PACKED_STRUCT(definition)
 
#define PLATFORM_API   DLL_IMPORT
 

Functions

U64 Platform::countLeadingZeroes (U64 value)
 
U32 Platform::countLeadingZeroes (U32 value)
 
U64 Platform::countTrailingZeroes (U64 value)
 
U32 Platform::countTrailingZeroes (U32 value)
 
U64 Platform::floorLogTwo (U64 value)
 
U32 Platform::floorLogTwo (U32 value)
 
U64 Platform::ceilLogTwo (U64 value)
 
U32 Platform::ceilLogTwo (U32 value)
 

Macro Definition Documentation

◆ DLL_EXPORT

#define DLL_EXPORT

Definition at line 11 of file Platform.h.

◆ DLL_IMPORT

#define DLL_IMPORT

Definition at line 12 of file Platform.h.

◆ FORCEINLINE

#define FORCEINLINE   inline __attribute__((always_inline))

Definition at line 13 of file Platform.h.

◆ PACKED_STRUCT

#define PACKED_STRUCT ( definition)
Value:
definition __attribute__((packed));

Definition at line 15 of file Platform.h.

◆ PLATFORM_API

#define PLATFORM_API   DLL_IMPORT

Definition at line 18 of file Platform.h.

◆ SUPPRESS_UNUSED

#define SUPPRESS_UNUSED ( variable)
Value:
(void)(variable);

Definition at line 14 of file Platform.h.

◆ THREAD_LOCAL

#define THREAD_LOCAL   __thread

Definition at line 10 of file Platform.h.