libmalcontent: Add type macros for boxed types

These were accidentally missed out before.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-01-28 13:56:00 +00:00
parent 0e22ad7861
commit 93d18ed2a9
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ typedef enum
*/
typedef struct _MctAppFilter MctAppFilter;
GType mct_app_filter_get_type (void);
#define MCT_TYPE_APP_FILTER mct_app_filter_get_type ()
MctAppFilter *mct_app_filter_ref (MctAppFilter *filter);
void mct_app_filter_unref (MctAppFilter *filter);

View File

@ -44,6 +44,7 @@ G_BEGIN_DECLS
*/
typedef struct _MctSessionLimits MctSessionLimits;
GType mct_session_limits_get_type (void);
#define MCT_TYPE_SESSION_LIMITS mct_session_limits_get_type ()
MctSessionLimits *mct_session_limits_ref (MctSessionLimits *limits);
void mct_session_limits_unref (MctSessionLimits *limits);