summaryrefslogtreecommitdiff
path: root/Editor/Utils/HelperFuncs.h
blob: def1e234e071f51db46327c2e969a1dd6b4c575d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <iostream>
#include <windows.h>

std::string to_string(const char* cstr);

extern void PrintCallStack();

#define GET_X_LPARAM(lp)  ((int)(short)LOWORD(lp))
#define GET_Y_LPARAM(lp)  ((int)(short)HIWORD(lp))

#ifndef Assert 
#define Assert assert
#endif