2021-06-27 09:32:03 +03:00
|
|
|
#pragma once
|
2020-10-11 17:05:00 +03:00
|
|
|
|
|
|
|
#include "cBackend.h"
|
2020-10-12 00:28:26 +03:00
|
|
|
|
2020-10-11 17:05:00 +03:00
|
|
|
// IORef
|
|
|
|
|
|
|
|
Value *newIORef(Value *, Value *, Value *);
|
|
|
|
Value *readIORef(Value *, Value *, Value *);
|
|
|
|
Value *writeIORef(Value *, Value *, Value *, Value *);
|
|
|
|
|
|
|
|
// Sys
|
|
|
|
|
|
|
|
Value *sysOS(void);
|
2022-09-08 02:44:14 +03:00
|
|
|
Value *sysCodegen(void);
|
2022-04-27 15:59:32 +03:00
|
|
|
Value *idris2_crash(Value *msg);
|
2020-10-11 17:05:00 +03:00
|
|
|
|
|
|
|
// Array
|
|
|
|
|
|
|
|
Value *newArray(Value *, Value *, Value *, Value *);
|
|
|
|
Value *arrayGet(Value *, Value *, Value *, Value *);
|
|
|
|
Value *arraySet(Value *, Value *, Value *, Value *, Value *);
|
|
|
|
|
|
|
|
// Pointer
|
|
|
|
Value *onCollect(Value *, Value *, Value *, Value *);
|
2022-04-27 15:59:32 +03:00
|
|
|
Value *onCollectAny(Value *, Value *, Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
|
|
|
|
Value *voidElim(Value *, Value *);
|
|
|
|
|
|
|
|
// Threads
|
|
|
|
Value *System_Concurrency_Raw_prim__mutexRelease(Value *, Value *);
|
|
|
|
|
|
|
|
Value *System_Concurrency_Raw_prim__mutexAcquire(Value *, Value *);
|
|
|
|
|
|
|
|
Value *System_Concurrency_Raw_prim__makeMutex(Value *);
|
|
|
|
|
|
|
|
Value *System_Concurrency_Raw_prim__makeCondition(Value *);
|
|
|
|
|
|
|
|
Value *System_Concurrency_Raw_prim__conditionWait(Value *, Value *, Value *);
|
|
|
|
|
2022-04-27 15:59:32 +03:00
|
|
|
Value *System_Concurrency_Raw_prim__conditionWaitTimeout(Value *, Value *,
|
|
|
|
Value *, Value *);
|
2020-10-11 17:05:00 +03:00
|
|
|
|
|
|
|
Value *System_Concurrency_Raw_prim__conditionSignal(Value *, Value *);
|
|
|
|
|
|
|
|
Value *System_Concurrency_Raw_prim__conditionBroadcast(Value *, Value *);
|