Content deleted Content added
m Signing comment by Hyperjeff - "→Closures in Objective-C: new section" |
Salix alba (talk | contribs) →Closures in Objective-C: expanded section |
||
Line 611:
The example given is an example of closures in C, as amended by Apple's additions to the C language, and currently under review for inclusion in the C standard. It works in pure .c files under the gcc and clang, at least on Apple platforms. The only lines in the example that use Objective-C are the NSLog statements, which could be replaced with printf statements to have a pure C closure example. It is worth renaming (and repositioning up higher) the section "Closures in C (gcc, clang)" or somesuch. <small><span class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Hyperjeff|Hyperjeff]] ([[User talk:Hyperjeff|talk]] • [[Special:Contributions/Hyperjeff|contribs]]) 09:23, 18 September 2010 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:I've expanded the section to refer to the fact it also applies to C and C++ in Mac. I don't think its should be moved higher or listed under C as it is a non-standard apple only extension.--[[User:Salix alba|Salix]] ([[User talk:Salix alba|talk]]): 10:04, 18 September 2010 (UTC)
|