aboutsummaryrefslogtreecommitdiff
path: root/include/olm
diff options
context:
space:
mode:
authorChris Ballinger <chrisballinger@gmail.com>2016-04-08 17:24:41 -0700
committerChris Ballinger <chrisballinger@gmail.com>2016-04-08 17:26:12 -0700
commit719eb543a8d08c4f536ea7933ffb3af0a8553e87 (patch)
tree0d8b02e2a1e2e5fd7882a6c20fb0396b47ca5c6a /include/olm
parent989056e0752e949d02a57d8f93927582f297fbfb (diff)
Xcode, podspec, wrapper
Diffstat (limited to 'include/olm')
-rw-r--r--include/olm/olm.hh8
1 files changed, 4 insertions, 4 deletions
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
);