mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.5.1
This commit is contained in:
@ -28,6 +28,13 @@
|
||||
class sstring
|
||||
{
|
||||
public:
|
||||
sstring()
|
||||
{
|
||||
len = 0;
|
||||
storage = new char[1];
|
||||
storage[0] = '\0';
|
||||
}
|
||||
|
||||
sstring(const char* src)
|
||||
{
|
||||
len = strlen(src);
|
||||
@ -79,6 +86,11 @@ public:
|
||||
{
|
||||
return len;
|
||||
}
|
||||
|
||||
bool empty() const
|
||||
{
|
||||
return len == 0;
|
||||
}
|
||||
|
||||
private:
|
||||
int len;
|
||||
|
Reference in New Issue
Block a user