Far-reaching changes to make BitchX compatible with 64 bit architectures
like x86-64, where sizeof(int) != sizeof (void *). This involves correctly casting every function pointer from the global table to the correct function type, which has the added benefit of allowing type-checking of function arguments and return values. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@26 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -200,7 +200,7 @@ enum FUNCTION_VALUE
|
||||
RANDOM_NUMBER,
|
||||
|
||||
/* words.c */
|
||||
SEARCH,
|
||||
STRSEARCH,
|
||||
MOVE_TO_ABS_WORD,
|
||||
MOVE_WORD_REL,
|
||||
EXTRACT,
|
||||
@@ -504,9 +504,9 @@ enum FUNCTION_VALUE
|
||||
STATUS_UPDATE,
|
||||
SET_PROMPT_BY_REFNUM,
|
||||
GET_PROMPT_BY_REFNUM,
|
||||
QUERY_NICK,
|
||||
QUERY_HOST,
|
||||
QUERY_CMD,
|
||||
QUERY_NICK, /* DEFUNCT */
|
||||
QUERY_HOST, /* DEFUNCT */
|
||||
QUERY_CMD, /* DEFUNCT */
|
||||
GET_TARGET_BY_REFNUM,
|
||||
GET_TARGET_CMD_BY_REFNUM,
|
||||
GET_WINDOW_TARGET_BY_DESC,
|
||||
@@ -545,7 +545,7 @@ enum FUNCTION_VALUE
|
||||
SCROLLBACK_BACKWARDS,
|
||||
SCROLLBACK_END,
|
||||
SCROLLBACK_START,
|
||||
HOLD_MODE,
|
||||
SET_HOLD_MODE,
|
||||
UNHOLD_WINDOWS,
|
||||
FUNC_UNSTOP_ALL_WINDOWS,
|
||||
RESET_LINE_CNT,
|
||||
|
||||
Reference in New Issue
Block a user