feat(IDT): IDT and exception handling support

This commit is contained in:
Daniel Hammer
2025-03-08 10:40:12 +01:00
parent 3656df42bc
commit 942adef65f
9 changed files with 245 additions and 9 deletions
+7
View File
@@ -50,6 +50,13 @@ kcp::cstringstream& kcp::cstringstream::operator<<(char* str) {
return *this;
}
kcp::cstringstream& kcp::cstringstream::operator<<(const char* str) {
*this << (char*)str;
return *this;
}
kcp::cstringstream& kcp::cstringstream::operator<<(int num) {
char* out_str = Lib::int2basestr(num, current_base);
+1
View File
@@ -31,6 +31,7 @@ namespace kcp {
cstringstream& operator<<(char c);
cstringstream& operator<<(char* str);
cstringstream& operator<<(const char* str);
cstringstream& operator<<(int num);
cstringstream& operator<<(uint32_t val);