|
2007-07-31
| ||
| 21:05 | • Closed ticket [1754128fff]: allow use of 'inline' in Tcl sources plu... artifact: dc601a4e43 user: msofer | |
|
2007-07-24
| ||
| 04:09 | • Ticket [1754128fff]: 5 changes artifact: a499c6b387 user: dkf | |
|
2007-07-15
| ||
| 05:40 | • Add attachment inline.patch to ticket [1754128fff] artifact: fad40c19e2 user: kennykb | |
| 05:40 | • Ticket [1754128fff] allow use of 'inline' in Tcl sources status stil... artifact: 21db6d6e5d user: kennykb | |
| 05:23 | • Ticket [1754128fff]: 4 changes artifact: 099eaca013 user: kennykb | |
|
2007-07-14
| ||
| 22:23 | • New ticket [1754128fff]. artifact: d386bc8be2 user: kennykb | |
allow use of 'inline' in Tcl sources
Closed / Accepted1754128fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-07-14 22:23:16
Miguel Sofer, as part of the 'Var reform' patch,
has asked for the ability to use 'inline' functions
in tclVar.c
This turns out to be easy. AC_C_INLINE in the
'configure.in' files should, if the compiler doesn't
support 'inline', define a macro of that name that
expands to '__inline__', '__inline', or nothing,
as appropriate. ('Nothing' will have the effect of
making the 'static inline' function fall back on being
an ordinary static function.)
I don't see any compelling reason not to let him have
his inline, do you?
kennykbplain2007-07-15 05:23:17
File Added - 237028: inline.patch
kennykbplain2007-07-15 05:40:01
File Deleted - 237028: File Added - 237029: inline.patch Logged In: YES user_id=99768 Originator: YES pdated patch - missed 'makefile.vc' on the first go. File Added: inline.patch
dkfplain2007-07-24 04:09:28
Logged In: YES user_id=79902 Originator: NO No objections provided this is only used for 'static' functions. But make sure that no sniff of it goes anywhere near tcl.m4; there's enough stuff in there that's got cargo-cult-ed to goodness knows how many TEA extensions which really doesn't need to be there, and it's tricky (!) to make it work with stubs as it tends to bind the API version too tightly into the callers. (None of that matters if it is used sensibly, of course.)
msofer Closed ticket [1754128fff].
[History diff]2007-07-31 21:05:49
Log in (anonymous is fine) to add a comment.
Attachments:
- inline.patch [download] added by kennykb on 2007-07-15 05:40:01. [details]