mangareader/include/openmg/util/string.h

20 lines
510 B
C
Raw Permalink Normal View History

#pragma once
#include <glib-object.h>
G_BEGIN_DECLS;
#define MG_TYPE_UTIL_STRING mg_util_string_get_type()
G_DECLARE_FINAL_TYPE (MgUtilString, mg_util_string, MG, UTIL_STRING, GObject)
MgUtilString *mg_util_string_new ();
char *
2022-05-05 05:14:41 +02:00
mg_util_string_alloc_string (MgUtilString *self, size_t len);
void
2022-05-05 05:14:41 +02:00
mg_util_string_copy_substring (MgUtilString *self,
const char *origin, char *dest, size_t dest_len, size_t start,
size_t len);
2022-05-05 05:14:41 +02:00
int
g_asprintf (char **strp, const char *format, ...);
G_END_DECLS