-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,44 @@ | ||
$ ocaml-bindgen libsql.h libsql | ||
$ cat dune | ||
|
||
; automatically generated by ocaml-bindgen 0.0.1 | ||
(library | ||
(name libsql) | ||
(foreign_stubs | ||
(language c) | ||
(names caml_libsql.c) | ||
(flags | ||
(:standard -O2)))) | ||
|
||
$ cat libsql.ml | ||
(* automatically generated by ocaml-bindgen 0.0.1 *) | ||
type a | ||
type a | ||
type a | ||
type a | ||
type a | ||
type a | ||
type a | ||
type a | ||
$ cat caml_libsql.c | ||
/* automatically generated by ocaml-bindgen 0.0.1 */ | ||
struct { | ||
}; | ||
struct | ||
libsql_connection { | ||
}; | ||
struct libsql_database | ||
{ | ||
}; | ||
struct libsql_row { | ||
}; | ||
struct libsql_rows { | ||
}; | ||
struct | ||
libsql_rows_future { | ||
}; | ||
struct libsql_stmt { | ||
}; | ||
struct { | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
$ ocaml-bindgen empty.c empty | ||
$ cat dune | ||
|
||
; automatically generated by ocaml-bindgen 0.0.1 | ||
(library | ||
(name empty) | ||
(foreign_stubs | ||
(language c) | ||
(names caml_empty.c) | ||
(flags | ||
(:standard -O2)))) | ||
|
||
$ cat empty.ml | ||
(* automatically generated by ocaml-bindgen 0.0.1 *) | ||
|
||
$ cat caml_empty.c | ||
/* automatically generated by ocaml-bindgen 0.0.1 */ | ||
|