#ifndef OC__STUB_OCAML_H #include #include #include #include #include #define Val_none Val_int(0) value get_opt(value opt, int index); /** * Convert a « string option » to char* or Null */ char* string_opt(const value opt); /** * Store the given value as an option. */ value Val_some(value v); /** * Create a field of one element containing the value v. */ value Val_1field(value v); #endif