Beispiel #1
0
func Gcd(arg1 int, arg2 int) (_swig_ret int) {
	var swig_r int
	_swig_i_0 := arg1
	_swig_i_1 := arg2
	swig_r = (int)(C._wrap_gcd_example_ccb83999bd13255d(C.swig_intgo(_swig_i_0), C.swig_intgo(_swig_i_1)))
	return swig_r
}
func Itoa(arg1 int, arg2 string) (_swig_ret string) {
	var swig_r string
	_swig_i_0 := arg1
	_swig_i_1 := arg2
	swig_r_p := C._wrap_itoa_iplookup_cd10677ac3a321f0(C.swig_intgo(_swig_i_0), *(*C.swig_type_34)(unsafe.Pointer(&_swig_i_1)))
	swig_r = *(*string)(unsafe.Pointer(&swig_r_p))
	if Swig_escape_always_false {
		Swig_escape_val = arg2
	}
	var swig_r_1 string
	swig_r_1 = swigCopyString(swig_r)
	return swig_r_1
}
Beispiel #3
0
func SetShapeNshapes(arg1 int) {
	_swig_i_0 := arg1
	C._wrap_Shape_nshapes_set_swig_example_00fe93a86ee1a0ea(C.swig_intgo(_swig_i_0))
}
Beispiel #4
0
func Verify_script(arg1 *byte, arg2 int64, arg3 *byte, arg4 int64, arg5 uint, arg6 uint) (_swig_ret LibbitcoinConsensusVerify_result_type) {
	var swig_r LibbitcoinConsensusVerify_result_type
	_swig_i_0 := arg1
	_swig_i_1 := arg2
	_swig_i_2 := arg3
	_swig_i_3 := arg4
	_swig_i_4 := arg5
	_swig_i_5 := arg6
	swig_r = (LibbitcoinConsensusVerify_result_type)(C._wrap_verify_script_consensus_0731991c73947514(C.swig_voidp(_swig_i_0), C.swig_type_1(_swig_i_1), C.swig_voidp(_swig_i_2), C.swig_type_2(_swig_i_3), C.swig_intgo(_swig_i_4), C.swig_intgo(_swig_i_5)))
	return swig_r
}
Beispiel #5
0
func (arg1 SwigcptrCapture) Open(arg2 int) (_swig_ret bool) {
	var swig_r bool
	_swig_i_0 := arg1
	_swig_i_1 := arg2
	swig_r = (bool)(C._wrap_Capture_open_capture_5ccb65fa138e15bb(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))
	return swig_r
}
Beispiel #6
0
func (arg1 SwigcptrCapture) WaitKey(arg2 int) (_swig_ret int) {
	var swig_r int
	_swig_i_0 := arg1
	_swig_i_1 := arg2
	swig_r = (int)(C._wrap_Capture_waitKey_capture_5ccb65fa138e15bb(C.uintptr_t(_swig_i_0), C.swig_intgo(_swig_i_1)))
	return swig_r
}
func SetIpValid(arg1 int) {
	_swig_i_0 := arg1
	C._wrap_ip_valid_set_iplookup_cd10677ac3a321f0(C.swig_intgo(_swig_i_0))
}
func Il_iplookup__SWIG_1(arg1 string, arg2 Ipitem, arg3 uintptr, arg4 Data_type) (_swig_ret Ipitem) {
	var swig_r Ipitem
	_swig_i_0 := arg1
	_swig_i_1 := arg2.Swigcptr()
	_swig_i_2 := arg3
	_swig_i_3 := arg4
	swig_r = (Ipitem)(SwigcptrIpitem(C._wrap_il_iplookup__SWIG_1_iplookup_cd10677ac3a321f0(*(*C.swig_type_4)(unsafe.Pointer(&_swig_i_0)), C.uintptr_t(_swig_i_1), C.uintptr_t(_swig_i_2), C.swig_intgo(_swig_i_3))))
	if Swig_escape_always_false {
		Swig_escape_val = arg1
	}
	return swig_r
}
func Il_bin2human(arg1 Ipinfo, arg2 Ipitem, arg3 Data_type) (_swig_ret Ipitem) {
	var swig_r Ipitem
	_swig_i_0 := arg1.Swigcptr()
	_swig_i_1 := arg2.Swigcptr()
	_swig_i_2 := arg3
	swig_r = (Ipitem)(SwigcptrIpitem(C._wrap_il_bin2human_iplookup_cd10677ac3a321f0(C.uintptr_t(_swig_i_0), C.uintptr_t(_swig_i_1), C.swig_intgo(_swig_i_2))))
	return swig_r
}