Compare commits
No commits in common. "5a6a55f07152637e7b742e53a09d9f540975dc68" and "f5d01c043b5c201b566db08bd2994518d1b79ad3" have entirely different histories.
5a6a55f071
...
f5d01c043b
|
@ -7,12 +7,10 @@ var status: cint
|
|||
|
||||
proc cleanup() {.noconv.} =
|
||||
echo "Cleaning up..."
|
||||
|
||||
if client != nil:
|
||||
discard deactivate(client)
|
||||
discard clientClose(client)
|
||||
client = nil
|
||||
|
||||
quit 0
|
||||
|
||||
proc portConnected(portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer) {.exportc.} =
|
||||
|
@ -31,7 +29,7 @@ proc portConnected(portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer)
|
|||
else:
|
||||
echo "Port B: <unknown>"
|
||||
|
||||
let action = if connect > 0: "connect" else: "disconnect"
|
||||
var action = if connect > 0: "connect" else: "disconnect"
|
||||
echo fmt"Action: {action}"
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
# Package
|
||||
|
||||
version = "0.1.0"
|
||||
author = "Christopher Arndt"
|
||||
description = "A Nim wrapper for the JACK C API"
|
||||
license = "MIT"
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 1.6.0"
|
Loading…
Reference in New Issue