Uncomment code

FossilOrigin-Name: 86b1b76ca8f2b42a92c7099649f3f8c0f6bb704056645116dac6715aa935e324
This commit is contained in:
nekobit 2022-10-13 11:32:26 +00:00
parent 61b4c20f2e
commit bb8dedb37e

View file

@ -276,42 +276,42 @@ HV* perlify_post_values(struct post_values* post)
HV* ssn_post_hv = newHV();
// This ugly...
/* hv_stores(ssn_post_hv, "theme", newSVpv(keystr(post->theme), 0)); */
/* hv_stores(ssn_post_hv, "themeclr", newSViv(keyint(post->themeclr))); */
/* hv_stores(ssn_post_hv, "lang", newSViv(keyint(post->lang))); */
/* hv_stores(ssn_post_hv, "title", newSViv(keyint(post->title))); */
/* hv_stores(ssn_post_hv, "jsactions", newSViv(keyint(post->jsactions))); */
/* hv_stores(ssn_post_hv, "jsreply", newSViv(keyint(post->jsreply))); */
/* hv_stores(ssn_post_hv, "jslive", newSViv(keyint(post->jslive))); */
/* hv_stores(ssn_post_hv, "js", newSViv(keyint(post->js))); */
/* hv_stores(ssn_post_hv, "interact_img", newSViv(keyint(post->interact_img))); */
/* hv_stores(ssn_post_hv, "stat_attachments", newSViv(keyint(post->stat_attachments))); */
/* hv_stores(ssn_post_hv, "stat_greentexts", newSViv(keyint(post->stat_greentexts))); */
/* hv_stores(ssn_post_hv, "stat_dope", newSViv(keyint(post->stat_dope))); */
/* hv_stores(ssn_post_hv, "stat_oneclicksoftware", newSViv(keyint(post->stat_oneclicksoftware))); */
/* hv_stores(ssn_post_hv, "stat_emojo_likes", newSViv(keyint(post->stat_emojo_likes))); */
/* hv_stores(ssn_post_hv, "stat_hide_muted", newSViv(keyint(post->stat_hide_muted))); */
/* hv_stores(ssn_post_hv, "instance_show_shoutbox", newSViv(keyint(post->instance_show_shoutbox))); */
/* hv_stores(ssn_post_hv, "instance_panel", newSViv(keyint(post->instance_panel))); */
/* hv_stores(ssn_post_hv, "notif_embed", newSViv(keyint(post->notif_embed))); */
/* hv_stores(ssn_post_hv, "set", newSViv(keyint(post->set))); */
/* hv_stores(ssn_post_hv, "only_media", newSViv(keyint(post->only_media))); */
/* hv_stores(ssn_post_hv, "replies_only", newSViv(keyint(post->replies_only))); */
/* hv_stores(ssn_post_hv, "replies_policy", newSViv(keyint(post->replies_policy))); */
/* hv_stores(ssn_post_hv, "emojoindex", newSViv(keyint(post->emojoindex))); */
/* hv_stores(ssn_post_hv, "sidebar_opacity", newSViv(keyint(post->sidebar_opacity))); */
/* hv_stores(ssn_post_hv, "file_ids", newSVpv(keystr(post->file_ids), 0)); */
/* hv_stores(ssn_post_hv, "content", newSVpv(keystr(post->content), 0)); */
/* hv_stores(ssn_post_hv, "itype", newSVpv(keystr(post->itype), 0)); */
/* hv_stores(ssn_post_hv, "id", newSVpv(keystr(post->id), 0)); */
/* hv_stores(ssn_post_hv, "username", newSVpv(keystr(post->username), 0)); */
/* hv_stores(ssn_post_hv, "password", newSVpv(keystr(post->password), 0)); */
/* hv_stores(ssn_post_hv, "replyid", newSVpv(keystr(post->replyid), 0)); */
/* hv_stores(ssn_post_hv, "visibility", newSVpv(keystr(post->visibility), 0)); */
/* hv_stores(ssn_post_hv, "instance", newSVpv(keystr(post->instance), 0)); */
/* hv_stores(ssn_post_hv, "min_id", newSVpv(keystr(post->min_id), 0)); */
/* hv_stores(ssn_post_hv, "max_id", newSVpv(keystr(post->max_id), 0)); */
/* hv_stores(ssn_post_hv, "start_id", newSVpv(keystr(post->start_id), 0)); */
hv_stores(ssn_post_hv, "theme", newSVpv(keystr(post->theme), 0));
hv_stores(ssn_post_hv, "themeclr", newSViv(keyint(post->themeclr)));
hv_stores(ssn_post_hv, "lang", newSViv(keyint(post->lang)));
hv_stores(ssn_post_hv, "title", newSViv(keyint(post->title)));
hv_stores(ssn_post_hv, "jsactions", newSViv(keyint(post->jsactions)));
hv_stores(ssn_post_hv, "jsreply", newSViv(keyint(post->jsreply)));
hv_stores(ssn_post_hv, "jslive", newSViv(keyint(post->jslive)));
hv_stores(ssn_post_hv, "js", newSViv(keyint(post->js)));
hv_stores(ssn_post_hv, "interact_img", newSViv(keyint(post->interact_img)));
hv_stores(ssn_post_hv, "stat_attachments", newSViv(keyint(post->stat_attachments)));
hv_stores(ssn_post_hv, "stat_greentexts", newSViv(keyint(post->stat_greentexts)));
hv_stores(ssn_post_hv, "stat_dope", newSViv(keyint(post->stat_dope)));
hv_stores(ssn_post_hv, "stat_oneclicksoftware", newSViv(keyint(post->stat_oneclicksoftware)));
hv_stores(ssn_post_hv, "stat_emojo_likes", newSViv(keyint(post->stat_emojo_likes)));
hv_stores(ssn_post_hv, "stat_hide_muted", newSViv(keyint(post->stat_hide_muted)));
hv_stores(ssn_post_hv, "instance_show_shoutbox", newSViv(keyint(post->instance_show_shoutbox)));
hv_stores(ssn_post_hv, "instance_panel", newSViv(keyint(post->instance_panel)));
hv_stores(ssn_post_hv, "notif_embed", newSViv(keyint(post->notif_embed)));
hv_stores(ssn_post_hv, "set", newSViv(keyint(post->set)));
hv_stores(ssn_post_hv, "only_media", newSViv(keyint(post->only_media)));
hv_stores(ssn_post_hv, "replies_only", newSViv(keyint(post->replies_only)));
hv_stores(ssn_post_hv, "replies_policy", newSViv(keyint(post->replies_policy)));
hv_stores(ssn_post_hv, "emojoindex", newSViv(keyint(post->emojoindex)));
hv_stores(ssn_post_hv, "sidebar_opacity", newSViv(keyint(post->sidebar_opacity)));
hv_stores(ssn_post_hv, "file_ids", newSVpv(keystr(post->file_ids), 0));
hv_stores(ssn_post_hv, "content", newSVpv(keystr(post->content), 0));
hv_stores(ssn_post_hv, "itype", newSVpv(keystr(post->itype), 0));
hv_stores(ssn_post_hv, "id", newSVpv(keystr(post->id), 0));
hv_stores(ssn_post_hv, "username", newSVpv(keystr(post->username), 0));
hv_stores(ssn_post_hv, "password", newSVpv(keystr(post->password), 0));
hv_stores(ssn_post_hv, "replyid", newSVpv(keystr(post->replyid), 0));
hv_stores(ssn_post_hv, "visibility", newSVpv(keystr(post->visibility), 0));
hv_stores(ssn_post_hv, "instance", newSVpv(keystr(post->instance), 0));
hv_stores(ssn_post_hv, "min_id", newSVpv(keystr(post->min_id), 0));
hv_stores(ssn_post_hv, "max_id", newSVpv(keystr(post->max_id), 0));
hv_stores(ssn_post_hv, "start_id", newSVpv(keystr(post->start_id), 0));
return ssn_post_hv;
}