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 ()) {.compilerproc, exportc,
    dynlib, ...raises: [KeyError], tags: [].}
  Source   Edit
proc hcrAddModule(module: cstring) {.compilerproc, exportc, dynlib, ...raises: [],
                                     tags: [].}
  Source   Edit
proc hcrGeneration(): int {.compilerproc, exportc, dynlib, ...raises: [], tags: [].}
  Source   Edit
proc hcrGetGlobal(module: cstring; name: cstring): pointer {.compilerproc,
    exportc, dynlib, ...raises: [KeyError], tags: [].}
  Source   Edit
proc hcrGetProc(module: cstring; name: cstring): pointer {.compilerproc,
    exportc, dynlib, ...raises: [KeyError], tags: [].}
  Source   Edit
proc hcrHasModuleChanged(moduleHash: string): bool {.compilerproc, exportc,
    dynlib, ...raises: [KeyError], tags: [].}
  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].}
  Source   Edit
proc hcrMarkGlobals() {.compilerproc, exportc, dynlib, nimcall, ...gcsafe,
                        raises: [], tags: [RootEffect].}
  Source   Edit
proc hcrPerformCodeReload() {.compilerproc, exportc, dynlib,
                              ...raises: [KeyError, Exception, LibraryError], tags: [
    RootEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect].}
  Source   Edit
proc hcrRegisterGlobal(module: cstring; name: cstring; size: Natural;
                       gcMarker: HcrGcMarkerProc; outPtr: ptr pointer): bool {.
    compilerproc, exportc, dynlib, ...raises: [KeyError], tags: [].}
  Source   Edit
proc hcrRegisterProc(module: cstring; name: cstring; fn: pointer): pointer {.
    compilerproc, exportc, dynlib, ...raises: [KeyError, OSError], tags: [].}
  Source   Edit
proc hcrReloadNeeded(): bool {.compilerproc, exportc, dynlib,
                               ...raises: [KeyError], tags: [].}
  Source   Edit