Changing the DefaultBackend ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Changing the DefaultBackend ?

Stephen R. van den Berg
How does one change the DefaultBackend in Pike?

I tried something like:

int main(int argc, array(string) argv) {
  Pike.DefaultBackend = Pike.PollDeviceBackend();
  return -1;
}

Which results in: Illegal lvalue.
--
Stephen.