Browse Source

adapt dynamic language documentation to modified API and functionality

Steffen Jaeckel 11 years ago
parent
commit
2a98d0a11f
1 changed files with 8 additions and 9 deletions
  1. 8 9
      crypt.tex

+ 8 - 9
crypt.tex

@@ -5411,12 +5411,11 @@ functions can initialize LTM and TFM.
 
 
 To get the size of a named struct or union:
 To get the size of a named struct or union:
 \begin{verbatim}
 \begin{verbatim}
-int crypt_get_size(const char *namein, 
-                          int *sizeout);
+int crypt_get_size(  const char *namein,
+                   unsigned int *sizeout);
 \end{verbatim}
 \end{verbatim}
-$namein$ is spelled exactly as found in the C header files with "_struct" 
-or "_union" appended to the name.  This function will return -1 if $namein$ 
-is not found. 
+$namein$ is spelled exactly as found in the C header files.  This function will
+return -1 if $namein$ is not found.
 
 
 To get the value of a named constant:
 To get the value of a named constant:
 \begin{verbatim}
 \begin{verbatim}
@@ -5428,11 +5427,11 @@ returned if $namein$ is not found.
 
 
 To get the names of all the supported structs, unions and constants:
 To get the names of all the supported structs, unions and constants:
 \begin{verbatim}
 \begin{verbatim}
-int crypt_list_all_sizes(char *names_list, 
-                          int *names_list_size);
+int crypt_list_all_sizes(        char *names_list,
+                         unsigned int *names_list_size);
 
 
-int crypt_list_all_constants(char *names_list, 
-                              int *names_list_size);
+int crypt_list_all_constants(        char *names_list,
+                             unsigned int *names_list_size);
 \end{verbatim}
 \end{verbatim}
 You may want to call these functions twice, first to get the amount
 You may want to call these functions twice, first to get the amount
 of memory to be allocated for the $names_list$, and a final time to
 of memory to be allocated for the $names_list$, and a final time to