~ubuntu-branches/ubuntu/lucid/camomile/lucid

« back to all changes in this revision

Viewing changes to internal/unimap.mli

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall
  • Date: 2005-12-03 01:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20051203011855-qzvwlld1xyqnl62t
Tags: upstream-0.6.3
ImportĀ upstreamĀ versionĀ 0.6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(* $Id: unimap.mli,v 1.2 2003/03/24 20:59:32 yori Exp $ *)
 
2
(* Copyright 2002 Yamagata Yoriyuki *)
 
3
 
 
4
type mapping
 
5
val read_map : mapping -> int -> int
 
6
 
 
7
type mapping_rw
 
8
val create_mapping_rw : int -> mapping_rw
 
9
val mapping_rw_to_ro : mapping_rw -> mapping
 
10
val add_mapping : mapping_rw -> int -> int -> unit
 
11
 
 
12
type t = { enc_to_ucs : mapping; ucs_to_enc : mapping; } 
 
13
type rw = { rw_enc_to_ucs : mapping_rw; rw_ucs_to_enc : mapping_rw; } 
 
14
 
 
15
val create_rw : int -> int -> rw
 
16
val add : rw -> int -> int -> unit
 
17
val rw_to_ro : rw -> t
 
18
val no_char_ucs : t -> int
 
19
val no_char_enc : t -> int
 
20
val enc_to_ucs : t -> int -> int
 
21
val ucs_to_enc : t -> int -> int
 
22
 
 
23
val of_name : string -> t