Function xsGetContext

Returns a context.

void* xsGetContext (
  scope xs.bindings.xsMachineRecord* the
);

The machine will call your C code primarily through callbacks. In your callbacks, you can set and get a context_: a pointer to an area where you can store and retrieve information for the machine.

Parameters

NameDescription
theA machine