summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hgspy.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hgspy.c b/src/hgspy.c
index bec5f29..6ef3a98 100644
--- a/src/hgspy.c
+++ b/src/hgspy.c
@@ -242,6 +242,12 @@ _hgspy_file_seek_cb(gpointer user_data,
return -1;
}
+static void
+_hgspy_file_close_cb(gpointer user_data)
+{
+ g_print("FIXME: close.\n");
+}
+
static gboolean
_hgspy_file_is_eof_cb(gpointer user_data)
{
@@ -274,6 +280,7 @@ _hgspy_vm_thread(gpointer data)
.getc = _hgspy_file_getc_cb,
.flush = _hgspy_file_flush_cb,
.seek = _hgspy_file_seek_cb,
+ .close = _hgspy_file_close_cb,
.is_eof = _hgspy_file_is_eof_cb,
.clear_eof = _hgspy_file_clear_eof_cb,
.get_error_code = _hgspy_file_get_error_code_cb,