Files
lib_xua/module_usb_aud_shared/usb_buffer/testct_byref.xc
2011-07-07 20:15:51 +01:00

16 lines
317 B
Plaintext

#include <xs1.h>
/* TODO Currently complier does not support inline select functions, hense this is in a seperate file to ensure this is not the case */
#pragma select handler
void testct_byref(chanend c, unsigned &isCt)
{
if (testct(c))
{
isCt = 1;
}
else
{
isCt = 0;
}
}