StringList Struct Reference

StringList is a structure that stores a list of constant strings. More...

#include <str_functions.h>

Data Fields

GStringChunk * chunk
 GStringChunk that actually stores the strings.
GPtrArray * ptrArray
 A array of char* that points to the strings.
GHashTable * hTable
 Hash table for constant insert. String is key , and pointer of the string is the value.
guint len
 Number of strings in the StringList.
size_t chunk_size_inital
 Size of the GStringChunk.

Detailed Description

StringList provides convenient index access and length information for a GStringChunk.

However, instead of returning char pointers, StringList functions return the indexes of the strings, which can be used later on to located inserted strings.

The documentation for this struct was generated from the following file:

Generated on Tue Jan 13 10:49:25 2009 for libUnihan by  doxygen