Skip to content

Commit

Permalink
test: update results
Browse files Browse the repository at this point in the history
  • Loading branch information
leostera committed Feb 9, 2024
1 parent bceff92 commit 377328c
Showing 1 changed file with 78 additions and 12 deletions.
90 changes: 78 additions & 12 deletions tests/libs/libsql.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,82 @@
type nonrec libsql_stmt
$ cat caml_libsql.c
/* automatically generated by ocaml-bindgen 0.0.1 */
struct libsql_connection {
};
struct libsql_database {
};
struct libsql_row {
};
struct libsql_rows {
};
struct libsql_rows_future {
};
struct libsql_stmt {
};
libsql_connection* caml_libsql_connection_of_value(struct value* caml_x) {
libsql_connection* x = malloc(sizeof(struct libsql_connection));
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

value caml_libsql_connection_to_value(struct libsql_connection* x) {
CAMLparam0();
CAMLlocal1(caml_x);
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

libsql_database* caml_libsql_database_of_value(struct value* caml_x) {
libsql_database* x = malloc(sizeof(struct libsql_database));
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

value caml_libsql_database_to_value(struct libsql_database* x) {
CAMLparam0();
CAMLlocal1(caml_x);
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

libsql_row* caml_libsql_row_of_value(struct value* caml_x) {
libsql_row* x = malloc(sizeof(struct libsql_row));
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

value caml_libsql_row_to_value(struct libsql_row* x) {
CAMLparam0();
CAMLlocal1(caml_x);
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

libsql_rows* caml_libsql_rows_of_value(struct value* caml_x) {
libsql_rows* x = malloc(sizeof(struct libsql_rows));
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

value caml_libsql_rows_to_value(struct libsql_rows* x) {
CAMLparam0();
CAMLlocal1(caml_x);
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

libsql_rows_future* caml_libsql_rows_future_of_value(struct value* caml_x) {
libsql_rows_future* x = malloc(sizeof(struct libsql_rows_future));
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

value caml_libsql_rows_future_to_value(struct libsql_rows_future* x) {
CAMLparam0();
CAMLlocal1(caml_x);
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

libsql_stmt* caml_libsql_stmt_of_value(struct value* caml_x) {
libsql_stmt* x = malloc(sizeof(struct libsql_stmt));
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}

value caml_libsql_stmt_to_value(struct libsql_stmt* x) {
CAMLparam0();
CAMLlocal1(caml_x);
caml_x = caml_alloc_tuple(0);
CAMLreturn(caml_x)
}


0 comments on commit 377328c

Please sign in to comment.