- type_t type = PJ_type_get ("MSG_PROCESS_STATE", process_container->type);
- val_t value = pj_value.PJ_value_get ("suspend", type);
- new PushStateEvent (MSG_get_clock(), process_container, type, value);
+ Type* type = PJ_type_get ("MSG_PROCESS_STATE", process_container->type);
+ value* val = value::get("suspend", type);
+ new PushStateEvent(MSG_get_clock(), process_container, type, val);