Skip to content

Commit aeb1550

Browse files
author
jan.nijtmans
committed
Merge trunk
2 parents 5e1c5bb + 1561cf5 commit aeb1550

File tree

15 files changed

+2130
-2130
lines changed

15 files changed

+2130
-2130
lines changed

ChangeLog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,14 @@ https://core.tcl-lang.org/itcl/timeline
344344
* itclBase.c:
345345
* itcl2TclOO.c:
346346
2010-03-19 Arnulf P. Wiedemann <wiede@users.sourceforge.net>
347-
* configure.in: add missing include files for install,thanks to Reinhard Max for
347+
* configure.in: add missing include files for install,thanks to Reinhard Max for
348348
the patch
349349
* itclInfo.c: removed "uplevel 1" in Itcl_BiInfoUnknownCmd.c, which made problems
350350
with "info complete", reported by Reinhard Max
351351
* itclMethod.c: fixed bug, which caused core dump in CallItclObjectCmd, thanks to
352352
Reinhard Max for the patch
353353
2010-03-06 Arnulf P. Wiedemann <wiede@users.sourceforge.net>
354-
* itcl.decls: changed CONST in declarations to const
354+
* itcl.decls: changed CONST in declarations to const
355355
* itclDecls.h:
356356
* itclIntDecls.h
357357
* itcl2TclOO.c: adaption to typedef change in TclOO for TclOO_PreCallProc and

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
306306
# you will have to modify the paths to reflect this:
307307
#
308308
# sample.$(OBJEXT): $(srcdir)/generic/sample.c
309-
# $(COMPILE) -c `@CYGPATH@ $(srcdir)/generic/sample.c` -o $@
309+
# $(COMPILE) -c `@CYGPATH@ $(srcdir)/generic/sample.c` -o $@
310310
#
311311
# Setting the VPATH variable to a list of paths will cause the makefile
312312
# to look into these paths when resolving .c to .obj dependencies.

doc/RegisterC.3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ for public variables. Any body that starts with "\fB@\fR"
8787
is treated as the symbolic name for a C procedure.
8888
.PP
8989
Symbolic names are established by registering procedures via
90-
\fBItcl_RegisterC()\fR or \fBItcl_RegisterC2()\fR. This is usually done
91-
in the \fBTcl_AppInit()\fR procedure, which is automatically called when
92-
the interpreter starts up.
93-
In the following example, the procedure \fCMy_FooCmd()\fR is registered
90+
\fBItcl_RegisterObjC()\fR or \fBItcl_RegisterObjC2()\fR or
91+
\fBItcl_RegisterC()\fR. This is usually done in the \fBTcl_AppInit()\fR
92+
procedure, which is automatically called when the interpreter starts up.
93+
In the following example, the procedure \fCMy_FooObjCmd()\fR is registered
9494
with the symbolic name "foo". This procedure can be referenced in
9595
the \fBbody\fR command as "\fC@foo\fR".
9696
.CS
@@ -102,7 +102,7 @@ Tcl_AppInit(interp)
102102
return TCL_ERROR;
103103
}
104104

105-
if (Itcl_RegisterC(interp, "foo", My_FooCmd) != TCL_OK) {
105+
if (Itcl_RegisterObjC(interp, "foo", My_FooObjCmd) != TCL_OK) {
106106
return TCL_ERROR;
107107
}
108108
}

doc/body.n

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ to represent each argument. This is the usual behavior for
5555
a Tcl-style proc.
5656
.PP
5757
Symbolic names for C procedures are established by registering
58-
procedures via \fBItcl_RegisterC()\fR. This is usually done
58+
procedures via \fBItcl_RegisterObjC()\fR. This is usually done
5959
in the \fBTcl_AppInit()\fR procedure, which is automatically called
6060
when the interpreter starts up. In the following example,
61-
the procedure \fCMy_FooCmd()\fR is registered with the
61+
the procedure \fCMy_FooObjCmd()\fR is registered with the
6262
symbolic name "foo". This procedure can be referenced in
6363
the \fBbody\fR command as "\fC@foo\fR".
6464
.CS
@@ -70,7 +70,7 @@ Tcl_AppInit(interp)
7070
return TCL_ERROR;
7171
}
7272

73-
if (Itcl_RegisterC(interp, "foo", My_FooCmd) != TCL_OK) {
73+
if (Itcl_RegisterObjC(interp, "foo", My_FooObjCmd) != TCL_OK) {
7474
return TCL_ERROR;
7575
}
7676
}

