ToolBox Library 2.1.0
An Library containing function and class to make developing in C faster
vptr.h
1#ifndef TOOLBOX_VPTR_H
2#define TOOLBOX_VPTR_H
3
4#include <stdbool.h>
5#include <stddef.h>
6
7#ifdef TOOLBOX_TYPEDEF
8typedef struct vptr vptr_st;
9#endif
10
11struct vptr {
12 size_t size;
13 void *data;
14};
15
16__attribute__((__pure__))
17bool
18vptr_equal(const struct vptr *restrict r_p_vptr1
19 , const struct vptr *restrict r_p_vptr2);
20
21#endif
Definition: vptr.h:11