Name
ec_bag_put — Put something in the specified bag
Synopsis
#include "ec_boh.h"
| int **ec_bag_put** ( | bag, | |
| | typedname, | |
| | thing); | |
ec_bag * <var class="pdparam">bag</var>;
const char * <var class="pdparam">typedname</var>;
void * <var class="pdparam">thing</var>;
Description
Put something in the bag.
- bag
-
The ec_bag.
- typedname
-
The name of the data type that we are placing in the bag. For an explanation of this seemingly redundant parameter see ec_bag_find.
- thing
-
The item being placed in the bag.
On success, this function returns 1.
It is legal to call this function in any thread.
See Also
Was this page helpful?