fix on macos

This commit is contained in:
2025-05-31 16:23:57 -05:00
parent fe5cb54361
commit 03f28a33db
4 changed files with 114 additions and 3 deletions

View File

@ -81,7 +81,7 @@ namespace Tesses::CrossLang
});
dict->DeclareFunction(ls.GetGC(),"getFinished","Get whether thread has finished",{},[th](GCList& _ls, std::vector<TObject> _args)-> TObject{
return th->hasReturned;
return (bool)(th->hasReturned==true);
});
ls.GetGC()->BarrierEnd();