Artifacts Associated With Ticket 465213d1715f9e2c
Ticket change [9226dd2f90] (rid 142103) by dgp on 2015-06-19 15:54:10:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The documentation for Tcl_NewMethod: Tcl_Method Tcl_NewMethod(interp, class, nameObj, isPublic, methodTypePtr, clientData) ... int isPublic (in) A boolean flag saying whether the method is to be exported. seems to be mistaken. The implementation of Tcl_NewMethod() calls its third argument "flags" and it pulls from "flags" the particular bit settings PUBLIC_METHOD and PRIVATE_METHOD for storing in the new Method struct . The upshot is that passing the values 1 or 2 or 3 which as booleans are all the same "true" value, actually will result in different behaviors, some potentially seriously broken. Either the documented interface or the implementation should be chosen to survive, with the other adjusted as needed. If the interface is revised, the bit definitions will need exporting. - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "Tcl_NewMethod() documentation error"
- type initialized to: "Bug"
Ticket change [954d8c1b80] (rid 142104) by dgp on 2015-06-19 15:54:26:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
Ticket change [b352e99fca] (rid 142853) by dkf on 2015-08-18 13:30:39:
- closedate changed to: "2457253.06295565"
- closer changed to: "dkf"
- icomment:
Updated the documentation to say that supported values are 0 (non-exported) and 1 (exported), and what those values mean. The other possible values are currently kept for possible future definition.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"