Skip to content

Commit

Permalink
Fix [a0d6ef020b]: Documentation bugs. Some more documentation bugs (e…
Browse files Browse the repository at this point in the history
….g. size_t -> Tcl_Size)
  • Loading branch information
jan.nijtmans committed Dec 19, 2024
2 parents 287b553 + dbeb1cd commit 5894605
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions doc/ConfigWidg.3
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ typedef struct {
const char *\fIdbName\fR;
const char *\fIdbClass\fR;
const char *\fIdefValue\fR;
size_t \fIoffset\fR;
Tcl_Size \fIoffset\fR;
int \fIspecFlags\fR;
const Tk_CustomOption *\fIcustomPtr\fR;
} \fBTk_ConfigSpec\fR;
Expand Down Expand Up @@ -562,7 +562,7 @@ typedef int \fBTk_OptionParseProc\fR(
void *\fIclientData\fR,
Tcl_Interp *\fIinterp\fR,
Tk_Window \fItkwin\fR,
char *\fIvalue\fR,
const char *\fIvalue\fR,
char *\fIwidgRec\fR,
Tcl_Size \fIoffset\fR);

Expand Down
2 changes: 1 addition & 1 deletion doc/CrtItemType.3
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ the standard procedures implemented by the type manager:
.CS
typedef struct Tk_ItemType {
const char *\fIname\fR;
size_t \fIitemSize\fR;
Tcl_Size \fIitemSize\fR;
Tk_ItemCreateProc *\fIcreateProc\fR;
const Tk_ConfigSpec *\fIconfigSpecs\fR;
Tk_ItemConfigureProc *\fIconfigProc\fR;
Expand Down
2 changes: 1 addition & 1 deletion doc/EventHndlr.3
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Button number.
.AP "const char" *eventName in
The name of the virtual event.
.AP Tcl_Obj *detail in
Detail information for the virtual event.
Detail information for the virtual event. May be NULL.
.AP Tk_Window tkwin in
Token for window in which events may occur.
.AP "unsigned long" mask in
Expand Down
2 changes: 1 addition & 1 deletion doc/SetClassProcs.3
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ are used as callbacks in different places.
The structure pointed to by \fIprocs\fR contains the following:
.CS
typedef struct {
size_t \fIsize\fR;
Tcl_Size \fIsize\fR;
Tk_ClassWorldChangedProc *\fIworldChangedProc\fR;
Tk_ClassCreateProc *\fIcreateProc\fR;
Tk_ClassModalProc *\fImodalProc\fR;
Expand Down
4 changes: 2 additions & 2 deletions doc/SetOptions.3
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ typedef struct {
const char *\fIdbName\fR;
const char *\fIdbClass\fR;
const char *\fIdefValue\fR;
size_t \fIobjOffset\fR;
size_t \fIinternalOffset\fR;
Tcl_Size \fIobjOffset\fR;
Tcl_Size \fIinternalOffset\fR;
int \fIflags\fR;
const void *\fIclientData\fR;
int \fItypeMask\fR;
Expand Down

0 comments on commit 5894605

Please sign in to comment.