X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=doc%2Fdev%2Fconcepts.texi;h=ed7f44d061d9deec6dc8bd45dcd8377bf697e37f;hb=cbfb46348d9fd638e02be86914e23e4ddfffd6aa;hp=5980e74f0d97d0a64d8f174e1eb01d1f2950421b;hpb=a9e49cdd81db02cef2a41c1ad3584d74ae3d7476;p=pspp diff --git a/doc/dev/concepts.texi b/doc/dev/concepts.texi index 5980e74f0d..ed7f44d061 100644 --- a/doc/dev/concepts.texi +++ b/doc/dev/concepts.texi @@ -598,7 +598,7 @@ Destroys @var{style}, freeing its storage. @end deftypefun @deftypefun {struct fmt_number_style} *fmt_create (void) -A function which creates an array of all the styles used by pspp, and +A function which creates an array of all the styles used by pspp, and calls fmt_number_style_init on each of them. @end deftypefun @@ -687,7 +687,7 @@ This function is declared in @file{data/data-in.h}. @deftypefunx char * data_out_legacy (const union value *@var{input}, const char *@var{encoding}, const struct fmt_spec *@var{format}) Converts the data pointed to by @var{input} into a string value, which will be encoded in UTF-8, according to output format specifier @var{format}. -Format +Format must be a valid output format. The width of @var{input} is inferred from @var{format} using an algorithm equivalent to @func{fmt_var_width}. @@ -1345,7 +1345,7 @@ Looks for a label for @var{value} in @var{var}'s set of value labels. @var{value} must have the same width as @var{var}. If a label exists, it will be appended to the string pointed to by @var{str}. Otherwise, it formats @var{value} -using @var{var}'s print format (@pxref{Input and Output Formats}) +using @var{var}'s print format (@pxref{Input and Output Formats}) and appends the formatted string. @end deftypefun @@ -2015,7 +2015,7 @@ Returns the variable at the given @var{position} in @var{dict}. (see below). @end deftypefun -@deftypefun size_t dict_get_var_cnt (const struct dictionary *@var{dict}) +@deftypefun size_t dict_get_n_vars (const struct dictionary *@var{dict}) Returns the number of variables in @var{dict}. @end deftypefun @@ -2184,7 +2184,7 @@ current name. Renames each of the @var{count} variables in @var{vars} to the name in the corresponding position of @var{new_names}. If the renaming would result in a duplicate variable name, returns false and stores one of -the names that would be be duplicated into @code{*@var{err_name}}, if +the names that would be duplicated into @code{*@var{err_name}}, if @var{err_name} is non-null. Otherwise, the renaming is successful, and true is returned. @end deftypefun @@ -2298,7 +2298,7 @@ only if there are no split variables, returns a null pointer. The caller must not modify or free the returned array. @end deftypefun -@deftypefun size_t dict_get_split_cnt (const struct dictionary *@var{dict}) +@deftypefun size_t dict_get_n_splits (const struct dictionary *@var{dict}) Returns the number of split variables. @end deftypefun @@ -2393,7 +2393,7 @@ call to one of this function in a @func{msg_disable}/@func{msg_enable} pair. @end deftypefun -@deftypefun size_t dict_get_document_line_cnt (const struct dictionary *@var{dict}) +@deftypefun size_t dict_get_document_n_lines (const struct dictionary *@var{dict}) Returns the number of line of documents in @var{dict}. If the dictionary contains no documents, returns 0. @end deftypefun