Overview
| Artifact ID: | dad291bfb1201da11f65bf15794b89521d442836 |
|---|---|
| Ticket: | 1471633fffffffffffffffffffffffffffffffff
genStub.tcl erroneusly parses function declaration |
| User & Date: | dkf on 2006-04-17 20:59:04 |
Changes
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=79902 I don't quite understand the exact problem yet (your example isn't quite complete as far as I can see) but it is recommended (i.e. all Tcl APIs work this way) that all API functions that take a function pointer typed argument should name that type in their main header file, like this: typedef void (*FreeFuncPtr)(void *ptr); with that, you'd be parsing a declaration like this instead: void *privKey_create( pthread_key_t *key, FreeFuncPtr destr_function); Which should be perfectly OK from the stub generator's PoV. This applies doubly when the function parameter takes multiple arguments, of course... Workaround exists; lowering priority. - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "4"
- username: "dkf"