EnterRecusiveCall marks a point where a recursive Go-level call is about to be performed. It returns true if the recursive call is permitted, otherwise a Python exception is set and false is returned. where is a string that will be appended to the RuntimeError set if the recursion limit has been e
(where string)
| 75 | // recursive function may not invoke Python code (which automatically tracks |
| 76 | // recursion depth). |
| 77 | func EnterRecursiveCall(where string) bool { |
| 78 | s := C.CString(where) |
| 79 | defer C.free(unsafe.Pointer(s)) |
| 80 | return C.enterRecursive(s) == 0 |
| 81 | } |
| 82 | |
| 83 | // LeaveRecursiveCall must be called after a recursive call that was indicated |
| 84 | // by EnterRecursiveCall. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…