1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 16:10:26 +02:00
Beef/BeefLibs/corlib/src/Interop.bf

28 lines
584 B
Beef
Raw Normal View History

2020-09-24 07:22:30 -07:00
namespace System
{
namespace Interop
{
typealias c_short = int16;
typealias c_ushort = uint16;
typealias c_int = int32;
typealias c_uint = uint32;
typealias c_longlong = int64;
typealias c_ulonglong = uint64;
typealias c_intptr = int;
typealias c_uintptr = uint;
2021-02-25 08:10:21 -08:00
typealias c_size = uint;
2020-09-24 07:22:30 -07:00
typealias c_char = char8;
typealias c_uchar = uint8;
#if BF_PLATFORM_WINDOWS
typealias c_long = int32;
typealias c_ulong = uint32;
typealias c_wchar = char16;
#else
typealias c_long = int64;
typealias c_ulong = uint64;
typealias c_wchar = char32;
#endif
}
}