Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   LOAD-EXTENSION name /dispatch function

DESCRIPTION

Low level extension module loader (for DLLs).

LOAD-EXTENSION is a native value.

ARGUMENTS

  • name -- DLL file or UTF-8 source (file! binary!)

REFINEMENTS

  • /dispatch -- Specify native command dispatch (from hosted extensions)
    • function -- Command dispatcher (native) (handle!)

#SOURCE

load-extension: make native! [  [
    "Low level extension module loader (for DLLs)."
    name [file! binary!] "DLL file or UTF-8 source"
    /dispatch {Specify native command dispatch (from hosted extensions)}
    function [handle!] "Command dispatcher (native)"
] ]
Clone this wiki locally