Displaying 10 results from an estimated 10 matches for "oargs".
Did you mean:
args
2003 May 14
0
vnconfig(8), bin/45754
Hello,
I am going to commit a patch below, it fixes several cases when
vnconfig(8) fails but returns zero exit status.
Are there any objections?
http://www.freebsd.org/cgi/query-pr.cgi?pr=45754
Index: vnconfig.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/vnconfig/vnconfig.c,v
retrieving revision 1.13.2.6
diff -u -r1.13.2.6 vnconfig.c
2019 Aug 09
0
[PATCH libnbd 2/2] generator: Change handling of Flags to be a true optional argument.
...n" name (ocaml_fundecl_to_string args optargs ret);
pr "(** %s\n" shortdesc;
pr "\n";
@@ -4785,19 +4805,18 @@ external close : t -> unit = \"nbd_internal_ocaml_nbd_close\"
";
List.iter (
- fun (name, { args; ret }) ->
- let oargs = args_to_ocaml_args args in
- pr "external %s : %s\n" name (ocaml_fundecl_to_string oargs ret);
+ fun (name, { args; optargs; ret }) ->
+ pr "external %s : %s\n" name (ocaml_fundecl_to_string args optargs ret);
pr " = ";
(* In OCaml, a...
2019 Aug 09
4
[PATCH libnbd 0/2] generator: Preparatory changes to the generator.
These are some simplifications to the generator. They don't probably
make much sense on their own, but they are preparatory to better
handling of enums, and or'd lists of flags.
Rich.
2000 Jan 17
1
lwd patches for "contour"
..._dendwindow, 0, 111, 6, PP_FUNCALL},
*** src/main/plot3d.c.orig Mon Jan 17 11:08:08 2000
--- src/main/plot3d.c Mon Jan 17 13:47:03 2000
***************
*** 396,408 ****
}
}
! /* contour(x,y,z, levels, col, lty) */
SEXP do_contour(SEXP call, SEXP op, SEXP args, SEXP env)
{
! SEXP oargs, c, x, y, z, col, lty;
! int i, j, nx, ny, nc, ncol, nlty;
int ltysave, colsave;
double atom, zmin, zmax;
char *vmax, *vmax0;
DevDesc *dd = CurrentDevice();
--- 396,409 ----
}
}
! /* contour(x,y,z, levels, col, lty, lwd) */
SEXP do_contour(SEXP call, SEXP op...
2012 Apr 27
4
GSoC xapian node binding
Posting recent offline discussion...
On Fri, Apr 27, 2012 at 10:55 AM, Marius Tibeica <mtibeica at gmail.com> wrote:
> Hi Liam,
>
> I've added the Enquire class and designed a query spec structured as a JS
> object. Hope you like it :)
> I'll probably be off a few days (there is a national holiday Tuesday which
> means i have a long weekend :D) but maybe I'll
2019 Jul 16
0
[libnbd PATCH 2/2] RFC: generator: Handle shared callbacks in Python
...pr " /* callbacks not implemented yet */\n"
| OCamlArg (Path n) | OCamlArg (String n) ->
pr " const char *%s = String_val (%sv);\n" n n
| OCamlArg (SockAddrAndLen (n, len)) ->
@@ -4818,6 +4819,7 @@ let print_ocaml_binding (name, { args; ret }) =
) oargs;
(* Create wrapper data for callbacks. *)
+ (*
List.iter (
function
| OCamlArg (Opaque n) ->
@@ -4836,6 +4838,7 @@ let print_ocaml_binding (name, { args; ret }) =
)
| _ -> ()
) oargs;
+ *)
let errcode =
match ret with
@@ -4877,13 +4880,12 @@ let pr...
2019 Jul 16
3
[RFC libnbd PATCH 0/2] Start fixing python nbd.pread_structured_callback
Posting now that I got something to compile (at the expense of
breaking OCaml bindings), but I'm open to ideas on how to improve it.
Eric Blake (2):
generator: Tweak print_c_arg_list to take alternate first arg
RFC: generator: Handle shared callbacks in Python
generator/generator | 556 ++++++++++++++++++++++----------------------
1 file changed, 280 insertions(+), 276 deletions(-)
--
2019 Jul 24
0
[PATCH libnbd 1/3] generator: Change Closure so it describes single callbacks.
...e cbname cbname
| OCamlArg (Flags _) -> assert false (* see above *)
| OCamlArg (Int n) ->
pr " int %s = Int_val (%sv);\n" n n
@@ -4975,12 +4888,6 @@ let print_ocaml_binding (name, { args; ret }) =
pr " uint64_t %s = Int64_val (%sv);\n" n n
) oargs;
- (match has_closures with
- | None | Some false -> ()
- | Some true ->
- pr " nbd_add_close_callback (h, free_%s_user_data, user_data);\n" name
- );
-
let errcode =
match ret with
| RBool | RErr | RFd | RInt | RInt64 -> pr " int r;\n"; &quo...
2019 Jul 24
8
[PATCH libnbd v2 0/5] lib: Implement closure lifetimes.
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-July/thread.html#00231
The changes address everything that Eric picked up in his review of
the first two patches. I have also added two more patches (4 and 5)
which respectively fix docs and change int status -> unsigned status,
as discussed.
Passes make, check, check-valgrind.
Rich.
2019 Jul 24
6
[PATCH libnbd 0/3] Implement closure lifetimes.
This implements most of what I wrote here:
https://www.redhat.com/archives/libguestfs/2019-July/msg00213.html