Difference between chanend c_test and chanend? c_test Topic is solved

If you have a simple question and just want an answer.
Post Reply
Dohny
Member++
Posts: 26
Joined: Tue Dec 03, 2013 6:57 pm

Difference between chanend c_test and chanend? c_test

Post by Dohny »

Hi,

sorry for this question, but I haven't seen it documented anywhere. In arguments of tasks in XC I see a lot of chanend c_test, but also chanend? c_test or chanend ?c_test. What is the difference between them? Are the ones with a question-mark passing pointer or something like that?

Thank you.


View Solution
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

they're nullable... you can pass it null
Dohny
Member++
Posts: 26
Joined: Tue Dec 03, 2013 6:57 pm

Post by Dohny »

Great, thanks.
Post Reply