Beispiel #1
0
// uint16_t nurs_output_type(const struct nurs_output *output, uint16_t idx);
func nursOutputType(output *Output, idx uint16) (KeyType, error) {
	ret, err := C.nurs_output_size((*C.struct_nurs_output)(output), C.uint16_t(idx))
	return KeyType(ret), err
}
Beispiel #2
0
// uint32_t nurs_output_size(const struct nurs_output *output, uint16_t idx);
func nursOutputSize(output *Output, idx uint16) (uint32, error) {
	ret, err := C.nurs_output_size((*C.struct_nurs_output)(output), C.uint16_t(idx))
	return uint32(ret), err
}