mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
Removed 'internal' protection - it's all about [Friend] now
This commit is contained in:
parent
81af04a1ce
commit
14ac27c977
119 changed files with 1339 additions and 1388 deletions
|
@ -63,7 +63,7 @@ namespace System.FFI
|
|||
if (type.IsTypedPrimitive)
|
||||
type = type.UnderlyingType;
|
||||
|
||||
switch (type.mTypeCode)
|
||||
switch (type.[Friend]mTypeCode)
|
||||
{
|
||||
case .None:
|
||||
return &FFIType.Void;
|
||||
|
@ -100,8 +100,8 @@ namespace System.FFI
|
|||
}
|
||||
|
||||
FFIType* ffiType = (FFIType*)allocBytes;
|
||||
ffiType.mSize = type.mSize;
|
||||
ffiType.mAlignment = type.mAlign;
|
||||
ffiType.mSize = type.[Friend]mSize;
|
||||
ffiType.mAlignment = type.[Friend]mAlign;
|
||||
ffiType.mElements = null;
|
||||
ffiType.mTypeKind = .Struct;
|
||||
return ffiType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue