type parameter = string * ptype * prec option
(** API parameter (argument name, type, optional precondition). *)
-type rtype = RErr | Return of ptype
+type rtype = RVoid | Return of ptype
(** API return type. A superset of {!ptype} because we allow the
- special value [RErr] for dealing with errno. *)
+ special value [RVoid] for functions that don't return any value. *)
type ftype = rtype * parameter list * parameter list
(** A function type. Return type, list of required parameters, list
type entry_point = {
ep_loc : Camlp4.PreCast.Loc.t;
+ ep_local : bool;
ep_name : string;
ep_ftype : ftype;
ep_code : c_code option;