diff options
author | Akira TAGOH <akira@tagoh.org> | 2006-08-15 17:41:09 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2006-08-15 17:41:09 +0000 |
commit | f00c599b9fe715c2849c215b074e7dd1fa3ccefe (patch) | |
tree | 81e2ee499a2aa797edf352cbeafe3b0fd8a64c6f /src | |
parent | 291974d1215e55da3f862add7d064ebcddc65cc4 (diff) |
2006-08-16 Akira TAGOH <at@gclab.org>
* src/hgspy.c (_hgspy_file_close_cb): new function.
* hieroglyph/hgfile.c (hg_file_object_is_closed): new function.
* hieroglyph/operator.c (_hg_operator_op_status): implemented.
Diffstat (limited to 'src')
-rw-r--r-- | src/hgspy.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hgspy.c b/src/hgspy.c index 88378cc..298e089 100644 --- a/src/hgspy.c +++ b/src/hgspy.c @@ -249,6 +249,14 @@ _hgspy_file_close_cb(gpointer user_data) } static gboolean +_hgspy_file_is_closed_cb(gpointer user_data) +{ + g_print("FIXME: is_closed.\n"); + + return FALSE; +} + +static gboolean _hgspy_file_is_eof_cb(gpointer user_data) { return FALSE; @@ -281,6 +289,7 @@ _hgspy_vm_thread(gpointer data) .flush = _hgspy_file_flush_cb, .seek = _hgspy_file_seek_cb, .close = _hgspy_file_close_cb, + .is_closed = _hgspy_file_is_closed_cb, .is_eof = _hgspy_file_is_eof_cb, .clear_eof = _hgspy_file_clear_eof_cb, .get_error_code = _hgspy_file_get_error_code_cb, |