Skip to content

Commit

Permalink
Regenerate the Julia wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jan 2, 2025
1 parent 09212ea commit 89b586e
Show file tree
Hide file tree
Showing 57 changed files with 6,139 additions and 5,668 deletions.
6 changes: 3 additions & 3 deletions GALAHAD.jl/gen/rewriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ function rewrite!(path::String, name::String, optimized::Bool)
routine_double_int64 = routine_double_int32
routine_quadruple_int64 = routine_quadruple_int32

routine_single_int64 = replace(routine_single_int64, "libgalahad_single" => "libgalahad_single_64")
routine_double_int64 = replace(routine_double_int64, "libgalahad_double" => "libgalahad_double_64")
routine_quadruple_int64 = replace(routine_quadruple_int64, "libgalahad_quadruple" => "libgalahad_quadruple_64")
routine_single_int64 = replace(routine_single_int64, "libgalahad_single.$(fname)_s(" => "libgalahad_single_64.$(fname)_s_64(")
routine_double_int64 = replace(routine_double_int64, "libgalahad_double.$(fname)(" => "libgalahad_double_64.$(fname)_64(")
routine_quadruple_int64 = replace(routine_quadruple_int64, "libgalahad_quadruple.$(fname)_q(" => "libgalahad_quadruple_64.$(fname)_q_64(")

routine_single_int64 = replace(routine_single_int64, "Int32" => "Int64")
routine_double_int64 = replace(routine_double_int64, "Int32" => "Int64")
Expand Down
329 changes: 171 additions & 158 deletions GALAHAD.jl/src/wrappers/arc.jl

Large diffs are not rendered by default.

370 changes: 193 additions & 177 deletions GALAHAD.jl/src/wrappers/bgo.jl

Large diffs are not rendered by default.

351 changes: 184 additions & 167 deletions GALAHAD.jl/src/wrappers/blls.jl

Large diffs are not rendered by default.

213 changes: 110 additions & 103 deletions GALAHAD.jl/src/wrappers/bllsb.jl

Large diffs are not rendered by default.

455 changes: 236 additions & 219 deletions GALAHAD.jl/src/wrappers/bnls.jl

Large diffs are not rendered by default.

291 changes: 152 additions & 139 deletions GALAHAD.jl/src/wrappers/bqp.jl

Large diffs are not rendered by default.

225 changes: 117 additions & 108 deletions GALAHAD.jl/src/wrappers/bqpb.jl

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions GALAHAD.jl/src/wrappers/bsc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ function bsc_initialize(::Type{Float32}, ::Type{Int32}, data, control, status)
end

function bsc_initialize(::Type{Float32}, ::Type{Int64}, data, control, status)
@ccall libgalahad_single_64.bsc_initialize_s(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
status::Ptr{Int64})::Cvoid
@ccall libgalahad_single_64.bsc_initialize_s_64(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
status::Ptr{Int64})::Cvoid
end

function bsc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status)
Expand All @@ -47,9 +47,9 @@ function bsc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status)
end

function bsc_initialize(::Type{Float64}, ::Type{Int64}, data, control, status)
@ccall libgalahad_double_64.bsc_initialize(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
status::Ptr{Int64})::Cvoid
@ccall libgalahad_double_64.bsc_initialize_64(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
status::Ptr{Int64})::Cvoid
end

function bsc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status)
Expand All @@ -59,9 +59,9 @@ function bsc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status)
end

function bsc_initialize(::Type{Float128}, ::Type{Int64}, data, control, status)
@ccall libgalahad_quadruple_64.bsc_initialize_q(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
status::Ptr{Int64})::Cvoid
@ccall libgalahad_quadruple_64.bsc_initialize_q_64(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
status::Ptr{Int64})::Cvoid
end

export bsc_information
Expand All @@ -73,9 +73,10 @@ function bsc_information(::Type{Float32}, ::Type{Int32}, data, inform, status)
end

function bsc_information(::Type{Float32}, ::Type{Int64}, data, inform, status)
@ccall libgalahad_single_64.bsc_information_s(data::Ptr{Ptr{Cvoid}},
inform::Ptr{bsc_inform_type{Float32,Int64}},
status::Ptr{Int64})::Cvoid
@ccall libgalahad_single_64.bsc_information_s_64(data::Ptr{Ptr{Cvoid}},
inform::Ptr{bsc_inform_type{Float32,
Int64}},
status::Ptr{Int64})::Cvoid
end

function bsc_information(::Type{Float64}, ::Type{Int32}, data, inform, status)
Expand All @@ -85,9 +86,9 @@ function bsc_information(::Type{Float64}, ::Type{Int32}, data, inform, status)
end

function bsc_information(::Type{Float64}, ::Type{Int64}, data, inform, status)
@ccall libgalahad_double_64.bsc_information(data::Ptr{Ptr{Cvoid}},
inform::Ptr{bsc_inform_type{Float64,Int64}},
status::Ptr{Int64})::Cvoid
@ccall libgalahad_double_64.bsc_information_64(data::Ptr{Ptr{Cvoid}},
inform::Ptr{bsc_inform_type{Float64,Int64}},
status::Ptr{Int64})::Cvoid
end

function bsc_information(::Type{Float128}, ::Type{Int32}, data, inform, status)
Expand All @@ -97,10 +98,10 @@ function bsc_information(::Type{Float128}, ::Type{Int32}, data, inform, status)
end

function bsc_information(::Type{Float128}, ::Type{Int64}, data, inform, status)
@ccall libgalahad_quadruple_64.bsc_information_q(data::Ptr{Ptr{Cvoid}},
inform::Ptr{bsc_inform_type{Float128,
Int64}},
status::Ptr{Int64})::Cvoid
@ccall libgalahad_quadruple_64.bsc_information_q_64(data::Ptr{Ptr{Cvoid}},
inform::Ptr{bsc_inform_type{Float128,
Int64}},
status::Ptr{Int64})::Cvoid
end

export bsc_terminate
Expand All @@ -112,9 +113,9 @@ function bsc_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform)
end

function bsc_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform)
@ccall libgalahad_single_64.bsc_terminate_s(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
inform::Ptr{bsc_inform_type{Float32,Int64}})::Cvoid
@ccall libgalahad_single_64.bsc_terminate_s_64(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
inform::Ptr{bsc_inform_type{Float32,Int64}})::Cvoid
end

function bsc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform)
Expand All @@ -124,9 +125,9 @@ function bsc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform)
end

function bsc_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform)
@ccall libgalahad_double_64.bsc_terminate(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
inform::Ptr{bsc_inform_type{Float64,Int64}})::Cvoid
@ccall libgalahad_double_64.bsc_terminate_64(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
inform::Ptr{bsc_inform_type{Float64,Int64}})::Cvoid
end

function bsc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform)
Expand All @@ -136,8 +137,8 @@ function bsc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform)
end

function bsc_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform)
@ccall libgalahad_quadruple_64.bsc_terminate_q(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
inform::Ptr{bsc_inform_type{Float128,
Int64}})::Cvoid
@ccall libgalahad_quadruple_64.bsc_terminate_q_64(data::Ptr{Ptr{Cvoid}},
control::Ptr{bsc_control_type{Int64}},
inform::Ptr{bsc_inform_type{Float128,
Int64}})::Cvoid
end
Loading

0 comments on commit 89b586e

Please sign in to comment.