[vala] gsl: Do not use `weak' modifier where it is not applicable



commit b48b41f97dfc0c37251beb07b1924af593bba8e1
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Apr 2 11:29:09 2010 -0700

    gsl: Do not use `weak' modifier where it is not applicable

 vapi/gsl.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gsl.vapi b/vapi/gsl.vapi
index 3a384c2..0005d4f 100644
--- a/vapi/gsl.vapi
+++ b/vapi/gsl.vapi
@@ -527,7 +527,7 @@ namespace Gsl
 	namespace Error
 	{
 		public static void error (string reason, string file, int line, int errno);
-		public static weak string strerror (int errno);
+		public static unowned string strerror (int errno);
 		public static ErrorHandler set_error_handler (ErrorHandler? new_handler);
 		public static ErrorHandler set_error_handler_off ();
 	}



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