Skip to content
Snippets Groups Projects
Commit 95c59497 authored by Alexander Kreft's avatar Alexander Kreft
Browse files

MAINT: typos

parent 62f7a0c5
No related branches found
No related tags found
1 merge request!11F get value
Pipeline #13168 passed
Pipeline: CaosDB Julia Integration Tests

#13170

    ...@@ -2012,7 +2012,7 @@ function set_value( ...@@ -2012,7 +2012,7 @@ function set_value(
    ) )
    elseif in_type <: Number elseif in_type <: Number
    err_code = ccall( err_code = ccall(
    (:caosdb_entity_property_set_int_value, CaosDB.library_name), (:caosdb_entity_property_set_double_value, CaosDB.library_name),
    Cint, Cint,
    (Ref{_Property}, Cdouble), (Ref{_Property}, Cdouble),
    property, property,
    ...@@ -2020,7 +2020,7 @@ function set_value( ...@@ -2020,7 +2020,7 @@ function set_value(
    ) )
    else else
    # Type is a vector now # Type is a vector now
    length = Cint(length(value)) vec_length = Cint(length(value))
    if in_type <: Vector{T} where {T<:AbstractString} if in_type <: Vector{T} where {T<:AbstractString}
    err_code = ccall( err_code = ccall(
    (:caosdb_entity_property_set_string_list_value, CaosDB.library_name), (:caosdb_entity_property_set_string_list_value, CaosDB.library_name),
    ...@@ -2028,7 +2028,7 @@ function set_value( ...@@ -2028,7 +2028,7 @@ function set_value(
    (Ref{_Property}, Ptr{Ptr{Cchar}}, Cint), (Ref{_Property}, Ptr{Ptr{Cchar}}, Cint),
    property, property,
    value, value,
    length, vec_length,
    ) )
    elseif in_type <: Vector{T} where {T<:Bool} elseif in_type <: Vector{T} where {T<:Bool}
    err_code = ccall( err_code = ccall(
    ...@@ -2037,7 +2037,7 @@ function set_value( ...@@ -2037,7 +2037,7 @@ function set_value(
    (Ref{_Property}, Ptr{Bool}, Cint), (Ref{_Property}, Ptr{Bool}, Cint),
    property, property,
    value, value,
    length, vec_length,
    ) )
    elseif in_type <: Vector{T} where {T<:Integer} elseif in_type <: Vector{T} where {T<:Integer}
    err_code = ccall( err_code = ccall(
    ...@@ -2046,16 +2046,16 @@ function set_value( ...@@ -2046,16 +2046,16 @@ function set_value(
    (Ref{_Property}, Ptr{Clong}, Cint), (Ref{_Property}, Ptr{Clong}, Cint),
    property, property,
    Vector{Clong}(value), Vector{Clong}(value),
    length, vec_length,
    ) )
    elseif integer <: Vector{T} where {T<:Number} elseif in_type <: Vector{T} where {T<:Number}
    err_code = ccall( err_code = ccall(
    (:caosdb_entity_property_set_int_list_value, CaosDB.library_name), (:caosdb_entity_property_set_double_list_value, CaosDB.library_name),
    Cint, Cint,
    (Ref{_Property}, Ptr{Cdouble}, Cint), (Ref{_Property}, Ptr{Cdouble}, Cint),
    property, property,
    Vector{Cdouble}(value), Vector{Cdouble}(value),
    length, vec_length,
    ) )
    end end
    end end
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment