Min Devkit atoms of atoms

Bálint Laczkó's icon

Dear all~,

TLDR, I am not the most seasoned in C/C++, but have a little experience using the old C api, and now I am making some new objects with the Min api.
I want to create an atoms of atoms. I want a toplevel atoms object, to which I could append other atoms objects (like a [coll] but without the address, only the values) as they come in with anything messages. How does one achieve this? Could someone help me out with a basic code example? Thanks a lot!

Bálint Laczkó's icon

For anyone else struggling, tunrs out the Min api is simpler in this aspect than the old C api, I just needed to make a vector of atoms objects, and it was all done. Then the top level object is a vector instead of an atoms, but that's okay.