From 4ab0d9c1f64254769ba77ff57eb1e7f505879574 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 22 May 2016 22:57:18 -0400 Subject: [PATCH] More TODO resolution. --- doc/main | 1 + unix/main.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 doc/main diff --git a/doc/main b/doc/main new file mode 100644 index 00000000..9fa9c369 --- /dev/null +++ b/doc/main @@ -0,0 +1 @@ +after uiQuit or if uiShouldQuit returns nonzero, uiQueueMain's effect is undefined diff --git a/unix/main.c b/unix/main.c index 07010cd5..50f308bd 100644 --- a/unix/main.c +++ b/unix/main.c @@ -62,7 +62,6 @@ static gboolean doqueued(gpointer data) return FALSE; } -// TODO document that the effect of calling this function after uiQuit() is called (either directly or via a nonzero return to uiShouldQuit()) is undefined void uiQueueMain(void (*f)(void *data), void *data) { struct queued *q;