[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pspell-user] Problems with PspellCanHaveError Type
From: |
Jeff Mace |
Subject: |
[pspell-user] Problems with PspellCanHaveError Type |
Date: |
Wed, 30 May 2001 14:36:07 -0400 (EDT) |
I am having problems with the following code.
PspellConfig * config;
PspellCanHaveError * ret;
PspellManager * checker;
PspellWordList * suggestions;
PspellStringEmulation * elements;
config = new_pspell_config();
pspell_config_replace(config, "language-tag", "en");
ret = new_pspell_manager(config);
checker = 0;
fprintf(stderr, "errorno : %d\n", pspell_error_number(ret));
if (pspell_error_number(ret) != 0) {
fprintf(stderr, "%s\n", pspell_error_message(ret));
} else {
checker = to_pspell_manager(ret);
}
It will compile but the fprintf statement causes an error. Does anybody
have any ideas? Thanks for your help.
Jeff Mace
Advanced Information Technologies
Center for Academic Computing
Pennsylvania State University
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [pspell-user] Problems with PspellCanHaveError Type,
Jeff Mace <=