-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add signext/zeroext attributes to small integer ccall arguments.
fixes #978
- Loading branch information
1 parent
a86d6d0
commit c8041e7
Showing
3 changed files
with
25 additions
and
2 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,3 +1,3 @@ | ||
ccall_test_func(x) = ccall((:testUcharX, "./libccalltest"), Int32, (Int8,), x) | ||
ccall_test_func(x) = ccall((:testUcharX, "./libccalltest"), Int32, (Uint8,), x) | ||
@assert ccall_test_func(3) == 1 | ||
@assert ccall_test_func(259) == 1 |