From ac380eb621f83ef7ed888e878bc43dfa2c48983a Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Thu, 13 Jun 2013 00:23:04 +0700 Subject: [PATCH] Mark `freeze-to-stream!` and `thaw-from-stream!` as private --- src/taoensso/nippy.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 931b0ff..4b31cb3 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -157,7 +157,7 @@ (freeze-to-stream!* s m))) (freeze x s)) -(defn freeze-to-stream! +(defn- freeze-to-stream! "Serializes x to given output stream." ([data-output-stream x] ; For <= 1.0.1 compatibility (freeze-to-stream! data-output-stream x true)) @@ -241,7 +241,7 @@ (throw (Exception. (str "Failed to thaw unknown type ID: " type-id)))))) -(defn thaw-from-stream! +(defn- thaw-from-stream! "Deserializes an object from given input stream." [data-input-stream read-eval?] (binding [*read-eval* read-eval?]