Skip to content
Tcl Source Code Artifact [80108edc96]
Login

Artifact [80108edc96]

Artifact 80108edc96379aafd8c059a3e36246ce722afd65:

Ticket change [80108edc96] - Open ticket [3579001fffffffff|3579001fff]: <i>Allow user choice for RTLD_GLOBAL / RTLD_LOCAL</i> plus 4 other changes by anonymous on 2012-10-23 07:41:48.
D 2012-10-23T07:41:48
J icomment This\sfeature\sis\svery\simportant\sfor\sextensions\sthat\sprovide\sTcl\sbindings\sto\sC++\sinterfaces.\s\sThe\sextension\slinks\swith\sthe\sunderlying\sC++\sshared\slibs,\sand\scan\sbehave\sbadly\sif\sit\sis\sloaded\swith\slocal\ssymbol\sscoping\s(two\scopies\sof\sthe\ssame\sstatic\svariable\sin\stwo\sdifferent\sextensions).\n\nOther\smulti-platform\sscripting\slanguages\sprovide\susers\swith\sa\sway\sto\scontrol\sthe\sflags\spassed\sto\sdlopen()\son\sUnix\splatforms.\s\sFor\sexample:\n\npython\s(ctypes\smodule)\nperl\s(sub\sdl_load_flags)\nruby\s(DL\smodule)\n\nSince\ssome\sextensions\sbehave\sbadly\swith\slocal\ssymbol\sscoping\sand\ssome\sbehave\sbadly\swith\sglobal,\sit\smakes\ssense\sto\sgive\sthe\sprogrammer\sthe\sopportunity\sto\schoose\sbetween\sthe\stwo,\sdepending\son\sthe\sapplication.\n\nIt's\sfine\sif\sthis\sis\sa\sUnix-only\sfeature,\sas\slong\sas\sthe\sdocumentation\sdescribes\sit\sas\ssuch.\n\n
J login 
J mimetype text/plain
J status Open
J username 
K 3579001fffffffffffffffffffffffffffffffff
U 
Z d66a37fbb930d1afca0a6ea5dc6f033a