Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libprop Fix some ordering inconsistencies, noted ...



details:   https://anonhg.NetBSD.org/src/rev/e49b2a145b04
branches:  trunk
changeset: 750023:e49b2a145b04
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Dec 14 06:03:23 2009 +0000

description:
Fix some ordering inconsistencies, noted by Silas Silva in PR 42415.

diffstat:

 common/lib/libprop/prop_array.3 |  18 +++++++++---------
 common/lib/libprop/prop_data.3  |   6 +++---
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (61 lines):

diff -r 11ee2eb4e8e1 -r e49b2a145b04 common/lib/libprop/prop_array.3
--- a/common/lib/libprop/prop_array.3   Mon Dec 14 05:51:56 2009 +0000
+++ b/common/lib/libprop/prop_array.3   Mon Dec 14 06:03:23 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: prop_array.3,v 1.10 2009/10/10 18:06:54 bad Exp $
+.\"    $NetBSD: prop_array.3,v 1.11 2009/12/14 06:03:23 dholland Exp $
 .\"
 .\" Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -225,14 +225,6 @@
 .Fa index .
 The object will be released and the array compacted following
 the removal.
-.It Fn prop_array_equals "prop_array_t array1" "prop_array_t array2"
-Returns
-.Dv true
-if the two arrays are equivalent.
-If at least one of the supplied objects isn't an array,
-.Dv false
-is returned.
-Note: Objects contained in the array are compared by value, not by reference.
 .It Fn prop_array_externalize "prop_array_t array"
 Externalizes an array, returning a NUL-terminated buffer containing
 the XML representation of the array.
@@ -280,6 +272,14 @@
 Returns
 .Dv false
 if externalizing the array fails for any reason.
+.It Fn prop_array_equals "prop_array_t array1" "prop_array_t array2"
+Returns
+.Dv true
+if the two arrays are equivalent.
+If at least one of the supplied objects isn't an array,
+.Dv false
+is returned.
+Note: Objects contained in the array are compared by value, not by reference.
 .El
 .Sh SEE ALSO
 .Xr prop_bool 3 ,
diff -r 11ee2eb4e8e1 -r e49b2a145b04 common/lib/libprop/prop_data.3
--- a/common/lib/libprop/prop_data.3    Mon Dec 14 05:51:56 2009 +0000
+++ b/common/lib/libprop/prop_data.3    Mon Dec 14 06:03:23 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: prop_data.3,v 1.6 2008/04/30 13:10:46 martin Exp $
+.\"    $NetBSD: prop_data.3,v 1.7 2009/12/14 06:03:23 dholland Exp $
 .\"
 .\" Copyright (c) 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -54,10 +54,10 @@
 .Ft prop_data_t
 .Fn prop_data_copy "prop_data_t data"
 .\"
+.Ft size_t
+.Fn prop_data_size "prop_data_t data"
 .Ft void *
 .Fn prop_data_data "prop_data_t data"
-.Ft size_t
-.Fn prop_data_size "prop_data_t data"
 .Ft const void *
 .Fn prop_data_data_nocopy "prop_data_t data"
 .\"



Home | Main Index | Thread Index | Old Index