#include "helpers.h" #include #include namespace Code { namespace Helpers { bool PythonTextForEvent(Ion::Events::Event event, char * buffer, bool * shouldRemoveLastCharacter) { for (size_t i=0; iXNT('x', shouldRemoveLastCharacter); buffer[UTF8Decoder::CodePointToChars(XNT, buffer, CodePoint::MaxCodePointCharLength + 1)] = 0; return true; } return false; } } } }