* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
/*
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
+#ifndef __G_STRINGCHUNK_H__
+#define __G_STRINGCHUNK_H__
+
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
-#ifndef __G_STRINGCHUNK_H__
-#define __G_STRINGCHUNK_H__
-
#include <glib/gtypes.h>
G_BEGIN_DECLS
typedef struct _GStringChunk GStringChunk;
+GLIB_AVAILABLE_IN_ALL
GStringChunk* g_string_chunk_new (gsize size);
+GLIB_AVAILABLE_IN_ALL
void g_string_chunk_free (GStringChunk *chunk);
+GLIB_AVAILABLE_IN_ALL
void g_string_chunk_clear (GStringChunk *chunk);
+GLIB_AVAILABLE_IN_ALL
gchar* g_string_chunk_insert (GStringChunk *chunk,
const gchar *string);
+GLIB_AVAILABLE_IN_ALL
gchar* g_string_chunk_insert_len (GStringChunk *chunk,
const gchar *string,
gssize len);
+GLIB_AVAILABLE_IN_ALL
gchar* g_string_chunk_insert_const (GStringChunk *chunk,
const gchar *string);