Exemple #1
0
// int PyFrame_GetLineNumber(PyFrameObject *frame)
// Return the line number that frame is currently executing.
func PyFrame_GetLineNumber(frame *PyFrameObject) int {
	return int(C.PyFrame_GetLineNumber(frame.ptr))
}
Exemple #2
0
func (f *Frame) GetLineNumber() int {
	return int(C.PyFrame_GetLineNumber(&f.o))
}