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

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 15 17:51:03 PDT 2009


Revision: 2820
          http://trac.macosforge.org/projects/ruby/changeset/2820
Author:   lsansonetti at apple.com
Date:     2009-10-15 17:51:02 -0700 (Thu, 15 Oct 2009)
Log Message:
-----------
fixed an exception message

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

Modified: MacRuby/trunk/bridgesupport.cpp
===================================================================
--- MacRuby/trunk/bridgesupport.cpp	2009-10-15 23:51:16 UTC (rev 2819)
+++ MacRuby/trunk/bridgesupport.cpp	2009-10-16 00:51:02 UTC (rev 2820)
@@ -651,8 +651,8 @@
     if (strcmp(RSTRING_PTR(ptr->type), type + 1) != 0) {
 	rb_raise(rb_eTypeError,
 		"expected instance of Pointer of type `%s', got `%s'",
-		RSTRING_PTR(ptr->type),
-		type + 1);
+		type + 1,
+		RSTRING_PTR(ptr->type));
     }
 
     return ptr->val;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091015/91872990/attachment.html>


More information about the macruby-changes mailing list