#include #include "simdata.h" struct simdata_t *init_simdata(){ struct simdata_t * ret=malloc(sizeof(struct simdata_t)); if(ret){ ret->current_clock=0; } return ret; } void free_simdata(struct simdata_t *p){ free(p); }