From 719eb543a8d08c4f536ea7933ffb3af0a8553e87 Mon Sep 17 00:00:00 2001 From: Chris Ballinger Date: Fri, 8 Apr 2016 17:24:41 -0700 Subject: Xcode, podspec, wrapper --- include/olm/olm.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/olm') diff --git a/include/olm/olm.hh b/include/olm/olm.hh index 34d84fd..bee1ae4 100644 --- a/include/olm/olm.hh +++ b/include/olm/olm.hh @@ -25,9 +25,9 @@ extern "C" { static const size_t OLM_MESSAGE_TYPE_PRE_KEY = 0; static const size_t OLM_MESSAGE_TYPE_MESSAGE = 1; -struct OlmAccount; -struct OlmSession; -struct OlmUtility; +typedef struct OlmAccount OlmAccount; +typedef struct OlmSession OlmSession; +typedef struct OlmUtility OlmUtility; /** The size of an account object in bytes */ size_t olm_account_size(); @@ -51,7 +51,7 @@ OlmSession * olm_session( ); /** Initialise a utility object using the supplied memory - * The supplied memory must be at least olm_session_size() bytes */ + * The supplied memory must be at least olm_utility_size() bytes */ OlmUtility * olm_utility( void * memory ); -- cgit v1.2.3