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

NameDescription
theA machine
this_A reference to the instance that will have the constructor
constructorA reference to the constructor to call
paramsThe parameter slots to pass to the constructor