Commits

Miki Tebeka  committed 14cb235

Clojure 1.3 and dynamic

  • Participants
  • Parent commits 51c01c4

Comments (0)

Files changed (2)

-(defproject digest "1.2.1"
+(defproject digest "1.3.0"
   :description "Digest algorithms (MD5, SHA ...) for Clojure"
   :author "Miki Tebeka <miki.tebeka@gmail.com>"
   :url "https://bitbucket.org/tebeka/clj-digest/src"
-  :dependencies [[org.clojure/clojure "1.2.0"]])
+  :dependencies [[org.clojure/clojure "1.3.0"]])

File src/digest.clj

            (java.io FileInputStream File InputStream)))
 
 ; Default buffer size for reading
-(def *buffer-size* 1024)
+(def ^:dynamic *buffer-size* 1024)
 
 ; Why on earth is java.io.byte-array-type private?
 (def ByteArray (type (make-array Byte/TYPE 0)))