# nimhcr

Dark Mode

- Manual
- Standard library
- Index
- devel, stable

Search:
Group by:

# Imports

os, tables, sets, times, strutils, reservedmem, dynlib

# 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, IOError, Exception, LibraryError], tags: [
        ReadIOEffect, WriteIOEffect, WriteDirEffect, ReadDirEffect, 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, IOError, LibraryError], tags: [RootEffect, ReadIOEffect,
        WriteIOEffect, WriteDirEffect, ReadDirEffect].}

  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