Recognizer deleteion safety + data control, remove repeating UTF8ToString() call from event system.
This commit is contained in:
@@ -21,7 +21,8 @@ EMSCRIPTEN_BINDINGS() {
|
||||
.constructor<int, float, CommonModel*>(allow_raw_pointers())
|
||||
.constructor<int, float, CommonModel*, CommonModel*>(allow_raw_pointers())
|
||||
.constructor<int, float, CommonModel*, std::string, int>(allow_raw_pointers())
|
||||
.function("pushData", &Recognizer::pushData, allow_raw_pointers())
|
||||
.function("safeDelete", &Recognizer::safeDelete, allow_raw_pointers())
|
||||
.function("acceptWaveform", &Recognizer::acceptWaveform, allow_raw_pointers())
|
||||
.function("reset", &Recognizer::reset, allow_raw_pointers())
|
||||
.function("setEndpointerMode", &Recognizer::setEndpointerMode, allow_raw_pointers())
|
||||
.function("setEndpointerDelays", &Recognizer::setEndpointerDelays, allow_raw_pointers())
|
||||
|
||||
Reference in New Issue
Block a user