[
https://issues.apache.org/jira/browse/TS-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-680:
-----------------------------
Attachment: prototypes.diff
Attached is an "example" of what it could take / look like if we did something
simple like just an anonymous (opaque) struct pointer.
Not being a C++ expert, the only way I could get it to compile was using
reinterpret_cast (well, other than using C casts, and amc would kill me if I
tried to use them).
This is not a "patch" proposal, but to open up the discussion on some ideas
around this.
> Make SDK opaque types use opaque struct's instead of void* ?
> ------------------------------------------------------------
>
> Key: TS-680
> URL: https://issues.apache.org/jira/browse/TS-680
> Project: Traffic Server
> Issue Type: Improvement
> Components: TS API
> Reporter: Leif Hedstrom
> Fix For: 2.1.7
>
> Attachments: prototypes.diff
>
>
> This could allow a compiler to warn on inappropriate parameters for example.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira