1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 08:58:00 +02:00

Fixes for large strings, multiple 'opposite' operators

This commit is contained in:
Brian Fiete 2019-10-01 12:48:08 -07:00
parent 1346e241db
commit f266fe69d1
8 changed files with 110 additions and 34 deletions

View file

@ -4,7 +4,11 @@ using System.Collections.Generic;
namespace System
{
// Collection size type
#if BF_LARGE_COLLECTIONS
typealias int_cosize = int64;
#else
typealias int_cosize = int32;
#endif
[AlwaysInclude]
static class CompilerSettings
@ -17,6 +21,18 @@ namespace System
public const bool cHasVDataExtender = true;
public const int32 cVDataIntefaceSlotCount = 16;
#if BF_LARGE_STRINGS
public const bool cHasLargeStrings = true;
#else
public const bool cHasLargeStrings = false;
#endif
#if BF_LARGE_COLLECTIONS
public const bool cHasLargeCollections = true;
#else
public const bool cHasLargeCollections = false;
#endif
static this()
{
// This ensures this gets included in vdata