summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/gtk/GOwnPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/gtk/GOwnPtr.h')
-rw-r--r--JavaScriptCore/wtf/gtk/GOwnPtr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/JavaScriptCore/wtf/gtk/GOwnPtr.h b/JavaScriptCore/wtf/gtk/GOwnPtr.h
index ad2c30e..1fc594c 100644
--- a/JavaScriptCore/wtf/gtk/GOwnPtr.h
+++ b/JavaScriptCore/wtf/gtk/GOwnPtr.h
@@ -35,6 +35,7 @@ typedef struct _GMutex GMutex;
typedef struct _GPatternSpec GPatternSpec;
typedef struct _GDir GDir;
typedef struct _GHashTable GHashTable;
+typedef struct _GFile GFile;
extern "C" void g_free(void*);
namespace WTF {
@@ -47,6 +48,7 @@ template<> void freeOwnedGPtr<GMutex>(GMutex*);
template<> void freeOwnedGPtr<GPatternSpec>(GPatternSpec*);
template<> void freeOwnedGPtr<GDir>(GDir*);
template<> void freeOwnedGPtr<GHashTable>(GHashTable*);
+template<> void freeOwnedGPtr<GFile>(GFile*);
template <typename T> class GOwnPtr : public Noncopyable {
public: