Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | merge trunk |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | novem |
Files: | files | file ages | folders |
SHA1: |
7ae862fc612c48886d272d57f8431ad8 |
User & Date: | jan.nijtmans 2013-09-30 08:31:37 |
Context
2013-09-30
| ||
09:44 | merge novem Closed-Leaf check-in: ec3dfc657f user: dkf tags: novem-64bit-sizes | |
09:44 | merge trunk check-in: e25b747b7d user: jan.nijtmans tags: novem | |
08:31 | merge trunk check-in: 7ae862fc61 user: jan.nijtmans tags: novem | |
2013-09-28
| ||
22:52 | typo; spotted by stu check-in: 97ba1dcf13 user: dkf tags: trunk | |
2013-09-27
| ||
17:39 | merge trunk check-in: f55df9a649 user: jan.nijtmans tags: novem | |
Changes
Changes to doc/Class.3.
︙ | ︙ | |||
107 108 109 110 111 112 113 | may be retrieved using the \fBTcl_GetObjectCommand\fR function, the name of the object (and hence the name of the command) with \fBTcl_GetObjectName\fR, and the namespace may be retrieved using the \fBTcl_GetObjectNamespace\fR function. Note that the Tcl_Obj reference returned by \fBTcl_GetObjectName\fR is a shared reference. .PP Instances of classes are created using \fBTcl_NewObjectInstance\fR, which | | | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | may be retrieved using the \fBTcl_GetObjectCommand\fR function, the name of the object (and hence the name of the command) with \fBTcl_GetObjectName\fR, and the namespace may be retrieved using the \fBTcl_GetObjectNamespace\fR function. Note that the Tcl_Obj reference returned by \fBTcl_GetObjectName\fR is a shared reference. .PP Instances of classes are created using \fBTcl_NewObjectInstance\fR, which creates an object from any class (and which is internally called by both the \fBcreate\fR and \fBnew\fR methods of the \fBoo::class\fR class). It takes parameters that optionally give the name of the object and namespace to create, and which describe the arguments to pass to the class's constructor (if any). The result of the function will be either a reference to the newly created object, or NULL if the creation failed (when an error message will be left in the interpreter result). In addition, objects may be copied by using \fBTcl_CopyObjectInstance\fR which creates a copy of an object without running |
︙ | ︙ |