aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/pb-mem.h
blob: 72be2148901234f7848890657449f1a5ea89a3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "pb-types.h"

#ifdef __cplusplus
extern "C" {
#endif

void * pb_malloc(size_t sz);
void pb_free(void * ptr);
void * pb_realloc(void * ptr, size_t sz);

void * pb_memcpy(void * dest, const void * src, size_t sz);
int pb_memcmp(const void * a, const void * b, size_t sz);

#ifdef __cplusplus
}
#endif