LINUX function to return the length of a utf-16 C string.
| 2737 | |
| 2738 | // LINUX function to return the length of a utf-16 C string. |
| 2739 | size_t ASLibrary::utf16len(const utf16_t* utf16In) const |
| 2740 | { |
| 2741 | size_t length = 0; |
| 2742 | while (*utf16In++ != '\0') |
| 2743 | length++; |
| 2744 | return length; |
| 2745 | } |
| 2746 | |
| 2747 | #endif // _WIN32 |
| 2748 | #endif // ASTYLE_LIB |
nothing calls this directly
no outgoing calls
no test coverage detected