1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-26 07:29:17 +02:00

* mu-msg.h: use G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT for mu_msg_to_sexp

This commit is contained in:
djcb 2012-09-12 12:10:17 +03:00
parent f9e14d72b4
commit 8109410c58

View File

@ -1,6 +1,6 @@
/* -*- mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- /* -*- mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
** **
** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> ** Copyright (C) 2010-2012 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** **
** This program is free software; you can redistribute it and/or modify ** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by ** it under the terms of the GNU General Public License as published by
@ -449,7 +449,8 @@ struct _MuMsgIterThreadInfo;
*/ */
char* mu_msg_to_sexp (MuMsg *msg, unsigned docid, char* mu_msg_to_sexp (MuMsg *msg, unsigned docid,
const struct _MuMsgIterThreadInfo *ti, const struct _MuMsgIterThreadInfo *ti,
MuMsgOptions ops); MuMsgOptions ops)
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
/** /**
* move a message to another maildir; note that this does _not_ update * move a message to another maildir; note that this does _not_ update
@ -572,8 +573,6 @@ typedef gboolean (*MuMsgContactForeachFunc) (MuMsgContact* contact,
void mu_msg_contact_foreach (MuMsg *msg, MuMsgContactForeachFunc func, void mu_msg_contact_foreach (MuMsg *msg, MuMsgContactForeachFunc func,
gpointer user_data); gpointer user_data);
G_END_DECLS G_END_DECLS
#endif /*__MU_MSG_H__*/ #endif /*__MU_MSG_H__*/