autodoc.git / traditional.xml

version» Context lines:

autodoc.git/traditional.xml:2076:   </dl>      <p>Also, these functions operates on strings:</p>      <dl>   <dt><tt>string <ref>String.capitalize</ref>(string <i>s</i>)</tt></dt>   <dd>Returns <i>s</i> with the first character converted to upper case.</dd>      <dt><tt>int <ref>String.count</ref>(string <i>haystack</i>, string <i>needle</i>)</tt></dt>   <dd>Returns the number of occurances of <i>needle</i> in <i>haystack</i>. -  Equvivalent to <tt><ref>sizeof</ref>(<i>haystack</i>/<i>needle</i>)-1</tt>.</dd> +  Equivalent to <tt><ref>sizeof</ref>(<i>haystack</i>/<i>needle</i>)-1</tt>.</dd>      <dt><tt>int <ref>String.width</ref>(string <i>s</i>)</tt></dt>   <dd>Returns the width <i>s</i> in bits (8, 16 or 32).</dd>      <dt><tt>string <ref>lower_case</ref>(string <i>s</i>)</tt></dt>   <dd>Returns <i>s</i> with all the upper case characters converted to lower case.</dd>      <dt><tt>string <ref>replace</ref>(string <i>s</i>, string <i>from</i>, string <i>to</i>)</tt></dt>   <dd>This function replaces all occurrences of the string <i>from</i>    in <i>s</i> with <i>to</i> and returns the new string.</dd>
autodoc.git/traditional.xml:4265:    an integer, hampering performance slightly instead of crashing    the program. This define is always set since Pike 8.0.</p>   </text></doc>   <constant name='__AUTO_BIGNUM__'/>   </docgroup></namespace></autodoc>    <autodoc hidden='1'><namespace hidden='1' name='cpp'><docgroup homogen-name='__NT__' homogen-type='constant'><doc><text><p>This define is defined when the Pike is running on a Microsoft Windows OS,    not just Microsoft Windows NT, as the name implies.</p>   </text></doc>   <constant name='__NT__'/>   </docgroup></namespace></autodoc> -  <!--<insert-move entity="cpp::.__OS2__" />--> +     <autodoc hidden='1'><namespace hidden='1' name='cpp'><docgroup homogen-name='__PIKE__' homogen-type='constant'><doc><text><p>This define is always true.</p>   </text></doc>   <constant name='__PIKE__'/>   </docgroup></namespace></autodoc> -  <autodoc hidden='1'><namespace hidden='1' name='cpp'><docgroup homogen-name='__amigaos__' homogen-type='constant'><doc><text><p>This define is defined when the Pike is running on Amiga OS.</p> - </text></doc> - <constant name='__amigaos__'/> - </docgroup></namespace></autodoc> +     <autodoc hidden='1'><namespace hidden='1' name='cpp'><docgroup homogen-name='_Pragma' homogen-type='method'><doc><text><p>This macro inserts the corresponding <ref resolved='cpp::_Pragma'>#pragma</ref> <ref resolved='cpp::_Pragma.directive'>directive</ref>    in the source.</p>   <p> e.g. <expr>_Pragma("strict_types")</expr> is the same    as <expr>#pragma strict_types</expr> .</p>   </text><group><seealso/><text><p><ref resolved='cpp::_Pragma'>#pragma</ref></p>   </text></group></doc>   <method name='_Pragma'>   <arguments><argument name='directive'><type><string/></type></argument></arguments>   <returntype><void/></returntype>   </method>
autodoc.git/traditional.xml:88209:                               -  +    </namespace>      <namespace name='predef'>   <docgroup homogen-type='constant'><doc><text><p>The version of FUSE</p>   </text></doc>   <constant name='FUSE_MAJOR_VERSION'/>   <constant name='FUSE_MINOR_VERSION'/>   </docgroup>   <docgroup homogen-type='constant'><doc><text><p>Root handles in the Windows registry.</p>   </text><group><note/><text><p>These constants are only available on Win32 systems.</p>
autodoc.git/traditional.xml:89996:    it might have leading <expr>".."</expr> components. If the last    nonempty argument ends with a directory separator then the    result ends with that too. If all components in a relative path    disappear due to subsequent <expr>".."</expr> components then the    result is <expr>"."</expr>.</p>   <p> <ref resolved='predef::combine_path_unix'>combine_path_unix()</ref> concatenates in UNIX style, which also is    appropriate for e.g. URL:s ("/" separates path components and    absolute paths start with "/"). <ref resolved='predef::combine_path_nt'>combine_path_nt()</ref>    concatenates according to NT filesystem conventions ("/" and "\"    separates path components and there might be a drive letter in -  front of absolute paths). <ref resolved='predef::combine_path_amigaos'>combine_path_amigaos()</ref> concatenates -  according to AmigaOS filesystem conventions.</p> +  front of absolute paths).</p>   <p> <ref resolved='predef::combine_path'>combine_path()</ref> is equivalent to <ref resolved='predef::combine_path_unix'>combine_path_unix()</ref> on UNIX-like    operating systems, and equivalent to <ref resolved='predef::combine_path_nt'>combine_path_nt()</ref> on NT-like -  operating systems, and equivalent to <ref resolved='predef::combine_path_amigaos'>combine_path_amigaos()</ref> on -  AmigaOS-like operating systems.</p> +  operating systems.</p>   </text><group><seealso/><text><p><ref resolved='predef::getcwd'>getcwd()</ref>, <ref resolved='predef::Stdio.append_path'>Stdio.append_path()</ref></p>   </text></group></doc>   <method name='combine_path'>   <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments>   <returntype><string/></returntype>   </method>   <method name='combine_path_unix'>   <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments>   <returntype><string/></returntype>   </method>   <method name='combine_path_nt'>   <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments>   <returntype><string/></returntype>   </method> - <method name='combine_path_amigaos'> - <arguments><argument name='path'><type><string/></type></argument><argument name='paths'><type><varargs><string/></varargs></type></argument></arguments> - <returntype><string/></returntype> - </method> +    </docgroup>   <docgroup homogen-name='compile' homogen-type='method'><doc><text><p>Compile a string to a program.</p>   <p> This function takes a piece of Pike code as a string and    compiles it into a clonable program.</p>   <p> The optional argument <ref resolved='predef::compile.handler'>handler</ref> is used to specify an alternative    error handler. If it is not specified the current master object will    be used.</p>   <p> The optional arguments <ref resolved='predef::compile.major'>major</ref> and <ref resolved='predef::compile.minor'>minor</ref> are used to tell the    compiler to attempt to be compatible with Pike <ref resolved='predef::compile.major'>major</ref>.<ref resolved='predef::compile.minor'>minor</ref>.</p>   </text><group><note/><text><p>Note that <ref resolved='predef::compile.source'>source</ref> must contain the complete source for a program.