美文网首页
Pointer Arrays

Pointer Arrays

作者: 崩芭大酱 | 来源:发表于2020-11-18 14:09 被阅读0次

    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

          本文链接:https://www.haomeiwen.com/subject/putciktx.html