DYNAMICALLY_ALLOCATED()

The DYNAMICALLY_ALLOCATED macro is used in the Create() operation to distinguish between dynamically allocated and statically allocated instances. This difference allows the use of termination connectors in the state charts of statically allocated instances.

The definition of DYNAMICALLY_ALLOCATED() is as follows:

#define DYNAMICALLY_ALLOCATED(object) {   
RiCReactive_setshouldDelete(&object->ric_reactive,
   RiCTRUE); 
}

Feedback