aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-01-21 12:06:32 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:35 +0100
commitf5925d65fe5d2fe7bf0293dc43e32ee48d8d4014 (patch)
treeac3519e9c9a01a29190d00c6d4d1493c7fc70c7d
parent14c474465a497019383f16bdd12c09d3ed6069ea (diff)
Julia: Use cfstrdup (not strdup)
-rw-r--r--julia/CrystFEL/src/image.jl2
1 files changed, 1 insertions, 1 deletions
diff --git a/julia/CrystFEL/src/image.jl b/julia/CrystFEL/src/image.jl
index 5b443d05..e11b41c1 100644
--- a/julia/CrystFEL/src/image.jl
+++ b/julia/CrystFEL/src/image.jl
@@ -137,7 +137,7 @@ function Base.getproperty(image::Image, name::Symbol)
end
-strdup(str) = @ccall strdup(str::Cstring)::Cstring
+strdup(str) = @ccall libcrystfel.cfstrdup(str::Cstring)::Cstring
function assert_type(val, type)