Add thumbnailer support and TVMVersion and TFile are now accessable from language
This commit is contained in:
@ -72,6 +72,15 @@ namespace Tesses::CrossLang {
|
||||
|
||||
return TEnumerator::CreateFromObject(ls,cb->Call(ls,{dict}));
|
||||
}
|
||||
bool TDictionary::MethodExists(GCList& ls,std::string method)
|
||||
{
|
||||
ls.GetGC()->BarrierBegin();
|
||||
auto r = this->GetValue(method);
|
||||
TCallable* callable;
|
||||
bool res = GetObjectHeap(r,callable);
|
||||
ls.GetGC()->BarrierEnd();
|
||||
return res;
|
||||
}
|
||||
bool TDynamicDictionary::MethodExists(GCList& ls,std::string name)
|
||||
{
|
||||
auto dict = TDictionary::Create(ls);
|
||||
|
||||
Reference in New Issue
Block a user