|
HClib
0.3
Documentation for Habanero-C Library API
|
Data-Driven Future API for data-flow like programming. More...
Functions | |
| struct ddf_st * | ddf_create () |
| Allocate and initialize a DDF. More... | |
| struct ddf_st ** | ddf_create_n (size_t nb_ddfs, int null_terminated) |
| Allocate and initialize an array of DDFs. More... | |
| void | ddf_free (struct ddf_st *ddf) |
| Destruct a DDF. More... | |
| void * | ddf_get (struct ddf_st *ddf) |
| Get the value of a DDF. More... | |
| void | ddf_put (struct ddf_st *ddf, void *datum) |
| Put a value in a DDF. More... | |
Data-Driven Future API for data-flow like programming.
|
read |
Allocate and initialize a DDF.
Allocate a DDF and initializes it.
Definition at line 73 of file ddf.c.
Referenced by ddf_create_n().
|
read |
Allocate and initialize an array of DDFs.
| [in] | nb_ddfs | Size of the DDF array |
| [in] | null_terminated | If true, create nb_ddfs-1 and set the last element to NULL. |
Allocate 'nb_ddfs' DDFs in contiguous memory.
Definition at line 83 of file ddf.c.
References ddf_create().
| void ddf_free | ( | struct ddf_st * | ddf | ) |
Destruct a DDF.
| [in] | ddf | The DDF to destruct |
| void* ddf_get | ( | struct ddf_st * | ddf | ) |
Get the value of a DDF.
| [in] | ddf | The DDF to get a value from |
| void ddf_put | ( | struct ddf_st * | ddf, |
| void * | datum | ||
| ) |
Put a value in a DDF.
| [in] | ddf | The DDF to get a value from |
| [in] | datum | The datum to be put in the DDF |
1.8.3.1