mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
implement reference counted strings
- on glib >=2.58, use the implementation provided by glib - otherwise, a hash table will contain the strings
This commit is contained in:
parent
2f82d9cd33
commit
ad7ad063ca
6 changed files with 133 additions and 0 deletions
|
|
@ -43,6 +43,7 @@
|
|||
#include <irssi/src/core/rawlog.h>
|
||||
#include <irssi/src/core/ignore.h>
|
||||
#include <irssi/src/core/recode.h>
|
||||
#include <irssi/src/core/refstrings.h>
|
||||
|
||||
#include <irssi/src/core/channels.h>
|
||||
#include <irssi/src/core/queries.h>
|
||||
|
|
@ -261,6 +262,7 @@ void core_init(void)
|
|||
nicklist_init();
|
||||
|
||||
chat_commands_init();
|
||||
i_refstr_init();
|
||||
wcwidth_wrapper_init();
|
||||
|
||||
settings_add_str("misc", "ignore_signals", "");
|
||||
|
|
@ -286,6 +288,7 @@ void core_deinit(void)
|
|||
signal_remove("irssi init finished", (SIGNAL_FUNC) sig_irssi_init_finished);
|
||||
|
||||
wcwidth_wrapper_deinit();
|
||||
i_refstr_deinit();
|
||||
chat_commands_deinit();
|
||||
|
||||
nicklist_deinit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue