Hi All, I have a ring buffer that contains variable length messages with a 4 byte header ( which contains the size , type and some flags ) followed by 0..n caller specified data. Data Alignment may be 4 , 8 , 16 ,32 or 64 bytes depending on the buffer ( header alignment is hence 4 bytes) .
The Api is of the form data_ptr send ( type, size , flags); clients then writes a structure to the data pointer possibly using SSE . OR void small_send ( type , size , flags , &buffer); I see there is a word type to hold pointers but don't see any pointer type operators such as * and & in the spec did I miss them ? Is this scheme possible in BitC or is a wrapper around C better ? Ben _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
