Skip to content

Commit d4ccd45

Browse files
committed
Simplify command-line opts API.
1 parent 202a4a8 commit d4ccd45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/support.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
function clopts(opts...)
44
args = ["", opts...]
5-
LLVM.API.LLVMParseCommandLineOptions(Int32(length(args)),
6-
[Base.unsafe_convert(Cstring, arg) for arg in args], C_NULL)
5+
API.LLVMParseCommandLineOptions(length(args), args, C_NULL)
76
end

0 commit comments

Comments
 (0)