1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 15:46:05 +02:00

Linux fixes, misc fixes

This commit is contained in:
Brian Fiete 2019-10-09 16:20:09 -07:00
parent 609dbfa256
commit c97b074fee
12 changed files with 131 additions and 68 deletions

View file

@ -153,14 +153,31 @@ namespace System
}
struct Pointer
[AlwaysInclude]
struct Pointer : IHashable
{
void* mVal;
public int GetHashCode()
{
return (int)mVal;
}
[AlwaysInclude]
Object GetBoxed()
{
return new box this;
}
}
struct Pointer<T> : Pointer
{
struct Pointer<T> : IHashable
{
T* mVal;
public int GetHashCode()
{
return (int)mVal;
}
}
struct MethodReference<T>