Skip to content

Commit 88505cd

Browse files
committed
Remove unneeded code in c_wrapper.jl
1 parent 264f39f commit 88505cd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/c_wrapper.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55

66
abstract type AbstractSCSType end
77

8-
Base.cconvert(::Type{Ptr{Cvoid}}, x::AbstractSCSType) = x
9-
10-
function Base.unsafe_convert(::Type{Ptr{Cvoid}}, x::AbstractSCSType)
11-
return pointer_from_objref(x)
12-
end
13-
148
mutable struct ScsMatrix{T} <: AbstractSCSType
159
values::Ptr{Cdouble}
1610
rowval::Ptr{T}

0 commit comments

Comments
 (0)