Azure / azure-ulib-c

THIS REPO IS CURRENTLY IN PREVIEW. THE APIs ARE NOT FINAL AND ARE SUBJECT TO CHANGE WITHOUT NOTICE. Azure utility library used in embedded and constrained devices.
MIT License
14 stars 6 forks source link

ustream_forward: a lightweight smart-pointer for fast and efficient data transfer #76

Closed smcd253 closed 3 years ago

smcd253 commented 3 years ago

Interfaces:

Note: does not yet support infinite streams.

mamokarz commented 3 years ago

static void check_buffer(

The implementation of this code in a .h was done to integrate it with ctest, however we decided to do not use ctest anymore, so, we can move away from this issue, by implementing it properly in a .c and leaving only the method signature in the .h.

So please create an az_ulib_test_aux.c with these implementation, and rename this file to az_ulib_test_aux.h (or other meaningful name).


In reply to: 892979801


In reply to: 892979801


In reply to: 892979801


In reply to: 892979801


In reply to: 892979801


In reply to: 892979801


Refers to: tests/inc/az_ulib_ctest_aux.h:33 in 242ca43. [](commit_id = 242ca43e554af55676696c75fdd5e5489f342965, deletion_comment = False)

mamokarz commented 3 years ago

Please avoid double inclusion and add extern "C".


In reply to: 900657778


In reply to: 900657778


In reply to: 900657778


In reply to: 900657778


In reply to: 900657778


Refers to: tests/tests_ut/az_ulib_ustream_forward_ut/az_ulib_ustream_forward_ut.h:6 in bf96db8. [](commit_id = bf96db8a2fd66acad3a1b745f097e96906e22441, deletion_comment = False)