From: | Jean-Michel Forgeas |
Date: | 25 Aug 2000 at 13:36:48 |
Subject: | AMIOPEN: Object allocated on stack - init and/or open |
Question 1:
Since the _new method for objects is the allocator, is it (will it be) correct
to reserve the object size on the stack then call its init method to have a
fully fonctional instance ?
Question 2:
In the red book it is said that for objects one has to call _new then init, but
for some objects one must call _new then open.
Did I misunderstood so we have to always call the init method ?
Thanks
Jean-Michel
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html