Cube-World-Commands-Mod/cwmods/msvc/string.h

20 lines
339 B
C
Raw Permalink Normal View History

#ifndef MSVC_STRING_H
#define MSVC_STRING_H
2019-09-23 07:50:21 +08:00
#include <cstdint>
namespace msvc {
union string_data_union {
char sbo[16];
void* ptr;
};
class string {
public:
string_data_union data;
int64_t size;
int64_t cap;
};
}
#endif // MSVC_STRING_H