I have the following code wrapped by swig:
int
cluster::myController(controller*& _controller) {
_controller = my_controller;
return 0;
}
controller
has a private constructor.
What's the correct incantation to make something like this not throw an exception?
public static void main(String argv[]) {
controller c = null;
int r = dan_cluster.theCluster().myController(c);
System.out.println(r);
System.out.println(c.getUUID());
}