Fix bug where defvar and friends didn't work

One function was private that didn't need to be since it was being used
by the macros. This commit just makes it public.
This commit is contained in:
Joshua Suskalo 2023-03-28 14:11:14 -05:00
parent 2c45d8e875
commit 218545feb7
No known key found for this signature in database
GPG key ID: 9B6BA586EFF1B9F0

View file

@ -186,7 +186,7 @@
[handle args ret] [handle args ret]
(insn/new-instance (downcall-class args ret) ^MethodHandle handle)) (insn/new-instance (downcall-class args ret) ^MethodHandle handle))
(defn- ensure-symbol (defn ensure-symbol
"Returns the argument if it is a [[MemorySegment]], otherwise "Returns the argument if it is a [[MemorySegment]], otherwise
calls [[find-symbol]] on it." calls [[find-symbol]] on it."
^MemorySegment [symbol-or-addr] ^MemorySegment [symbol-or-addr]