r5sdk/r5dev/common/sdkdefs.h
Kawe Mazidjatari 41dbf77715 Add type alias uintp and intp
Commonly used types across Valve Source SDK.
2022-11-29 20:36:45 +01:00

29 lines
583 B
C++

#ifndef SDKDEFS_H
#define SDKDEFS_H
// Common type declarations to reduce code verbosity.
using std::pair;
using std::regex;
using std::string;
using std::wstring;
using std::u16string;
using std::u32string;
using std::vector;
using std::fstream;
using std::ifstream;
using std::ofstream;
using std::stringstream;
using std::ostringstream;
using std::unordered_map;
namespace fs = std::filesystem;
typedef DWORD ThreadId_t;
typedef uintptr_t uintp;
typedef intptr_t intp;
typedef const unsigned char* rsig_t;
typedef std::make_signed_t<std::size_t> ssize_t;
#endif // SDKDEFS_H