General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Low Level
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "why do void* pointers even exist?" video.
Something I think you should explore: typedef struct { ... } TFoo, *PFoo, Foo[1]; then functions that operate on a TFoo take as their argument a PFoo and you in your code declare a Foo. No need to malloc space for it yourself, and if it has internal space to be malloc'd you call FooCreate()/FooDestroy().
1