Skip to content

Commit 99186bb

Browse files
committed
add get-compatibility-mode
1 parent a0ef0f4 commit 99186bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/msgpack/core.clj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
(defn set-compatibility-mode
1414
([] (set-compatibility-mode true))
1515
([value] (swap! compatibility-mode (fn [_] value))))
16+
17+
(defn get-compatibility-mode [] @compatibility-mode)
1618

1719
(def ^:private ^Charset
1820
msgpack-charset

0 commit comments

Comments
 (0)