Function xsNew
xs .bindings .xsSlotRecord xsNew
(
scope xs .bindings .xsMachineRecord* the,
const(xs .bindings .xsSlotRecord) this_,
const(xs .bindings .xsSlotRecord) constructor,
const(xs .bindings .xsSlotRecord[]) params...
);
Parameters
| Name | Description |
|---|---|
| the | A machine |
| this_ | A reference to the instance that will have the constructor |
| constructor | A reference to the constructor to call |
| params | The parameter slots to pass to the constructor |