implied t slur
@tranarchist the Totally Rad Application for Photos
c++ question
ok i think this is just a syntax question now. this is what i have. the relevant constraints are no c++ collection types, and Puppy must take a void*. how do i (within Puppy) call doThing with each item?
typedef struct {
void* items;
int64_t N;
int64_t otherStuff;
} Puppy_args_t;
void Dispatcher()
{
...
FancyType<> *items[N];
for (idx 0..N) {
items[idx] = new FancyType<>()
}
auto puppyArgs =
(Puppy_args_t *)malloc(sizeof(Puppy_args_t));
puppyArgs->items = (void*)items;
puppyArgs->N = N;
puppyArgs->otherStuff = otherStuff;
IndirectCallThingy(Puppy, puppyArgs);
...
}
void Puppy(void* args)
{
// ???????
for (item : items) {
doThing(item);
}
}
void doThing(FancyType<> *item) {...}
dorf fort
the first one was i met up w someone for coffee and the next day saw a tweet with 2k likes that was literally abt us. second was a tiktok of me dancing at a show. thankfully neither had like. identifying details but. freaky. also like those 2 i/a friend happened to see,, idk probably an irrational fear but also . pattern