Revision: 2820 http://trac.macosforge.org/projects/ruby/changeset/2820 Author: lsansonetti@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;
participants (1)
-
source_changes@macosforge.org