Application wide system functions. Do not use any of those functions directly. Implement this interface to link against the kernel library.
|
static MAXON_METHOD void | _ConsoleOutput (const Char *s, const SourceLocation &loc, OUTPUT flags=OUTPUT::NONE) |
|
static MAXON_METHOD OUTPUT | GetConsoleOutputType () |
|
static MAXON_METHOD void * | Alloc (Int size, const SourceLocation &location) |
|
static MAXON_METHOD void * | AllocClear (Int size, const SourceLocation &location) |
|
static MAXON_METHOD void * | Realloc (void *data, Int size, const SourceLocation &location) |
|
static MAXON_METHOD void | Free (const void *data) |
|
static MAXON_METHOD Int | GetAllocSize (void *data) |
|
static MAXON_METHOD Int | MemoryDiagnostics (MEMORYDIAGNOSTICSMODE mode=MEMORYDIAGNOSTICSMODE::VERBOSE, Int *totalAllocation=nullptr, Int *freePhysicalMemoryEstimate=nullptr) |
|
static MAXON_METHOD Bool | MemoryAddObserver (MEMORYOBSERVERMODE mode, Delegate< void()> &&observer) |
|
static MAXON_METHOD void | SetMemoryAllocationThreshold (UInt warnMemoryAllocationThreshold) |
|
static MAXON_METHOD Float64 | GetCustomTimer () |
|
static MAXON_METHOD Int | GetConfigurationCount () |
|
static MAXON_METHOD Bool | GetConfiguration (Int index, ConfigInit &config) |
|
static MAXON_METHOD Bool | ConfigurationRegister (const ConfigInit &config) |
|
static MAXON_METHOD Char * | GetCriticalLog (Int index, Int *count) |
|
static MAXON_METHOD Int | GetDefinitionCount (EntityBase::TYPE type) |
|
static MAXON_METHOD const InterfaceReference * | GetVirtualInterfaceReference (const Id &idWithoutHash) |
|
static MAXON_METHOD EntityDefinition * | FindDefinition (EntityBase::TYPE type, const Id &eid) |
|
static MAXON_METHOD void * | SetDebugErrorObserver (Delegate< void(const ErrorInterface *)> &&observer) |
|
static MAXON_METHOD void | ResetDebugErrorObserver (void *observer) |
|
static MAXON_METHOD const Error * | SetCurrentError (const Error &error) |
|
static MAXON_METHOD const Error * | SetCurrentError (Error &&error) |
|
static MAXON_METHOD const Error * | GetLastError () |
|
static MAXON_METHOD void | SetDebugError (const Error *preallocated, const Error &error) |
|
static MAXON_METHOD const ErrorInterface * | GetDebugError (const Error *preallocated) |
|
static MAXON_METHOD Result< const Id * > | PrivateGetInternedId (const Id &value) |
|
static MAXON_METHOD void | PrivateFreeInternedId (const Id *ptr) |
|
static StrongReferenceCounter & | GetReferenceCounter (const void *object) |
|
static MAXON_METHOD const Block< const Binary *const > & | GetBinaries () |
|
static MAXON_METHOD void | PrivateShowSynchronizedHashMapDiagnostics (Int size, Int capacity, const Char *signature) |
|
static MAXON_METHOD const Char * | GetPreferencesPathSuffix () |
|
static MAXON_METHOD Id | GetApplicationId () |
|
static MAXON_METHOD void | SetApplicationType (const Char *dna) |
|
static MAXON_METHOD Bool | PrivateInitExternalDependency (InitMTable initSystemTable, Binary *externalDependency) |
|
static MAXON_METHOD Bool | PrivateResetExternalDependency (const Block< Tuple< Id, const char *, void * >> &safeShutdownMethods, Binary *externalDependency) |
|
static MAXON_METHOD UniqueHash | PrivateGetUniqueHashCode (const Byte *ptr, Int count) |
|
static MAXON_METHOD void | PrivateHasherInitialize (UniqueHasher &state) |
|
static MAXON_METHOD void | PrivateHasherCombine (UniqueHasher &state, const Byte *ptr, Int count) |
|
static MAXON_METHOD void | PrivateHasherCombine (UniqueHasher &state, const UniqueHash &hash) |
|
static MAXON_METHOD UniqueHash | PrivateHasherFinialize (const UniqueHasher &state) |
|
static MAXON_METHOD void | PrivateFreeWithDestructor (const void *object, DestructorPointer destruct) |
|