P99
#define P99_ENC_DECLARE (   T,
  NAME 
)
Value:
 \
struct NAME {                                                                                                                    \                                                                                                                \
  T p00_val;                                                                                                                     \
};                                                                                                                               \
P99_DECLARE_STRUCT(NAME)

Encapsulate an object of type T in a new type called NAME.

This hides type T inside the new structure type such that the original type is only accessible if asked accessed explicitly.

See also:
P99_ENC to access the hidden type of an object of type NAME
P99_ENCP to access the hidden type of a pointer to object of type NAME
P99_ENC_INIT to initialize a variable of type NAME
Remarks:
argument 0 should correspond to a type that is not a VLA.
argument 1 must be an identifier

Definition at line 171 of file p99_type.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines