Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typed_ccall doesn't support vararg ccalls #323

Open
jpsamaroo opened this issue Feb 10, 2023 · 0 comments
Open

typed_ccall doesn't support vararg ccalls #323

jpsamaroo opened this issue Feb 10, 2023 · 0 comments

Comments

@jpsamaroo
Copy link
Collaborator

patchpoint(ptr, args...) = @typed_ccall("llvm.experimental.patchpoint.void", llvmcall, Cvoid, (Int64, Int32, Ptr{Int8}, Int32, Int64...), 1, Int32(8), ptr, Int32(0), args...)
ERROR: syntax: "..." expression outside call around /home/jpsamaroo/.julia/packages/LLVM/qc3sa/src/interop/pointer.jl:277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants