func set_get_bigint(set GCI_SET, index int) (int, interface{}, int) { var data C.T_CCI_SET = C.T_CCI_SET(set) var value C.int64_t var indicator C.int var res C.int res = C.cci_set_get(data, C.int(index), C.CCI_A_TYPE_BIGINT, unsafe.Pointer(&value), &indicator) rv := int64(value) return int(res), rv, int(indicator) }
func set_get_double(set GCI_SET, index int) (int, interface{}, int) { var data C.T_CCI_SET = C.T_CCI_SET(set) var value C.double var indicator C.int var res C.int res = C.cci_set_get(data, C.int(index), C.CCI_A_TYPE_DOUBLE, unsafe.Pointer(&value), &indicator) rv := float64(value) return int(res), rv, int(indicator) }
func set_get_str(set GCI_SET, index int) (int, interface{}, int) { var data C.T_CCI_SET = C.T_CCI_SET(set) var value *C.char var indicator C.int var res C.int res = C.cci_set_get(data, C.int(index), C.CCI_A_TYPE_STR, unsafe.Pointer(&value), &indicator) rv := C.GoString(value) return int(res), rv, int(indicator) }
func set_get_bit(set GCI_SET, index int) (int, interface{}, int) { var data C.T_CCI_SET = C.T_CCI_SET(set) var value C.T_CCI_BIT var indicator C.int var res C.int var rv GCI_BIT res = C.cci_set_get(data, C.int(index), C.CCI_A_TYPE_BIT, unsafe.Pointer(&value), &indicator) rv.size = int(value.size) rv.buf = C.GoBytes(unsafe.Pointer(value.buf), value.size) return int(res), rv, int(indicator) }
func set_get_date(set GCI_SET, index int) (int, interface{}, int) { var data C.T_CCI_SET = C.T_CCI_SET(set) var value C.T_CCI_DATE var indicator C.int var res C.int var rv GCI_DATE res = C.cci_set_get(data, C.int(index), C.CCI_A_TYPE_DATE, unsafe.Pointer(&value), &indicator) rv.yr = int(value.yr) rv.mon = int(value.mon) rv.day = int(value.day) rv.hh = int(value.hh) rv.mm = int(value.mm) rv.ss = int(value.ss) rv.ms = int(value.ms) return int(res), rv, int(indicator) }