Event JSON
{
"id": "c4fbd804639f9c7415424c19d9349c8111cc655b9d6916b2c3dde77e59a051eb",
"pubkey": "269bf643b055ada34b723a876521bd3fc6b6d8357bd4952047d0004e3778a716",
"created_at": 1719975237,
"kind": 1,
"tags": [
[
"e",
"4bd1388f8ac6513fc086fe8291c654b5a1d49602d9ebbbde5cad133cdcdc299e",
"",
"reply"
],
[
"proxy",
"https://mastodon.social/@whitequark/112720297170474019",
"web"
],
[
"p",
"70517381ab3c382310e957f900da12ab82d4ba917641561da3f7fe00c57e52db"
],
[
"p",
"269bf643b055ada34b723a876521bd3fc6b6d8357bd4952047d0004e3778a716"
],
[
"e",
"b1fb495117531b3156a16bfb694bb95cd83760a96e1c6e6b47d965b3804a18ba",
"",
"root"
],
[
"proxy",
"https://mastodon.social/users/whitequark/statuses/112720297170474019",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/whitequark/statuses/112720297170474019",
"pink.momostr"
],
[
"expiration",
"1722568277"
]
],
"content": "cast a pointer to the right type each time you use them?\n\na more principled way (volatile structs are cursed and so are bitfields) are inline accessor methods but i don't expect c devs to use them\n\nin c++, i'd use templates over a const",
"sig": "fda221641bdb8fcf733359b8c0f5cd80f090db14cae1aca001f8ccd25141e35ff219504e3e9acd9b78fa06451c4b2b0a89dc8e62d251f8e5599cc837aff6ae81"
}