typedef CHISE_Feature_Table* CHISE_Feature;
CHISE_Feature
-chise_ds_get_feature (CHISE_DS *ds, const unsigned char *feature);
+chise_ds_get_feature (CHISE_DS *ds, const unsigned char *name);
+
+static inline int
+chise_ds_load_char_feature_value (CHISE_DS *ds,
+ CHISE_Char_ID cid,
+ const unsigned char *name,
+ CHISE_Value *valdatum);
+
+int chise_feature_sync (CHISE_Feature feature);
+
+int chise_char_set_feature_value (CHISE_Char_ID cid,
+ CHISE_Feature feature,
+ unsigned char *value);
int chise_char_load_feature_value (CHISE_Char_ID cid,
CHISE_Feature feature,
CHISE_Value *valdatum);
+static inline int
+chise_ds_load_char_feature_value (CHISE_DS *ds,
+ CHISE_Char_ID cid,
+ const unsigned char *name,
+ CHISE_Value *valdatum)
+{
+ return
+ chise_char_load_feature_value (cid, chise_ds_get_feature (ds, name),
+ valdatum);
+}
+
unsigned char*
chise_char_gets_feature_value (CHISE_Char_ID cid,
CHISE_Feature feature,
typedef CHISE_CCS_Table* CHISE_CCS;
CHISE_CCS
-chise_ds_get_ccs (CHISE_DS *ds, const unsigned char *ccs);
+chise_ds_get_ccs (CHISE_DS *ds, const unsigned char *name);
static inline CHISE_Char_ID
chise_ds_decode_char (CHISE_DS *ds,
const unsigned char *ccs, int code_point);
-CHISE_Char_ID chise_ccs_decode (CHISE_CCS ccs, int code_point);
-
int chise_ccs_set_decoded_char (CHISE_CCS ccs,
int code_point, CHISE_Char_ID cid);
int chise_ccs_sync (CHISE_CCS ccs);
+CHISE_Char_ID chise_ccs_decode (CHISE_CCS ccs, int code_point);
+
static inline CHISE_Char_ID
chise_ds_decode_char (CHISE_DS *ds,
- const unsigned char *ccs, int code_point)
+ const unsigned char *name, int code_point)
{
return
- chise_ccs_decode (chise_ds_get_ccs (ds, ccs), code_point);
+ chise_ccs_decode (chise_ds_get_ccs (ds, name), code_point);
}
#endif /* !_CHISE_H */