src/vendor/azure-uamqp-c/deps/umock-c/tests/umockstring_ut/umockstring_mocked.c
raw| 1 | // Copyright (c) Microsoft. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 | |
| 4 | #include <stddef.h> |
| 5 | |
| 6 | void* mock_malloc(size_t size); |
| 7 | void mock_free(void* ptr); |
| 8 | |
| 9 | #define umockalloc_malloc(size) mock_malloc(size) |
| 10 | #define umockalloc_free(ptr) mock_free(ptr) |
| 11 | |
| 12 | /* include code under test */ |
| 13 | #include "../../src/umockstring.c" |