Diff for /parser3/src/include/pa_array.h between versions 1.101 and 1.103

version 1.101, 2024/11/17 14:04:28 version 1.103, 2025/05/27 15:10:24
Line 169  public: Line 169  public:
   
         inline void clear() {          inline void clear() {
                 if(fsize)                  if(fsize)
                         memset(felements, 0, fsize * sizeof(T));                          memset((void *)felements, 0, fsize * sizeof(T));
                 fsize=0;                  fsize=0;
         }          }
   
Line 349  public: Line 349  public:
         inline size_t index() {          inline size_t index() {
                 return findex;                  return findex;
         }          }
   
         inline char* key() {  
                 return pa_uitoa(findex);  
         }  
 };  };
   
 // Robust as used for arrays that can be modified during iteration  // Robust as used for arrays that can be modified during iteration
Line 375  public: Line 371  public:
         inline size_t index() {          inline size_t index() {
                 return findex;                  return findex;
         }          }
   
         inline char *key() {  
                 return pa_uitoa(index());  
         }  
 };  };
 #endif  #endif

Removed from v.1.101  
changed lines
  Added in v.1.103


E-mail: