- pData=udata_create(outputDirectory, DATA_TYPE, DATA_PKG "_" DATA_NAME, &dataInfo,
- U_COPYRIGHT_STRING, &errorCode);
- if(U_FAILURE(errorCode)) {
- fprintf(stderr, "gentest: unable to create data memory, error %d\n", errorCode);
- exit(errorCode);
+ pData=udata_create(outputDirectory, DATA_TYPE, DATA_NAME, &dataInfo,
+ U_COPYRIGHT_STRING, errorCode);
+ if(U_FAILURE(*errorCode)) {
+ fprintf(stderr, "gentest: unable to create data memory, error %d\n", *errorCode);
+ exit(*errorCode);