mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Extended autocomplete info
This commit is contained in:
parent
080a5483ae
commit
b28a87136f
9 changed files with 270 additions and 111 deletions
|
@ -241,6 +241,13 @@ public:
|
|||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
char* AllocString(const StringImpl& str)
|
||||
{
|
||||
char* ptr = (char*)AllocBytes(str.length() + 1);
|
||||
memcpy(ptr, str.c_str(), str.length() + 1);
|
||||
return ptr;
|
||||
}
|
||||
};
|
||||
|
||||
class BumpAllocator : public BumpAllocatorT<0x2000>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue