Skip to content

Commit

Permalink
Update dangerous.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRT authored Jan 10, 2024
1 parent b704429 commit 13808f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dangerous.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ function listSetRest(inConsCell::Cons{A}, inNewRest::Nil) where {A} #= A non-emp
local val = inConsCell.head
GC.@preserve unsafe_store!(lstPtr, Cons{A}(inConsCell.head, inNewRest))
return inConsCell
=======
end

function listReverseInPlace(inList::List{T}) where {T}
MetaModelica.listReverse(inList)
end
Expand Down

0 comments on commit 13808f1

Please sign in to comment.