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

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容

  • Introductions to pointers A pointer is a variable that ho...
    linceln閱讀 376評(píng)論 0 0
  • 標(biāo)簽(空格分隔): 編程 Go官方文檔 Using the tour 1.1 Hello, 世界 Welcome...
    uangianlap閱讀 1,532評(píng)論 0 5
  • 閑來翻譯了一篇官方的JNI Tips,網(wǎng)上看到的翻譯版本要么是時(shí)間久了不同步了,要么翻譯的過于生硬,看得我懷疑自己...
    生活簡單些閱讀 1,807評(píng)論 1 4
  • 黑色的海島上懸著一輪又大又圓的明月,毫不嫌棄地把溫柔的月色照在這寸草不生的小島上。一個(gè)少年白衣白發(fā),悠閑自如地倚坐...
    小水Vivian閱讀 3,133評(píng)論 1 5
  • 漸變的面目拼圖要我怎么拼? 我是疲乏了還是投降了? 不是不允許自己墜落, 我沒有滴水不進(jìn)的保護(hù)膜。 就是害怕變得面...
    悶熱當(dāng)乘涼閱讀 4,315評(píng)論 0 13