~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to ocamldoc/odoc_types.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-04-21 21:35:08 UTC
  • mfrom: (1.1.11 upstream) (12.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110421213508-kg34453aqmb0moha
* Fixes related to -output-obj with g++ (in debian/patches):
  - add Declare-primitive-name-table-as-const-char
  - add Avoid-multiple-declarations-in-generated-.c-files-in
  - fix Embed-bytecode-in-C-object-when-using-custom: the closing
    brace for extern "C" { ... } was missing in some cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
(*                                                                     *)
10
10
(***********************************************************************)
11
11
 
12
 
(* $Id: odoc_types.ml 7307 2006-01-04 16:55:50Z doligez $ *)
 
12
(* $Id: odoc_types.ml 10480 2010-05-31 11:52:13Z guesdon $ *)
13
13
 
14
14
type ref_kind =
15
15
    RK_module
41
41
  | Title of int * string option * text
42
42
  | Latex of string
43
43
  | Link of string * text
44
 
  | Ref of string * ref_kind option
 
44
  | Ref of string * ref_kind option * text option
45
45
  | Superscript of text
46
46
  | Subscript of text
47
47
  | Module_list of string list
48
48
  | Index_list
49
49
  | Custom of string * text
 
50
  | Target of string * string
50
51
 
51
52
and text = text_element list
52
53
 
67
68
    i_version : string option;
68
69
    i_sees : see list;
69
70
    i_since : string option;
 
71
    i_before : (string * text) list;
70
72
    i_deprecated : text option;
71
73
    i_params : param list;
72
74
    i_raised_exceptions : raised_exception list;
80
82
  i_version = None ;
81
83
  i_sees = [] ;
82
84
  i_since = None ;
 
85
  i_before = [] ;
83
86
  i_deprecated = None ;
84
87
  i_params = [] ;
85
88
  i_raised_exceptions = [] ;