summaryrefslogtreecommitdiff
path: root/src/core/memdebug.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-18 10:02:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-18 10:02:39 +0000
commitd110c9cb3bd6402ec9e8afc28bde969832577139 (patch)
tree74a0c5ec86332c8263cadf55a95affa1fd4a70eb /src/core/memdebug.h
parenta5d31a195d1e3b682cd57d88a5db7ef0ffa5d492 (diff)
downloadirssi-d110c9cb3bd6402ec9e8afc28bde969832577139.zip
Added g_dirname() so ig_free() won't complain when free()ing it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@366 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/memdebug.h')
-rw-r--r--src/core/memdebug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/memdebug.h b/src/core/memdebug.h
index 1cf187f1..16534741 100644
--- a/src/core/memdebug.h
+++ b/src/core/memdebug.h
@@ -15,6 +15,7 @@ void ig_free(void *p);
GString *ig_string_new(const char *file, int line, const char *str);
void ig_string_free(const char *file, int line, GString *str, int freeit);
char *ig_strjoinv(const char *file, int line, const char *sepa, char **array);
+char *ig_dirname(const char *file, int line, const char *fname);
#define g_malloc(a) ig_malloc(a, __FILE__, __LINE__)
#define g_malloc0(a) ig_malloc0(a, __FILE__, __LINE__)
@@ -28,4 +29,5 @@ char *ig_strjoinv(const char *file, int line, const char *sepa, char **array);
#define g_string_new(a) ig_string_new(__FILE__, __LINE__, a)
#define g_string_free(a, b) ig_string_free(__FILE__, __LINE__, a, b)
#define g_strjoinv(a,b) ig_strjoinv(__FILE__, __LINE__, a, b)
+#define g_dirname(a) ig_dirname(__FILE__, __LINE__, a)
#endif