The m17n Library: m17n-core.c File Reference

# m17n-core.c File Reference

## Defines
#define | M17NLIB_MAJOR_VERSION
#define | M17NLIB_MINOR_VERSION
#define | M17NLIB_PATCH_LEVEL
#define | M17NLIB_VERSION_NAME
#define | M17N_INIT()
| Initialize the m17n library.
#define | M17N_FINI()
| Finalize the m17n library.
## Functions
enum M17NStatus | m17n_status (void)
| Report which part of the m17n library is initialized.
void * | m17n_object (int size, void(*freer)(void *))
| Allocate a managed object.
int | m17n_object_ref (void *object)
| Increment the reference count of a managed object.
int | m17n_object_unref (void *object)
| Decrement the reference count of a managed object.
int | mdebug_hook ()
| Hook function called on an error.
## Variables
int | merror_code
| External variable to hold error code of the m17n library.
void(* | m17n_memory_full_handler )(enum MErrorCode err)
| Memory allocation error handler.