string object

Path: /sdk/add_on/scriptstring/

This add-on registers a string type that is in most situations compatible with the std::string, except that it uses reference counting. This means that if you have an application function that takes a std::string by reference, you can register it with AngelScript to take a script string by reference. This works because the asCScriptString wraps the std::string type, with the std::string type at the first byte of the asCScriptString object.

Register the type with RegisterScriptString(asIScriptEngine*). Register the utility functions with RegisterScriptStringUtils(asIScriptEngine*).

Utility functions:

Todo:
Expand the documentation for script string

Generated on Sun Nov 2 13:14:42 2008 for AngelScript by  doxygen 1.5.6