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