SimGrid
3.9
Versatile Simulation of Distributed Systems
|
Macros | |
#define | xbt_dynar_get_as(dynar, idx, type) |
Quick retrieval of scalar content. | |
#define | xbt_dynar_set_as(dynar, idx, type, val) |
Quick setting of scalar content. | |
#define | xbt_dynar_getlast_as(dynar, type) |
Quick retrieval of scalar content. | |
#define | xbt_dynar_getfirst_as(dynar, type) |
Quick retrieval of scalar content. | |
#define | xbt_dynar_insert_at_as(dynar, idx, type, value) |
Quick insertion of scalar content. | |
#define | xbt_dynar_push_as(dynar, type, value) |
Quick insertion of scalar content. | |
#define | xbt_dynar_pop_as(dynar, type) |
Quick removal of scalar content. |
While the other functions use a memcpy to retrieve the content into the user provided area, those ones use a regular affectation. It only works for scalar values, but should be a little faster.