On 11/20/18 5:37 PM, Henri Augusto Bisognini wrote:
why the _inlet and _outlet structures are defined in m_obj.c instead of m_pd.h ?
because that makes them "private" (as opposed to bein part of a public-API (m_pd.h) or a semi-public API (the other header files).
This way i can't access the structure members.
exactly. that was the point of the exercise.
of course it is sometimes disappointing to not have direct access to the data structures you (think you) need. but for the overall API stability of Pd as a whole, private data structures are a very good thing. i wish, more structs would be private.
gfmdsr IOhannes