[Gridflow-cvs] [cvs] base: added template P<T> for reference counting (automatic delete)

matju gridflow at artengine.ca
Fri Aug 27 23:04:58 EDT 2004


matju       Fri, 27 Aug 2004 23:04:58 -0400

  Modified files:
    base:
      flow_objects.c flow_objects_for_image.c
      flow_objects_for_matrix.c grid.c grid.h main.c
  Log:
    added template P<T> for reference counting (automatic delete)
    added PtrGrid subclass-of P<Grid>
    removed stuff from Grid that belongs to PtrGrid
    Grid no longer has an empty state (you have to init directly)
    therefore GridPtr must be used pretty much everywhere instead of Grid.
    Grid::swallow() is dead.
  
  Revision    Changes    Path
  1.138       +120 -122  base/flow_objects.c
  1.26        +84  -84   base/flow_objects_for_image.c
  1.6         +6   -6    base/flow_objects_for_matrix.c
  1.119       +23  -33   base/grid.c
  1.159       +108 -57   base/grid.h
  1.121       +3   -2    base/main.c


More information about the Gridflow-cvs mailing list