ZZ_HYPER_UTILITIES(util);
Department *root;
void *v[1]; char *t[1];
......
v[0]=root; t[0]= "Department";
util.save("myFile",1,v,t);
......
util.open("myFile",1,v,t);
root=(Department*)(v[0]);
No need to write serialization functions. |