00001 // 00002 // Script std::string 00003 // 00004 // This function registers the std::string type with AngelScript to be used as the default string type. 00005 // 00006 // The string type is registered as a value type, thus may have performance issues if a lot of 00007 // string operations are performed in the script. However, for relatively few operations, this should 00008 // not cause any problem for most applications. 00009 // 00010 00011 #ifndef SCRIPTSTDSTRING_H 00012 #define SCRIPTSTDSTRING_H 00013 00014 #include "../../../config.h" 00015 #ifdef __COMPILE_WITH_ANGELSCRIPT__ 00016 00017 #include <angelscript.h> 00018 #include <string> 00019 00020 BEGIN_AS_NAMESPACE 00021 00022 void RegisterStdString(asIScriptEngine *engine); 00023 00024 END_AS_NAMESPACE 00025 00026 #endif // __COPILE_WITH_ANGELSCRIPT__ 00027 00028 #endif