Exemple #1
0
const char *getLastError() {
  return getGlobalError();
}
Exemple #2
0
const char *getParserError() {
  return getGlobalError();
}
Exemple #3
0
const char* mecab_strerror(mecab_t *c) {
  if (!c || !c->allocated)
    return const_cast<char *>(getGlobalError());
  return c->ptr->what();
}