home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / objectiv / 652 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.2 KB

  1. Xref: sparky comp.lang.objective-c:652 gnu.gcc.help:2457
  2. Newsgroups: comp.lang.objective-c,gnu.gcc.help
  3. Path: sparky!uunet!ukma!darwin.sura.net!udel!louie!ori.cis.udel.edu!carroll
  4. From: carroll@ori.cis.udel.edu (Mark C. Carroll)
  5. Subject: GCC 2.3 Objective-C init?
  6. Message-ID: <1992Nov5.183207.12826@udel.edu>
  7. Sender: usenet@udel.edu (USENET News Service)
  8. Nntp-Posting-Host: ori.cis.udel.edu
  9. Organization: University of Delaware, Newark
  10. Date: Thu, 5 Nov 1992 18:32:07 GMT
  11. Lines: 18
  12.  
  13. Greetings!
  14.  
  15. I just obtained the GNU gcc-2.3, which includes runtime support for
  16. Objective-C. Unfortunately, in trying it out on some major objective-C
  17. code that I've been working on, I discovered that class Object does
  18. _not_ implement an init method! 
  19.  
  20. I'm wondering how I'm supposed to insure that my objects are initialized.
  21. Can I assume that the initialization of an object (ie, setup of the isa
  22. fields and so forth) is properly performed in the alloc call?
  23.  
  24.     <MC>
  25.  
  26. -- 
  27. || Mark Craig Carroll: <MC>     ||"If love remains
  28. || Univ of Delaware, Dept of CIS|| Though everything is lost
  29. || Grad Student/Labstaff Hacker || We will pay the price
  30. || carroll@udel.edu             || But we will not count the cost" -Neil Peart
  31.