1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Beefy::String changes, lambda hotswap fixes

Changed some string internals related to StringViewsma
Added an "incompatible capture" error for lambdas when the captures change
This commit is contained in:
Brian Fiete 2019-09-03 11:17:13 -07:00
parent 767a3fafd9
commit 2f01cc14dd
25 changed files with 544 additions and 180 deletions

View file

@ -2052,14 +2052,14 @@ void BlCodeView::CreateLinkerSymStream()
ENVBLOCKSYM envBlock = { 0 };
envBlock.rectyp = S_ENVBLOCK;
str = "cwd"; str.Append(0);
str += cwd; str.Append(0);
str += "exe"; str.Append(0);
str += moduleFileName; str.Append(0);
str += "pdb"; str.Append(0);
str += mMsf.mFileName; str.Append(0);
str += "cmd"; str.Append(0);
str += GetCommandLineA(); str.Append(0);
str = "cwd"; str.Append('\0');
str += cwd; str.Append('\0');
str += "exe"; str.Append('\0');
str += moduleFileName; str.Append('\0');
str += "pdb"; str.Append('\0');
str += mMsf.mFileName; str.Append('\0');
str += "cmd"; str.Append('\0');
str += GetCommandLineA(); str.Append('\0');
OUT_WITH_STR(ENVBLOCKSYM, envBlock, rgsz);
for (auto segment : mContext->mSegments)