Concord - C Discord API library
A Discord API wrapper library written in C
|
Attributes of response datatype. More...
#include <discord-internal.h>
Data Fields | |
void * | data |
size_t | size |
void(* | init )(void *data) |
size_t(* | from_json )(const char *json, size_t len, void *data) |
void(* | cleanup )(void *data) |
Attributes of response datatype.
void* discord_ret_response::data |
pointer to datatype
size_t discord_ret_response::size |
size of datatype in bytes
void(* discord_ret_response::init) (void *data) |
initializer function for datatype fields
size_t(* discord_ret_response::from_json) (const char *json, size_t len, void *data) |
populate datatype with JSON values
void(* discord_ret_response::cleanup) (void *data) |
cleanup function for datatype