[vtk-developers] New way of doing wrapper hints
Brad King
brad.king at kitware.com
Mon Jun 6 11:13:31 EDT 2016
On 06/06/2016 10:51 AM, David Gobbi wrote:
> In this proposal, hinting would be done like this:
>
> VTK_SIZEHINT(3) double* GetPoint();
>
> and we could get rid of the "hints" file.
Neat. I suggest using a prefix like `VTK_HINT_` for all such macros,
and corresponding attribute names with a prefix like `vtk::hint::`.
That will reserve space for other attributes to be added later for
reasons other than hints.
-Brad
More information about the vtk-developers
mailing list