IoT managed integrations End Device SDK
Loading...
Searching...
No Matches
iotmi_pal_Heap.h
Go to the documentation of this file.
1/*
2 * Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
3 *
4 * AMAZON PROPRIETARY/CONFIDENTIAL
5 *
6 * You may not use this file except in compliance with the terms and
7 * conditions set forth in the accompanying LICENSE.txt file.
8 *
9 * THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
10 * DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
11 * IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
12 * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
13 */
14
20#ifndef IOTMI_PAL_HEAP_H_
21#define IOTMI_PAL_HEAP_H_
22
23#include <stddef.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
36void* iotmiPal_malloc(size_t size);
37
43void iotmiPal_free(void* ptr);
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* ifndef IOTMI_PAL_HEAP_H_ */
void iotmiPal_free(void *ptr)
Free allocated memory.
void * iotmiPal_malloc(size_t size)
Memory allocator.