I did this in the past except that the constructor would be called Point_new, and the first parameter would be Point *self. The lack of automatic destruction is a bit annoying, but everything else is fine. A few books have been written on that topic too.
I did this in the past except that the constructor would be called
Point_new, and the first parameter would bePoint *self. The lack of automatic destruction is a bit annoying, but everything else is fine. A few books have been written on that topic too.