Beispiel #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)
}
Beispiel #2
0
// 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)
}
Beispiel #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)
}
Beispiel #4
0
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
}