libtconv-0.1 manual
Enumerated lists

Class definition for tconv holds public, anonymous, enumerated list. It is defined as follows:

enum { ok=0, error=0xffffffff };
declared in tconv.h, include tconv.h

It can be used to validate the output of provided functions. In general only tconv::error value indicates an error. There are no warnings or any kind of informational states implemented. The tconv::ok has been defined for the sake of completeness. Testing for it should rather be avoided, since successful condition is also indicated by returning positive integers - like return from tconv::wcs_len(), for example.

Copyright 2015 TinyIT All rights reserved
Last modified 2015-06-04