This is the default string factory, that is responsible for creating empty string objects, e.g. when a variable is declared
| 628 | |
| 629 | // This is the default string factory, that is responsible for creating empty string objects, e.g. when a variable is declared |
| 630 | static CScriptString *StringDefaultFactory() |
| 631 | { |
| 632 | // Allocate and initialize with the default constructor |
| 633 | return new CScriptString(); |
| 634 | } |
| 635 | |
| 636 | static CScriptString *StringCopyFactory(const CScriptString &other) |
| 637 | { |
no outgoing calls
no test coverage detected