Function xsCloneMachine

Clone a xsMachine.

xs.bindings.xsMachineRecord* xsCloneMachine (
  xs.bindings.xsCreationRecord* creation,
  xs.bindings.xsMachineRecord* machine,
  string name,
  void* context = null
);

xs.bindings.xsMachineRecord* xsCloneMachine (
  xs.bindings.xsCreationRecord* creation,
  xs.bindings.xsMachineRecord* machine,
  const(char*) name,
  void* context = null
);

Parameters

NameDescription
creationThe parameters of the cloned machine
machineThe machine to clone
nameThe name of the machine as a string
contextThe initial context of the machine, or null

See Also

xsCreateMachine