| 36 | } |
| 37 | |
| 38 | int GetRawStringData(const void *str, char *data, asUINT *length) const |
| 39 | { |
| 40 | if (length) *length = asBStrLength(*reinterpret_cast<asBSTR*>(const_cast<void*>(str))); |
| 41 | if (data) memcpy(data, *reinterpret_cast<void**>(const_cast<void*>(str)), asBStrLength(*reinterpret_cast<asBSTR*>(const_cast<void*>(str)))); |
| 42 | return 0; |
| 43 | } |
| 44 | } bstrFactory; |
| 45 | |
| 46 | void RegisterBStr(asIScriptEngine *engine) |
no test coverage detected