Skip to content

Some simplifications to vtkParse depends tracking

David Gobbi requested to merge dgobbi/vtk:wrap-deps-tweaks into master

Use some existing utility functions to simplify vtkParseDependencyTracking:

  • use string pooling (StringCache) rather than a malloc/free for every string
  • use vtkParse_AddStringToArray() from vtkParseData.h for list of strings

Some issues with vtkParseData that could be improved upon:

  • uses int for counts, could be changed to size_t (API change)
  • doesn't check malloc() return value

Merge request reports