| eRPC API Reference Rev. 1.8.1 NXP Semiconductors

- Main Page
- API Reference
- Classes
- Files

- File List
- File Members

erpc_port.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2016, Freescale Semiconductor, Inc.
3 * Copyright 2016 NXP
4 * All rights reserved.
5 *
6 *
7 * SPDX-License-Identifier: BSD-3-Clause
8 */
9
10 #ifndef _EMBEDDED_RPC__PORT_H_
11 #define _EMBEDDED_RPC__PORT_H_
12
13 #include "erpc_config_internal.h"
14
21 // Declarations
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 #include <stddef.h>
30
38 void *erpc_malloc(size_t size);
39
45 void erpc_free(void *ptr);
46
47 #ifdef __cplusplus
48 }
49 #endif
50
53 #endif // _EMBEDDED_RPC__PORT_H_
erpc_malloc
void * erpc_malloc(size_t size)
This function is used for allocating space.
Definition: erpc_port_freertos.cpp:56
erpc_free
void erpc_free(void *ptr)
This function free given memory block.
Definition: erpc_port_freertos.cpp:62