diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-03-28 19:55:53 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:40:31 -0400 |
commit | 2e9edb068ef2a20fc33f484ffaf69174a0a0945a (patch) | |
tree | ca18a5b2e1dffc31ca1016cdfafdb27ce4759cfa /specs | |
parent | 6d19d615ce6b23f2b14340682851b5eba64e32ca (diff) |
change ambiguous String's to char* or const-char*, as well as adding the
missing parameters to one prototype
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs')
-rw-r--r-- | specs/CH09.xml | 4 | ||||
-rw-r--r-- | specs/CH11.xml | 20 | ||||
-rw-r--r-- | specs/appC.xml | 12 |
3 files changed, 19 insertions, 17 deletions
diff --git a/specs/CH09.xml b/specs/CH09.xml index 6d40b55..913e734 100644 --- a/specs/CH09.xml +++ b/specs/CH09.xml @@ -2116,8 +2116,8 @@ that convert from string values. <funcprototype> <funcdef>void <function>XtDisplayStringConversionWarning</function></funcdef> <paramdef>Display *<parameter>display</parameter></paramdef> - <paramdef>String <parameter>from_value</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>from_value</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> </funcprototype> </funcsynopsis> diff --git a/specs/CH11.xml b/specs/CH11.xml index da875cb..7dbde47 100644 --- a/specs/CH11.xml +++ b/specs/CH11.xml @@ -3617,11 +3617,11 @@ error or a warning by calling <funcprototype> <funcdef>void <function>XtAppGetErrorDatabaseText</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> - <paramdef>String <parameter>name</parameter></paramdef> - <paramdef>String <parameter>type</parameter></paramdef> - <paramdef>String <parameter>class</parameter></paramdef> - <paramdef>String <parameter>default</parameter></paramdef> - <paramdef>String <parameter>buffer_return</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>type</parameter></paramdef> + <paramdef>const char * <parameter>class</parameter></paramdef> + <paramdef>const char * <parameter>default</parameter></paramdef> + <paramdef>char * <parameter>buffer_return</parameter></paramdef> <paramdef>int <parameter>nbytes</parameter></paramdef> <paramdef>XrmDatabase <parameter>database</parameter></paramdef> </funcprototype> @@ -4532,12 +4532,12 @@ To search for a file using standard substitutions in a path list, use <funcsynopsis id='XtResolvePathname'> <funcprototype> -<funcdef>String <function>XtResolvePathname</function></funcdef> +<funcdef>char * <function>XtResolvePathname</function></funcdef> <paramdef>Display *<parameter>display</parameter></paramdef> - <paramdef>String <parameter>type</parameter></paramdef> - <paramdef>String <parameter>filename</parameter></paramdef> - <paramdef>String <parameter>suffix</parameter></paramdef> - <paramdef>String <parameter>path</parameter></paramdef> + <paramdef>const char * <parameter>type</parameter></paramdef> + <paramdef>const char * <parameter>filename</parameter></paramdef> + <paramdef>const char * <parameter>suffix</parameter></paramdef> + <paramdef>const char * <parameter>path</parameter></paramdef> <paramdef>Substitution <parameter>substitutions</parameter></paramdef> <paramdef>Cardinal <parameter>num_substitutions</parameter></paramdef> <paramdef>XtFilePredicate <parameter>predicate</parameter></paramdef> diff --git a/specs/appC.xml b/specs/appC.xml index 22d7ce4..7766581 100644 --- a/specs/appC.xml +++ b/specs/appC.xml @@ -933,8 +933,8 @@ that convert from strings. <funcsynopsis id='XtStringConversionWarning'> <funcprototype> <funcdef>void <function>XtStringConversionWarning</function></funcdef> - <paramdef>String <parameter>src</parameter></paramdef> - <paramdef>String <parameter>dst_type</parameter></paramdef> + <paramdef>const char * <parameter>src</parameter></paramdef> + <paramdef>const char * <parameter>dst_type</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1506,9 +1506,11 @@ error or a warning by calling <funcsynopsis id='XtGetErrorDatabaseText'> <funcprototype> <funcdef>void <function>XtGetErrorDatabaseText</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> - <paramdef>String <parameter>default</parameter></paramdef> - <paramdef>String <parameter>buffer_return</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>type</parameter></paramdef> + <paramdef>const char * <parameter>class</parameter></paramdef> + <paramdef>const char * <parameter>default</parameter></paramdef> + <paramdef>char * <parameter>buffer_return</parameter></paramdef> <paramdef>int <parameter>nbytes</parameter></paramdef> </funcprototype> </funcsynopsis> |