Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-12-02
07:38 • Ticket [1076907fff] Sample Extension Uses Pre-Object Style status still Clos... artifact: d367ab7a4d user: dkf
07:38 • Ticket [1076907fff]: 5 changes artifact: 66c926b181 user: dkf
07:38 • Closed ticket [1076907fff]. artifact: b376561834 user: dkf
05:22 • Ticket [1076907fff]: 4 changes artifact: e4c35d2d72 user: dgp
05:18 • Ticket [1076907fff]: 5 changes artifact: e73da7c093 user: dgp
05:08 • Ticket [1076907fff]: 2 changes artifact: a6793245b6 user: dkf
2004-12-01
17:06 • New ticket [1076907fff]. artifact: e4a80a3d86 user: karll

Sample Extension Uses Pre-Object Style

Closed / Fixed1076907fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-01 17:06:58
The sample extension uses the old string-style of
commands, and hence, Tcl_CreateCommand instead of
Tcl_CreateObjCommand, etc.

Starting from the sample extension and working with
more modern object-style commands, one is likely to get
a clean build with no errors, a clean load of the
shared library, and a nonobvious segmentation fault on
any attempt to use one of the added commands.

Suggest the sample extension be updated to use
object-style commands.
dkf Ticket [1076907fff]: 2 changes [History diff]2004-12-02 05:08:21
dgpplain2004-12-02 05:18:18
data_type - 360894

Logged In: YES 
user_id=80530

I like this idea very much, but
I'd call it a feature request rather
than a bug.
dgpplain2004-12-02 05:22:53
Logged In: YES 
user_id=80530

see also 927244
dkf Closed ticket [1076907fff]. [History diff]2004-12-02 07:38:05
dkfplain2004-12-02 07:38:06
Logged In: YES 
user_id=79902

Done; the code still isn't entirely elegant (it's confused
about the difference between options and subcommands) but
it's now object-based confusion. :^)
dkf Ticket [1076907fff]: 2 changes [History diff]2004-12-02 07:38:07
Log in (anonymous is fine) to add a comment.