vala r919 - in trunk: . vala



Author: juergbi
Date: Mon Jan 28 20:29:20 2008
New Revision: 919
URL: http://svn.gnome.org/viewvc/vala?rev=919&view=rev

Log:
2008-01-28  Juerg Billeter  <j bitron ch>

	* vala/valainterfacewriter.vala: support [NoWrapper] attribute for
	  virtual methods


Modified:
   trunk/ChangeLog
   trunk/vala/valainterfacewriter.vala

Modified: trunk/vala/valainterfacewriter.vala
==============================================================================
--- trunk/vala/valainterfacewriter.vala	(original)
+++ trunk/vala/valainterfacewriter.vala	Mon Jan 28 20:29:20 2008
@@ -490,7 +490,11 @@
 		if (!check_accessibility (m) || m.overrides || m.base_interface_method != null) {
 			return;
 		}
-		
+
+		if (m.get_attribute ("NoWrapper") != null) {
+			write_indent ();
+			write_string ("[NoWrapper]");
+		}
 		if (m.no_array_length) {
 			bool array_found = (m.return_type is ArrayType);
 			foreach (FormalParameter param in m.get_parameters ()) {



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