Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 6e4e200

Browse files
committed
Merge pull request #15 from mknoszlig/master
remove unnecessary parens around constants.
2 parents 1369c2f + 9d6da76 commit 6e4e200

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/zeromq/zmq.clj

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,36 @@
1010

1111
(def ^:const bytes-type (class (byte-array 0)))
1212

13-
(def ^:const no-block (ZMQ/NOBLOCK))
13+
(def ^:const no-block ZMQ/NOBLOCK)
1414

15-
(def ^:const dont-wait (ZMQ/DONTWAIT))
15+
(def ^:const dont-wait ZMQ/DONTWAIT)
1616

17-
(def ^:const send-more (ZMQ/SNDMORE))
17+
(def ^:const send-more ZMQ/SNDMORE)
1818

1919
(def ^:const socket-options
20-
{:no-block (ZMQ/NOBLOCK)
21-
:dont-wait (ZMQ/DONTWAIT)
22-
:send-more (ZMQ/SNDMORE)})
20+
{:no-block ZMQ/NOBLOCK
21+
:dont-wait ZMQ/DONTWAIT
22+
:send-more ZMQ/SNDMORE})
2323

2424
(def ^:const socket-types
25-
{:pair (ZMQ/PAIR)
26-
:pub (ZMQ/PUB)
27-
:sub (ZMQ/SUB)
28-
:req (ZMQ/REQ)
29-
:rep (ZMQ/REP)
30-
:xreq (ZMQ/XREQ)
31-
:xrep (ZMQ/XREP)
32-
:dealer (ZMQ/DEALER)
33-
:router (ZMQ/ROUTER)
34-
:xpub (ZMQ/XPUB)
35-
:xsub (ZMQ/XSUB)
36-
:pull (ZMQ/PULL)
37-
:push (ZMQ/PUSH)})
25+
{:pair ZMQ/PAIR
26+
:pub ZMQ/PUB
27+
:sub ZMQ/SUB
28+
:req ZMQ/REQ
29+
:rep ZMQ/REP
30+
:xreq ZMQ/XREQ
31+
:xrep ZMQ/XREP
32+
:dealer ZMQ/DEALER
33+
:router ZMQ/ROUTER
34+
:xpub ZMQ/XPUB
35+
:xsub ZMQ/XSUB
36+
:pull ZMQ/PULL
37+
:push ZMQ/PUSH})
3838

3939
(def ^:const poller-types
40-
{:pollin (ZMQ$Poller/POLLIN)
41-
:pollout (ZMQ$Poller/POLLOUT)
42-
:pollerr (ZMQ$Poller/POLLERR)})
40+
{:pollin ZMQ$Poller/POLLIN
41+
:pollout ZMQ$Poller/POLLOUT
42+
:pollerr ZMQ$Poller/POLLERR})
4343

4444
(defn first-free-port
4545
"Returns first free ephemeral port"

0 commit comments

Comments
 (0)