mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 17:08:00 +02:00
Interop type fixes
This commit is contained in:
parent
e9c85529a6
commit
cc4e2aa81d
1 changed files with 7 additions and 2 deletions
|
@ -16,13 +16,18 @@ namespace System
|
||||||
typealias c_uchar = uint8;
|
typealias c_uchar = uint8;
|
||||||
|
|
||||||
#if BF_PLATFORM_WINDOWS
|
#if BF_PLATFORM_WINDOWS
|
||||||
|
typealias c_wchar = char16;
|
||||||
|
#else
|
||||||
|
typealias c_wchar = char32;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if BF_PLATFORM_WINDOWS || BF_32_BIT
|
||||||
typealias c_long = int32;
|
typealias c_long = int32;
|
||||||
typealias c_ulong = uint32;
|
typealias c_ulong = uint32;
|
||||||
typealias c_wchar = char16;
|
|
||||||
#else
|
#else
|
||||||
typealias c_long = int64;
|
typealias c_long = int64;
|
||||||
typealias c_ulong = uint64;
|
typealias c_ulong = uint64;
|
||||||
typealias c_wchar = char32;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue