vala r1340 - in trunk: . vapi



Author: jhaitsma
Date: Thu May  8 06:10:06 2008
New Revision: 1340
URL: http://svn.gnome.org/viewvc/vala?rev=1340&view=rev

Log:
2008-05-08  Jaap A. Haitsma  <jaap haitsma org>

	reviewed by: JÃrg Billeter

	* vapi/hal.vapi:
	Also return length in string array returned from
	libhal_find_device_by_capability. Fixes bug #530738


Modified:
   trunk/ChangeLog
   trunk/vapi/hal.vapi

Modified: trunk/vapi/hal.vapi
==============================================================================
--- trunk/vapi/hal.vapi	(original)
+++ trunk/vapi/hal.vapi	Thu May  8 06:10:06 2008
@@ -34,9 +34,9 @@
 		public void* get_user_data ();
 		public bool set_device_added (DeviceAdded _callback);
 		public bool set_device_removed (DeviceRemoved _callback);
-		[NoArrayLength]
 		[CCode (cname = "libhal_find_device_by_capability")]
-		public string[] find_device_by_capability (string capability, ref int num_devices, ref DBus.RawError error);
+		[CCode (array_length_pos = 1.9)]
+		public string[] find_device_by_capability (string capability, ref DBus.RawError error);
 
 		[CCode (cname = "libhal_device_get_property_string")]
 		public string device_get_property_string (string udi, string key, ref DBus.RawError error);



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