• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Are method declarations just comments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are method declarations just comments?


  • Subject: Re: Are method declarations just comments?
  • From: Andreas Monitzer <email@hidden>
  • Date: Mon, 9 Jul 2001 20:32:35 +0200

On Monday, July 9, 2001, at 08:07 , Peter Ammon wrote:

Unless I'm mistaken, Objective-C is actually more lax about requiring
function declarations. For example, C requires that variadic functions
(that is, functions with a variable number of arguments like printf) be
prototyped, whereas AFAIK Objective-C places no such requirements on
variadic methods (e.g. arrayWithObjects:)

I never really programmed C without function declarations, but AFAIK all non-declared functions are treated with variable arguments like
int func(...)


andy
--
Discussion forthcoming.


  • Follow-Ups:
    • Re: Are method declarations just comments?
      • From: Peter Ammon <email@hidden>
References: 
 >Re: Are method declarations just comments? (From: Peter Ammon <email@hidden>)

  • Prev by Date: Re: Title bar for Sheets
  • Next by Date: Re: NIAuthentificationButton
  • Previous by thread: Re: Are method declarations just comments?
  • Next by thread: Re: Are method declarations just comments?
  • Index(es):
    • Date
    • Thread