<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Bridge</title>
	<atom:link href="http://ridiculousfish.com/blog/archives/2006/09/09/bridge/feed/" rel="self" type="application/rss+xml" />
	<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/</link>
	<description>serious code</description>
	<lastBuildDate>Tue, 09 Mar 2010 16:09:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jack Small</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-636</link>
		<dc:creator>Jack Small</dc:creator>
		<pubDate>Tue, 31 Oct 2006 01:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-636</guid>
		<description>Was CF always really objective-c or was it once &quot;really&quot; c?  For some reason I can&#039;t get the Darwin sources before 7.0.</description>
		<content:encoded><![CDATA[<p>Was CF always really objective-c or was it once &#8220;really&#8221; c?  For some reason I can&#8217;t get the Darwin sources before 7.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-625</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 29 Sep 2006 19:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-625</guid>
		<description>Just another example that toll-free bridging just works:

curl http://www.10k.org/jake/pub/cr/CompleteResolve.tar.gz &#124; tar xfz -

(CompleteResolve resolves HFS+ aliases.)</description>
		<content:encoded><![CDATA[<p>Just another example that toll-free bridging just works:</p>
<p>curl <a href="http://www.10k.org/jake/pub/cr/CompleteResolve.tar.gz" rel="nofollow">http://www.10k.org/jake/pub/cr/CompleteResolve.tar.gz</a> | tar xfz -</p>
<p>(CompleteResolve resolves HFS+ aliases.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leeg</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-621</link>
		<dc:creator>leeg</dc:creator>
		<pubDate>Sun, 24 Sep 2006 11:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-621</guid>
		<description>jcr: yep, that&#039;s why I wrote &quot;can currently use&quot; ;-).  I really wouldn&#039;t expect anyone to &lt;em&gt;want&lt;/em&gt; to do @defs, pre-10.5 or otherwise, unless they&#039;re reimplementing Foundation...</description>
		<content:encoded><![CDATA[<p>jcr: yep, that&#8217;s why I wrote &#8220;can currently use&#8221; <img src='http://ridiculousfish.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .  I really wouldn&#8217;t expect anyone to <em>want</em> to do @defs, pre-10.5 or otherwise, unless they&#8217;re reimplementing Foundation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John C. Randolph</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-623</link>
		<dc:creator>John C. Randolph</dc:creator>
		<pubDate>Sat, 23 Sep 2006 23:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-623</guid>
		<description>Leeg,

Just FYI:Â  @defs is deprecated for Leopard and later. Â Â Don&#039;t count on it working on any code that isn&#039;t built to the 10.4 or earlier SDK.

-jcr</description>
		<content:encoded><![CDATA[<p>Leeg,</p>
<p>Just FYI:Â  @defs is deprecated for Leopard and later. Â Â Don&#8217;t count on it working on any code that isn&#8217;t built to the 10.4 or earlier SDK.</p>
<p>-jcr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Lumburg</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-622</link>
		<dc:creator>Bill Lumburg</dc:creator>
		<pubDate>Sat, 16 Sep 2006 00:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-622</guid>
		<description>I think you may have mistyped 0xFFFF for 0xFFF. mmkay? yeah.</description>
		<content:encoded><![CDATA[<p>I think you may have mistyped 0xFFFF for 0xFFF. mmkay? yeah.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leeg</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-624</link>
		<dc:creator>leeg</dc:creator>
		<pubDate>Fri, 15 Sep 2006 13:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-624</guid>
		<description>There&#039;s another way (not that I&#039;m recommending it, it&#039;s rubbish, but for completeness&#039; sake you could do this) which you can currently use to create a C API for your ObjC objects, you need an ObjC compiler still...

@defs!  It&#039;s sick!  It&#039;s wrong!  Most people only know it exists if they read the entire objc language reference!  But for creating a C API from ObjC objects, it&#039;s more or less just what the doctor ordered:

@interface LeegThing: NSObject
{
  int foo;
  double bar;
}
//....method decls....
@end

typedef struct { @defs(LeegThing) } *ThingRef;

of course, any hope of encapsulation, or of being hired by anyone who read your code, has just disappeared.  But this creates a struct with exactly the same in-memory layout as the class, so a LeegThing * and a ThingRef are completely interchangable.</description>
		<content:encoded><![CDATA[<p>There&#8217;s another way (not that I&#8217;m recommending it, it&#8217;s rubbish, but for completeness&#8217; sake you could do this) which you can currently use to create a C API for your ObjC objects, you need an ObjC compiler still&#8230;</p>
<p>@defs!  It&#8217;s sick!  It&#8217;s wrong!  Most people only know it exists if they read the entire objc language reference!  But for creating a C API from ObjC objects, it&#8217;s more or less just what the doctor ordered:</p>
<p>@interface LeegThing: NSObject<br />
{<br />
  int foo;<br />
  double bar;<br />
}<br />
//&#8230;.method decls&#8230;.<br />
@end</p>
<p>typedef struct { @defs(LeegThing) } *ThingRef;</p>
<p>of course, any hope of encapsulation, or of being hired by anyone who read your code, has just disappeared.  But this creates a struct with exactly the same in-memory layout as the class, so a LeegThing * and a ThingRef are completely interchangable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Rubenstein</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-635</link>
		<dc:creator>Rick Rubenstein</dc:creator>
		<pubDate>Tue, 12 Sep 2006 20:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-635</guid>
		<description>Superb post, as always. However, could you please include the source files for FishsWackyString? I was going to implement RicksNuttyString, but no sense in reinventing the wheel...</description>
		<content:encoded><![CDATA[<p>Superb post, as always. However, could you please include the source files for FishsWackyString? I was going to implement RicksNuttyString, but no sense in reinventing the wheel&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Sweater Links  &#187; Blog Archive   &#187; Toll-Free Bridging</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-634</link>
		<dc:creator>Red Sweater Links  &#187; Blog Archive   &#187; Toll-Free Bridging</dc:creator>
		<pubDate>Tue, 12 Sep 2006 15:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-634</guid>
		<description>[...] ening is the very nerdy dissection of the bridging mechanism as it applies to NSCFString.  Link.  	 					 				 					 						This link was tagged Geeky,  Cocoa. 			 												 	 [...]</description>
		<content:encoded><![CDATA[<p>[...] ening is the very nerdy dissection of the bridging mechanism as it applies to NSCFString.  Link.  	 					 				 					 						This link was tagged Geeky,  Cocoa. 			 												 	 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Phipps</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-633</link>
		<dc:creator>Ben Phipps</dc:creator>
		<pubDate>Mon, 11 Sep 2006 17:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-633</guid>
		<description>What a wonderful way to start my week.  Please post more often!</description>
		<content:encoded><![CDATA[<p>What a wonderful way to start my week.  Please post more often!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://ridiculousfish.com/blog/archives/2006/09/09/bridge/comment-page-1/#comment-632</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 11 Sep 2006 14:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://ridiculousfish.com/blog/archives/2006/09/09/bridge/#comment-632</guid>
		<description>Fish, you rock!
Does your boss also blog?
What&#039;s about your co-workers?</description>
		<content:encoded><![CDATA[<p>Fish, you rock!<br />
Does your boss also blog?<br />
What&#8217;s about your co-workers?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
