Bindings to C library.
nikita
nikita at thenews.kz
Mon Sep 21 22:42:26 PDT 2009
Hello.
I've started to learn D and now I'm trying to create a binding for libenca, but how do i translate the statement below?
| const char** enca_get_languages (size_t *n);
Citation from Enca's library reference manual:
| Returns list of known languages.
| The returned strings are two-letter ISO-639 language codes, the same as enca_analyser_alloc() accepts.
| The list of languages has to be freed by caller; the strings themselves must be considered constant and must NOT be freed.
| n : The number of languages will be stored here.
| Returns : The list of languages, storing their number into *n.
More information about the Digitalmars-d-learn
mailing list