-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix memory management to use managed memory instead of naked pointer (#…
…96)
- Loading branch information
Showing
9 changed files
with
43 additions
and
83 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
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
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,8 +1,4 @@ | ||
external read_jpeg_image : | ||
string -> | ||
int | ||
* int | ||
* (int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t | ||
* 'a = "read_jpeg_file_to_tuple" | ||
|
||
external cleanup_jpg : 'a -> unit = "cleanup_jpg" [@@noalloc] | ||
int * int * (int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t | ||
= "read_jpeg_file_to_tuple" |
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
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
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,6 +1,4 @@ | ||
external read_png_image : | ||
string -> | ||
int | ||
* int | ||
* (int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t | ||
* 'a = "read_png_file" | ||
int * int * (int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t | ||
= "read_png_file" |
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
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,8 +1,4 @@ | ||
external load : | ||
string -> | ||
int | ||
* int | ||
* (int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t | ||
* 'a = "read_tiff_file_to_tuple" | ||
|
||
external cleanup_tiff : 'a -> unit = "cleanup_tiff" [@@noalloc] | ||
int * int * (int32, Bigarray.int32_elt, Bigarray.c_layout) Bigarray.Array1.t | ||
= "read_tiff_file_to_tuple" |
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