Difference between chanend c_test and chanend? c_test Topic is solved

If you have a simple question and just want an answer.
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: 580
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

they're nullable... you can pass it null
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1127
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

Dohny
Member++
Posts: 26
Joined: Tue Dec 03, 2013 6:57 pm

Post by Dohny »

Great, thanks.