Module Cstubs_c_language
Source
Sourceval fresh_var : ?prefix:string -> unit -> string
Sourcetype cfunction = {
fname : string;
allocates : bool;
reads_ocaml_heap : bool;
fn : tfn;
}
Sourcetype cglobal = {
name : string;
typ : ty;
references_ocaml_heap : bool;
}
Sourcetype clocal = [
| `Local of string * ty
]
Sourcetype storage_class = [
| `Static
| `Extern
]
Sourcetype camlop = [
| `CAMLparam0
| `CAMLlocalN of cexp * cexp
| `CAMLdrop
]
Sourcetype cfundec = [
| `Fundec of string * (string * ty) list * ty
]