Branch: Tag:

2003-04-07

2003-04-07 17:28:56 by Martin Nilsson <mani@lysator.liu.se>

Use @expr where more approrpiate than @tt

Rev: lib/modules/ADT.pmod/Table.pmod:1.26
Rev: lib/modules/Crypto.pmod/aes.pike:1.2
Rev: lib/modules/Getopt.pmod:1.27
Rev: lib/modules/Parser.pmod/module.pmod:1.18
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.72
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.56
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1.11
Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.37
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.48
Rev: lib/modules/Protocols.pmod/Line.pmod:1.22
Rev: lib/modules/Protocols.pmod/SMTP.pmod:1.22
Rev: lib/modules/Sql.pmod/Sql.pike:1.64
Rev: lib/modules/Stdio.pmod/module.pmod:1.169
Rev: lib/modules/String.pmod/module.pmod:1.14
Rev: lib/modules/Tools.pmod/AutoDoc.pmod/ProcessXML.pmod:1.54
Rev: src/builtin.cmod:1.131
Rev: src/builtin_functions.c:1.483
Rev: src/cpp.c:1.117
Rev: src/dynamic_load.c:1.69
Rev: src/error.c:1.106
Rev: src/modules/DVB/dvb.c:1.19
Rev: src/modules/Gdbm/gdbmmod.c:1.24
Rev: src/modules/Gettext/gettext.c:1.15
Rev: src/modules/Gmp/mpf.cmod:1.25
Rev: src/modules/MIME/mime.c:1.37
Rev: src/modules/Mird/module.pmod.in:1.12
Rev: src/modules/Msql/msqlmod.c:1.25
Rev: src/modules/Mysql/mysql.c:1.71
Rev: src/modules/Mysql/result.c:1.29
Rev: src/modules/Yp/module.pmod.in:1.19
Rev: src/modules/_Charset/module.pmod.in:1.31
Rev: src/modules/_Crypto/arcfour.c:1.21
Rev: src/modules/_Crypto/cast.c:1.16
Rev: src/modules/_Crypto/des.c:1.28
Rev: src/modules/_Crypto/idea.c:1.22
Rev: src/modules/_Crypto/invert.c:1.17
Rev: src/modules/_Crypto/md2.c:1.17
Rev: src/modules/_Crypto/md4.c:1.6
Rev: src/modules/_Crypto/pipe.c:1.26
Rev: src/modules/_Crypto/rijndael.c:1.11
Rev: src/modules/_Crypto/sha.c:1.25
Rev: src/modules/_Ffmpeg/ffmpeg.c:1.17
Rev: src/modules/_math/math.c:1.60
Rev: src/modules/files/efuns.c:1.126
Rev: src/modules/files/file.c:1.267
Rev: src/modules/files/stat.c:1.27
Rev: src/modules/files/udp.c:1.43
Rev: src/modules/system/passwords.c:1.41
Rev: src/modules/system/system.c:1.142
Rev: src/operators.c:1.174
Rev: src/pike_search.c:1.15
Rev: src/post_modules/_ADT/circular_list.cmod:1.5
Rev: src/post_modules/_ADT/sequence.cmod:1.6
Rev: src/program.c:1.498
Rev: src/security.c:1.42
Rev: src/signal_handler.c:1.262

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.497 2003/04/02 19:22:44 mast Exp $ + || $Id: program.c,v 1.498 2003/04/07 17:28:55 nilsson Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.497 2003/04/02 19:22:44 mast Exp $"); + RCSID("$Id: program.c,v 1.498 2003/04/07 17:28:55 nilsson Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
264:    *! @note    *! Although these functions are called from outside the object    *! they exist in, they will still be used even if they are -  *! declared @tt{static@}. It is infact recommended to declare -  *! them @tt{static@}, since that will hinder them being used +  *! declared @expr{static@}. It is infact recommended to declare +  *! them @expr{static@}, since that will hinder them being used    *! for other purposes.    *!    *! @seealso
485:    *!    *! @returns    *! Returns non-zero if the object should be evaluated as false, -  *! and @tt{0@} (zero) otherwise. +  *! and @expr{0@} (zero) otherwise.    *!    *! @seealso    *! @[predef::`!()]
691:    *! @endstring    *!    *! @returns -  *! Expected to return @tt{1@} if the object is to be regarded as a +  *! Expected to return @expr{1@} if the object is to be regarded as a    *! simulation of the type specified by @[basic_type].    *!    *! @note
707:    *! This method is called by @[predef::sprintf()] to print objects. If it is    *! not present, printing of the object will not be supported for any    *! conversion-type except for the @tt{%O@}-conversion-type, which -  *! will output @tt{"object"@}. +  *! will output @expr{"object"@}.    *!    *! @param conversion_type    *! One of:
799:    *! Should return an object that implements the iterator API:    *! @dl    *! @item -  *! @[lfun::`!()] should return @tt{0@} (zero) when not at end of stream, -  *! and @tt{1@} at end of stream. +  *! @[lfun::`!()] should return @expr{0@} (zero) when not at end of stream, +  *! and @expr{1@} at end of stream.    *! @item    *! @[lfun::`+=()] should advance the specified number of steps.    *! @item
845:    *! be fetched.    *!    *! @returns -  *! Returns the default module, or @tt{0@} (zero). +  *! Returns the default module, or @expr{0@} (zero).    *! -  *! If @tt{0@} (zero) is returned the compiler use the mapping +  *! If @expr{0@} (zero) is returned the compiler use the mapping    *! returned by @[all_constants()] as fallback.    *!    *! @seealso