nimhcr

Source   Edit  

Types

HcrModuleInitializer = proc () {.nimcall.}
Source   Edit  
HcrProcGetter = proc (libHandle: pointer; procName: cstring): pointer {.nimcall.}
Source   Edit  

Procs

proc hcrAddEventHandler(isBefore: bool; cb: proc () {.nimcall.}) {.compilerproc,
    exportc, dynlib, ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
proc hcrAddModule(module: cstring) {.compilerproc, exportc, dynlib, ...raises: [],
                                     tags: [], forbids: [].}
Source   Edit  
proc hcrGeneration(): int {.compilerproc, exportc, dynlib, ...raises: [], tags: [],
                            forbids: [].}
Source   Edit  
proc hcrGetGlobal(module: cstring; name: cstring): pointer {.compilerproc,
    exportc, dynlib, ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
proc hcrGetProc(module: cstring; name: cstring): pointer {.compilerproc,
    exportc, dynlib, ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
proc hcrHasModuleChanged(moduleHash: string): bool {.compilerproc, exportc,
    dynlib, ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
proc hcrInit(moduleList: ptr pointer; main, sys: cstring;
             datInit: HcrModuleInitializer; handle: pointer; gpa: HcrProcGetter) {.
    compilerproc, exportc, dynlib, ...raises: [KeyError, Exception, LibraryError],
    tags: [ReadDirEffect, ReadIOEffect, WriteIOEffect, RootEffect], forbids: [].}
Source   Edit  
proc hcrMarkGlobals() {.compilerproc, exportc, dynlib, nimcall, ...gcsafe,
                        raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc hcrPerformCodeReload() {.compilerproc, exportc, dynlib,
                              ...raises: [KeyError, Exception, LibraryError], tags: [
    RootEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect], forbids: [].}
Source   Edit  
proc hcrRegisterGlobal(module: cstring; name: cstring; size: Natural;
                       gcMarker: HcrGcMarkerProc; outPtr: ptr pointer): bool {.
    compilerproc, exportc, dynlib, ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
proc hcrRegisterProc(module: cstring; name: cstring; fn: pointer): pointer {.
    compilerproc, exportc, dynlib, ...raises: [KeyError, OSError], tags: [],
    forbids: [].}
Source   Edit  
proc hcrReloadNeeded(): bool {.compilerproc, exportc, dynlib,
                               ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit