From f95c7a3b18d563cca3190a1e72e316f3159cf459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Sundstr=C3=B6m?= <oyasumi@gmail.com> Date: Fri, 5 Sep 2003 16:44:39 +0200 Subject: [PATCH] Some detail skirmishes with Nilsson later. ^_^;; Rev: lib/modules/Array.pmod:1.95 Rev: src/modules/_Charset/module.pmod.in:1.36 --- lib/modules/Array.pmod | 6 +++--- src/modules/_Charset/module.pmod.in | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/modules/Array.pmod b/lib/modules/Array.pmod index 1b7218dbb2..772d5b2f7b 100644 --- a/lib/modules/Array.pmod +++ b/lib/modules/Array.pmod @@ -755,7 +755,7 @@ array common_prefix(array(array) arrs) //! Array.all( ({ 2, 4, 6, 8 }), `<, 17 ) //! @seealso //! @[any], @[has_value] -int(0..1) all( array a, function(mixed,mixed ...:int(0..1)) predicate, +int(0..1) all( array a, function(mixed, mixed ...:mixed) predicate, mixed ... extra_args ) { foreach( a, mixed elem ) @@ -772,7 +772,7 @@ int(0..1) all( array a, function(mixed,mixed ...:int(0..1)) predicate, //! Array.any( ({ 2, 4, 6, 8 }), `>, 5 ) //! @seealso //! @[all], @[has_value] -int(0..1) any( array a, function(mixed,mixed ...:int(0..1)) predicate, +int(0..1) any( array a, function(mixed, mixed ...:mixed) predicate, mixed ... extra_args ) { foreach( a, mixed elem ) @@ -791,7 +791,7 @@ int(0..1) any( array a, function(mixed,mixed ...:int(0..1)) predicate, //! > ({ ({ 4, 5, 6 }), ({ 0, 1, 2, 3, 7, 8 }) }) //! @seealso //! @[filter], @[`/], @[`%] -array(array) partition( array a, function(mixed,mixed...:int(0..1)) arbiter, +array(array) partition( array a, function(mixed, mixed ...:mixed) arbiter, mixed ... extra_args ) { array first = ({}), second = ({}); diff --git a/src/modules/_Charset/module.pmod.in b/src/modules/_Charset/module.pmod.in index d6194b89fb..73e5b905b8 100644 --- a/src/modules/_Charset/module.pmod.in +++ b/src/modules/_Charset/module.pmod.in @@ -98,10 +98,9 @@ static private inherit @module@; //! Virtual base class for charset decoders. //! @example -//! string utf8_to_string( string data ) +//! string win1252_to_string( string data ) //! { -//! object deutf8 = Locale.Charset.decoder("utf-8"); -//! return deutf8->clear()->feed( data )->drain(); +//! return Locale.Charset.decoder("windows-1252")->feed( data )->drain(); //! } class Decoder { -- GitLab