aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/output.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/output.h b/include/output.h
index a2ad97b0..4b4a501c 100644
--- a/include/output.h
+++ b/include/output.h
@@ -31,8 +31,10 @@ Output *get_output_from_string(Output *current_output, const char *output_str);
char *output_primary_name(Output *output);
/**
- * Returns the output for the given con.
- *
+ * Retrieves the output for a given container. Never returns NULL.
+ * There is an assertion that _will_ fail if the container is inside an
+ * internal workspace. Use con_is_internal() if needed before calling this
+ * function.
*/
Output *get_output_for_con(Con *con);