 |
PK_BODY_change_partition |
|
PK_ERROR_code_t PK_BODY_change_partition
(
--- received arguments ---
PK_BODY_t body, --- body to move
PK_PARTITION_t partition --- partition to move into
)
This function moves the given body and the entities within it into the given
partition, without changing their tags.
Specific Errors:
PK_ERROR_rollback_not_started Partitioned rollback is not active
PK_ERROR_instanced_body The body is instanced
PK_ERROR_entity_not_new Some entity in the body was created before
the last roll operation
If the body is already in the given partition, nothing is done.
Otherwise, the body and entities within it must all have been created since
the last partition mark was set, or rolled to, in the body's original
partition. The body must not be instanced.