summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/signal_utarray.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-22 23:37:33 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-23 00:19:38 +0300
commit5048672e81f3ee9aa864ef9d736a3d74da051754 (patch)
tree8148405d428027ceab0528cf186a9faf3817b196 /libs/libaxolotl/src/signal_utarray.h
parentdf4c8656be0e85a69a238f3fc3f4d53568c53828 (diff)
libs: libsignal-c: sync with upstream
Diffstat (limited to 'libs/libaxolotl/src/signal_utarray.h')
-rw-r--r--libs/libaxolotl/src/signal_utarray.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/libaxolotl/src/signal_utarray.h b/libs/libaxolotl/src/signal_utarray.h
new file mode 100644
index 0000000000..682fc0f0bf
--- /dev/null
+++ b/libs/libaxolotl/src/signal_utarray.h
@@ -0,0 +1,13 @@
+#ifndef SIGNAL_UTARRAY_H
+#define SIGNAL_UTARRAY_H
+
+#include "signal_protocol.h"
+
+#define oom() do { \
+ result = SG_ERR_NOMEM; \
+ goto complete; \
+} while(0)
+
+#include "utarray.h"
+
+#endif /* SIGNAL_UTARRAY_H */