In pd_defaultbang, what is the reasoning for calling the list method
with a null selector while calling the
anything method with an "&s_bang" selector?
contrary to the list method, the selector for the anything method *does*
carry significant meaning. At the very least, it's necessary for the
default anything method (which prints an error message).
Christof
On 21.06.2020 00:29, Christof Ressi wrote:
Ah, sorry, I misread you're last reply. I thought you were repeating
your first question :-)
On 21.06.2020 00:24, Christof Ressi wrote:
Did you read the discussion I've linked too? To quote Miller:
I'm not sure this is a real problem - _anything and _list methods
simply aren't guaranteed
anything about the "s" argument - it shouldn't ever be dereferenced.
I think this is the answer to your question. Since the selector of a
list message is actually redundant, you're free to pass NULL.
Christof
On 21.06.2020 00:16, Jonathan Wilkes wrote:
> On Saturday, June 20, 2020, 4:02:44 PM EDT, Christof Ressi
<[email protected]> wrote:
> Hi, the selector for a list method certainly shouldn't be "bang",
rather it should be "list".
Let's back up.
Miller,
In pd_defaultbang, what is the reasoning for calling the list method
with a null selector while calling the
anything method with an "&s_bang" selector?
Thanks,
Jonathan
> There has been a discussion about this in the past and I have
agree with IOhannes that Pd shouldn't send NULL selectors:
https://sourceforge.net/p/pure-data/patches/555/.
> Christof
On 20.06.2020 21:19, Jonathan Wilkes via Pd-list wrote:
Hi Miller,
In pd_defaultbang of m_class.c, why does the list method get called
with "0" for a selector instead of "&s_bang" for the c_listmethod
invocation?
Best,
Jonathan
_______________________________________________
[email protected] <mailto:[email protected]> mailing list
UNSUBSCRIBE and account-management
->https://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] <mailto:[email protected]> mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management
->https://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list