-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test functionality of automatic conversion in ccall
This adds tests for the `cconvert` method used implicitly during `ccall`s. When designing the tests, though, it became obvious that real-world conversion to `Cint` arguments (such as calls to `mmap` in UnixMmap.jl) weren't covered by the existing method. Change the behavior to allow for conversion to any integer type which can be represented by the destination type.
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 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