aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/vis.h b/vis.h
index 2b5ce52..8e367ed 100644
--- a/vis.h
+++ b/vis.h
@@ -99,10 +99,13 @@ typedef struct {
* @defgroup vis_lifecycle Vis Lifecycle
* @{
*/
-/** Create a new editor instance. */
-Vis *vis_new(void);
-/** Free all resources associated with this editor instance, terminates UI. */
-void vis_free(Vis*);
+/**
+ * Initializes a new editor instance.
+ * @param vis The editor instance.
+ */
+bool vis_init(Vis*);
+/** Release all resources associated with this editor instance, terminates UI. */
+void vis_cleanup(Vis*);
/**
* Enter main loop, start processing user input.
* @param vis The editor instance.