summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_text_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk_binding/c_fl_text_buffer.cpp')
-rw-r--r--src/fltk_binding/c_fl_text_buffer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fltk_binding/c_fl_text_buffer.cpp b/src/fltk_binding/c_fl_text_buffer.cpp
index b0df365..8b0cde1 100644
--- a/src/fltk_binding/c_fl_text_buffer.cpp
+++ b/src/fltk_binding/c_fl_text_buffer.cpp
@@ -35,6 +35,11 @@ void fl_text_buffer_call_predelete_callbacks(TEXTBUFFER tb) {
}
+void fl_text_buffer_insert(TEXTBUFFER tb, int p, const char * item) {
+ reinterpret_cast<Fl_Text_Buffer*>(tb)->insert(p, item);
+}
+
+
int fl_text_buffer_length(TEXTBUFFER tb) {
return reinterpret_cast<Fl_Text_Buffer*>(tb)->length();
}