mirror of https://github.com/rusefi/isotp-c.git
14 lines
380 B
C
14 lines
380 B
C
#ifndef __ISOTP_ALLOCATE_H__
|
|
#define __ISOTP_ALLOCATE_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
/* The implementation of the two functions is platform-specific and is left to
|
|
* the user. Implementation used for testing is based on stdlib's malloc/free
|
|
* and can be found in tests/common.c */
|
|
|
|
uint8_t* allocate (size_t size);
|
|
void free_allocated (uint8_t* data);
|
|
|
|
#endif // __ISOTP_ALLOCATE_H_
|