Changeset 46 in dev for BasicCompiler_Common/TypeDef.cpp
- Timestamp:
- Feb 6, 2007, 1:19:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/TypeDef.cpp
r4 r46 5 5 6 6 7 CTypeDef::CTypeDef(c har *name,char *base){7 CTypeDef::CTypeDef(const char *name,char *base){ 8 8 lpszName=(char *)malloc(lstrlen(name)+1); 9 9 lstrcpy(lpszName,name); … … 32 32 iNum=0; 33 33 } 34 void CDBTypeDef::add(c har *name,char *base){34 void CDBTypeDef::add(const char *name,char *base){ 35 35 ppobj_TypeDef=(CTypeDef **)realloc(ppobj_TypeDef,(iNum+1)*sizeof(CTypeDef *)); 36 36 ppobj_TypeDef[iNum]=new CTypeDef(name,base); … … 65 65 } 66 66 } 67 int CDBTypeDef::check(c har *name){67 int CDBTypeDef::check(const char *name){ 68 68 int i; 69 69 for(i=0;i<iNum;i++){
Note:
See TracChangeset
for help on using the changeset viewer.