Compare commits

..

No commits in common. "5a6a55f07152637e7b742e53a09d9f540975dc68" and "f5d01c043b5c201b566db08bd2994518d1b79ad3" have entirely different histories.

2 changed files with 1 additions and 13 deletions

View File

@ -7,12 +7,10 @@ var status: cint
proc cleanup() {.noconv.} = proc cleanup() {.noconv.} =
echo "Cleaning up..." echo "Cleaning up..."
if client != nil: if client != nil:
discard deactivate(client) discard deactivate(client)
discard clientClose(client) discard clientClose(client)
client = nil client = nil
quit 0 quit 0
proc portConnected(portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer) {.exportc.} = 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: else:
echo "Port B: <unknown>" echo "Port B: <unknown>"
let action = if connect > 0: "connect" else: "disconnect" var action = if connect > 0: "connect" else: "disconnect"
echo fmt"Action: {action}" echo fmt"Action: {action}"

View File

@ -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"