mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-19 21:11:59 -04:00
Resource (#2939)
* matching Do_destroy from resource.cpp * add missing constants from `float.c` * add numeric_limits for double * set TObject::reset for each version in stb.cpp * improve debug matching
This commit is contained in:
@@ -15,14 +15,14 @@ public:
|
||||
JGadget_outMessage(MessageFunc fn, const char* file, int line);
|
||||
~JGadget_outMessage();
|
||||
|
||||
JGadget_outMessage& operator<<(int param_1) { return *this << (s32)param_1; }
|
||||
JGadget_outMessage& operator<<(int param_1) { return *this << (signed long)param_1; }
|
||||
JGadget_outMessage& operator<<(u16);
|
||||
JGadget_outMessage& operator<<(unsigned int);
|
||||
JGadget_outMessage& operator<<(u8 param_1) { return *this << (char)param_1; }
|
||||
JGadget_outMessage& operator<<(const char* str);
|
||||
JGadget_outMessage& operator<<(char);
|
||||
JGadget_outMessage& operator<<(s32);
|
||||
JGadget_outMessage& operator<<(u32);
|
||||
JGadget_outMessage& operator<<(signed long);
|
||||
JGadget_outMessage& operator<<(unsigned long);
|
||||
JGadget_outMessage& operator<<(const void*);
|
||||
|
||||
private:
|
||||
@@ -45,6 +45,10 @@ private:
|
||||
JGadget_outMessage out(JGadget_outMessage::warning, __FILE__, line); \
|
||||
out << msg << (arg);
|
||||
|
||||
#define JGADGET_WARNMSG3(line, msg, arg1, arg2, arg3) \
|
||||
JGadget_outMessage out(JGadget_outMessage::warning, __FILE__, line); \
|
||||
out << msg << (arg1) << (arg2) << (arg3);
|
||||
|
||||
#define JGADGET_WARNMSG4(line, msg, arg1, arg2, arg3, arg4) \
|
||||
JGadget_outMessage out(JGadget_outMessage::warning, __FILE__, line); \
|
||||
out << msg << (arg1) << (arg2) << (arg3) << (arg4);
|
||||
|
||||
Reference in New Issue
Block a user