Pointer Arrays

Pointer Arrays — arrays of pointers to any type of data, which grow automatically as new elements are added

struct GPtrArray {
  gpointer *pdata;
  guint     len;
};

Contains the public fields of a pointer array.
属性:
gpointer pdata points to the array of pointers, which may be moved when the
guint len number of pointers in array

typedef void* gpointer;

An untyped pointer. gpointer looks better and is easier to use than void*.

你可能感兴趣的:(Pointer Arrays)