diff options
Diffstat (limited to 'gst/librfb/rfbbuffer.h')
-rw-r--r-- | gst/librfb/rfbbuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/librfb/rfbbuffer.h b/gst/librfb/rfbbuffer.h index f220c0e7..5c09c77c 100644 --- a/gst/librfb/rfbbuffer.h +++ b/gst/librfb/rfbbuffer.h @@ -6,10 +6,11 @@ G_BEGIN_DECLS typedef struct _RfbBuffer RfbBuffer; +typedef void(*RfbBufferFreeFunc)(guint8 *data, gpointer priv); struct _RfbBuffer { - void (*free_data) (guint8 *data, gpointer priv); + RfbBufferFreeFunc free_data; gpointer buffer_private; guint8 *data; |