Back to index

tetex-bin  3.0
Classes | Defines
GList.h File Reference
#include <aconf.h>
#include "gtypes.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GList

Defines

#define deleteGList(list, T)

Define Documentation

#define deleteGList (   list,
  T 
)
Value:
do {                                              \
    GList *_list = (list);                          \
    {                                               \
      int _i;                                       \
      for (_i = 0; _i < _list->getLength(); ++_i) { \
        delete (T*)_list->get(_i);                  \
      }                                             \
      delete _list;                                 \
    }                                               \
  } while (0)

Definition at line 79 of file GList.h.