32 #    include <TargetConditionals.h> 
   43 #elif defined(ANDROID) || defined(ANDROID_NDK) 
   44 #    define SL_OS_ANDROID 
   48 #    define SL_OS_WINDOWS 
   49 #    define SL_USE_DISCARD_STEREOMODES 
   53 #    define STDCALL __stdcall 
   54 #elif defined(linux) || defined(__linux) || defined(__linux__) 
   56 #    define SL_USE_DISCARD_STEREOMODES 
   59 #elif defined(__EMSCRIPTEN__) 
   60 #    define SL_EMSCRIPTEN 
   61 #    define SL_USE_DISCARD_STEREOMODES 
   65 #    error "SL has not been ported to this OS" 
   80 #if defined(SL_OS_MACIOS) 
   82 #    include <functional> 
   84 #    include <sys/time.h> 
   86 #    include <CoreServices/CoreServices.h>  
   88 #elif defined(SL_OS_MACOS) 
   90 #    include <functional> 
   95 #    include <sys/sysctl.h>  
   96 #elif defined(SL_OS_ANDROID) 
   97 #    include <sys/time.h> 
   98 #    include <sys/system_properties.h> 
  100 #    include <functional> 
  104 #elif defined(SL_OS_WINDOWS) 
  106 #    include <functional> 
  109 #    include <windows.h> 
  110 #elif defined(SL_OS_LINUX) 
  112 #    include <functional> 
  115 #    include <sys/time.h> 
  117 #elif defined(SL_EMSCRIPTEN) 
  120 #    error "SL has not been ported to this OS" 
  131 #if defined(__GNUC__) 
  135 #if defined(_MSC_VER) 
  136 #    define SL_COMP_MSVC 
  137 #    define SL_STDCALL __stdcall 
  138 #    define SL_DEPRECATED __declspec(deprecated) 
  139 #    define _CRT_SECURE_NO_DEPRECATE  
  140 #elif defined(__BORLANDC__) 
  141 #    define SL_COMP_BORLANDC 
  142 #    define SL_STDCALL Stdcall 
  143 #    define SL_DEPRECATED  
  144 #elif defined(__INTEL_COMPILER) 
  145 #    define SL_COMP_INTEL 
  146 #    define SL_STDCALL Stdcall 
  147 #    define SL_DEPRECATED  
  148 #elif defined(__GNUC__) 
  149 #    define SL_COMP_GNUC 
  151 #    define SL_DEPRECATED __attribute__((deprecated)) 
  153 #    error "SL has not been ported to this compiler" 
  159 #ifndef SL_OS_ANDROID 
  219     return (
SLint)(vector.capacity() * 
sizeof(
typename T::value_type));
 
  223 #define SL_GETBIT(VAR, VAL) VAR& VAL 
  224 #define SL_SETBIT(VAR, VAL) VAR |= VAL 
  225 #define SL_DELBIT(VAR, VAL) VAR &= ~VAL 
  226 #define SL_TOGBIT(VAR, VAL) if ((VAR) & (VAL)) (VAR) &= ~(VAL); else (VAR) |= VAL 
  229 #define UNUSED_PARAMETER(r) ((void)(x)) 
  233 #define SL_LOG(...) Utils::log("SLProject", __VA_ARGS__)
 
  235 #define SL_LOG_DEBUG(...) Utils::log("SLProject", __VA_ARGS__)
 
  237 #define SL_LOG_DEBUG(...) {} 
  240 #define SL_EXIT_MSG(message) Utils::exitMsg("SLProject", (message), __LINE__, __FILE__)
 
  241 #define SL_WARN_MSG(message) Utils::warnMsg("SLProject", (message), __LINE__, __FILE__)
 
vector< vector< SLuint > > SLVVuint
 
vector< SLubyte > SLVubyte
 
vector< vector< SLchar > > SLVVchar
 
vector< vector< SLshort > > SLVVshort
 
vector< size_t > SLVsize_t
 
vector< SLuchar > SLVuchar
 
vector< SLshort > SLVshort
 
vector< vector< SLushort > > SLVVushort
 
vector< SLfloat > SLVfloat
 
vector< SLstring > SLVstring
 
vector< vector< SLint > > SLVVint
 
vector< vector< SLfloat > > SLVVfloat
 
vector< SLulong > SLVulong
 
vector< SLushort > SLVushort
 
SLuint SL_sizeOfVector(const T &vector)
 
vector< vector< SLuchar > > SLVVuchar