pips_entity_get_data()

Updated: April 19, 2023

Retrieve user data attached to an entity

Synopsis:

#include <pips/publication.h>
void* pips_entity_get_data(pips_entity_t *const entity)

Arguments:

entity
A pointer to the entity whose user data will be retrieved

Library:

pips-client

Description:

This function retrieves any user data that was last attached to the given entity.

Returns:

A pointer to any user data currently associated with the given entity. This may be NULL if the entity pointer is NULL or if no user data was attached.