[p: what's the deal with string chunks?]



i'm totally confused.   i need a way of temporarily storing a bunch of
strings.  i was using a g_array, but that was getting pretty hairy.
then i found GStringChunks.  but:

the glib reference shows how to:

  declare a GStringChunk
  add a GString to a GStringChunk
  free a GStringChunk
 
the reference guide makes no mention of how to access the GStrings in
the GString chunk.

how does one access the GStrings that you put into a GStringChunk?

pete

-- 
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
PGP Public Key:  finger p dirac org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]