Branch: Tag:

2003-04-01

2003-04-01 17:49:01 by Martin Nilsson <mani@lysator.liu.se>

Autodoc fix

Rev: lib/7.0/modules/Calendar.pmod/module.pmod:1.6
Rev: lib/master.pike.in:1.265
Rev: lib/modules/Array.pmod:1.80
Rev: lib/modules/Calendar.pmod/Stardate.pmod:1.12
Rev: lib/modules/Calendar_I.pmod/module.pmod:1.13
Rev: lib/modules/Function.pmod:1.7
Rev: lib/modules/GLU.pmod:1.12
Rev: lib/modules/Geography.pmod/Countries.pmod:1.19
Rev: lib/modules/Languages.pmod/PLIS.pmod:1.16
Rev: lib/modules/MIME.pmod/module.pmod:1.8
Rev: lib/modules/Parser.pmod/RCS.pike:1.30
Rev: lib/modules/Parser.pmod/XML.pmod/Tree.pmod:1.30
Rev: lib/modules/Parser.pmod/module.pmod:1.17
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.55
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Request.pmod:1.10
Rev: lib/modules/Protocols.pmod/XMLRPC.pmod/module.pmod:1.21
Rev: lib/modules/Sql.pmod/Sql.pike:1.63
Rev: lib/modules/Stdio.pmod/module.pmod:1.168

115:   }      //! Applies the function @[sum] columnwise on the elements in the - //! provided arrays. E.g. @tt{sum_array(`+,a,b,c)@} does the same - //! as @tt{`+(a[*],b[*],c[*])@}. + //! provided arrays. E.g. @expr{sum_array(`+,a,b,c)@} does the same + //! as @expr{`+(a[*],b[*],c[*])@}.   array sum_arrays(function(mixed ...:mixed) sum, array ... args)   {    array ret = allocate(sizeof(args[0]));
128:   //! @decl array sort_array(array arr, function|void cmp, mixed ... args)   //!   //! This function sorts the array @[arr] after a compare-function - //! @[cmp] which takes two arguments and should return @tt{1@} if the + //! @[cmp] which takes two arguments and should return @expr{1@} if the   //! first argument is larger then the second. Returns the sorted array   //! - @[arr] is not sorted destructively.   //!
663:   //! Like @[Array.diff], but tries to generate bigger continuous chunks of the   //! differences, instead of maximizing the number of difference chunks. More   //! specifically, @[greedy_diff] optimizes the cases where @[Array.diff] returns - //! @code{({ ..., A, Z, B, ({}), C, ... })@} - //! @code{({ ..., A, X, B, Y+B, C, ... })@} + //! @expr{({ ..., A, Z, B, ({}), C, ... })@} + //! @expr{({ ..., A, X, B, Y+B, C, ... })@}   //! into the somewhat shorter diff arrays - //! @code{({ ..., A, Z, B+C, ... })@} - //! @code{({ ..., A, X+B+Y, B+C, ... })@} + //! @expr{({ ..., A, Z, B+C, ... })@} + //! @expr{({ ..., A, X+B+Y, B+C, ... })@}   array(array(array)) greedy_diff(array from, array to)   {    array(array) d1, d2;