Exemplo n.º 1
0
func (this *MqS) LogC(prefix string, level int32, message string) {
	p := C.CString(prefix)
	m := C.CString(message)
	C.MqLogC((*_Ctype_struct_MqS)(this), p, C.MQ_INT(level), m)
	C.free(unsafe.Pointer(m))
	C.free(unsafe.Pointer(p))
}
Exemplo n.º 2
0
func (this *MqBufferS) SetI(val int32) *MqBufferS {
	return (*MqBufferS)(C.MqBufferSetI((*_Ctype_struct_MqBufferS)(this), C.MQ_INT(val)))
}
Exemplo n.º 3
0
func (this *MqS) ConfigSetDebug(val int32) {
	C.MqConfigSetDebug((*_Ctype_struct_MqS)(this), C.MQ_INT(val))
}
Exemplo n.º 4
0
func (this *MqS) SendI(val int32) {
	this.iErrorMqToGoWithCheck(C.MqSendI((*_Ctype_struct_MqS)(this), C.MQ_INT(val)))
}
Exemplo n.º 5
0
func (this *MqS) ConfigSetBuffersize(val int32) {
	C.MqConfigSetBuffersize((*_Ctype_struct_MqS)(this), C.MQ_INT(val))
}