Displaying 2 results from an estimated 2 matches for "abstract_tag".
Did you mean:
abstract_t
2009 Nov 18
1
R_NilValue and segfault.
...Missing argument marker */
So, in my r_data.c file, I have:
-1- an #include directive.
> #include <Rinternals.h>
-2- the function wrapping R data in OCaml data
> CAMLprim value Val_sexp (SEXP sexp)
> {
> CAMLparam0();
> CAMLlocal1(result);
> result = caml_alloc(1, Abstract_tag);
> Field(result, 0) = (value) sexp;
> /* Do not use Val_long in the above statement,
> as it will drop the top bit. See mlvalues.h. */
> CAMLreturn(result);
> }
and a function taking no argument (in the sense of OCaml), and returning
an OCaml object encapsulating a...
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings
to libxl, to make them useful for clients such as xapi/xenopsd (from XCP).
There are a number of bugfixes to the existing bindings as well. I have an
experimental version of xenopsd that successfully uses the new bindings.
An earlier version of the first half of the series was submitted to the last
by Ian Campbell on