diff --git a/src/c_wrapper.jl b/src/c_wrapper.jl index 2c514c7..ff4e8f3 100644 --- a/src/c_wrapper.jl +++ b/src/c_wrapper.jl @@ -5,12 +5,6 @@ abstract type AbstractSCSType end -Base.cconvert(::Type{Ptr{Cvoid}}, x::AbstractSCSType) = x - -function Base.unsafe_convert(::Type{Ptr{Cvoid}}, x::AbstractSCSType) - return pointer_from_objref(x) -end - mutable struct ScsMatrix{T} <: AbstractSCSType values::Ptr{Cdouble} rowval::Ptr{T}