Skip to content

Commit

Permalink
Pass nothing to Nothing ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Oct 25, 2023
1 parent ba24600 commit 23463b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tracepoints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function wrap_tracepoint_args(argspec)
args_ex = Expr(:tuple, argspec.argvalues...)
args_box = :($T_nt($args_ex))
elseif abi_type == :Nothing
args_box = :()
args_box = :(nothing)
else
args_box = only(argspec.argvalues)
arg_name = only(argspec.argnames)
Expand Down

0 comments on commit 23463b9

Please sign in to comment.