[riot-notifications] [RIOT-OS/RIOT] pkg: add support for libcose (#8895)

Francisco Acosta notifications at github.com
Mon Apr 16 18:06:56 CEST 2018

kYc0o commented on this pull request.

> +
+/* CN_CBOR calloc/free functions */
+static void *cose_calloc(size_t count, size_t size, void *memblock);
+static void cose_free(void *ptr, void *memblock);
+/* CN_CBOR block allocator context struct*/
+static cn_cbor_context ct =
+    .calloc_func = cose_calloc,
+    .free_func = cose_free,
+    .context = &storage,
+static void *cose_calloc(size_t count, size_t size, void *memblock)
+    (void)count;

Yes, I was asking for that. It's ok for me.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180416/857c0c42/attachment-0001.html>

More information about the notifications mailing list