ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I have a couple of cases in my API that does a bit more work so I'd like to avoid running things twice. One option that I found working ok is this: struct ResultArray { type* items; int count; int cap; GrowFunc* grow; FreeFunc* free; void* user_ptr; }

May 14, 2025, 2:03 PM

Record data

{
  "uri": "at://did:plc:pdadigepidvacjp3d2a5vvbb/app.bsky.feed.post/3lp564coq7o2k",
  "cid": "bafyreie2yzgjnrv6hypdut4cqpu7bdlxa7wgnztiva2es7zowknynfatuu",
  "value": {
    "text": "I have a couple of cases in my API that does a bit more work so I'd like to avoid running things twice. \n\nOne option that I found working ok is this:\n\nstruct ResultArray {\n   type* items;\n   int count;\n   int cap;\n   GrowFunc* grow;\n   FreeFunc* free;\n   void* user_ptr;\n}",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreicdigty7dd7sihaazd43wetjafger5j3brzihurzhibyw556kw5pu",
        "uri": "at://did:plc:pdadigepidvacjp3d2a5vvbb/app.bsky.feed.post/3lp564comco2k"
      },
      "parent": {
        "cid": "bafyreicdigty7dd7sihaazd43wetjafger5j3brzihurzhibyw556kw5pu",
        "uri": "at://did:plc:pdadigepidvacjp3d2a5vvbb/app.bsky.feed.post/3lp564comco2k"
      }
    },
    "createdAt": "2025-05-14T14:03:46.892Z"
  }
}