2
0
Fork 0

moved string_destroy_notify() from base.c to utils.c, fixed parameter definition

personal/stbuehler/wip
Thomas Porzelt 2008-09-24 23:55:20 +02:00
parent 1faaf71de4
commit 9ba30eccbd
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,3 @@
#include "base.h"
void string_destroy_notify(gpointer *str) {
g_string_free((GString*)str, TRUE);
}

View File

@ -36,8 +36,6 @@ typedef struct server server;
struct connection;
typedef struct connection connection;
LI_API void string_destroy_notify(gpointer *str);
#include "server.h"
#include "worker.h"

View File

@ -271,3 +271,6 @@ gchar *ev_backend_string(guint backend) {
}
void string_destroy_notify(gpointer str) {
g_string_free((GString*)str, TRUE);
}

View File

@ -24,4 +24,6 @@ LI_API gchar counter_format(guint64 *count, guint factor);
LI_API gchar *ev_backend_string(guint backend);
LI_API void string_destroy_notify(gpointer str);
#endif