[vtk-developers] Questions about the Wrapping/hints file

David Gobbi david.gobbi at gmail.com
Thu Nov 3 18:26:51 EDT 2011


The hints-file parser is just "fscanf" in a loop, it would have to be
modified to read the file line-by-line before it could be made to skip
comments.

 - David


On Thu, Nov 3, 2011 at 4:14 PM, David Cole <david.cole at kitware.com> wrote:
> Thanks.
>
> I don't suppose there's a way to put comments in the "hints" file is there?
>
>
> On Thu, Nov 3, 2011 at 6:06 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>> The repeat is intentional.   Essentially, the "class", "method", and
>> "type" values must match the method in order for the size hint to be
>> used.  If no match is found, the hint line is ignored.
>>
>> Depending on the platform, the method will be:
>> __int64 *vtkTypeInt64Array::GetValueRange()
>>
>> or:
>> long long *vtkTypeInt64Array::GetValueRange()
>>
>> In the first case, the 30C line will be used and the 30B line will be ignored.
>> In the second case, the 30C line will be ignored and 30B will be used.
>> All four of these lines are needed.
>>
>>  - David
>>
>>
>>
>> On Thu, Nov 3, 2011 at 3:36 PM, David Cole <david.cole at kitware.com> wrote:
>>> These lines (221 - 224 in today's master) are near-duplicates:
>>>
>>> vtkTypeInt64Array                     GetValueRange                     30B  2
>>> vtkTypeInt64Array                     GetValueRange                     30C  2
>>> vtkTypeUInt64Array                    GetValueRange                     31B  2
>>> vtkTypeUInt64Array                    GetValueRange                     31C  2
>>>
>>> Are these two near-duplicates intentional? Is only the first of each
>>> pair used? Is the first of each pair the correct one?
>>>
>>> Thx,
>>> David C.
>>
>



More information about the vtk-developers mailing list