test of DC_seralizeWU API function

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@894 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
drdani 2006-09-06 12:49:33 +00:00 committed by Adam Visegradi
parent 14874f6c19
commit f948e95bee
1 changed files with 8 additions and 0 deletions

View File

@ -224,6 +224,14 @@ t(int what)
DC_destroyWU(wu);
break;
}
case 4:
{
char *s;
wu= create_short();
printf("Ser=\"%s\"\n", s= DC_serializeWU(wu));
free(s);
DC_destroyWU(wu);
}
}
}