ec_bag_get

March 26, 2020 Contributors

Name

ec_bag_get — Get a specific data type out of a bag

Synopsis

#include "ec_boh.h"

| void * **ec_bag_get** ( | bag, |   |
|   | typedname); |   |

ec_bag * <var class="pdparam">bag</var>;
const char * <var class="pdparam">typedname</var>;

Description

Get a specific data type out of a bag.

Parameters

bag

The ec_bag.

typedname

The data type that you wish to retrieve, for example int.

Return Values

This function returns a void pointer.

Threading

It is legal to call this function in any thread.