Skip to content

Conversation

ben-wes
Copy link
Contributor

@ben-wes ben-wes commented Mar 11, 2025

this uses the mechanism we already had in place for the multichannel handling.

uses the new glist_getrtext if present and otherwise falls back to the previous glist_findrtext

tested with Pd vanilla for official 0.55-2 build and current master including the change.

@ben-wes
Copy link
Contributor Author

ben-wes commented Mar 11, 2025

ah, sorry - had tim's changes in my branch here already! will reset to master and force push ...

EDIT: done

@ben-wes ben-wes force-pushed the fix/glist_getrtext branch from 9fbb9b3 to 3011112 Compare March 11, 2025 09:55
@ben-wes ben-wes force-pushed the fix/glist_getrtext branch from 3011112 to d27256c Compare June 4, 2025 15:06
@ben-wes ben-wes force-pushed the fix/glist_getrtext branch from d27256c to 14c2892 Compare July 27, 2025 09:02
@ben-wes ben-wes force-pushed the fix/glist_getrtext branch from 14c2892 to e4524e1 Compare August 12, 2025 08:04
pdlua.c Outdated
static t_signal_setmultiout g_signal_setmultiout;
// function pointer type for signal_setmultiout (added with Pd 0.54)
typedef void (*t_signal_setmultiout_fn)(t_signal **, int);
static t_signal_setmultiout_fn g_signal_setmultiout;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i find it a bit annoying that this commit mixes the renaming of the typedef of an unrelated function with the fix for the missing glist_findrtext.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true - this is not related. i was reconsidering those type names with the additional function. but it should be fine without this change (struggling a bit with what's "good practice" there). updated the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants