[PD] How to implement an @ argument in an external object?

Antoine Villeret antoine.villeret at gmail.com
Tue Feb 27 11:48:12 CET 2018


hello,

the CicmWrapper offer convinient way to declare and manage attribute (aka @
arguments) inspired by the C74 SDK
take a look at : https://github.com/cicm/cicmwrapper
there are some forks on github that add / fix some things

best

a

--
do it yourself
http://antoine.villeret.free.fr

2018-02-27 0:53 GMT+01:00 Alexandre Torres Porres <porres at gmail.com>:

> that's how we do all "@" arguments in cyclone :)
>
> 2018-02-26 18:01 GMT-03:00 Alexandros <adrcki at gmail.com>:
>
>>
>>
>> On 26/02/2018 09:36 μμ, IOhannes m zmölnig wrote:
>> > On 02/26/2018 08:09 PM, Alexandros wrote:
>> >> Being informed about the mailing list archive correct link, I searched
>> >> for messages about this but didn't find something (it's possible I've
>> >> missed something though).
>> >>
>> >> I'm writing an external and I want to use an @ argument (for example
>> >> "@sync hard"). How does one implement this in C code?
>> >>
>> > either use flext (but then you write C++) and it comes for free.
>> >
>> > or simply iterate over the arguments, looking for symbols starting with
>> > "@" (or simply search for symbols that are "@sync"), then check whether
>> > there's another argument after that and see which value it has.
>> Sounds logical and simple. Will go for that.
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> stinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180227/437fc341/attachment.html>


More information about the Pd-list mailing list