diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-03-23 06:46:42 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:21:16 -0400 |
commit | 149159df368aaa50db9e3e02f725d147ff557dbd (patch) | |
tree | bdaff74b26095d6b094d8bed348145bc37f67790 /man/XtCallCallbacks.man | |
parent | e5a1e228e7ab7332d46db9278fa7af85ae889e70 (diff) |
updated manual pages' C prototypes to agree with the header-files.
This takes into account the _CONST_X_STRING feature, distinguishing
between String and char* and const char*, but also in
several cases, such as XtSessionGetToken, the manual page was wrong.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Conflicts:
man/XtAppErrorMsg.man
Diffstat (limited to 'man/XtCallCallbacks.man')
-rw-r--r-- | man/XtCallCallbacks.man | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/XtCallCallbacks.man b/man/XtCallCallbacks.man index 206842f..0d1a2df 100644 --- a/man/XtCallCallbacks.man +++ b/man/XtCallCallbacks.man @@ -38,8 +38,8 @@ XtCallCallbacks, XtCallCallbackList, XtHasCallbacks \- process callbacks .SH SYNTAX .HP -void XtCallCallbacks(Widget \fIw\fP, String \fIcallback_name\fP, XtPointer -\fIcall_data\fP); +void XtCallCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP, +XtPointer \fIcall_data\fP); .HP void XtCallCallbackList(Widget \fIw\fP, XtCallbackList \fIcallbacks\fP, XtPointer \fIcall_data\fP); @@ -47,7 +47,7 @@ XtPointer \fIcall_data\fP); typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome} XtCallbackStatus; .HP -XtCallbackStatus XtHasCallbacks(Widget \fIw\fP, String \fIcallback_name\fP); +XtCallbackStatus XtHasCallbacks(Widget \fIw\fP, const char *\fIcallback_name\fP); .SH ARGUMENTS .IP \fIcallback_name\fP 1i Specifies the callback list to be executed or checked. |