| 4148 | } |
| 4149 | |
| 4150 | void asCWriter::WriteUsedStringConstants() |
| 4151 | { |
| 4152 | TimeIt("asCWriter::WriteUsedStringConstants"); |
| 4153 | |
| 4154 | asUINT count = (asUINT)usedStringConstants.GetLength(); |
| 4155 | WriteEncodedInt64(count); |
| 4156 | |
| 4157 | asCString str; |
| 4158 | for (asUINT i = 0; i < count; ++i) |
| 4159 | { |
| 4160 | asUINT length; |
| 4161 | engine->stringFactory->GetRawStringData(usedStringConstants[i], 0, &length); |
| 4162 | str.SetLength(length); |
| 4163 | engine->stringFactory->GetRawStringData(usedStringConstants[i], str.AddressOf(), &length); |
| 4164 | WriteString(&str); |
| 4165 | } |
| 4166 | } |
| 4167 | |
| 4168 | void asCWriter::WriteUsedFunctions() |
| 4169 | { |
nothing calls this directly
no test coverage detected