Skip to content

Commit

Permalink
force cljs int array zero init
Browse files Browse the repository at this point in the history
  • Loading branch information
leonoel committed Apr 10, 2024
1 parent 1829d37 commit 51dda5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyperfiddle/electric/impl/runtime_de.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ T T T -> (EXPR T)
callc (count (.-calls cdef))
nodec (count (.-nodes cdef))
frame (->Frame peer slot rank site ctor
(int-array (inc callc)) (object-array callc) (object-array callc)
(i/int-array (inc callc)) (object-array callc) (object-array callc)
(object-array (inc nodec)) nil)]
(define-slot (->Slot frame (- -1 nodec)) ((.-build cdef) frame)) frame))

Expand Down Expand Up @@ -832,7 +832,7 @@ Returns a peer definition from given definitions and main key.
(aset peer-queue-untap (object-array 1))
(aset peer-queue-toggle (object-array 1))
(aset peer-queue-ready (object-array 1)))
(int-array peer-queues) state)
(i/int-array peer-queues) state)
input (m/stream (m/observe events))
^Frame root (->> args
(eduction (map pure))
Expand Down

0 comments on commit 51dda5f

Please sign in to comment.