Concord - C Discord API library
A Discord API wrapper library written in C
types.h
Go to the documentation of this file.
1
3#ifndef CONCORD_TYPES_H
4#define CONCORD_TYPES_H
5
6#include <stddef.h>
7#include <stdint.h>
8
22typedef uint64_t u64unix_ms;
28typedef uint64_t u64snowflake;
29
35typedef uint64_t u64bitmask;
36
44typedef char json_char;
45
49 char *start;
51 size_t size;
54};
55
59 const char *start;
61 size_t size;
62};
63
66#endif /* CONCORD_TYPES_H */
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
uint64_t u64bitmask
Bitmask primitive.
Definition: types.h:35
uint64_t u64unix_ms
Unix time in milliseconds.
Definition: types.h:22
char json_char
Raw JSON string.
Definition: types.h:44
Read-only generic sized buffer.
Definition: types.h:57
size_t size
Definition: types.h:61
const char * start
Definition: types.h:59
Generic sized buffer.
Definition: types.h:47
size_t size
Definition: types.h:51
char * start
Definition: types.h:49
bool is_static
Definition: types.h:53