diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-03-27 21:04:44 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:39:09 -0400 |
commit | e357bd3b79216923820c0a024f95026fdd4a1cf3 (patch) | |
tree | 7ac8fae9dfa70d7840b77356aea9aedf5ea92982 /specs | |
parent | 27483d8a3252e2c2a451976d4a99622becd83fe8 (diff) |
modify function prototypes in spec to correspond to updates made in headers
for the _CONST_X_STRING feature.
Diffstat (limited to 'specs')
-rw-r--r-- | specs/CH02.xml | 36 | ||||
-rw-r--r-- | specs/CH03.xml | 5 | ||||
-rw-r--r-- | specs/CH05.xml | 4 | ||||
-rw-r--r-- | specs/CH08.xml | 14 | ||||
-rw-r--r-- | specs/CH09.xml | 23 | ||||
-rw-r--r-- | specs/CH10.xml | 10 | ||||
-rw-r--r-- | specs/CH11.xml | 32 | ||||
-rw-r--r-- | specs/appC.xml | 55 |
8 files changed, 93 insertions, 86 deletions
diff --git a/specs/CH02.xml b/specs/CH02.xml index beb0c08..cd182a1 100644 --- a/specs/CH02.xml +++ b/specs/CH02.xml @@ -284,12 +284,12 @@ To initialize a display and add it to an application context, use <funcdef>void <function>XtDisplayInitialize</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> <paramdef>Display * <parameter>display</parameter></paramdef> - <paramdef>String <parameter>application_name</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>application_name</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescRec * <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> <paramdef>int * <parameter>argc</parameter></paramdef> - <paramdef>String * <parameter>argv</parameter></paramdef> + <paramdef>char ** <parameter>argv</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -434,13 +434,13 @@ add it to an application context, use <funcprototype> <funcdef>Display <function>*XtOpenDisplay</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> - <paramdef>String <parameter>display_string</parameter></paramdef> - <paramdef>String <parameter>application_name</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>display_string</parameter></paramdef> + <paramdef>const char * <parameter>application_name</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescRec * <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> <paramdef>int * <parameter>argc</parameter></paramdef> - <paramdef>String * <parameter>argv</parameter></paramdef> + <paramdef>char ** <parameter>argv</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1943,7 +1943,7 @@ To create an instance of a widget, use <funcsynopsis id='XtCreateWidget'> <funcprototype> <funcdef>Widget <function>XtCreateWidget</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>object_class</parameter></paramdef> <paramdef>Widget <parameter>parent</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> @@ -2124,7 +2124,7 @@ To create an instance of a widget using varargs lists, use <funcsynopsis id='XtVaCreateWidget'> <funcprototype> <funcdef>Widget <function>XtVaCreateWidget</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>object_class</parameter></paramdef> <paramdef>Widget <parameter>parent</parameter></paramdef> <paramdef> <parameter>...</parameter></paramdef> @@ -2201,8 +2201,8 @@ to create independent widget trees. <funcsynopsis id='XtAppCreateShell'> <funcprototype> <funcdef>Widget <function>XtAppCreateShell</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>Display * <parameter>display</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> @@ -2373,10 +2373,11 @@ varargs lists, use <funcsynopsis id='XtVaAppCreateShell'> <funcprototype> <funcdef>Widget <function>XtVaAppCreateShell</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>Display * <parameter>display</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> @@ -2469,11 +2470,11 @@ or <funcprototype> <funcdef>Widget <function>XtOpenApplication</function></funcdef> <paramdef>XtAppContext * <parameter>app_context_return</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescList <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> <paramdef>int * <parameter>argc_in_out</parameter></paramdef> - <paramdef>String * <parameter>argv_in_out</parameter></paramdef> + <paramdef>char ** <parameter>argv_in_out</parameter></paramdef> <paramdef>String * <parameter>fallback_resources</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> @@ -2624,13 +2625,14 @@ is called with the value prior to calling <funcprototype> <funcdef>Widget <function>XtVaOpenApplication</function></funcdef> <paramdef>XtAppContext * <parameter>app_context_return</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescList <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> <paramdef>int * <parameter>argc_in_out</parameter></paramdef> - <paramdef>String * <parameter>argv_in_out</parameter></paramdef> + <paramdef>char ** <parameter>argv_in_out</parameter></paramdef> <paramdef>String * <parameter>fallback_resources</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> diff --git a/specs/CH03.xml b/specs/CH03.xml index 4db39c1..3c513ca 100644 --- a/specs/CH03.xml +++ b/specs/CH03.xml @@ -506,7 +506,7 @@ or <funcsynopsis id='XtCreateManagedWidget'> <funcprototype> <funcdef>Widget <function>XtCreateManagedWidget</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>Widget <parameter>parent</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> @@ -580,9 +580,10 @@ and <funcsynopsis id='XtVaCreateManagedWidget'> <funcprototype> <funcdef>Widget <function>XtVaCreateManagedWidget</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>Widget <parameter>parent</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> diff --git a/specs/CH05.xml b/specs/CH05.xml index 2c09455..c2fc6a1 100644 --- a/specs/CH05.xml +++ b/specs/CH05.xml @@ -131,7 +131,7 @@ To create a pop-up shell, use <funcsynopsis id='XtCreatePopupShell'> <funcprototype> <funcdef>Widget <function>XtCreatePopupShell</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>Widget <parameter>parent</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> @@ -240,7 +240,7 @@ To create a pop-up shell using varargs lists, use <funcsynopsis id='XtVaCreatePopupShell'> <funcprototype> <funcdef>Widget <function>XtVaCreatePopupShell</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>Widget <parameter>parent</parameter></paramdef> <paramdef><parameter>...</parameter></paramdef> diff --git a/specs/CH08.xml b/specs/CH08.xml index 2f24e65..22000b4 100644 --- a/specs/CH08.xml +++ b/specs/CH08.xml @@ -171,7 +171,7 @@ To add a callback procedure to a widget's callback list, use <funcprototype> <funcdef>void <function>XtAddCallback</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> <paramdef>XtCallbackProc <parameter>callback</parameter></paramdef> <paramdef>XtPointer <parameter>client_data</parameter></paramdef> </funcprototype> @@ -235,7 +235,7 @@ To add a list of callback procedures to a given widget's callback list, use <funcprototype> <funcdef>void <function>XtAddCallbacks</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> <paramdef>XtCallbackList <parameter>callbacks</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -288,7 +288,7 @@ To delete a callback procedure from a widget's callback list, use <funcprototype> <funcdef>void <function>XtRemoveCallback</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> <paramdef>XtCallbackProc <parameter>callback</parameter></paramdef> <paramdef>XtPointer <parameter>client_data</parameter></paramdef> </funcprototype> @@ -353,7 +353,7 @@ To delete a list of callback procedures from a given widget's callback list, use <funcprototype> <funcdef>void <function>XtRemoveCallbacks</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> <paramdef>XtCallbackList <parameter>callbacks</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -402,7 +402,7 @@ and free all storage associated with the callback list, use <funcprototype> <funcdef>void <function>XtRemoveAllCallbacks</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -444,7 +444,7 @@ specifying the callback list by resource name, use <funcprototype> <funcdef>void <function>XtCallCallbacks</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> <paramdef>XtPointer <parameter>call_data</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -566,7 +566,7 @@ typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome} XtCallback <funcprototype> <funcdef>XtCallbackStatus <function>XtHasCallbacks</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>callback_name</parameter></paramdef> + <paramdef>const char * <parameter>callback_name</parameter></paramdef> </funcprototype> </funcsynopsis> diff --git a/specs/CH09.xml b/specs/CH09.xml index 4d916e5..a020d00 100644 --- a/specs/CH09.xml +++ b/specs/CH09.xml @@ -844,8 +844,8 @@ to accomplish this. <funcdef>void <function>XtGetSubresources</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> <paramdef>XtPointer <parameter>base</parameter></paramdef> - <paramdef>String <parameter>name</parameter></paramdef> - <paramdef>String <parameter>class</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>class</parameter></paramdef> <paramdef>XtResourceList <parameter>resources</parameter></paramdef> <paramdef>Cardinal <parameter>num_resources</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> @@ -978,10 +978,11 @@ To fetch resources for widget subparts using varargs lists, use <funcdef>void <function>XtVaGetSubresources</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> <paramdef>XtPointer <parameter>base</parameter></paramdef> - <paramdef>String <parameter>name</parameter></paramdef> - <paramdef>String <parameter>class</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>class</parameter></paramdef> <paramdef>XtResourceList <parameter>resources</parameter></paramdef> <paramdef>Cardinal <parameter>num_resources</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> @@ -1203,6 +1204,7 @@ To retrieve resources for the overall application using varargs lists, use <paramdef>XtPointer <parameter>base</parameter></paramdef> <paramdef>XtResourceList <parameter>resources</parameter></paramdef> <paramdef>Cardinal <parameter>num_resources</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> @@ -2292,8 +2294,8 @@ and to register a type converter in a single application context, use <funcsynopsis id='XtSetTypeConverter'> <funcprototype> <funcdef>void <function>XtSetTypeConverter</function></funcdef> - <paramdef>String <parameter>from_type</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>from_type</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> <paramdef>XtTypeConverter <parameter>converter</parameter></paramdef> <paramdef>XtConvertArgList <parameter>convert_args</parameter></paramdef> <paramdef>Cardinal <parameter>num_args</parameter></paramdef> @@ -2384,8 +2386,8 @@ required to deallocate resources produced by the converter. <funcprototype> <funcdef>void <function>XtAppSetTypeConverter</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> - <paramdef>String <parameter>from_type</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>from_type</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> <paramdef>XtTypeConverter <parameter>converter</parameter></paramdef> <paramdef>XtConvertArgList <parameter>convert_args</parameter></paramdef> <paramdef>Cardinal <parameter>num_args</parameter></paramdef> @@ -2971,9 +2973,9 @@ and free a cached resource when a widget is destroyed, use <funcprototype> <funcdef>Boolean <function>XtConvertAndStore</function></funcdef> <paramdef>Widget <parameter>object</parameter></paramdef> - <paramdef>String <parameter>from_type</parameter></paramdef> + <paramdef>const char * <parameter>from_type</parameter></paramdef> <paramdef>XrmValuePtr <parameter>from</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> <paramdef>XrmValuePtr <parameter>to_in_out</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -4188,6 +4190,7 @@ a widget instance using varargs lists, use <paramdef>XtPointer <parameter>base</parameter></paramdef> <paramdef>XtResourceList <parameter>resources</parameter></paramdef> <paramdef>Cardinal <parameter>num_resources</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> diff --git a/specs/CH10.xml b/specs/CH10.xml index a96d2c4..8b169ae 100644 --- a/specs/CH10.xml +++ b/specs/CH10.xml @@ -784,7 +784,7 @@ To compile a translation table, use <funcsynopsis id='XtParseTranslationTable'> <funcprototype> <funcdef>XtTranslations <function>XtParseTranslationTable</function></funcdef> - <paramdef>String <parameter>table</parameter></paramdef> + <paramdef>const char * <parameter>table</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1101,7 +1101,7 @@ To parse an accelerator table, use <funcsynopsis id='XtParseAcceleratorTable'> <funcprototype> <funcdef>XtAccelerators <function>XtParseAcceleratorTable</function></funcdef> - <paramdef>String <parameter>source</parameter></paramdef> + <paramdef>const char * <parameter>source</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -2061,9 +2061,9 @@ invoke an action procedure directly, without generating <funcprototype> <funcdef>void <function>XtCallActionProc</function></funcdef> <paramdef>Widget <parameter>widget</parameter></paramdef> - <paramdef>String <parameter>action</parameter></paramdef> - <paramdef>XEvent *<parameter>event</parameter></paramdef> - <paramdef>String *<parameter>params</parameter></paramdef> + <paramdef>const char * <parameter>action</parameter></paramdef> + <paramdef>XEvent * <parameter>event</parameter></paramdef> + <paramdef>String * <parameter>params</parameter></paramdef> <paramdef>Cardinal <parameter>num_params</parameter></paramdef> </funcprototype> </funcsynopsis> diff --git a/specs/CH11.xml b/specs/CH11.xml index 92e46dc..05bd775 100644 --- a/specs/CH11.xml +++ b/specs/CH11.xml @@ -116,7 +116,7 @@ To translate a widget name to a widget instance, use <funcprototype> <funcdef>Widget <function>XtNameToWidget</function></funcdef> <paramdef>Widget <parameter>reference</parameter></paramdef> - <paramdef>String <parameter>names</parameter></paramdef> + <paramdef>const char * <parameter>names</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -3831,12 +3831,12 @@ To call the high-level error handler, use <funcprototype> <funcdef>void <function>XtAppErrorMsg</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>params</parameter></paramdef> - <paramdef>Cardinal *<parameter>num_params</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>String * <parameter>params</parameter></paramdef> + <paramdef>Cardinal * <parameter>num_params</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -3974,12 +3974,12 @@ To call the installed high-level warning handler, use <funcprototype> <funcdef>void <function>XtAppWarningMsg</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>params</parameter></paramdef> - <paramdef>Cardinal *<parameter>num_params</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>String * <parameter>params</parameter></paramdef> + <paramdef>Cardinal * <parameter>num_params</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -4148,7 +4148,7 @@ To call the installed fatal error procedure, use <funcprototype> <funcdef>void <function>XtAppError</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> - <paramdef>String <parameter>message</parameter></paramdef> + <paramdef>const char * <parameter>message</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -4238,7 +4238,7 @@ To call the installed nonfatal error procedure, use <funcprototype> <funcdef>void <function>XtAppWarning</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> - <paramdef>String <parameter>message</parameter></paramdef> + <paramdef>const char * <parameter>message</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -4422,7 +4422,7 @@ To search for a file using substitutions in a path list, use <funcsynopsis id='XtFindFile'> <funcprototype> <funcdef>String <function>XtFindFile</function></funcdef> - <paramdef>String <parameter>path</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 246c82e..5d5c398 100644 --- a/specs/appC.xml +++ b/specs/appC.xml @@ -80,12 +80,12 @@ or <funcprototype> <funcdef>Widget <function>XtAppInitialize</function></funcdef> <paramdef>XtAppContext *<parameter>app_context_return</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescList <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> <paramdef>int *<parameter>argc_in_out</parameter></paramdef> - <paramdef>String *<parameter>argv_in_out</parameter></paramdef> - <paramdef>String *<parameter>fallback_resources</parameter></paramdef> + <paramdef>char ** <parameter>argv_in_out</parameter></paramdef> + <paramdef>String * <parameter>fallback_resources</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> <paramdef>Cardinal <parameter>num_args</parameter></paramdef> </funcprototype> @@ -218,12 +218,13 @@ is called with the value prior to calling <funcprototype> <funcdef>Widget <function>XtVaAppInitialize</function></funcdef> <paramdef>XtAppContext *<parameter>app_context_return</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescList <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> <paramdef>int *<parameter>argc_in_out</parameter></paramdef> - <paramdef>String *<parameter>argv_in_out</parameter></paramdef> - <paramdef>String *<parameter>fallback_resources</parameter></paramdef> + <paramdef>char ** <parameter>argv_in_out</parameter></paramdef> + <paramdef>String * <parameter>fallback_resources</parameter></paramdef> + <paramdef>...</paramdef> </funcprototype> </funcsynopsis> @@ -344,12 +345,12 @@ and <funcsynopsis id='XtInitialize'> <funcprototype> <funcdef>Widget <function>XtInitialize</function></funcdef> - <paramdef>String <parameter>shell_name</parameter></paramdef> - <paramdef>String <parameter>application_class</parameter></paramdef> + <paramdef>const char * <parameter>shell_name</parameter></paramdef> + <paramdef>const char * <parameter>application_class</parameter></paramdef> <paramdef>XrmOptionDescRec <parameter>options</parameter></paramdef> <paramdef>Cardinal <parameter>num_options</parameter></paramdef> - <paramdef>int *<parameter>argc</parameter></paramdef> - <paramdef>String <parameter>argv</parameter></paramdef> + <paramdef>int * <parameter>argc</parameter></paramdef> + <paramdef>char * <parameter>argv</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -748,7 +749,7 @@ must be called before using this routine. <funcsynopsis id='XtCreateApplicationShell'> <funcprototype> <funcdef>Widget <function>XtCreateApplicationShell</function></funcdef> - <paramdef>String <parameter>name</parameter></paramdef> + <paramdef>const char * <parameter>name</parameter></paramdef> <paramdef>WidgetClass <parameter>widget_class</parameter></paramdef> <paramdef>ArgList <parameter>args</parameter></paramdef> <paramdef>Cardinal <parameter>num_args</parameter></paramdef> @@ -979,8 +980,8 @@ or <funcsynopsis id='XtAddConverter'> <funcprototype> <funcdef>void <function>XtAddConverter</function></funcdef> - <paramdef>String <parameter>from_type</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>from_type</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> <paramdef>XtConverter <parameter>converter</parameter></paramdef> <paramdef>XtConvertArgList <parameter>convert_args</parameter></paramdef> <paramdef>Cardinal <parameter>num_args</parameter></paramdef> @@ -1054,8 +1055,8 @@ for old-format type converters. It has been superseded by <funcprototype> <funcdef>void <function>XtAppAddConverter</function></funcdef> <paramdef>XtAppContext <parameter>app_context</parameter></paramdef> - <paramdef>String <parameter>from_type</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>from_type</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> <paramdef>XtConverter <parameter>converter</parameter></paramdef> <paramdef>XtConvertArgList <parameter>convert_args</parameter></paramdef> <paramdef>Cardinal <parameter>num_args</parameter></paramdef> @@ -1146,9 +1147,9 @@ or, for old-format converters only, <funcprototype> <funcdef>void <function>XtConvert</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> - <paramdef>String <parameter>from_type</parameter></paramdef> + <paramdef>const char * <parameter>from_type</parameter></paramdef> <paramdef>XrmValuePtr <parameter>from</parameter></paramdef> - <paramdef>String <parameter>to_type</parameter></paramdef> + <paramdef>const char * <parameter>to_type</parameter></paramdef> <paramdef>XrmValuePtr <parameter>to_return</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1632,10 +1633,10 @@ To call the high-level error handler, use <funcsynopsis id='XtErrorMsg'> <funcprototype> <funcdef>void <function>XtErrorMsg</function></funcdef> - <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>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>String *<parameter>params</parameter></paramdef> <paramdef>Cardinal *<parameter>num_params</parameter></paramdef> </funcprototype> @@ -1750,10 +1751,10 @@ To call the installed high-level warning handler, use <funcsynopsis id='XtWarningMsg'> <funcprototype> <funcdef>void <function>XtWarningMsg</function></funcdef> - <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>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>String *<parameter>params</parameter></paramdef> <paramdef>Cardinal *<parameter>num_params</parameter></paramdef> </funcprototype> @@ -1872,7 +1873,7 @@ To call the installed fatal error procedure, use <funcsynopsis id='XtError'> <funcprototype> <funcdef>void <function>XtError</function></funcdef> - <paramdef>String <parameter>message</parameter></paramdef> + <paramdef>const char * <parameter>message</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1941,7 +1942,7 @@ To call the installed nonfatal error procedure, use <funcsynopsis id='XtWarning'> <funcprototype> <funcdef>void <function>XtWarning</function></funcdef> - <paramdef>String <parameter>message</parameter></paramdef> + <paramdef>const char * <parameter>message</parameter></paramdef> </funcprototype> </funcsynopsis> |