summaryrefslogtreecommitdiff
path: root/modules/dlscript/godot/godot_rid.h
blob: f20c0d4dae00db3d142c05dc56d5c1cc5284b5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef GODOT_DLSCRIPT_RID_H
#define GODOT_DLSCRIPT_RID_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

#ifndef GODOT_CORE_API_GODOT_RID_TYPE_DEFINED
typedef struct godot_rid {
	uint8_t _dont_touch_that[8];
} godot_rid;
#endif

#include "../godot.h"

void GDAPI godot_rid_new(godot_rid *p_rid, godot_object *p_from);

uint32_t GDAPI godot_rid_get_rid(const godot_rid *p_rid);

void GDAPI godot_rid_destroy(godot_rid *p_rid);

#ifdef __cplusplus
}
#endif

#endif // GODOT_DLSCRIPT_RID_H