Malloc

class Malloc(val globalMemory: GlobalMemory)(source)

Constructors

Link copied to clipboard
constructor(globalMemory: GlobalMemory)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val headerSize: Int = 16
Link copied to clipboard
var size: Long
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun free(headerPointer: Long)
Link copied to clipboard
fun freePointer(pointer: Long)
Link copied to clipboard
fun malloc(size: Long): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun writeHeader(pointer: Long, header: MallocHeader)
Link copied to clipboard
fun writeHeaderFor(pointer: Long, header: MallocHeader)