| 5940 | } |
| 5941 | |
| 5942 | void AttachStringConvert(ASContext* context) { |
| 5943 | context->RegisterGlobalFunction("float atof(const string &in str)", asFUNCTION(ASatof), asCALL_CDECL); |
| 5944 | context->RegisterGlobalFunction("int atoi(const string &in str)", asFUNCTION(ASatoi), asCALL_CDECL); |
| 5945 | } |
| 5946 | |
| 5947 | void ASWriteString(SavedChunk* chunk, const std::string& str) { |
| 5948 | chunk->desc.AddString(EDF_SCRIPT_PARAMS, str); |
no test coverage detected