aboutsummaryrefslogtreecommitdiff
path: root/julia/CrystFEL/src/datatemplates.jl
diff options
context:
space:
mode:
Diffstat (limited to 'julia/CrystFEL/src/datatemplates.jl')
-rw-r--r--julia/CrystFEL/src/datatemplates.jl3
1 files changed, 2 insertions, 1 deletions
diff --git a/julia/CrystFEL/src/datatemplates.jl b/julia/CrystFEL/src/datatemplates.jl
index 00593286..1030e2ef 100644
--- a/julia/CrystFEL/src/datatemplates.jl
+++ b/julia/CrystFEL/src/datatemplates.jl
@@ -1,5 +1,6 @@
module DataTemplates
+import ..CrystFEL: libcrystfel
export DataTemplate, loaddatatemplate
mutable struct InternalDataTemplate end
@@ -10,7 +11,7 @@ end
function loaddatatemplate(filename::AbstractString)
- out = ccall((:data_template_new_from_file, :libcrystfel),
+ out = ccall((:data_template_new_from_file, libcrystfel),
Ptr{InternalDataTemplate}, (Cstring,), filename)
if out == C_NULL
throw(OutOfMemoryError())