Skip to content

Commit 52c1521

Browse files
committed
Fix style
1 parent 920b588 commit 52c1521

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/ctypes/PyCFuncPtrBuiltins.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,10 @@ Object PyCFuncPtr_call(VirtualFrame frame, PyCFuncPtrObject self, Object[] inarg
503503
NativeFunction pProc = handleFromPointerNode.getNativeFunction(inliningTarget, readPointerNode.execute(inliningTarget, self.b_ptr));
504504
if (pProc == null) {
505505
CompilerDirectives.transferToInterpreterAndInvalidate();
506-
// TODO this happens in numpy/core/tests/test_ufunc.py::TestLowlevelAPIAccess::test_loop_access
506+
/*
507+
* TODO this happens in a numpy tests that use structs with function pointers:
508+
* numpy/core/tests/test_ufunc.py::TestLowlevelAPIAccess::test_loop_access
509+
*/
507510
throw PRaiseNode.raiseUncached(inliningTarget, NotImplementedError, ErrorMessages.CTYPES_FUNCTION_CALL_COULD_NOT_OBTAIN_FUNCTION_POINTER);
508511
}
509512
Object[] callargs = _build_callargs(frame, inliningTarget, self, argtypes, inargs, kwds, props,

0 commit comments

Comments
 (0)