From d5744a6229d5206cd682c0f9af5f120902c6b112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Sun, 12 Mar 2023 23:46:32 +0100 Subject: [PATCH] Fix C-type conversion in `Extrae_define_event_type` Fixes #13 --- src/FFI.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FFI.jl b/src/FFI.jl index 932dba5..d57a638 100644 --- a/src/FFI.jl +++ b/src/FFI.jl @@ -131,7 +131,7 @@ MPItrace_neventandcounters(count, types, values) = @ccall lib.MPItrace_neventand OMPtrace_neventandcounters(count, types, values) = @ccall lib.OMPtrace_neventandcounters(count::UInt32, types::Ptr{Type}, values::Ptr{Value})::Cvoid SEQtrace_neventandcounters(count, types, values) = @ccall lib.SEQtrace_neventandcounters(count::UInt32, types::Ptr{Type}, values::Ptr{Value})::Cvoid -Extrae_define_event_type(type, type_description, nvalues, values, values_description) = @ccall lib.Extrae_define_event_type(type::Ref{Type}, type_description::Cstring, nvalues::Ref{UInt32}, values::Ref{Vector{Value}}, values_description::Ptr{Ptr{UInt8}})::Cvoid +Extrae_define_event_type(type, type_description, nvalues, values, values_description) = @ccall lib.Extrae_define_event_type(type::Ref{Type}, type_description::Cstring, nvalues::Ref{UInt32}, values::Vector{Value}, values_description::Ptr{Ptr{UInt8}})::Cvoid Extrae_set_tracing_tasks(from, to) = @ccall lib.Extrae_set_tracing_tasks(from::UInt32, to::UInt32)::Cvoid OMPtrace_set_tracing_tasks(from, to) = @ccall lib.OMPtrace_set_tracing_tasks(from::UInt32, to::UInt32)::Cvoid