mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
Remove the refcount on LINE_REC.
It seems to have no clear purpose. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4879 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
875adf35a0
commit
aa39fba88d
4 changed files with 4 additions and 56 deletions
|
|
@ -48,7 +48,6 @@ typedef struct _LINE_REC {
|
|||
struct _LINE_REC *prev, *next;
|
||||
|
||||
unsigned char *text;
|
||||
unsigned char refcount;
|
||||
LINE_INFO_REC info;
|
||||
} LINE_REC;
|
||||
|
||||
|
|
@ -77,10 +76,6 @@ TEXT_BUFFER_REC *textbuffer_create(void);
|
|||
/* Destroy the buffer */
|
||||
void textbuffer_destroy(TEXT_BUFFER_REC *buffer);
|
||||
|
||||
void textbuffer_line_ref(LINE_REC *line);
|
||||
void textbuffer_line_unref(TEXT_BUFFER_REC *buffer, LINE_REC *line);
|
||||
void textbuffer_line_unref_list(TEXT_BUFFER_REC *buffer, GList *list);
|
||||
|
||||
LINE_REC *textbuffer_line_last(TEXT_BUFFER_REC *buffer);
|
||||
int textbuffer_line_exists_after(LINE_REC *line, LINE_REC *search);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue