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*.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Introductions to pointers A pointer is a variable that ho...
    linceln阅读 383评论 0 0
  • 标签(空格分隔): 编程 Go官方文档 Using the tour 1.1 Hello, 世界 Welcome...
    uangianlap阅读 1,585评论 0 5
  • 闲来翻译了一篇官方的JNI Tips,网上看到的翻译版本要么是时间久了不同步了,要么翻译的过于生硬,看得我怀疑自己...
    生活简单些阅读 1,850评论 1 4
  • 渐变的面目拼图要我怎么拼? 我是疲乏了还是投降了? 不是不允许自己坠落, 我没有滴水不进的保护膜。 就是害怕变得面...
    闷热当乘凉阅读 4,362评论 0 13
  • 感觉自己有点神经衰弱,总是觉得手机响了;屋外有人走过;每次妈妈不声不响的进房间突然跟我说话,我都会被吓得半死!一整...
    章鱼的拥抱阅读 2,231评论 4 5