예제 #1
0
파일: qrng.go 프로젝트: postfix/gsl-1
func State(q *GslQrng) *QrngState {
	return (*QrngState)(C.gsl_qrng_state((*C.gsl_qrng)(unsafe.Pointer(q.Ptr()))))
}
예제 #2
0
// State returns a pointer to the underlying qrng state from gsl
func (s *QrngState) State() StatePointer {
	return StatePointer(C.gsl_qrng_state(s.state))
}