Top |
lt_script_db_t * | lt_script_db_new () |
lt_script_db_t * | lt_script_db_ref () |
void | lt_script_db_unref () |
lt_script_t * | lt_script_db_lookup () |
This class provides an interface to access Script Database. which has been registered as ISO 15924.
lt_script_db_t *
lt_script_db_new (void
);
Create a new instance of a lt_script_db_t.
lt_script_db_t *
lt_script_db_ref (lt_script_db_t *scriptdb
);
Increases the reference count of scriptdb
.
void
lt_script_db_unref (lt_script_db_t *scriptdb
);
Decreases the reference count of scriptdb
. when its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
lt_script_t * lt_script_db_lookup (lt_script_db_t *scriptdb
,const char *subtag
);
Lookup lt_script_t
if subtag
is valid and registered into the database.
typedef struct _lt_script_db_t lt_script_db_t;
All the fields in the lt_script_db_t structure are private to the lt_script_db_t implementation.