VSM C++ SDK
Vehicle Specific Modules SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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...
 
#define DEFINE_DEFAULT_VSM_NAME   namespace ugcs{namespace vsm{const char* Get_vsm_name() {return VSM_PROJECT_NAME;}}}
 
#define DEFINE_VSM_NAME(x)   namespace ugcs{namespace vsm{const char* Get_vsm_name() {return x;}}}
 

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.