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
Name | Description |
---|---|
creation | The parameters of the cloned machine |
machine | The machine to clone |
name | The name of the machine as a string |
context | The initial context of the machine, or null |