Emojos
FossilOrigin-Name: 7d2eb657382936d0544694297204b77b5205c002af4905b4ef9c73b0f9059cef
This commit is contained in:
parent
64c4c502c3
commit
eb0ab23094
2 changed files with 6 additions and 4 deletions
|
@ -61,8 +61,8 @@ mstdnt_chat_json(struct mstdnt_chat* chat, cJSON* js);
|
|||
|
||||
int
|
||||
mstdnt_chats_json(struct mstdnt_chat* statuses[],
|
||||
size_t* size,
|
||||
cJSON* js);
|
||||
size_t* size,
|
||||
cJSON* js);
|
||||
int
|
||||
mstdnt_message_json(struct mstdnt_message* message, cJSON* js);
|
||||
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
#include <mastodont_json_helper.h>
|
||||
#include <mastodont_emoji.h>
|
||||
|
||||
void load_emoji_from_json(struct mstdnt_emoji* emo, cJSON* emo_json)
|
||||
void
|
||||
load_emoji_from_json(struct mstdnt_emoji* emo, cJSON* emo_json)
|
||||
{
|
||||
cJSON* it;
|
||||
|
||||
|
@ -38,7 +39,8 @@ void load_emoji_from_json(struct mstdnt_emoji* emo, cJSON* emo_json)
|
|||
_mstdnt_key_val_ref(it, refs, _mstdnt_arr_len(refs));
|
||||
}
|
||||
|
||||
void load_emoji_react_from_json(struct mstdnt_emoji_reaction* emo, cJSON* emo_json)
|
||||
void
|
||||
load_emoji_react_from_json(struct mstdnt_emoji_reaction* emo, cJSON* emo_json)
|
||||
{
|
||||
cJSON* it;
|
||||
|
||||
|
|
Loading…
Reference in a new issue