mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Cleaned up code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2a1052bbce
commit
c2397475c5
24 changed files with 489 additions and 363 deletions
|
|
@ -44,18 +44,17 @@
|
|||
#define g_free_and_null(a) \
|
||||
if (a) { g_free(a); (a) = NULL; }
|
||||
|
||||
typedef enum
|
||||
{
|
||||
typedef enum {
|
||||
G_INPUT_READ = 1 << 0,
|
||||
G_INPUT_WRITE = 1 << 1,
|
||||
G_INPUT_EXCEPTION = 1 << 2
|
||||
} GInputCondition;
|
||||
|
||||
typedef void (*GInputFunction) (gpointer data, int source,
|
||||
typedef void (*GInputFunction) (void *data, int source,
|
||||
GInputCondition condition);
|
||||
|
||||
int g_input_add(int source, GInputCondition condition,
|
||||
GInputFunction function, gpointer data);
|
||||
GInputFunction function, void *data);
|
||||
|
||||
#define MAX_INT_STRLEN ((sizeof(int) * CHAR_BIT + 2) / 3 + 1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue