Skip to content

Instantly share code, notes, and snippets.

class EventListener<T> {
typealias Listener = T -> ()
let listener: Listener
var calls: Int
init(calls: Int, listener: Listener) {
self.calls = calls
self.listener = listener
}
module CLibbson [system] {
header "/usr/local/include/libbson-1.0/bson.h"
link "bson-1.0"
export *
}

Keybase proof

I hereby claim:

  • I am Danappelxx on github.
  • I am danappelxx (https://keybase.io/danappelxx) on keybase.
  • I have a public key whose fingerprint is 8DA1 4F99 0EE2 4BD3 9C27 59F0 2598 696E 0ECA 691A

To claim this, I am signing this object: