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  Topic is solved

Postby Dohny » Tue Aug 28, 2018 4:30 pm

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 Addict
Posts: 209
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Tue Aug 28, 2018 8:06 pm

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

Postby Dohny » Wed Aug 29, 2018 4:38 pm

Great, thanks.

Who is online

Users browsing this forum: No registered users and 25 guests