void PackIterateResetCallback(PackPtr self, ObjectPtr obj) { MaxErr err = MAX_ERR_NONE; method graphResetMethod = zgetfn(obj, gensym("graph.reset")); if (graphResetMethod) err = (MaxErr)graphResetMethod(obj); }
void PackIterateResetCallback(PackPtr self, t_object* obj) { t_max_err err = MAX_ERR_NONE; method graphResetMethod = zgetfn(obj, gensym("graph.reset")); if (graphResetMethod) err = (t_max_err)graphResetMethod(obj); }