[macruby-changes] [2865] MacRuby/trunk/bridgesupport.cpp

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 20 00:00:27 PDT 2009


Revision: 2865
          http://trac.macosforge.org/projects/ruby/changeset/2865
Author:   lsansonetti at apple.com
Date:     2009-10-20 00:00:25 -0700 (Tue, 20 Oct 2009)
Log Message:
-----------
working missing 64-bit informa protocol annotations with NSRange

Modified Paths:
--------------
    MacRuby/trunk/bridgesupport.cpp

Modified: MacRuby/trunk/bridgesupport.cpp
===================================================================
--- MacRuby/trunk/bridgesupport.cpp	2009-10-20 03:36:35 UTC (rev 2864)
+++ MacRuby/trunk/bridgesupport.cpp	2009-10-20 07:00:25 UTC (rev 2865)
@@ -1012,6 +1012,9 @@
 		else if (strncmp(p, "{_NSRect=", 9) == 0) {
 		    strlcat(type, "{CGRect={CGPoint=dd}{CGSize=dd}}", typelen);
 		}
+		else if (strncmp(p, "{_NSRange=", 10) == 0) {
+		    strlcat(type, "{_NSRange=QQ}", typelen);
+		} 
 		else {
 		    char buf[100];
 		    strncpy(buf, p, len);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091020/46b53f6f/attachment.html>


More information about the macruby-changes mailing list