mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-10-01 01:04:14 +00:00
Fix crosslang Stat, StatVFS for custom crosslang filesystems and add queryable
This commit is contained in:
@@ -132,6 +132,7 @@ namespace Tesses::CrossLang
|
||||
TDynamicDictionary* dynDict;
|
||||
TDictionary* dict;
|
||||
TEnumerator* enumerator;
|
||||
TQueryable* q;
|
||||
if(GetObject(obj,str))
|
||||
{
|
||||
return TStringEnumerator::Create(ls, str);
|
||||
@@ -156,6 +157,14 @@ namespace Tesses::CrossLang
|
||||
return enumerator;
|
||||
}
|
||||
}
|
||||
else if(GetObjectHeap(obj, q))
|
||||
{
|
||||
return q->GetEnumerator(ls);
|
||||
}
|
||||
else if(GetObjectHeap(obj, enumerator))
|
||||
{
|
||||
return enumerator;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
TVFSPathEnumerator* TVFSPathEnumerator::Create(GCList& ls, Tesses::Framework::Filesystem::VFSPathEnumerator enumerator)
|
||||
|
||||
Reference in New Issue
Block a user