Branch: Tag:

2001-04-17

2001-04-17 23:00:28 by Martin Stjernholm <mast@lysator.liu.se>

Some docstring fixes for the builtin functions; don't document them in
more than one place.

Rev: lib/modules/String.pmod:1.18
Rev: src/builtin.cmod:1.29

157:    RETURN mkmapping(ind, val);   }    - /*! @decl int string_count(string haystack, string needle) + /*! @decl int String.count(string haystack, string needle)    *!    *! Count the number of non-overlapping times the string @[needle] occurrs    *! in the string @[haystack].
197:    RETURN DO_NOT_WARN((INT_TYPE)c);   }    - /*! @decl string string_trim_whites (string s) + /*! @decl string String.trim_whites (string s)    *!    *! Trim leading and trailing spaces and tabs from the string @[s].    */
227:    RETURN string_slice (s, start, end + 1 - start);   }    - /*! @decl string string_trim_all_whites (string s) + /*! @decl string String.trim_all_whites (string s)    *!    *! Trim leading and trailing white spaces characters (space, tab,    *! newline and carriage return) from the string @[s].
321:    push_int(0);   }    - /*! @decl int(8..8)|int(16..16)|int(32..32) string_width(string s) + /*! @decl int(8..8)|int(16..16)|int(32..32) String.width(string s)    *!    *! Returns the width of a string.    *!