Esempio n. 1
0
func Version() (int, int, int) {
	var major C.int
	var minor C.int
	var patch C.int
	C.zmq_version(&major, &minor, &patch)
	return int(major), int(minor), int(patch)
}
Esempio n. 2
0
File: zmq4.go Progetto: gallir/zmq4
// Report 0MQ library version.
func Version() (major, minor, patch int) {
	var maj, min, pat C.int
	C.zmq_version(&maj, &min, &pat)
	return int(maj), int(min), int(pat)
}
Esempio n. 3
0
// Version reports 0MQ library version.
func Version() (major, minor, patch int) {
	var ma, mi, pa C.int
	C.zmq_version(&ma, &mi, &pa)
	return int(ma), int(mi), int(pa)
}
Esempio n. 4
0
File: zmq.go Progetto: miffa/gozero
func (p *libZmqProvider) Version() (major int, minor int, pl int) {
	C.zmq_version((*C.int)(unsafe.Pointer(&major)), (*C.int)(unsafe.Pointer(&minor)), (*C.int)(unsafe.Pointer(&pl)))
	return
}