소스 검색

cmData.h/c: Commented out uncompilable bits.

master
kevin 10 년 전
부모
커밋
ebef000a27
2개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 5
    1
      cmData.c
  2. 3
    2
      cmData.h

+ 5
- 1
cmData.c 파일 보기

@@ -1009,6 +1009,7 @@ cmDtRC_t cmDataDoubleArray(    const cmData_t* d, double** v )
1009 1009
   return kOkDtRC;
1010 1010
 }
1011 1011
 
1012
+#ifdef NOT_DEF
1012 1013
 cmDtRC_t cmDataStrArray(       const cmData_t* d, cmChar_t*** v )
1013 1014
 {
1014 1015
 }
@@ -1016,7 +1017,7 @@ cmDtRC_t cmDataStrArray(       const cmData_t* d, cmChar_t*** v )
1016 1017
 cmDtRC_t cmDataConstStrArray(  const cmData_t* d, const cmChar_t*** v )
1017 1018
 {
1018 1019
 }
1019
-
1020
+#endif
1020 1021
 
1021 1022
 
1022 1023
 
@@ -1754,6 +1755,8 @@ cmData_t*       cmDataRecdAllocIdA( cmData_t* parent, ... )
1754 1755
   return p;
1755 1756
 }
1756 1757
 
1758
+#ifdef NOT_DEF
1759
+
1757 1760
 cmDtRC_t _cmDataRecdParseV(cmData_t* p, bool idFl, cmErr_t* err, unsigned errRC, va_list vl )
1758 1761
 {
1759 1762
   bool      contFl = true;
@@ -2850,3 +2853,4 @@ void     cmDataTest( cmCtx_t* ctx )
2850 2853
   cmRptPrintf(&ctx->rpt,"Done!.\n");
2851 2854
 }
2852 2855
 
2856
+#endif

+ 3
- 2
cmData.h 파일 보기

@@ -127,7 +127,7 @@ extern "C" {
127 127
     unsigned            flags;     // 
128 128
     struct cmData_str*  parent;    // this childs parent
129 129
     struct cmData_str*  sibling;   // this childs left sibling
130
-    unsigned            cnt;    // byte cnt for strings/blobs and ele count for arrays
130
+    unsigned            cnt;       // byte cnt for strings/blobs and ele count for arrays
131 131
 
132 132
     union
133 133
     {
@@ -146,6 +146,7 @@ extern "C" {
146 146
 
147 147
       void*             vp;
148 148
 
149
+      /*
149 150
       char*             cp;
150 151
       unsigned char*   ucp;
151 152
       short*            sp;
@@ -156,7 +157,7 @@ extern "C" {
156 157
       unsigned long*   ulp;
157 158
       float*            fp;
158 159
       double*           dp;
159
-
160
+      */
160 161
 
161 162
       struct cmData_str* child; // first child (list,record,pair)
162 163
     } u;

Loading…
취소
저장