perl-Glib r1087 - trunk



Author: tsch
Date: Wed Feb 11 22:21:00 2009
New Revision: 1087
URL: http://svn.gnome.org/viewvc/perl-Glib?rev=1087&view=rev

Log:
Document that Glib::Error->location returns raw bytes.  Patch by Kevin Ryde.


Modified:
   trunk/ChangeLog
   trunk/GError.xs

Modified: trunk/GError.xs
==============================================================================
--- trunk/GError.xs	(original)
+++ trunk/GError.xs	Wed Feb 11 22:21:00 2009
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2005 by the gtk2-perl team (see the file AUTHORS for the full
+ * Copyright (C) 2004-2009 by the gtk2-perl team (see the file AUTHORS for the full
  * list)
  *
  * This library is free software; you can redistribute it and/or modify it
@@ -437,6 +437,10 @@
 The source line and file closest to the emission of the exception, in the same
 format that you'd get from croak() or die().
 
+If there's non-ascii characters in the filename Perl leaves them as
+raw bytes, so you may have to put the string through
+Glib::filename_display_name for a wide-char form.
+
 =cut
 char * location (SV * error)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]