Auto-generated from Magnolia source.
LibC · [4 items]
LibDL · [4 items]
LibX11 · [4 items]
PROT_NONE · 0
PROT_READ · 1
PROT_WRITE · 2
PROT_EXEC · 4
MAP_SHARED · 1
MAP_PRIVATE · 2
MAP_FIXED · 16
MAP_ANONYMOUS · 32
O_RDONLY · 0
O_WRONLY · 1
O_RDWR · 2
O_CREAT · 64
O_TRUNC · 512
O_APPEND · 1024
SEEK_SET · 0
SEEK_CUR · 1
SEEK_END · 2
F_OK · 0
X_OK · 1
W_OK · 2
R_OK · 4
RTLD_LAZY · 1
RTLD_NOW · 2
RTLD_GLOBAL · 256
RTLD_LOCAL · 0
_SC_PAGESIZE · 30
KeyPressMask · 1
ButtonPressMask · 4
ExposureMask · 32768
StructureNotifyMask · 131072
KeyPress · 2
Expose · 12
DestroyNotify · 17
ClientMessage · 33
_readCString(ptr, maxLen)
returns :object
_resolveFirst(libraries, symbol, i)
returns :object
_callResolved(resolved, args...)
resolveIn(library, symbol)
gethostname(bufferPtr, size)
openFile(path, flags, mode)
readFileDescriptor(fd, bufferPtr, count)
writeFileDescriptor(fd, bufferPtr, count)
mmap(addr, length, prot, flags, fd, offset)
mprotect(addr, length, prot)
protectPages(address, size, prot)
virtualAlloc(baseAddress, size, allocationType, protection)
virtualFree(address, size, freeType)
virtualProtect(address, size, newProtect, oldProtectOutPtr)
_compatNotImplemented(apiName)
returns :object
openProcess(desiredAccess, inheritHandle, processId)
readProcessMemory(process, address, outBufferPtr, size, bytesReadOutPtr)
writeProcessMemory(process, address, inBufferPtr, size, bytesWrittenOutPtr)
virtualAllocEx(process, baseAddress, size, allocationType, protection)
virtualFreeEx(process, address, size, freeType)
virtualQuery(address, mbiBufferPtr, mbiSize)
virtualQueryEx(process, address, mbiBufferPtr, mbiSize)
sys · import(...)
_loadedLibraries · {}
_normalizeHandleResult(result, apiName, library)
returns :object
procAddress(module, symbol)
_loadDllCandidate(candidates, i, flags)
returns :object
resolveInLoaded(library, symbol)
returns :object
callIn(library, symbol, args...)
returns :bool
returns :bool
returns :int
rootWindow(display, screen)
blackPixel(display, screen)
whitePixel(display, screen)
createSimpleWindow(display, parent, x, y, width, height, borderWidth, border, background)
destroyWindow(display, window)
storeName(display, window, title)
selectInput(display, window, eventMask)
mapWindow(display, window)
unmapWindow(display, window)
moveWindow(display, window, x, y)
resizeWindow(display, window, width, height)
displayWidth(display, screen)
displayHeight(display, screen)
createGC(display, drawable, valueMask, values)
setForeground(display, gc, color)
drawLine(display, window, gc, x1, y1, x2, y2)
fillRectangle(display, window, gc, x, y, width, height)
drawString(display, window, gc, x, y, text)
nextEvent(display, eventPtr)
_openWindowFromRoot(display, screen, root, black, white, title, width, height)
returns :object
_openWindowFromScreen(display, screen, title, width, height)
_openWindowFromDisplay(display, title, width, height)
openDefaultWindow(title, width, height)
returns :int
pumpWindowEvent(display, eventPtr)
returns :object
runWindowLoop(display, eventPtr)
returns :int
thunk returns :function
thunk returns :function
returns :string
returns :function
_nToH · '0123456789abcdef'
returns :list
returns :string
returns :list
returns :bool
returns ?
thunk returns :function
debounce(duration, firstCall, f)
thunk returns :function
returns :bool
returns :bool
returns :object
resolveAndCall(library, symbol, args...)
valueOr(result, fallback)