[Monodevelop-patches-list] r1648 - in trunk/MonoDevelop/src/Libraries/MonoDevelop.Core: . Services
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed May 26 19:52:20 EDT 2004
Author: tberman
Date: 2004-05-26 19:52:20 -0400 (Wed, 26 May 2004)
New Revision: 1648
Modified:
trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/ChangeLog
trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/Services/GettextCatalog.cs
Log:
oops
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/ChangeLog 2004-05-26 22:18:50 UTC (rev 1647)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/ChangeLog 2004-05-26 23:52:20 UTC (rev 1648)
@@ -1,5 +1,9 @@
2004-05-26 Todd Berman <tberman at sevenl.net>
+ * Services/GettextCatalog.cs: oops, thats not what i wanted i guess.
+
+2004-05-26 Todd Berman <tberman at sevenl.net>
+
* Services/GettextCatalog.cs: change to string marshaling to prevent
leaks.
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/Services/GettextCatalog.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/Services/GettextCatalog.cs 2004-05-26 22:18:50 UTC (rev 1647)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/Services/GettextCatalog.cs 2004-05-26 23:52:20 UTC (rev 1648)
@@ -44,15 +44,15 @@
}
[DllImport ("libmonodevelop")]
- private static extern IntPtr intl_get_string (string str);
+ private static extern string intl_get_string (string str);
public static string GetString (string str)
{
- return Marshal.PtrToStringAnsi (intl_get_string (str));
+ return intl_get_string (str);
}
[DllImport ("libmonodevelop")]
- private static extern IntPtr intl_get_plural_string (string singular,
+ private static extern string intl_get_plural_string (string singular,
string plural,
int n);
@@ -60,7 +60,7 @@
string plural,
int n)
{
- return Marshal.PtrToStringAnsi (intl_get_plural_string (singular, plural, n));
+ return intl_get_plural_string (singular, plural, n);
}
}
}
More information about the Monodevelop-patches-list
mailing list