Introduce clang-format (#240)

This commit is contained in:
Christian Semmler
2023-10-24 19:38:27 -04:00
committed by GitHub
parent e928fc9425
commit b449da1fa3
408 changed files with 12434 additions and 12813 deletions

View File

@@ -4,27 +4,25 @@
#include "mxcore.h"
// VTABLE 0x100dc110
class MxString : public MxCore
{
class MxString : public MxCore {
public:
__declspec(dllexport) MxString(const MxString &);
__declspec(dllexport) virtual ~MxString();
__declspec(dllexport) const MxString &operator=(const char *);
__declspec(dllexport) MxString(const MxString&);
__declspec(dllexport) virtual ~MxString();
__declspec(dllexport) const MxString& operator=(const char*);
MxString();
MxString(const char *);
void ToUpperCase();
void ToLowerCase();
MxString& operator=(const MxString &);
MxString operator+(const char *);
MxString& operator+=(const char *);
MxString();
MxString(const char*);
void ToUpperCase();
void ToLowerCase();
MxString& operator=(const MxString&);
MxString operator+(const char*);
MxString& operator+=(const char*);
inline const char *GetData() const { return m_data; }
inline const char* GetData() const { return m_data; }
private:
char *m_data;
MxU16 m_length;
char* m_data;
MxU16 m_length;
};
#endif // MXSTRING_H