Xin Zhang / azure-iot-c-sdk-f767zi

Dependents:   samplemqtt

uamqp/deps/umock-c/inc/umockalloc.h

Committer:
XinZhangMS
Date:
2018-08-23
Revision:
0:f7f1f0d76dd6

File content as of revision 0:f7f1f0d76dd6:

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

#ifndef UMOCKALLOC_H
#define UMOCKALLOC_H

#ifdef __cplusplus
extern "C" {
#include <cstddef>
#else
#include <stddef.h>
#endif

extern void* umockalloc_malloc(size_t size);
extern void* umockalloc_realloc(void* ptr, size_t size);
extern void umockalloc_free(void* ptr);

extern char* umockc_stringify_buffer(const void* bytes, size_t length);

#ifdef __cplusplus
}
#endif

#endif /* UMOCKALLOC_H */