diff options
Diffstat (limited to 'ocaml/guestfs_c.h')
-rw-r--r-- | ocaml/guestfs_c.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ocaml/guestfs_c.h b/ocaml/guestfs_c.h index 52b5aeaa..3da41d05 100644 --- a/ocaml/guestfs_c.h +++ b/ocaml/guestfs_c.h @@ -19,6 +19,8 @@ #ifndef GUESTFS_OCAML_C_H #define GUESTFS_OCAML_C_H - +#define Guestfs_val(v) (*((guestfs_h **)Data_custom_val(v))) +extern void ocaml_guestfs_raise_error (guestfs_h *g, const char *func) + Noreturn; #endif /* GUESTFS_OCAML_C_H */ |