doc/class.n

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ for public variables. Any body that starts with "\fB@\fR"
504504
is treated as the symbolic name for a C procedure.
505505
.PP
506506
Symbolic names are established by registering procedures via
507-
\fBItcl_RegisterC()\fR. This is usually done in the \fBTcl_AppInit()\fR
507+
\fBItcl_RegisterObjC()\fR. This is usually done in the \fBTcl_AppInit()\fR
508508
procedure, which is automatically called when the interpreter starts up.
509-
In the following example, the procedure \fCMy_FooCmd()\fR is registered
509+
In the following example, the procedure \fCMy_FooObjCmd()\fR is registered
510510
with the symbolic name "foo". This procedure can be referenced in
511511
the \fBbody\fR command as "\fC@foo\fR".
512512
.PP
@@ -519,7 +519,7 @@ Tcl_AppInit(interp)
519519
return TCL_ERROR;
520520
}
521521

522-
if (Itcl_RegisterC(interp, "foo", My_FooCmd) != TCL_OK) {
522+
if (Itcl_RegisterObjC(interp, "foo", My_FooObjCmd) != TCL_OK) {
523523
return TCL_ERROR;
524524
}
525525
}

doc/configbody.n

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ as the symbolic name for a C procedure. Otherwise, it is
4646
treated as a Tcl command script.
4747
.PP
4848
Symbolic names for C procedures are established by registering
49-
procedures via \fBItcl_RegisterC()\fR. This is usually done
49+
procedures via \fBItcl_RegisterObjC()\fR. This is usually done
5050
in the \fBTcl_AppInit()\fR procedure, which is automatically called
5151
when the interpreter starts up. In the following example,
52-
the procedure \fCMy_FooCmd()\fR is registered with the
52+
the procedure \fCMy_FooObjCmd()\fR is registered with the
5353
symbolic name "foo". This procedure can be referenced in
5454
the \fBconfigbody\fR command as "\fC@foo\fR".
5555
.CS
@@ -61,7 +61,7 @@ Tcl_AppInit(interp)
6161
return TCL_ERROR;
6262
}
6363

64-
if (Itcl_RegisterC(interp, "foo", My_FooCmd) != TCL_OK) {
64+
if (Itcl_RegisterObjC(interp, "foo", My_FooObjCmd) != TCL_OK) {
6565
return TCL_ERROR;
6666
}
6767
}

doc/itclextendedclass.n

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,9 @@ for public variables. Any body that starts with "\fB@\fR"
508508
is treated as the symbolic name for a C procedure.
509509
.PP
510510
Symbolic names are established by registering procedures via
511-
\fBItcl_RegisterC()\fR. This is usually done in the \fBTcl_AppInit()\fR
511+
\fBItcl_RegisterObjC()\fR. This is usually done in the \fBTcl_AppInit()\fR
512512
procedure, which is automatically called when the interpreter starts up.
513-
In the following example, the procedure \fCMy_FooCmd()\fR is registered
513+
In the following example, the procedure \fCMy_FooObjCmd()\fR is registered
514514
with the symbolic name "foo". This procedure can be referenced in
515515
the \fBbody\fR command as "\fC@foo\fR".
516516
.PP
@@ -523,7 +523,7 @@ Tcl_AppInit(interp)
523523
return TCL_ERROR;
524524
}
525525

526-
if (Itcl_RegisterC(interp, "foo", My_FooCmd) != TCL_OK) {
526+
if (Itcl_RegisterObjC(interp, "foo", My_FooObjCmd) != TCL_OK) {
527527
return TCL_ERROR;
528528
}
529529
}

doc/itclwidget.n

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,9 @@ for public variables. Any body that starts with "\fB@\fR"
510510
is treated as the symbolic name for a C procedure.
511511
.PP
512512
Symbolic names are established by registering procedures via
513-
\fBItcl_RegisterC()\fR. This is usually done in the \fBTcl_AppInit()\fR
513+
\fBItcl_RegisterObjC()\fR. This is usually done in the \fBTcl_AppInit()\fR
514514
procedure, which is automatically called when the interpreter starts up.
515-
In the following example, the procedure \fCMy_FooCmd()\fR is registered
515+
In the following example, the procedure \fCMy_FooObjCmd()\fR is registered
516516
with the symbolic name "foo". This procedure can be referenced in
517517
the \fBbody\fR command as "\fC@foo\fR".
518518
.PP
@@ -525,7 +525,7 @@ Tcl_AppInit(interp)
525525
return TCL_ERROR;
526526
}
527527

528-
if (Itcl_RegisterC(interp, "foo", My_FooCmd) != TCL_OK) {
528+
if (Itcl_RegisterObjC(interp, "foo", My_FooObjCmd) != TCL_OK) {
529529
return TCL_ERROR;
530530
}
531531
}

generic/itcl2TclOO.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Itcl_PublicObjectCmd(
245245
} else {
246246
Tcl_AppendStringsToObj(Tcl_GetObjResult(interp),
247247
"cannot access object-specific info without an object context",
248-
NULL);
248+
(char *)NULL);
249249
return TCL_ERROR;
250250
}
251251
return result;

0 commit comments

Comments
 (0)