diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-10-13 03:33:38 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-10-13 03:33:38 +1300 |
commit | b4090a7acddf951088b75fcce0d6edb721bbbf45 (patch) | |
tree | 6770ea43f82e114c188538213f77e76b4eb5da10 /src/c_fl_text_buffer.h | |
parent | 87671a2f2423efacd0b0c4ad0c34c244680ef565 (diff) |
Fixed bug with Text_Buffers not being deallocated correctly if declared after the Text_Display they are attached to
Diffstat (limited to 'src/c_fl_text_buffer.h')
-rw-r--r-- | src/c_fl_text_buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_fl_text_buffer.h b/src/c_fl_text_buffer.h index 7258006..d808f44 100644 --- a/src/c_fl_text_buffer.h +++ b/src/c_fl_text_buffer.h @@ -12,6 +12,7 @@ typedef void* TEXTBUFFER; extern "C" TEXTBUFFER new_fl_text_buffer(int rs, int pgs); +extern "C" void upref_fl_text_buffer(TEXTBUFFER tb); extern "C" void free_fl_text_buffer(TEXTBUFFER tb); |