VSM C++ SDK
Vehicle Specific Modules SDK
defs.h File Reference

Common preprocessor definitions. More...

Go to the source code of this file.

Macros

#define __FORMAT(type, fmt_idx, arg_idx)
 Specify that a function has format arguments (like printf or scanf). More...
 
#define __UNUSED   __attribute__((unused))
 Use with unused arguments if you like to declare that it is not (yet) used a the function.
 
#define __PACKED   __attribute__((packed))
 Pack structure or class, i.e. More...
 

Detailed Description

Common preprocessor definitions.

Macro Definition Documentation

#define __FORMAT (   type,
  fmt_idx,
  arg_idx 
)

Specify that a function has format arguments (like printf or scanf).

See 'format' attribute description in GCC documentation (XXX).

#define __PACKED   __attribute__((packed))

Pack structure or class, i.e.

do not allow the compiler to insert paddings for members alignment.