Changeset 745 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/DataTableGenerator.cpp
- Timestamp:
- Sep 10, 2008, 1:53:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/DataTableGenerator.cpp
r591 r745 178 178 179 179 // 文字列バッファをデータ領域へ追加 180 if( compiler.IsUnicode() ) 181 { 182 dataTable.AddWString( Jenga::Common::ToWString( str ) ); 183 } 184 else 185 { 186 dataTable.AddString( str ); 187 } 180 compiler.AddStringToDataTable( str ); 188 181 189 182 return dataTableOffset; … … 239 232 { 240 233 // Charポインタ 241 if( compiler.IsUnicode() ) 242 { 243 strOffset = dataTable.AddWString( Jenga::Common::ToWString( tempParamStr ) ); 244 } 245 else 246 { 247 strOffset = dataTable.AddString( tempParamStr ); 248 } 234 strOffset = compiler.AddStringToDataTable( tempParamStr ); 249 235 } 250 236
Note:
See TracChangeset
for help on using the changeset viewer.