#102 Change read object function to return pointer to object

open
nobody
Objects (11)
7
2008-08-27
2008-08-27
No

Instead of reading a file into a structure have the object read allocate memory for the object and return a pointer to it. Then have the caller verify it is the correct type of object.

Discussion


Log in to post a comment.