Refactor managed array unboxing to handle case of C# array passes as object
#1415
This commit is contained in:
@@ -141,6 +141,11 @@ void* MCore::Array::GetAddress(const MArray* obj)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
MArray* MCore::Array::Unbox(MObject* obj)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
MGCHandle MCore::GCHandle::New(MObject* obj, bool pinned)
|
||||
{
|
||||
return (MGCHandle)(uintptr)obj;
|
||||
|
||||
Reference in New Issue
Block a user