This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS: Capitol V in Void

Tool/software: TI-RTOS

The TI-RTOS examples use "Void" instead of "void". Why is this?

It seems like Void is void:

#define Void xdc_Void
#define xdc_Void        void

Is Void ever not void? 

  • Hi Peter,

    Since DSP/BIOS ran on multiple different devices with different sizes, it supplied a standardized set of data types (e.g. Int, Uns, etc.). To be complete, it also did Void (which is just void). Please note, this was pre-C99 which defined types like int32_t.

    SYS/BIOS (and products that are based on XDCtools) maintain those data types (mostly for historical reasons).

    Todd
  • Peter was (not) alone in having that question.      Nicely answered - especially your mention of "pre-C99" and its defined types...