aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-07-22 17:58:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-07-22 17:58:30 +0200
commitf06dfaf1478c4599b28e90bd0ab430eb90ed8d20 (patch)
treee1a2dabeddfa58f90d255137300e49ae0cce772f /editor.h
parenta7bde561b1edb2501fac05b09e6468464cd79d3e (diff)
downloadvis-f06dfaf1478c4599b28e90bd0ab430eb90ed8d20.tar.gz
vis-f06dfaf1478c4599b28e90bd0ab430eb90ed8d20.tar.xz
Rename content => data
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor.h b/editor.h
index 49de36b..97eaac5 100644
--- a/editor.h
+++ b/editor.h
@@ -9,7 +9,7 @@ typedef struct {
const Piece const *piece;
} Iterator;
-typedef bool (*iterator_callback_t)(void *, size_t pos, const char *content, size_t len);
+typedef bool (*iterator_callback_t)(void*, size_t pos, const char *data, size_t len);
Editor *editor_load(const char *file);
bool editor_insert(Editor*, size_t pos, const char *data);
@@ -24,7 +24,7 @@ Iterator editor_iterator_get(Editor*, size_t pos);
bool editor_iterator_valid(const Iterator*);
void editor_iterator_next(Iterator*);
void editor_iterator_prev(Iterator*);
-void editor_iterate(Editor*, void *, size_t pos, iterator_callback_t);
+void editor_iterate(Editor*, void*, size_t pos, iterator_callback_t);
bool editor_modified(Editor*);
int editor_save(Editor*, const char *file);
void editor_free(Editor *ed);