nimhcr

Types

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

Procs

proc hcrRegisterProc(module: cstring; name: cstring; fn: pointer): pointer {...}{.
    compilerProc, exportc, dynlib, raises: [KeyError, OSError, RangeError], tags: [].}
  Source Edit
proc hcrGetProc(module: cstring; name: cstring): pointer {...}{.compilerProc, exportc,
    dynlib, raises: [KeyError], tags: [].}
  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 hcrGetGlobal(module: cstring; name: cstring): pointer {...}{.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, OSError, Exception, LibraryError],
    tags: [ReadIOEffect, WriteIOEffect, RootEffect].}
  Source Edit
proc hcrHasModuleChanged(moduleHash: string): bool {...}{.compilerProc, exportc, dynlib,
    raises: [KeyError, OSError], tags: [].}
  Source Edit
proc hcrReloadNeeded(): bool {...}{.compilerProc, exportc, dynlib,
                            raises: [KeyError, OSError], tags: [].}
  Source Edit
proc hcrPerformCodeReload() {...}{.compilerProc, exportc, dynlib, raises: [KeyError,
    OSError, Exception, LibraryError],
                            tags: [RootEffect, ReadIOEffect, WriteIOEffect].}
  Source Edit
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 hcrMarkGlobals() {...}{.compilerProc, exportc, dynlib, nimcall, gcsafe,
                      raises: [Exception], tags: [RootEffect].}
  Source Edit