cmData.h/c: Commented out uncompilable bits.

This commit is contained in:
kevin 2013-11-19 11:07:22 -05:00
parent e6933b61d2
commit ebef000a27
2 changed files with 8 additions and 3 deletions

View File

@ -1009,6 +1009,7 @@ cmDtRC_t cmDataDoubleArray( const cmData_t* d, double** v )
return kOkDtRC; return kOkDtRC;
} }
#ifdef NOT_DEF
cmDtRC_t cmDataStrArray( const cmData_t* d, cmChar_t*** v ) cmDtRC_t cmDataStrArray( const cmData_t* d, cmChar_t*** v )
{ {
} }
@ -1016,7 +1017,7 @@ cmDtRC_t cmDataStrArray( const cmData_t* d, cmChar_t*** v )
cmDtRC_t cmDataConstStrArray( const cmData_t* d, const cmChar_t*** v ) cmDtRC_t cmDataConstStrArray( const cmData_t* d, const cmChar_t*** v )
{ {
} }
#endif
@ -1754,6 +1755,8 @@ cmData_t* cmDataRecdAllocIdA( cmData_t* parent, ... )
return p; return p;
} }
#ifdef NOT_DEF
cmDtRC_t _cmDataRecdParseV(cmData_t* p, bool idFl, cmErr_t* err, unsigned errRC, va_list vl ) cmDtRC_t _cmDataRecdParseV(cmData_t* p, bool idFl, cmErr_t* err, unsigned errRC, va_list vl )
{ {
bool contFl = true; bool contFl = true;
@ -2850,3 +2853,4 @@ void cmDataTest( cmCtx_t* ctx )
cmRptPrintf(&ctx->rpt,"Done!.\n"); cmRptPrintf(&ctx->rpt,"Done!.\n");
} }
#endif

View File

@ -127,7 +127,7 @@ extern "C" {
unsigned flags; // unsigned flags; //
struct cmData_str* parent; // this childs parent struct cmData_str* parent; // this childs parent
struct cmData_str* sibling; // this childs left sibling struct cmData_str* sibling; // this childs left sibling
unsigned cnt; // byte cnt for strings/blobs and ele count for arrays unsigned cnt; // byte cnt for strings/blobs and ele count for arrays
union union
{ {
@ -146,6 +146,7 @@ extern "C" {
void* vp; void* vp;
/*
char* cp; char* cp;
unsigned char* ucp; unsigned char* ucp;
short* sp; short* sp;
@ -156,7 +157,7 @@ extern "C" {
unsigned long* ulp; unsigned long* ulp;
float* fp; float* fp;
double* dp; double* dp;
*/
struct cmData_str* child; // first child (list,record,pair) struct cmData_str* child; // first child (list,record,pair)
} u; } u;