Define function return codes.
This commit is contained in:
parent
7721a245f3
commit
cacd200a5c
@ -22,5 +22,14 @@
|
|||||||
|
|
||||||
extern struct t_weechat_plugin *weechat_plugin;
|
extern struct t_weechat_plugin *weechat_plugin;
|
||||||
|
|
||||||
|
/// Return codes used throughout Tox-WeeChat.
|
||||||
|
enum t_twc_rc {
|
||||||
|
TWC_RC_OK,
|
||||||
|
/// Generic error return code.
|
||||||
|
TWC_RC_ERROR,
|
||||||
|
/// Malloc error return code.
|
||||||
|
TWC_RC_ERROR_MALLOC,
|
||||||
|
};
|
||||||
|
|
||||||
#endif // TOX_WEECHAT_H
|
#endif // TOX_WEECHAT_H
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user