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

« back to all changes in this revision

Viewing changes to bytecomp/meta.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:
10
10
(*                                                                     *)
11
11
(***********************************************************************)
12
12
 
13
 
(* $Id: meta.ml 6224 2004-04-16 13:46:43Z starynke $ *)
 
13
(* $Id: meta.ml 9547 2010-01-22 12:48:24Z doligez $ *)
14
14
 
15
15
external global_data : unit -> Obj.t array = "caml_get_global_data"
16
16
external realloc_global_data : int -> unit = "caml_realloc_global"
17
17
external static_alloc : int -> string = "caml_static_alloc"
18
18
external static_free : string -> unit = "caml_static_free"
19
19
external static_resize : string -> int -> string = "caml_static_resize"
20
 
external static_release_bytecode : string -> int -> unit = "caml_static_release_bytecode" 
 
20
external static_release_bytecode : string -> int -> unit
 
21
                                 = "caml_static_release_bytecode"
21
22
type closure = unit -> Obj.t
22
23
external reify_bytecode : string -> int -> closure = "caml_reify_bytecode"
23
24
external invoke_traced_function : Obj.t -> Obj.t -> Obj.t -> Obj.t
24
25
                                = "caml_invoke_traced_function"
25
26
external get_section_table : unit -> (string * Obj.t) list
26
 
                                = "caml_get_section_table"
 
27
                           = "caml_get_section_table"